1. claude-3.7-sonnet
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
        POST
    • doubao-seed-1.6
      • doubao-seed-1.6
    • 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. claude-3.7-sonnet

Chat completion

POST
/v1/chat/completions

Request

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

Examples
{
    "model": "gemini-3.0-pro-image-preview",
    "messages": [
        {
            "content": [
                {
                    "text": "What is the sun",
                    "type": "text"
                }
            ],
            "role": "user"
        }
    ]
}

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
curl --location 'https://api-xmodel.nexconn.ai/v1/chat/completions' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "gemini-3.0-pro-image-preview",
    "messages": [
        {
            "content": [
                {
                    "text": "What is the sun",
                    "type": "text"
                }
            ],
            "role": "user"
        }
    ]
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Examples
{
    "id": "chatcmpl-6292d04340614f9e95d92aef1435fe15",
    "object": "chat.completion",
    "created": 1766744003,
    "model": "gemini-3.0-pro-image-preview",
    "choices": [
        {
            "index": 0,
            "message": {
                "role": "assistant",
                "content": "This is a very basic yet profound question.\n\nSimply put, **the sun is the central celestial body of our solar system and the closest star to Earth.**\n\nIt is a massive gaseous (more precisely, plasma) sphere that generates its own light and heat. Without the sun, there would be no life on Earth.\n\nTo answer \"what is the sun\" more comprehensively, we can analyze it from the following dimensions:\n\n### 1. Basic Identity: Our Host Star\n\n*   **Central Position:** The sun accounts for **99.86%** of the total mass of the entire solar system. Its enormous gravity acts like an invisible \"anchor,\" holding Earth, the other seven planets, asteroids, comets, and all celestial bodies in orbit around it.\n*   **Stellar Classification:** In astronomy, the sun is classified as a **G-type main-sequence star**, or more commonly known as a **Yellow Dwarf**. Although called a \"dwarf star,\" this is relative to those giant stars; for humans, it is still unimaginably large.\n\n### 2. Physical Characteristics: Large, Hot, Gaseous\n\n*   **Enormous Size:**\n    *   The sun's diameter is approximately 1.39 million kilometers, **109 times** Earth's diameter.\n    *   If you imagine the sun as a hollow basketball, it could fit about **1.3 million** Earths inside.\n*   **No Solid Surface:** The sun is not a rocky planet like Earth. It is primarily a massive **plasma** sphere (this is the fourth state of matter after solid, liquid, and gas, consisting of highly ionized gas). You cannot \"land\" on the sun.\n*   **Chemical Composition:** The sun is mainly composed of the two simplest elements: about three-quarters is **Hydrogen**, and almost all the rest is **Helium**. Other heavy elements (such as oxygen, carbon, iron, etc.) account for a very small proportion.\n\n### 3. Energy Source: A Massive Nuclear Fusion Reactor\n\nThis is the sun's core secret: **Why does it emit light and heat?**\n\nThe sun is not \"burning\" (undergoing chemical reactions like coal); its energy comes from **Nuclear Fusion** occurring deep in its core.\n\n*   **Environment:** In the sun's core, the temperature reaches **15 million degrees Celsius**, and the pressure is extreme (equivalent to 250 billion times Earth's atmospheric pressure).\n*   **Process:** In this extreme environment, hydrogen nuclei are forced to squeeze together and fuse into helium nuclei. In this process, a small amount of mass is lost. According to Einstein's mass-energy equation (E=mc²), this tiny mass loss is converted into enormous energy.\n*   **Result:** This energy radiates outward in the form of photons (light) and heat. It's like billions of hydrogen bombs exploding every second in the sun's center.\n\n### 4. The Sun's Structure: Layered Like an Onion\n\nThe sun can be divided into several main layers from inside to outside:\n\n1.  **Core:** Where nuclear fusion occurs to generate energy.\n2.  **Radiative & Convective Zones:** Regions where energy is transferred from the core outward. It takes tens of thousands of years or more for energy to travel from the core to the surface.\n3.  **Photosphere:** The sun's \"surface\" that we see with the naked eye. Temperature is about 5500 degrees Celsius. Most visible light comes from here.\n4.  **Atmosphere:** Above the photosphere, including the **Chromosphere** and the outermost extremely thin but extremely hot (millions of degrees) **Corona** (the white halo visible during a total solar eclipse).\n\n### 5. Solar Activity and Its Impact on Earth\n\nThe sun is not static; it is very active, driven by its complex magnetic field:\n\n*   **Sunspots:** Relatively cooler, darker-looking regions on the photosphere, manifestations of strong magnetic field activity.\n*   **Solar Flares & CME (Coronal Mass Ejections):** Massive energy eruptions on the sun's surface that eject large amounts of high-energy particles and radiation into space.\n*   **Solar Wind:** A continuous stream of charged particles blowing outward from the corona.\n\n**Impact on Earth:**\nSunlight provides the energy for photosynthesis in plants on Earth and drives Earth's climate and weather changes. Intense solar activity (such as large flares) can trigger \"space weather\" events that may interfere with Earth's radio communications, satellite navigation, and even affect power grids, while also producing beautiful auroras at the poles.\n\n### 6. The Sun's Life Cycle: In Its Prime\n\nThe sun also has a lifespan; it will go through birth, growth, and death.\n\n*   **Now:** The sun is currently about **4.6 billion years old**. It is in the most stable and longest \"main-sequence star\" phase of its life, which can be considered its \"prime.\" Scientists predict it can continue burning stably for about another **5 billion years**.\n*   **Future:** When the hydrogen in the core is exhausted, the sun will begin to expand and become a massive **Red Giant**, and its outer layers may engulf Mercury and Venus, possibly even Earth.\n*   **End:** Eventually, its outer gas layers will dissipate into space, and the center will collapse into a dense, hot but no longer fusing **White Dwarf**, which will slowly cool and dim over billions of years.\n\n### Summary\n\nThe sun is a massive, nuclear fusion-powered plasma star. It is the absolute master of our solar system, the source of almost all energy on Earth, and the foundation for our understanding of other stars in the universe.",
                "reasoning_content": "**Analyzing the Query's Scope**\n\nI'm starting by dissecting the core request. My initial goal is to understand the scope of the question, breaking it down to its fundamental components. Then, I plan to translate the question into Chinese as a cross-reference.\n\n\n**Framing the Response Structure**\n\nI've moved on to organizing the response, creating an outline. This includes an introduction, detailed sections on the sun's properties, internal structure, and activity, culminating in a discussion of its future. The framework should allow for a logically sound explanation.\n\n\n**Developing Content in Detail**\n\nI'm presently building out the detailed sections of the response. I've focused on translating key facts, like the Sun being a G-type main-sequence star, along with details regarding its size and composition into formal Chinese. I'm now crafting sentences on its energy source.\n\n\n**Structuring the Content Further**\n\nI'm presently building the section on the Sun's characteristics, refining the initial drafts. I'm focusing on providing more quantitative information, such as the proportions of hydrogen and helium and adding more technical descriptions of the engine. The goal is to balance the details with clarity.\n\n\n**Elaborating the Fusion Details**\n\nI'm now focusing on refining the description of nuclear fusion, making sure the explanation is accurate and understandable for the target audience. Details like proton-proton chain reactions are considered for inclusion. Emphasis is placed on using easily understood analogies.\n\n\n**Organizing Content Refinement**\n\nI'm now consolidating the separate sections. I'm focusing on making the structure clear and the language concise. The goal is to ensure a logical flow, progressing from basic facts to more complex explanations. The framework is ready for the final touches.\n\n\n"
            },
            "finish_reason": "stop"
        }
    ],
    "usage": {
        "prompt_tokens": 2,
        "completion_tokens": 2488,
        "total_tokens": 2490,
        "prompt_tokens_details": {
            "text_tokens": 2
        },
        "completion_tokens_details": {
            "reasoning_tokens": 1199,
            "text_tokens": 1289
        }
    }
}
Modified at 2026-04-24 10:39:56
Previous
Chat
Next
doubao-seed-1.6
Built with