1. qwen3-max-2026-01-23
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
    • qwen3-max-2026-01-23
      • Chat completion
        POST
    • 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. qwen3-max-2026-01-23

Chat completion

POST
/v1/chat/completions

Request

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

Example
{
    "model": "qwen3-max-2026-01-23",
    "messages": [
        {
            "content": [
                {
                    "text": "What is the Sun",
                    "type": "text"
                }
            ],
            "role": "user"
        }
    ],
    "enable_thinking": true
}

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": "qwen3-max-2026-01-23",
    "messages": [
        {
            "content": [
                {
                    "text": "What is the Sun",
                    "type": "text"
                }
            ],
            "role": "user"
        }
    ],
    "enable_thinking": true
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "id": "chatcmpl-ecfae37108fc43f3804a193bf2a1e49c",
    "object": "chat.completion",
    "created": 1770026651,
    "model": "qwen3-max-2026-01-23",
    "choices": [
        {
            "index": 0,
            "message": {
                "role": "assistant",
                "content": "The Sun is **the central celestial body of the Solar System**, a **star** that continuously releases energy through **nuclear fusion reactions** (specifically a G-type main-sequence star, commonly known as a \"yellow dwarf\"). It is not a burning \"fireball\" (combustion requires oxygen, while space is nearly a vacuum), but rather relies on hydrogen fusion into helium through nuclear reactions triggered by extreme internal temperatures and pressures to produce light and heat.\n\n### 🌞 Core Scientific Facts\n- **Composition**: Approximately 74% hydrogen, 24% helium (by mass), with the remaining 2% consisting of heavier elements like oxygen, carbon, and iron.\n- **Scale**:\n  - Mass: Approximately $1.989 \\times 10^{30}$ kilograms (accounting for **99.86%** of the Solar System's total mass).\n  - Volume: Can contain approximately **1.3 million Earths**.\n  - Diameter: Approximately 1.39 million kilometers (109 times that of Earth).\n- **Temperature**:\n  - Core: Approximately 15 million°C (where nuclear fusion occurs).\n  - Surface (photosphere): Approximately 5,500°C.\n  - Corona (outer atmosphere): Anomalously high at 1-2 million°C (the cause remains a research hotspot).\n- **Energy Source**: Every second, approximately 600 million tons of hydrogen fuse into 596 million tons of helium, with the lost 4 million tons of mass converted into energy (according to $E=mc^2$), equivalent to the explosion of 92 billion megatons of hydrogen bombs per second.\n- **Structure** (from inside out):  \n  Core → Radiative zone → Convective zone → Photosphere (visible surface) → Chromosphere → Corona.\n- **Age and Lifespan**: Approximately 4.6 billion years old, in the middle of its main-sequence phase, expected to burn stably for another approximately 5 billion years, after which it will expand into a red giant.\n\n### 🌍 Significance to Earth and Life\n- **Gravitational Anchor**: The Sun's gravity maintains the orbits of the eight planets, asteroids, and other celestial bodies around it.\n- **Foundation of Life**: Provides light and heat, drives Earth's climate and photosynthesis, and is the energy source for nearly all ecosystems.\n- **Space Weather Impact**: Solar activities such as sunspots, flares, and coronal mass ejections can trigger auroras and may also interfere with satellite communications and power grids (requiring scientific monitoring and protection).\n\n### ❓ Common Misconceptions Clarified\n- **\"The Sun is yellow\"?**  \n  It actually emits white light (containing the full spectrum). Due to Earth's atmospheric scattering of blue light, the Sun appears white at noon and orange-red at sunrise/sunset. \"Yellow dwarf\" is an astronomical classification term, not a visual color.\n- **\"The Sun will go out\"?**  \n  It won't \"go out,\" but in approximately 5 billion years when hydrogen fuel is depleted, it will go through a red giant phase and eventually collapse into a white dwarf (Earth's fate is still debated, but humanity needs to find alternatives long before this).\n- **Cultural Perspective**: Ancient and modern civilizations (such as the Egyptian god Ra and Chinese Golden Crow legends) often deified the Sun, reflecting its profound impact on human civilization, but modern science has revealed its physical nature.\n\nThe Sun is not only a cornerstone of astronomical research but also a window into understanding stellar evolution and cosmic energy. If you're interested in solar activity, eclipse principles, or \"artificial suns\" (controlled nuclear fusion), feel free to ask further questions! 🌌",
                "reasoning_content": "We are asked: \"What is the Sun?\" This is a fundamental but important question. First, we need to determine the questioner's intent. It could be a student doing homework or an average adult wanting to understand basic knowledge. We need to provide an accurate, comprehensive but not overly complex explanation. First, the definition of the Sun: The Sun is the central celestial body of the Solar System and is a star. Then we need to cover its basic properties: composition (hydrogen, helium, etc.), physical characteristics (mass, volume, temperature), role in the Solar System (gravitational center, providing light and heat), and importance to life on Earth. We also need to address common misconceptions, such as the Sun being a planet or a burning fireball (it's actually nuclear fusion). Additionally, we can add some interesting facts, such as the Sun's age, lifespan, and structure (core, radiative zone, convective zone, photosphere, chromosphere, corona). But we need to judge the depth: the question is simple, so it may not need to be too in-depth. However, as an AI, we should provide layered information, from simple to complex. At the same time, we need to ensure scientific accuracy. We need to check for outdated information. For example, the Sun is approximately 4.6 billion years old and is expected to have another 5 billion years of lifespan. Composition: approximately 74% hydrogen, 24% helium, 2% other elements (by mass). Surface temperature approximately 5,500 degrees Celsius, core temperature 15 million degrees Celsius. We need to confirm the accuracy of the numbers. Additionally, solar activity: sunspots, flares, coronal mass ejections, etc., may affect Earth (such as auroras, communication interference). But the question is just \"What is the Sun?\", so the core is the definition and basic facts. We can answer in points, but the thinking process doesn't need formatting. We also need to consider whether to mention the Sun's position in the Milky Way (located in the Orion Arm), but it may be beyond the scope. We need to balance brevity and comprehensiveness. Also, note the language: answer in Chinese, use accurate wording. Avoid too much technical jargon, explain when necessary. For example, \"nuclear fusion\" needs a simple explanation. Common misconception: The Sun doesn't \"burn\" because combustion requires oxygen, while the Sun undergoes nuclear fusion reactions. This point is important and should be emphasized. Additionally, the Sun's spectral type: G-type main-sequence star (yellow dwarf), but \"yellow dwarf\" may cause misunderstanding (it actually looks white, atmospheric scattering makes the sky blue and the Sun appear yellow), we can mention this. But it might be too detailed. Summary answer structure: 1. Definition (star, center of Solar System); 2. Basic physical parameters; 3. Composition and energy source; 4. Structure; 5. Significance to Earth and life; 6. Additional interesting facts or common misconceptions. We need to ensure authoritative information, referencing standard astronomical knowledge. Check for errors: The Sun's mass accounts for 99.86% of the Solar System's total mass, this number needs confirmation. Yes, approximately 99.86%. Volume: can fit approximately 1.3 million Earths. Temperature: photosphere effective temperature 5772K (approximately 5,500°C), core 15 million K. Age: 4.57 billion years, usually said to be 4.6 billion years. Lifespan: main-sequence phase approximately 10 billion years, already halfway through, so approximately 5 billion years remaining. After that, it will become a red giant. But it may not need to be too detailed. Additionally, the Sun's rotation: different latitudes have different rotation periods (equator approximately 25 days, poles approximately 35 days), but it may not be necessary. The answer should be educational and spark interest. Finally, note a friendly tone and encourage further questions. Now organize the language: first directly answer \"The Sun is...\", then expand in paragraphs. Avoid being lengthy. Think about whether there's a cultural or historical angle? Such as ancient worship of the Sun, but the question leans toward science, may not be needed. Unless the questioner has implicit needs, but the question is very direct, should focus on scientific explanation. Confirmation: the question is asked in Chinese, answer in Chinese. Need to translate technical terms? Such as \"nuclear fusion\" is the standard translation. Check for sensitive content? None. Safe. Now start building the answer."
            },
            "finish_reason": "stop"
        }
    ],
    "usage": {
        "prompt_tokens": 12,
        "completion_tokens": 1567,
        "total_tokens": 1579,
        "prompt_tokens_details": {},
        "completion_tokens_details": {
            "reasoning_tokens": 827
        }
    }
}
Modified at 2026-04-24 10:39:56
Previous
doubao-seed-1.6
Next
Chat completion
Built with