DataEyesAI
home
home
  1. Native format
  • ​​Quick Start
    • Overview
    • Authorization
    • Online Debugging
    • Integration Guide
  • API Reference​​
    • Error Codes
    • HTTP Notes
  • Search / Reader Product
    • Web Reader API​​
      • Web Reader API
      • Web Reader API(HK)
    • Web Search API​​
      • Modal Card API
        • Weather
          • All City ID
          • Weather Query API
      • Web Search API
      • Video Search api
      • Trending Search API
    • Document OCR Parsing API
      • fiel upload
      • URL Parsing
  • AI Models API
    • Base Url
    • Configuration Guide for Various Plugins
    • System interface
      • Query account information
    • List models
      • Models
    • OpenAI format (supports major original models)
      • Chat (Response)
        • Create Network Search
        • Create Model Response GPT-5 Enable Thinking
        • Create Function Call
        • Create Model Response
        • Create Model Response (Streaming Return)
        • Create Model Response (Control Thinking Length)
      • ChatGPT Interface
        • Audio
          • Audio to text gpt-4o-transcribe
          • GPT-4o-audio
          • Audio to text whisper-1
          • Audio to text gpt-4o-transcribe
          • Create voice gpt-4o-mini-tts
        • Chat
          • Create chat-based image recognition (non-streaming)
          • Create chat-based image recognition (streaming)
          • Create chat-based image recognition (streaming) best64
          • Official N test
          • Create structured output
          • Control the effort level of the inference model
          • Create chat function call
          • deepseek-ocr recognition
          • Create chat completion (non-stream)
        • Completions
          • ChatGPT automatic completion
          • Create completion
      • Image
        • Edit image
        • Create chat completion (streaming)
        • Create chat completion (qwen-mt-turbo)
        • Create chat completion with deepseek v3.1 level of reasoning (streaming)
      • Audio
        • Speech recognition
        • Speech synthesis
        • Official Function Calling invocation
        • Create chat-generated images (non-streaming)
      • Embedding
        • Text embeddings
    • Anthropic format
      • Chat
      • Chat(prompt cache)
      • Streaming response
      • Chat (deep reasoning)
      • Tool invocation (function call)
      • Analyze image
    • Google Gemini interface
      • Native format
        • Text-to-image + control over aspect ratio + clarity
          POST
        • Generate image
          POST
        • Text generation
          POST
        • Text generation - stream
          POST
        • Text generation + reasoning - stream
          POST
        • Image generation
          POST
        • Formatted output
          POST
        • Function call
          POST
        • Document understanding
          POST
        • URL context [native format]
          POST
        • Code execution
          POST
        • Video understanding
          POST
        • URL context
          POST
        • Video understanding - url [native format]
          POST
        • Imagen 4
          POST
        • Audio understanding
          POST
        • Embeddings
          POST
        • Chat
          POST
        • Edit image
          POST
      • Image-to-image Base64 request method
        • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity
        • Image editing
        • Single image gemini-3-pro-image-preview, controlling aspect ratio and clarity.
        • Image generation( gemini-2.5-flash-image)
        • Image generation gemini-2.5-flash-image, controlling aspect ratio.
        • Image understanding
      • Image-to-image URL request returns URL request format OpenAI
        • Single image generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
        • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
        • Image understanding
    • NanoBanana
      • OpenAI request
        • Edit image
        • OpenAI image format
      • Gemini request
        • Generate image
        • Edit image
    • Midjourney format
      • Task query interface
      • Upload image
      • Get seed (Seed)
      • Submit Imagine task
      • Query tasks based on ID list
      • FaceSwap
      • Execute Action operation
      • /mj/submit/blend
      • Submit Describe task
      • Submit Modal
      • Refresh link
      • Edit image
      • Query task status by task ID
      • Get the seed of the task image
    • Doubao - Video Generation
      • Text-to-video example
      • Image-to-video example
      • Query a single task
    • Doubao - Painting
      • doubao-seededit-3-0-i2i-250628
      • doubao-seedream-4-0-250828 - text-to-image
      • doubao-seedream-4-0-250828 - image-to-image
      • doubao-seedream-4-0-250828 - multi-image generation
    • Rerank Reordering Model
      • Rerank
    • Text-to-Music Suno
      • Task Submission
        • Generate Song (Inspiration Mode)
        • Generate Song (Custom Mode)
        • Generate Song (Continuation Mode)
        • Generate Song (Singer Style)
        • Generate Song (Secondary Creation from Uploaded Song)
        • Generate Song (Song Stitching)
        • Generate Lyrics
        • Song Stitching
      • Query Interface
        • Batch Retrieve Tasks
        • Query Single Task
    • Video Model
      • Veo-Video Generation
        • OpenAI Video Format (Recommended)
          • OpenAI Creates Video with Images
          • OpenAI Query Task
          • OpenAI Download Video
      • Sora-Video Generation
        • OpenAI Official Video Format (Recommended)
          • sora-2/sora-2-pro
            • OpenAI Query Task
            • OpenAI Download Video
            • OpenAI Creates Video with Images
            • OpenAI Creates Video (with Character)
            • OpenAI Edit Video
        • Chat Format
          • Create Video
          • Create video + image
          • Continuously modify and generate video
      • Kling -Video Generation
        • Text-to-video
        • Image-to-video
        • Query task (free)
      • Wan -Video Generation
        • Create video with image Wan
        • Query video
      • MiniMax -Video Generation
        • Text-to-video generation task
        • Image-to-video task
        • Query video generation task status
        • Video download
      • Vidu -Video Generation
        • Generates video
        • Query
  • ​​FAQ​​
    • Data Updates
  • Change Log​​
home
home
  1. Native format

Text generation

Developing
Search/Read product
https://api.dataeyes.ai
Search/Read product
https://api.dataeyes.ai
POST
/v1beta/models/gemini-3-pro-preview:streamGenerateContent
Official documentation: https://ai.google.dev/gemini-api/docs/text-generation?hl=en#multi-turn-conversations

Request

Header Params

Body Params application/json

Example
{
    "systemInstruction": {
        "parts": [
            {
                "text": "You are a little pig. You will add a oink oink at the beginning of your replies. "
            }
        ]
    },
    "contents": [
        {
            "role": "user",
            "parts": [
                {
                    "text": "Who are you??"
                }
            ]
        }
    ],
    "generationConfig": {
        "temperature": 1,
        "topP": 1,
        "thinkingConfig": {
            "includeThoughts": true,
            "thinkingBudget": 26240
        }
    }
}

Responses

🟢200成功
application/json
Body

Example
{}
Previous
Generate image
Next
Text generation - stream