1. doubao-seed-1.6
Nexconn-AI
  • Nexconn LLM API Service
  • Quick Start
  • Key Concepts and Terminology
  • Try Nexconn Large Model API Online
  • How to Get API-KEY
  • FAQ
  • Model
    • Model List
      GET
  • Chat
    • Bypass Interface
      • Bypass Anthropic Protocol
      • bypass Vertex/Gemini protocol
      • bypass Responses protocol
    • gemini-3.1-pro-preview
      • gemini-3.1-pro-preview reasoning
      • gemini-3.1-pro-preview qfile
    • gemini-2.5-pro
      • gemini-2.5-pro reasoning
    • openai/gpt-5
      • openai/gpt-5 reasoning
    • openai/gpt-5.2
      • openai/gpt-5.2 Reasoning
    • openai/gpt-5.2-codex
      • openai/gpt-5.2-codex
    • gemini-2.5-flash
      • gemini-2.5-flash Reasoning
    • claude-4.5-sonnet
      • claude-4.5-sonnet reasoning
    • claude-4.6-opus
      • claude-4.6-opus reasoning
    • deepseek/deepseek-v3.2-251201
      • deepseek/deepseek-v3.2-251201 reasoning
    • deepseek-v3
      • Chat
    • claude-3.7-sonnet
      • Chat completion
    • doubao-seed-1.6
      • doubao-seed-1.6
        POST
    • qwen3-max-2026-01-23
      • Chat completion
    • moonshotai/kimi-k2.5
      • Chat completion
    • Chat completion
      POST
    • Anthropic Protocol
      POST
  • Video
    • Veo
      • Create Video Generation Task
      • Query Video Generation Task
    • sora-2
      • Create Video Generation Task
      • Query Video Generation Status
      • Video Remix
    • sora-2-pro
      • Create Video Generation Task
      • Query Video Generation Status
      • Video Remix
    • kling-v2-1
      • Create Video Task
      • Query Video Generation Status
    • kling-v2-5-turbo
      • Create Video Task
      • Query Video Generation Status
    • kling-v2-6
      • Create Video Task
      • Query Video Generation Status
    • kling-v3
      • Create Video Task
      • Query Video Generation Status
    • kling-video-o1
      • Create Video Task
      • Query Video Generation Status
    • kling-v3-omni
      • Create Video Task
      • Query Video Generation Status
    • bytedance/doubao-seedance-2-0-260128
      • Create Video Generation Task
      • Query Video Generation Task
    • vidu
      • viduq1
        • Create text-to-video task
        • Create reference to video task - Non-subject invocation (video generation)
        • Create reference to video task - Subject invocation (supports video with audio function)
        • Query task status
        • Query task results
      • viduq2
        • Create text-to-video task
        • Create reference to video task - Non-subject invocation (video generation
        • Create reference to video task - Subject invocation (supports video with audio function)
        • Query task status
        • Query task results
      • viduq2-pro
        • Create Image-to-Video Task
        • Create First and Last Frame to Video Task
        • Create reference video generation task - non-subject invocation (video generation)
        • Query task status
        • Query task results
      • viduq2-turbo
        • Create Image-to-Video Task
        • Create First and Last Frame to Video Task
        • Query task status
        • Query task results
      • viduq3-pro
        • Create Image-to-Video Task
        • Create text-to-video task
        • Create First and Last Frame to Video Task
        • Query task status
        • Query task results
      • viduq3-turbo
        • Create Image-to-Video Task
        • Create text-to-video task
        • Create First and Last Frame to Video Task
        • Query task status
        • Query task results
  • Image Generation
    • kling-v1
      • Create text-to-image or single image-to-image task
      • Query task status
    • kling-v1-5
      • Create text-to-image or single image-to-image task
      • Query task status
    • kling-v2
      • Create text-to-image or single image-to-image task
      • Create multi-image-to-image task
      • Query task status
    • kling-v2-new
      • Create single image-to-image task
      • Query task status
    • kling-v2-1
      • Create text-to-image or single image-to-image task
      • Create multi-image-to-image task
      • Query task status
    • gemini-2.5-flash-image
      • Chat interface - supports text-to-image, image-to-image, and pure conversation
      • Text-to-image API - Generate images from text descriptions
      • Image-to-image API - Generate new images based on input images
    • gemini-3.0-pro-image-preview
      • Chat interface - supports text-to-image, image-to-image, and pure conversation
      • Text-to-image API - Generate images from text descriptions
      • Image-to-image API - Generate new images based on input images
    • gemini-3.1-flash-image-preview
      • Chat interface - supports text-to-image, image-to-image, and pure conversation
      • Text-to-image API - Generate images from text descriptions
      • Image-to-image API - Generate new images based on input images
    • kling-image-o1
      • Create image generation task
      • Query image generation task
      • Get Result
  • Files
    • Create file upload task
    • Query file status
    • List user files
  • Schemas
    • Chat
      • ChatCompletionRequest
      • ChatCompletionRequestMessage
      • ToolObject
      • ChatTemplateKwargs
      • ThinkType
      • ReasoningType
      • ImageConfig
      • SafetySetting
      • MessageContent
      • ImageUrl
      • VideoUrl
      • InputAudio
      • FileUrl
      • CacheControl
      • FunctionCall
      • ToolCall
      • ToolCallFunction
      • Image
      • ThinkingBlock
      • ToolFunction
      • ToolParameters
    • Video
      • kling-v2-1
        • KlingV21CreateRequest
        • KlingV21CreateResponse
        • KlingV21StatusResponse
      • kling-v2-5-turbo
        • KlingV25TurboCreateRequest
        • KlingV25TurboCreateResponse
        • KlingV25TurboStatusResponse
      • kling-video-o1
        • KlingVideoO1CreateRequest
        • KlingVideoO1CreateResponse
        • KlingVideoO1StatusResponse
      • kling-v3-omni
        • KlingV3OmniCreateRequest
      • kling-v3
        • KlingV3CreateRequest
      • kling-v2-6
        • KlingV26CreateRequest
        • KlingV26CreateResponse
        • KlingV26VideoStatusResponse
      • Veo
        • CreateVideoGenerationRequest
        • CreateVideoGenerationResponse
        • VideoGenerationJobInfo
        • ErrorResponse
        • Instance
        • ImageInput
        • LastFrameInput
        • VideoInput
        • ReferenceImage
        • Parameters
        • VideoGenerationData
        • VideoResult
      • VideoCreateResponse
    • Image Generation
      • kling-v1
        • KlingV1CreateImageRequest
      • kling-v1-5
        • KlingV15CreateImageRequest
      • kling-v2
        • KlingV2CreateImageRequest
        • KlingV2EditImageRequest
      • kling-v2-new
        • KlingV2NewCreateImageRequest
      • kling-v2-1
        • KlingV21CreateImageRequest
        • KlingV21EditImageRequest
      • gemini-2.5-flash-image
        • Gemini25FlashImageChatCompletionRequest
        • Gemini25FlashImageGenerationRequest
        • Gemini25FlashImageEditRequest
        • Gemini25FlashImageConfig
      • gemini-3.0-pro-image-preview
        • Gemini30ProImageChatCompletionRequest
        • Gemini30ProImageGenerationRequest
        • Gemini30ProImageEditRequest
        • Gemini30ProImageConfig
      • KlingImageTaskResponse
      • KlingImageTaskStatusResponse
      • ChatCompletionResponse
      • ImageGenerationResponse
      • FalOmniImageRequest
      • Gemini31FlashImageChatCompletionRequest
      • Gemini31FlashImageGenerationRequest
      • Gemini31FlashImageEditRequest
      • ChatMessage
      • Gemini31FlashImageConfig
    • CreateFileRequest
    • QueueStatus
    • ContentItem
    • FileResponse
    • Veo31FirstLastFrameToVideoInput
    • ToolItem
    • CreateVideoTaskResponse
    • FileListResponse
    • ApiErrorBody
    • FileDeleteResponse
    • GetVideoTaskResponse
    • Veo31ImageToVideoInput
    • Veo31ImageToVideoOutput
    • ChatCompletionResponse
    • FileError
    • ImageGenerationResponse
    • ErrorResponse
    • KodoSource
    • File
    • ImageUrlObject
    • VideoUrlObject
    • AudioUrlObject
    • DraftTaskObject
    • ChatMessage
    • VideoTaskOutputContent
    • VideoTaskToolUsageItem
    • VideoTaskUsage
  1. doubao-seed-1.6

doubao-seed-1.6

POST
/v1/chat/completions

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Body Params application/json

Example
{
    "model": "doubao-seed-1.6",
    "messages": [
        {
            "content": [
                {
                    "text": "What is the sun",
                    "type": "text"
                }
            ],
            "role": "user"
        }
    ],
    "thinking": {
        "type": "disabled"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-xmodel.nexconn.ai/v1/chat/completions' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "doubao-seed-1.6",
    "messages": [
        {
            "content": [
                {
                    "text": "What is the sun",
                    "type": "text"
                }
            ],
            "role": "user"
        }
    ],
    "thinking": {
        "type": "disabled"
    }
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "id": "chatcmpl-7fbda37c5f414456ab5adc71cd598e98",
    "object": "chat.completion",
    "created": 1769668713,
    "model": "doubao-seed-1.6",
    "choices": [
        {
            "index": 0,
            "message": {
                "role": "assistant",
                "content": "The sun is the central celestial body of the solar system, a **yellow dwarf** (G-type main-sequence star) located on the Orion Arm of the Milky Way galaxy. Here is core information about the sun:\n\n\n### 1. **Basic Properties**\n- **Type**: Star (a plasma sphere that generates energy through internal nuclear fusion).\n- **Position**: Approximately **150 million kilometers** from Earth (called an \"Astronomical Unit\", AU), the only star in the solar system, with all planets, asteroids, comets, and other celestial bodies orbiting around it.\n- **Size**: Diameter approximately 1.392 million kilometers, 109 times Earth's diameter; volume approximately 1.3 million times Earth's; mass approximately 2×10³⁰ kilograms (about 330,000 times Earth's mass), accounting for 99.86% of the solar system's total mass.\n\n\n### 2. **Structure (From Inside to Outside)**\nThe sun is not a solid sphere but composed of plasma (charged gas), with structure divided into:\n- **Core**: The source of the sun's energy, with temperatures reaching 15 million°C and pressure equivalent to 300 billion atmospheres. Here, hydrogen nuclei undergo **nuclear fusion reactions** (proton-proton chain) to fuse into helium, releasing enormous energy (following Einstein's mass-energy equation \\(E=mc²\\)).\n- **Radiative Zone**: Energy generated in the core is transferred outward in the form of photons, requiring hundreds of thousands of years to pass through this layer through repeated absorption and re-radiation.\n- **Convective Zone**: Energy is transferred through convection (similar to boiling water), forming rolling gas flows, which is the root of solar surface activity (such as sunspots and flares).\n- **Photosphere**: The \"solar surface\" we see with the naked eye, with a temperature of about 5500°C and thickness of about 500 kilometers. Sunspots (cooler regions, about 3000-4500°C) appear here.\n- **Chromosphere**: A thin gas layer above the photosphere, with temperature rising from 4500°C at the bottom to tens of thousands of degrees at the top, visible only during total solar eclipses (appearing rose-red).\n- **Corona**: The outermost layer of the solar atmosphere, with temperatures reaching millions of degrees, extending millions of kilometers or more, where the solar wind (high-speed charged particle stream) originates.\n\n\n### 3. **Energy and Impact on Earth**\n- **Energy Output**: The sun fuses approximately 600 million tons of hydrogen into helium every second, with about 4 million tons of mass converted into energy (radiated as light and heat). Earth receives only one 2.2 billionth of its total radiation, but this is sufficient to support life activities, climate systems, and ecological cycles on Earth.\n- **Solar Activity**: Includes sunspots, flares, coronal mass ejections, etc. Intense solar activity can interfere with Earth's magnetic field (causing magnetic storms), affect radio communications, produce auroras, and even threaten satellites and power systems.\n- **Life Dependence**: Sunlight is the energy source for photosynthesis on Earth, directly or indirectly supporting almost all life; meanwhile, the sun's gravity maintains the stable structure of the solar system.\n\n\n### 4. **Life Cycle**\nThe sun is currently about **4.6 billion years old**, in the \"main-sequence star\" phase (stable hydrogen fusion period), and will continue for about another 5 billion years. In the future, it will expand into a **red giant** (volume expanding, possibly engulfing Mercury, Venus, and even Earth), then its outer gas layers will be ejected to form a planetary nebula, with the core collapsing into a **white dwarf**, eventually cooling into a black dwarf.\n\n\nThe sun is not only Earth's energy source but also an important reference for human exploration of the universe. Research on it helps us understand stellar evolution and the origin of the solar system."
            },
            "finish_reason": "stop"
        }
    ],
    "usage": {
        "prompt_tokens": 33,
        "completion_tokens": 787,
        "total_tokens": 820,
        "prompt_tokens_details": {},
        "completion_tokens_details": {}
    }
}
Modified at 2026-04-24 10:39:56
Previous
Chat completion
Next
Chat completion
Built with