Plain text conversation: Single- or multi-turn contextual dialogue with 1M ultra-long context
Image understanding: deepseek-v4.1-flash / deepseek-v4.1-flash-1017 / deepseek-v4-flash-vision-exp accepts mixed text and images in one message and supports multiple images
System prompts: Customize the AI’s role and behavior
Thinking mode: Control deep reasoning via thinking.type; deepseek-v4-pro returns thinking content through reasoning_content
Streaming output: SSE streaming returns are supported
Tool calling: Supports Function Calling (up to 128 tools)
JSON mode: Enabled via response_format
Context caching: Requests with identical prefixes automatically hit the cache, substantially lowering input cost
Unknown parameter behavior: Unrecognized top-level fields in the request body are silently ignored by the upstream without an error. Misspelled parameter names produce no warning, so use only the fields listed in this reference.
{ "id": "837f529d-00f9-4731-b2e1-4a54fc31790a", "object": "chat.completion", "created": 1777026806, "model": "deepseek-v4-flash", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Hello! I am the DeepSeek assistant, always ready to answer your questions and help you out." }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 7, "completion_tokens": 31, "total_tokens": 38, "prompt_tokens_details": { "cached_tokens": 0 }, "prompt_cache_hit_tokens": 0, "prompt_cache_miss_tokens": 7 }, "system_fingerprint": "fp_evolink_v4_20260402"}
BaseURL: The default BaseURL is https://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.
deepseek-v4.1-flash-1017: DeepSeek V4.1 Flash 1017 (latest version), with text and native image understanding, 1M context and up to 384K output tokens; more concise responses and lower latency than the previous version
deepseek-v4.1-flash: Previous version of DeepSeek V4.1 Flash, with the capabilities listed above; use deepseek-v4.1-flash-1017 for the latest version
deepseek-v4-flash: Fast general-purpose model, 1M context
deepseek-v4-pro: Deep reasoning model, excels at math, programming, and complex logic
deepseek-v4-flash-vision-exp: Legacy model name, now routed to DeepSeek V4.1 Flash; use deepseek-v4.1-flash for new integrations
Tip: All models have thinking enabled by default, and responses include reasoning_content. Set thinking.type="disabled" to turn it off and reduce output token cost.
For images, use deepseek-v4.1-flash / deepseek-v4.1-flash-1017 / deepseek-v4-flash-vision-exp: Sending images to deepseek-v4-prodoes not return an error, but the model cannot see them. deepseek-v4-flash currently recognizes images, but image support is not guaranteed.
List of conversation messages, supports multi-turn dialogue
Messages with different roles have different field structures; select the corresponding role to view details
Minimum array length: 1
System Message
User Message
Assistant Message
Tool Message
Show child attributes
thinking
object
Thinking mode control (new in V4)
Notes:
Controls the deep thinking (Chain of Thought) feature
Enabled by default on both models (type=enabled)
When enabled, the reasoning process is returned through choices[].message.reasoning_content and billed as output tokens
Multi-turn / tool-calling caveat: If the current response includes reasoning_content, the corresponding assistant message in the messages history of the next request must echo that field verbatim, otherwise the API returns 400 The reasoning_content in the thinking mode must be passed back to the API. If you would rather not handle it, set thinking.type="disabled" explicitly for the whole session.
Show child attributes
temperature
number
default:1
Sampling temperature, controls randomness of output
Notes:
Lower values (e.g., 0.2): More deterministic, more focused output
Higher values (e.g., 1.5): More random, more creative output
Default: 1
Required range: 0 <= x <= 2
Example:
1
top_p
number
default:1
Nucleus sampling parameter
Notes:
Controls sampling from tokens with cumulative probability
For example, 0.9 means sampling from tokens whose cumulative probability reaches 90%
Default: 1.0 (considers all tokens)
Suggestion: Do not adjust temperature and top_p simultaneously
Required range: 0 <= x <= 1
Example:
1
max_tokens
integer
Limits the maximum number of tokens generated
Notes:
The V4 series can reach up to 393,216 tokens
deepseek-v4.1-flash-1017 only accepts 1 to 393,216; values outside this range return HTTP 400
When thinking is enabled, reasoning_tokens also count toward the max_tokens limit
If not set, the model decides the generation length on its own
Required range: 1 <= x <= 393216
Example:
4096
response_format
object
Specifies the response format
Notes:
Set to {"type": "json_object"} to enable JSON mode
In JSON mode the model outputs valid JSON content
For best results, explicitly ask for JSON output in your system or user message
Show child attributes
stop
stringstring[]
Stop sequences; generation stops when the model encounters any of these strings
Notes:
Can be a single string or an array of strings
Up to 16 stop sequences are supported
stream
boolean
default:false
Whether to stream the response
true: Stream response; returns content chunk by chunk in real time via SSE (Server-Sent Events)
false: Wait for the full response and return it at once (default)
Example:
false
stream_options
object
Streaming response options
Only effective when stream=true
Show child attributes
tools
object[]
List of tool definitions for Function Calling
Notes:
Up to 128 tool definitions are supported
Each tool must define a name, description, and parameter schema
Maximum array length: 128
Show child attributes
tool_choice
enum<string>object
Controls tool-calling behavior
Options:
none: Do not call any tool
auto: Let the model decide whether to call a tool (default when tools are provided)
required: Force the model to call one or more tools
Object form {"type":"function","function":{"name":"xxx"}}: Call the specified tool
Default: none when no tools are provided, auto when tools are provided
Available options:
none,
auto,
required
logprobs
boolean
default:false
Whether to return token log probabilities
Notes:
When set to true, the response includes log probability information for each token
top_logprobs
integer
Return log probabilities of the top N tokens
Notes:
Requires logprobs to be true
Range: [0, 20]
Required range: 0 <= x <= 20
Response
Chat completion successful
id
string
Unique identifier for the chat completion
Example:
"53c548dc-ec02-4a2f-bbb6-eca4184630b8"
model
string
Model name actually used
Example:
"deepseek-v4-flash"
object
enum<string>
Response type
Available options:
chat.completion
Example:
"chat.completion"
created
integer
Creation timestamp (Unix seconds)
Example:
1777021417
choices
object[]
List of completion choices
Show child attributes
usage
object
Token usage statistics (including cache and reasoning breakdowns)
Show child attributes
system_fingerprint
string
System fingerprint identifier
Example:
"fp_evolink_v4_20260402"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"EvoLink.AI","colors":{"primary":"#1E90FF","light":"#1E90FF","dark":"#1565C0"},"favicon":"https://mintcdn.com/muyutechnology/M6WD8GX6z2spTJCk/logo/favicon.svg?fit=max\u0026auto=format\u0026n=M6WD8GX6z2spTJCk\u0026q=85\u0026s=7c4e0fca04c5437dea1a135215d02f40","api":{"examples":{"prefill":true}},"navbar":{"links":[{"icon":"discord","href":"https://discord.gg/P9xzmJWndW","label":"Discord"},{"icon":"github","href":"https://github.com/EvoLinkAI","label":"GitHub"},{"icon":"x-twitter","href":"https://x.com/EvoLinkAi","label":"Twitter"}],"primary":{"type":"button","label":"Dashboard","href":"https://evolink.ai/dashboard"}},"footer":{"socials":{}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"en/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"},{"language":"cn","href":"cn/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"},{"language":"de","href":"de/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"},{"language":"fr","href":"fr/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"},{"language":"ja","href":"ja/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"},{"language":"ko","href":"ko/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"},{"language":"es","href":"es/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"muyutechnology","hasAudioNarration":false,"actualSubdomain":"muyutechnology","customDomains":["evolink.ai"],"gitSource":{"type":"github","owner":"pharmacist9527","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10bc2b9ffae5051c4031dd"},"entitlements":{},"buildId":"6b1189b55fc534e2df506a04","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"cn","tag":"API手册","count":252},{"language":"de","tag":"API-Handbuch","count":252},{"language":"en","tag":"API Manual","count":252},{"language":"es","tag":"Manual de API","count":252},{"language":"fr","tag":"Manuel API","count":252},{"language":"ja","tag":"APIマニュアル","count":252},{"language":"ko","tag":"API 매뉴얼","count":252},{"language":"cn","tag":"视频系列","count":119},{"language":"de","tag":"Videoserie","count":119},{"language":"en","tag":"Video Series","count":119},{"language":"es","tag":"Serie de videos","count":119},{"language":"fr","tag":"Série Vidéo","count":119},{"language":"ja","tag":"動画シリーズ","count":119},{"language":"ko","tag":"비디오 시리즈","count":119},{"language":"cn","tag":"图像系列","count":58},{"language":"de","tag":"Bildserie","count":58},{"language":"en","tag":"Image Series","count":58},{"language":"es","tag":"Serie de imágenes","count":58},{"language":"fr","tag":"Série Image","count":58},{"language":"ja","tag":"画像シリーズ","count":58},{"language":"ko","tag":"이미지 시리즈","count":58},{"language":"cn","tag":"语言系列","count":55},{"language":"de","tag":"Textserie","count":55},{"language":"en","tag":"Text Series","count":55},{"language":"es","tag":"Serie de texto","count":55},{"language":"fr","tag":"Série Texte","count":55},{"language":"ja","tag":"テキストシリーズ","count":55},{"language":"ko","tag":"텍스트 시리즈","count":55},{"language":"cn","tag":"Midjourney","count":28},{"language":"cn","tag":"CLI/MCP","count":28},{"language":"de","tag":"Midjourney","count":28},{"language":"de","tag":"CLI/MCP","count":28},{"language":"en","tag":"Midjourney","count":28},{"language":"en","tag":"CLI/MCP","count":28},{"language":"es","tag":"Midjourney","count":28},{"language":"es","tag":"CLI/MCP","count":28},{"language":"fr","tag":"Midjourney","count":28},{"language":"fr","tag":"CLI/MCP","count":28},{"language":"ja","tag":"Midjourney","count":28},{"language":"ja","tag":"CLI/MCP","count":28},{"language":"ko","tag":"Midjourney","count":28},{"language":"ko","tag":"CLI/MCP","count":28},{"language":"cn","tag":"Seedance","count":25},{"language":"de","tag":"Seedance","count":25},{"language":"en","tag":"Seedance","count":25},{"language":"es","tag":"Seedance","count":25},{"language":"fr","tag":"Seedance","count":25},{"language":"ja","tag":"Seedance","count":25},{"language":"ko","tag":"Seedance","count":25},{"language":"cn","tag":"Kling","count":22},{"language":"de","tag":"Kling","count":22},{"language":"en","tag":"Kling","count":22},{"language":"es","tag":"Kling","count":22},{"language":"fr","tag":"Kling","count":22},{"language":"ja","tag":"Kling","count":22},{"language":"ko","tag":"Kling","count":22},{"language":"cn","tag":"Wan","count":18},{"language":"de","tag":"Wan","count":18},{"language":"en","tag":"Wan","count":18},{"language":"es","tag":"Wan","count":18},{"language":"fr","tag":"Wan","count":18},{"language":"ja","tag":"Wan","count":18},{"language":"ko","tag":"Wan","count":18},{"language":"cn","tag":"Gemini Omni Flash","count":17},{"language":"de","tag":"Gemini Omni Flash","count":17},{"language":"en","tag":"Gemini Omni Flash","count":17},{"language":"es","tag":"Gemini Omni Flash","count":17},{"language":"fr","tag":"Gemini Omni Flash","count":17},{"language":"ja","tag":"Gemini Omni Flash","count":17},{"language":"ko","tag":"Gemini Omni Flash","count":17}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"img[src*=\"/images/\"]{border-radius:12px!important}@media (min-width: 1024px){html{--scroll-mt: 9.5rem !important}}:where(h1,h2,h3,h4)[id],.prose :where(h1,h2,h3,h4):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){scroll-margin-top:calc(var(--scroll-mt) - 10px)!important}.step-container,.tab-container,.param-head{scroll-margin-top:calc(var(--scroll-mt) - 10px)!important}.kilo-warning code:not(pre *){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}.cc-switch-warning code:not(pre *){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}#footer a[href*=\"utm_campaign=poweredBy\"]{display:none!important}"}]}
{"page":{"pagePath":"en/api-manual/language-series/deepseek-v4/deepseek-v4-chat","slug":"/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat","pageMetadata":{"title":"DeepSeek V4 - OpenAI-Compatible API","openapi":"en/api-manual/language-series/deepseek-v4/deepseek-v4-chat.json POST /v1/chat/completions","description":"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol\n- Supported models: `deepseek-v4.1-flash-1017` / `deepseek-v4.1-flash` / `deepseek-v4-flash` / `deepseek-v4-pro` / `deepseek-v4-flash-vision-exp`\n- **Plain text conversation**: Single- or multi-turn contextual dialogue with 1M ultra-long context\n- **Image understanding**: `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp` accepts mixed text and images in one message and supports multiple images\n- **System prompts**: Customize the AI's role and behavior\n- **Thinking mode**: Control deep reasoning via `thinking.type`; `deepseek-v4-pro` returns thinking content through `reasoning_content`\n- **Streaming output**: SSE streaming returns are supported\n- **Tool calling**: Supports Function Calling (up to 128 tools)\n- **JSON mode**: Enabled via `response_format`\n- **Context caching**: Requests with identical prefixes automatically hit the cache, substantially lowering input cost\n\n**Unknown parameter behavior**: Unrecognized top-level fields in the request body are **silently ignored by the upstream without an error**. Misspelled parameter names produce no warning, so use only the fields listed in this reference.","href":"/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Call the DeepSeek V4 model using the OpenAI Chat Completions protocol\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Supported models: \", _jsx(_components.code, {\n children: \"deepseek-v4.1-flash-1017\"\n }), \" / \", _jsx(_components.code, {\n children: \"deepseek-v4.1-flash\"\n }), \" / \", _jsx(_components.code, {\n children: \"deepseek-v4-flash\"\n }), \" / \", _jsx(_components.code, {\n children: \"deepseek-v4-pro\"\n }), \" / \", _jsx(_components.code, {\n children: \"deepseek-v4-flash-vision-exp\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Plain text conversation\"\n }), \": Single- or multi-turn contextual dialogue with 1M ultra-long context\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Image understanding\"\n }), \": \", _jsx(_components.code, {\n children: \"deepseek-v4.1-flash\"\n }), \" / \", _jsx(_components.code, {\n children: \"deepseek-v4.1-flash-1017\"\n }), \" / \", _jsx(_components.code, {\n children: \"deepseek-v4-flash-vision-exp\"\n }), \" accepts mixed text and images in one message and supports multiple images\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"System prompts\"\n }), \": Customize the AI’s role and behavior\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Thinking mode\"\n }), \": Control deep reasoning via \", _jsx(_components.code, {\n children: \"thinking.type\"\n }), \"; \", _jsx(_components.code, {\n children: \"deepseek-v4-pro\"\n }), \" returns thinking content through \", _jsx(_components.code, {\n children: \"reasoning_content\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Streaming output\"\n }), \": SSE streaming returns are supported\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Tool calling\"\n }), \": Supports Function Calling (up to 128 tools)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"JSON mode\"\n }), \": Enabled via \", _jsx(_components.code, {\n children: \"response_format\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Context caching\"\n }), \": Requests with identical prefixes automatically hit the cache, substantially lowering input cost\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Unknown parameter behavior\"\n }), \": Unrecognized top-level fields in the request body are \", _jsx(_components.strong, {\n children: \"silently ignored by the upstream without an error\"\n }), \". Misspelled parameter names produce no warning, so use only the fields listed in this reference.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`BaseURL`}),`: The default BaseURL is `,_jsx(_components.code,{children:`https://direct.evolink.ai`}),`, which has better support for text models and long-lived connections. `,_jsx(_components.code,{children:`https://api.evolink.ai`}),` is the primary endpoint for multimodal services and serves as a fallback address for text models.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"DeepSeek V4 - OpenAI-Compatible API","openapi":"en/api-manual/language-series/deepseek-v4/deepseek-v4-chat.json POST /v1/chat/completions","description":"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol\n- Supported models: `deepseek-v4.1-flash-1017` / `deepseek-v4.1-flash` / `deepseek-v4-flash` / `deepseek-v4-pro` / `deepseek-v4-flash-vision-exp`\n- **Plain text conversation**: Single- or multi-turn contextual dialogue with 1M ultra-long context\n- **Image understanding**: `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp` accepts mixed text and images in one message and supports multiple images\n- **System prompts**: Customize the AI's role and behavior\n- **Thinking mode**: Control deep reasoning via `thinking.type`; `deepseek-v4-pro` returns thinking content through `reasoning_content`\n- **Streaming output**: SSE streaming returns are supported\n- **Tool calling**: Supports Function Calling (up to 128 tools)\n- **JSON mode**: Enabled via `response_format`\n- **Context caching**: Requests with identical prefixes automatically hit the cache, substantially lowering input cost\n\n**Unknown parameter behavior**: Unrecognized top-level fields in the request body are **silently ignored by the upstream without an error**. Misspelled parameter names produce no warning, so use only the fields listed in this reference.","href":"/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"DeepSeek V4 Chat Interface (OpenAI-Compatible)","description":"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol\n- Supported models: `deepseek-v4.1-flash-1017` / `deepseek-v4.1-flash` / `deepseek-v4-flash` / `deepseek-v4-pro` / `deepseek-v4-flash-vision-exp`\n- **Plain text conversation**: Single- or multi-turn contextual dialogue with 1M ultra-long context\n- **Image understanding**: `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp` accepts mixed text and images in one message and supports multiple images\n- **System prompts**: Customize the AI's role and behavior\n- **Thinking mode**: Control deep reasoning via `thinking.type`; `deepseek-v4-pro` returns thinking content through `reasoning_content`\n- **Streaming output**: SSE streaming returns are supported\n- **Tool calling**: Supports Function Calling (up to 128 tools)\n- **JSON mode**: Enabled via `response_format`\n- **Context caching**: Requests with identical prefixes automatically hit the cache, substantially lowering input cost\n\n**Unknown parameter behavior**: Unrecognized top-level fields in the request body are **silently ignored by the upstream without an error**. Misspelled parameter names produce no warning, so use only the fields listed in this reference.","operationId":"createChatCompletionDeepSeekV4","tags":["Chat Completion"],"requestBody":"1fc45f23-5499-48e7-b81a-58989ca157a8","responses":{"200":"7df400cd-ccb1-4bb5-89b2-17eae45ae1a3","400":"f6b72a0c-7cd9-43b0-a621-d05442363716","401":"36e32c09-814e-4c19-9188-e265902d430e","402":"0778d972-e7ea-4a48-8998-cbeab3e4a396","403":"fbd23410-f4b8-411e-a16d-6e9205abbfcd","404":"3927253e-4eee-4c20-ac6f-f2afbdc6f347","413":"479632a8-c756-4fa6-b280-6ef016d61ffc","429":"0e6e3bc9-9817-453c-a48c-13930d27e8a8","500":"a7e202a8-d3a0-4b29-85ae-e2c99686a6cc","502":"a0800f98-7643-4652-a674-d3990ab3c921","503":"82ffeb1b-751c-46fe-8d5b-cff12f678f8f"},"method":"post","type":"path","servers":["53df1c16-9af2-4033-938c-362a51d808a4","6d01e8ff-1644-437e-bac9-c8d8f6c24816"],"security":["8cbbd615-33e1-41c3-b3dd-ffae7d8e6577"],"path":"/v1/chat/completions","baseUrlOptions":["https://direct.evolink.ai","https://api.evolink.ai"],"title":"DeepSeek V4 Chat Interface (OpenAI-Compatible)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.model":"deepseek-v4-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Please introduce yourself"},{"body.model":"deepseek-v4.1-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.oneOf.0.type":"text","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.oneOf.0.text":"What does this image say? Return only the content.","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.oneOf.1.type":"image_url","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.oneOf.1.image_url.url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...","body.max_tokens":1024},{"body.model":"deepseek-v4.1-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.oneOf.0.type":"text","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.oneOf.0.text":"Describe the content of this image.","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.oneOf.1.type":"image_url","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.oneOf.1.image_url.url":"https://example.com/photo.jpg","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.oneOf.1.image_url.detail":"auto","body.max_tokens":1024},{"body.model":"deepseek-v4.1-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.oneOf.0.type":"text","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.oneOf.0.text":"Describe the differences between these two images in order.","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.oneOf.1.type":"image_url","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.oneOf.1.image_url.url":"data:image/png;base64,\u003cFIRST_IMAGE>","body.messages.items.0.oneOf.1.content.oneOf.1.items.2.oneOf.1.type":"image_url","body.messages.items.0.oneOf.1.content.oneOf.1.items.2.oneOf.1.image_url.url":"data:image/png;base64,\u003cSECOND_IMAGE>","body.max_tokens":2048},{"body.model":"deepseek-v4-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"What is Python?","body.messages.items.1.oneOf.2.role":"assistant","body.messages.items.1.oneOf.2.content.oneOf.0":"Python is a high-level programming language...","body.messages.items.2.oneOf.1.role":"user","body.messages.items.2.oneOf.1.content.oneOf.0":"What are its advantages?"},{"body.model":"deepseek-v4-flash","body.messages.items.0.oneOf.0.role":"system","body.messages.items.0.oneOf.0.content":"You are a professional Python programming assistant. Answer questions concisely.","body.messages.items.1.oneOf.1.role":"user","body.messages.items.1.oneOf.1.content.oneOf.0":"How do I read a file?"},{"body.model":"deepseek-v4-pro","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Prove that √2 is irrational","body.thinking.type":"enabled","body.thinking.reasoning_effort":"high"},{"body.model":"deepseek-v4-pro","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"What is the capital of France?","body.thinking.type":"disabled"},{"body.model":"deepseek-v4-flash","body.messages.items.0.oneOf.0.role":"system","body.messages.items.0.oneOf.0.content":"You must output strict JSON.","body.messages.items.1.oneOf.1.role":"user","body.messages.items.1.oneOf.1.content.oneOf.0":"Give me an example JSON with name and age fields","body.response_format.type":"json_object"},{"body.model":"deepseek-v4-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Query today's weather in Beijing","body.tools.items.0.type":"function","body.tools.items.0.function.name":"get_weather","body.tools.items.0.function.description":"Query the weather for a specified city","body.tools.items.0.function.parameters":{"type":"object","properties":{"city":{"type":"string","description":"City name"}},"required":["city"]},"body.tool_choice.oneOf.0":"auto"},{"body.model":"deepseek-v4-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Write a short poem about spring","body.stream":true,"body.stream_options.include_usage":true},{"body.model":"deepseek-v4.1-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Please introduce yourself"},{"body.model":"deepseek-v4.1-flash-1017","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Please introduce yourself"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string","description":"Chat model name\n\n- `deepseek-v4.1-flash-1017`: DeepSeek V4.1 Flash 1017 (latest version), with text and native image understanding, 1M context and up to 384K output tokens; more concise responses and lower latency than the previous version\n- `deepseek-v4.1-flash`: Previous version of DeepSeek V4.1 Flash, with the capabilities listed above; use `deepseek-v4.1-flash-1017` for the latest version\n- `deepseek-v4-flash`: Fast general-purpose model, 1M context\n- `deepseek-v4-pro`: Deep reasoning model, excels at math, programming, and complex logic\n- `deepseek-v4-flash-vision-exp`: Legacy model name, now routed to DeepSeek V4.1 Flash; use `deepseek-v4.1-flash` for new integrations\n\n**Tip**: All models **have `thinking` enabled by default**, and responses include `reasoning_content`. Set `thinking.type=\"disabled\"` to turn it off and reduce output token cost.\n\n**For images, use `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp`**: Sending images to `deepseek-v4-pro` **does not return an error**, but the model cannot see them. `deepseek-v4-flash` currently recognizes images, but image support is not guaranteed.","enum":["deepseek-v4-flash","deepseek-v4-pro","deepseek-v4-flash-vision-exp","deepseek-v4.1-flash","deepseek-v4.1-flash-1017"],"default":"deepseek-v4-flash","example":"deepseek-v4-flash","isRequired":true,"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"List of conversation messages, supports multi-turn dialogue\n\nMessages with different roles have different field structures; select the corresponding role to view details","items":{"oneOf":[{"type":"object","title":"System Message","required":["role","content"],"properties":{"role":{"type":"string","enum":["system"],"description":"Role identifier, fixed to `system`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"System prompt content, used to define the AI's role and behavior","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content","typeLabel":"string"},"name":{"type":"string","description":"Participant name, used to distinguish different sources of system prompts","uniqueKey":"messages.items.[INDEX].oneOf.0.name","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.0","typeLabel":"System Message · object"},{"type":"object","title":"User Message","required":["role","content"],"properties":{"role":{"type":"string","enum":["user"],"description":"Role identifier, fixed to `user`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Plain text","description":"User message content.\n\n- **String**: Plain text, supported by all models\n- **Array**: Multimodal content blocks; image blocks are supported only by `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp`\n\nImages are converted to input tokens based on resolution and billed together with text; refer to the response `usage` for actual consumption.","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Text Content Part","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"],"description":"Content block type; always `text`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text content","example":"What does this image say? Return only the content.","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Text Content Part · object"},{"type":"object","title":"Image Content Part","description":"Image content block, **supported only by `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp`**.\n\n**Usage limits**:\n- Images may appear only in messages with `role: user`. Placing one in `system` returns HTTP 400 `Image in system message is unsupported`; placing one in `assistant` returns HTTP 400 `Image in assistant message is not supported`\n- At most **600 images** per request\n- Maximum **32 MiB** per image and **48 MiB** for the entire request body (the Base64-encoded size counts toward this limit)\n- Maximum image dimension: **8192 px** on either side; when a request contains more than 15 images, the per-side limit drops to **4096 px**\n- Public image URLs may contain at most 8192 characters and must be downloadable by the upstream within 60 seconds","required":["type","image_url"],"properties":{"type":{"type":"string","enum":["image_url"],"description":"Content block type; always `image_url`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Image source. Two forms are supported:\n\n1. **Inline Base64** (recommended): `data:image/png;base64,\u003cBASE64>`\n2. **Public URL**: `https://example.com/photo.jpg`\n\nSupported formats: **PNG / JPEG / WebP / GIF**.\n\n**Public URL notes**: The upstream server downloads the image. Hosts outside its network region or URLs requiring authentication may return HTTP 400 with `Failed to download image from ...`. Use inline Base64 when reliability matters.","example":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.1.image_url.url","typeLabel":"string"},"detail":{"type":"string","enum":["low","high","auto","original"],"default":"auto","description":"Image detail: `low` downsizes images to reduce token usage; `high` / `auto` / `original` preserve full detail.","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.1.image_url.detail","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Image Content Part · object"},{"type":"object","title":"File Content Part","description":"File content block (PDF), **supported only by `deepseek-v4.1-flash` / `deepseek-v4-flash-vision-exp`**; `deepseek-v4-flash` / `deepseek-v4-pro` cannot read the file, and `deepseek-v4.1-flash-1017` returns a 400 error. The file content is billed as input tokens; refer to the response `usage` for actual consumption.","required":["type","file"],"properties":{"type":{"type":"string","enum":["file"],"description":"Content block type, fixed to `file`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"file":{"type":"object","required":["file_data","filename"],"properties":{"file_data":{"type":"string","description":"Base64-encoded file as `data:application/pdf;base64,...`","example":"data:application/pdf;base64,JVBERi0xLjQK...","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.2.file.file_data","typeLabel":"string"},"filename":{"type":"string","description":"File name, e.g. `report.pdf`","example":"report.pdf","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.2.file.filename","typeLabel":"string"}},"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.2.file","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"File Content Part · object"}],"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX]","typeLabel":"Text Content Part · object | Image Content Part · object | File Content Part · object"},"title":"Multimodal content blocks","description":"User message content.\n\n- **String**: Plain text, supported by all models\n- **Array**: Multimodal content blocks; image blocks are supported only by `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp`\n\nImages are converted to input tokens based on resolution and billed together with text; refer to the response `usage` for actual consumption.","minItems":1,"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1","typeLabel":"(Text Content Part · object | Image Content Part · object | File Content Part · object)[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content","typeLabel":"string | (Text Content Part · object | Image Content Part · object | File Content Part · object)[]"},"name":{"type":"string","description":"Participant name, used to distinguish different users","uniqueKey":"messages.items.[INDEX].oneOf.1.name","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.1","typeLabel":"User Message · object"},{"type":"object","title":"Assistant Message","required":["role","content"],"properties":{"role":{"type":"string","enum":["assistant"],"description":"Role identifier, fixed to `assistant`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"Assistant message content\n\n**Notes**:\n- Used to pass historical assistant replies in multi-turn dialogues\n- Can be `null` when `tool_calls` is present","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Assistant message content\n\n**Notes**:\n- Used to pass historical assistant replies in multi-turn dialogues\n- Can be `null` when `tool_calls` is present","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.content.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.content","typeLabel":"string | null"},"name":{"type":"string","description":"Participant name","uniqueKey":"messages.items.[INDEX].oneOf.2.name","typeLabel":"string"},"prefix":{"type":"boolean","description":"Whether to enable prefix continuation mode (Beta)\n\n**Notes**:\n- Only set in the last message\n- When set to `true`, the model continues generation using this message's `content` as the prefix","default":false,"uniqueKey":"messages.items.[INDEX].oneOf.2.prefix","typeLabel":"boolean"},"reasoning_content":{"oneOf":[{"type":"string","description":"Chain-of-thought content (Beta)\n\n**Notes**:\n- Produced by both `deepseek-v4-flash` and `deepseek-v4-pro` when thinking is enabled (default)\n- **Must be echoed verbatim in multi-turn scenarios**: copy `choices[0].message.reasoning_content` from the previous response directly into the `reasoning_content` field of the historical assistant message; omission will be rejected by the API (400)\n- No need to pair with `prefix` when passed as historical context; set `prefix=true` only when explicitly enabling prefix continuation","uniqueKey":"messages.items.[INDEX].oneOf.2.reasoning_content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Chain-of-thought content (Beta)\n\n**Notes**:\n- Produced by both `deepseek-v4-flash` and `deepseek-v4-pro` when thinking is enabled (default)\n- **Must be echoed verbatim in multi-turn scenarios**: copy `choices[0].message.reasoning_content` from the previous response directly into the `reasoning_content` field of the historical assistant message; omission will be rejected by the API (400)\n- No need to pair with `prefix` when passed as historical context; set `prefix=true` only when explicitly enabling prefix continuation","uniqueKey":"messages.items.[INDEX].oneOf.2.reasoning_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.2.reasoning_content","typeLabel":"string | null"},"tool_calls":{"type":"array","description":"List of tool calls\n\nUsed to carry historical tool-call information in multi-turn dialogues","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the tool call","uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["function"],"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","properties":{"name":{"type":"string","description":"Name of the called function","uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","description":"Function arguments (JSON string)","uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].function","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls","typeLabel":"object[]"}},"uniqueKey":"messages.items.[INDEX].oneOf.2","typeLabel":"Assistant Message · object"},{"type":"object","title":"Tool Message","required":["role","content","tool_call_id"],"properties":{"role":{"type":"string","enum":["tool"],"description":"Role identifier, fixed to `tool`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Return value from the tool call","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"tool_call_id":{"type":"string","description":"Tool call ID\n\nCorresponds to the `id` field returned in the assistant message's `tool_calls`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.tool_call_id","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.3","typeLabel":"Tool Message · object"}],"uniqueKey":"messages.items.[INDEX]","typeLabel":"System Message · object | User Message · object | Assistant Message · object | Tool Message · object"},"minItems":1,"isRequired":true,"uniqueKey":"messages","typeLabel":"(System Message · object | User Message · object | Assistant Message · object | Tool Message · object)[]"},"thinking":{"type":"object","description":"Thinking mode control (new in V4)\n\n**Notes**:\n- Controls the deep thinking (Chain of Thought) feature\n- **Enabled by default on both models** (`type=enabled`)\n- When enabled, the reasoning process is returned through `choices[].message.reasoning_content` and billed as output tokens\n\n**Multi-turn / tool-calling caveat**: If the current response includes `reasoning_content`, **the corresponding assistant message in the `messages` history of the next request must echo that field verbatim**, otherwise the API returns 400 `The reasoning_content in the thinking mode must be passed back to the API`. If you would rather not handle it, set `thinking.type=\"disabled\"` explicitly for the whole session.","properties":{"type":{"type":"string","description":"Thinking mode switch\n\n- `enabled`: Enable deep thinking (default)\n- `disabled`: Disable deep thinking; the model answers directly","enum":["enabled","disabled"],"default":"enabled","uniqueKey":"thinking.type","typeLabel":"enum\u003cstring>"},"reasoning_effort":{"type":"string","description":"Reasoning effort level\n\n- `low`: Low effort, faster response and fewer reasoning_tokens\n- `medium`: Medium effort (default)\n- `high`: High effort, more thorough thinking process, consumes more reasoning_tokens","enum":["low","medium","high"],"default":"medium","uniqueKey":"thinking.reasoning_effort","typeLabel":"enum\u003cstring>"}},"uniqueKey":"thinking","typeLabel":"object"},"temperature":{"type":"number","description":"Sampling temperature, controls randomness of output\n\n**Notes**:\n- Lower values (e.g., 0.2): More deterministic, more focused output\n- Higher values (e.g., 1.5): More random, more creative output\n- Default: 1","minimum":0,"maximum":2,"default":1,"example":1,"uniqueKey":"temperature","typeLabel":"number"},"top_p":{"type":"number","description":"Nucleus sampling parameter\n\n**Notes**:\n- Controls sampling from tokens with cumulative probability\n- For example, 0.9 means sampling from tokens whose cumulative probability reaches 90%\n- Default: 1.0 (considers all tokens)\n\n**Suggestion**: Do not adjust temperature and top_p simultaneously","minimum":0,"maximum":1,"default":1,"example":1,"uniqueKey":"top_p","typeLabel":"number"},"max_tokens":{"type":"integer","description":"Limits the maximum number of tokens generated\n\n**Notes**:\n- The V4 series can reach up to **393,216 tokens**\n- `deepseek-v4.1-flash-1017` only accepts 1 to 393,216; values outside this range return HTTP 400\n- When thinking is enabled, reasoning_tokens also count toward the max_tokens limit\n- If not set, the model decides the generation length on its own","minimum":1,"maximum":393216,"example":4096,"uniqueKey":"max_tokens","typeLabel":"integer"},"response_format":{"type":"object","description":"Specifies the response format\n\n**Notes**:\n- Set to `{\"type\": \"json_object\"}` to enable JSON mode\n- In JSON mode the model outputs valid JSON content\n- For best results, explicitly ask for JSON output in your system or user message","properties":{"type":{"type":"string","enum":["text","json_object"],"description":"Response format type","default":"text","uniqueKey":"response_format.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"response_format","typeLabel":"object"},"stop":{"oneOf":[{"type":"string","description":"Stop sequences; generation stops when the model encounters any of these strings\n\n**Notes**:\n- Can be a single string or an array of strings\n- Up to 16 stop sequences are supported","uniqueKey":"stop.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"stop.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Stop sequences; generation stops when the model encounters any of these strings\n\n**Notes**:\n- Can be a single string or an array of strings\n- Up to 16 stop sequences are supported","maxItems":16,"uniqueKey":"stop.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"stop","typeLabel":"string | string[]"},"stream":{"type":"boolean","description":"Whether to stream the response\n\n- `true`: Stream response; returns content chunk by chunk in real time via SSE (Server-Sent Events)\n- `false`: Wait for the full response and return it at once (default)","default":false,"example":false,"uniqueKey":"stream","typeLabel":"boolean"},"stream_options":{"type":"object","description":"Streaming response options\n\nOnly effective when `stream=true`","properties":{"include_usage":{"type":"boolean","description":"Return usage statistics (including cache breakdown) at the end of the stream","uniqueKey":"stream_options.include_usage","typeLabel":"boolean"}},"uniqueKey":"stream_options","typeLabel":"object"},"tools":{"type":"array","description":"List of tool definitions for Function Calling\n\n**Notes**:\n- Up to 128 tool definitions are supported\n- Each tool must define a name, description, and parameter schema","items":{"type":"object","required":["type","function"],"properties":{"type":{"type":"string","enum":["function"],"description":"Tool type; currently only `function` is supported","isRequired":true,"uniqueKey":"tools.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the function to call\n\n**Notes**:\n- Must consist of a-z, A-Z, 0-9 characters, optionally with underscores and hyphens\n- Maximum length is 64 characters","isRequired":true,"uniqueKey":"tools.items.[INDEX].function.name","typeLabel":"string"},"description":{"type":"string","description":"Description of the function, helping the model understand when and how to call it","uniqueKey":"tools.items.[INDEX].function.description","typeLabel":"string"},"parameters":{"type":"object","description":"Function input parameters, described as a JSON Schema object\n\n**Notes**:\n- Omitting `parameters` defines a function with an empty parameter list","uniqueKey":"tools.items.[INDEX].function.parameters","typeLabel":"object"},"strict":{"type":"boolean","description":"Whether to enable strict mode (Beta)\n\n**Notes**:\n- When set to `true`, the API uses strict mode for function calls\n- Ensures the output always conforms to the function's JSON Schema definition","default":false,"uniqueKey":"tools.items.[INDEX].function.strict","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"tools.items.[INDEX].function","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX]","typeLabel":"object"},"maxItems":128,"uniqueKey":"tools","typeLabel":"object[]"},"tool_choice":{"oneOf":[{"type":"string","description":"Controls tool-calling behavior\n\n**Options**:\n- `none`: Do not call any tool\n- `auto`: Let the model decide whether to call a tool (default when tools are provided)\n- `required`: Force the model to call one or more tools\n- Object form `{\"type\":\"function\",\"function\":{\"name\":\"xxx\"}}`: Call the specified tool\n\n**Default**: `none` when no tools are provided, `auto` when tools are provided","enum":["none","auto","required"],"uniqueKey":"tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","description":"Controls tool-calling behavior\n\n**Options**:\n- `none`: Do not call any tool\n- `auto`: Let the model decide whether to call a tool (default when tools are provided)\n- `required`: Force the model to call one or more tools\n- Object form `{\"type\":\"function\",\"function\":{\"name\":\"xxx\"}}`: Call the specified tool\n\n**Default**: `none` when no tools are provided, `auto` when tools are provided","properties":{"type":{"type":"string","enum":["function"],"uniqueKey":"tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","properties":{"name":{"type":"string","description":"Name of the function to call","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.function.name","typeLabel":"string"}},"required":["name"],"uniqueKey":"tool_choice.oneOf.1.function","typeLabel":"object"}},"uniqueKey":"tool_choice.oneOf.1","typeLabel":"object"}],"uniqueKey":"tool_choice","typeLabel":"enum\u003cstring> | object"},"logprobs":{"type":"boolean","description":"Whether to return token log probabilities\n\n**Notes**:\n- When set to `true`, the response includes log probability information for each token","default":false,"uniqueKey":"logprobs","typeLabel":"boolean"},"top_logprobs":{"type":"integer","description":"Return log probabilities of the top N tokens\n\n**Notes**:\n- Requires `logprobs` to be `true`\n- Range: `[0, 20]`","minimum":0,"maximum":20,"uniqueKey":"top_logprobs","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"simple_text":{"title":"simple_text","summary":"Single-turn text conversation (Flash)","value":{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Please introduce yourself"}]}},"vision_base64":{"title":"vision_base64","summary":"Image understanding - Inline Base64 (recommended)","value":{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":[{"type":"text","text":"What does this image say? Return only the content."},{"type":"image_url","image_url":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."}}]}],"max_tokens":1024}},"vision_url":{"title":"vision_url","summary":"Image understanding - Public image URL","value":{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":[{"type":"text","text":"Describe the content of this image."},{"type":"image_url","image_url":{"url":"https://example.com/photo.jpg","detail":"auto"}}]}],"max_tokens":1024}},"vision_multi_image":{"title":"vision_multi_image","summary":"Image understanding - Multiple images in one message","value":{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":[{"type":"text","text":"Describe the differences between these two images in order."},{"type":"image_url","image_url":{"url":"data:image/png;base64,\u003cFIRST_IMAGE>"}},{"type":"image_url","image_url":{"url":"data:image/png;base64,\u003cSECOND_IMAGE>"}}]}],"max_tokens":2048}},"multi_turn":{"title":"multi_turn","summary":"Multi-turn conversation (context understanding)","value":{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"What is Python?"},{"role":"assistant","content":"Python is a high-level programming language..."},{"role":"user","content":"What are its advantages?"}]}},"system_prompt":{"title":"system_prompt","summary":"Using system prompts","value":{"model":"deepseek-v4-flash","messages":[{"role":"system","content":"You are a professional Python programming assistant. Answer questions concisely."},{"role":"user","content":"How do I read a file?"}]}},"thinking_mode":{"title":"thinking_mode","summary":"Pro model + explicitly enabled thinking mode","value":{"model":"deepseek-v4-pro","thinking":{"type":"enabled","reasoning_effort":"high"},"messages":[{"role":"user","content":"Prove that √2 is irrational"}]}},"disable_thinking":{"title":"disable_thinking","summary":"Disable thinking mode (direct answer only)","value":{"model":"deepseek-v4-pro","thinking":{"type":"disabled"},"messages":[{"role":"user","content":"What is the capital of France?"}]}},"json_mode":{"title":"json_mode","summary":"JSON mode structured output","value":{"model":"deepseek-v4-flash","response_format":{"type":"json_object"},"messages":[{"role":"system","content":"You must output strict JSON."},{"role":"user","content":"Give me an example JSON with name and age fields"}]}},"tool_calling":{"title":"tool_calling","summary":"Function Calling tool use","value":{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Query today's weather in Beijing"}],"tools":[{"type":"function","function":{"name":"get_weather","description":"Query the weather for a specified city","parameters":{"type":"object","properties":{"city":{"type":"string","description":"City name"}},"required":["city"]}}}],"tool_choice":"auto"}},"streaming":{"title":"streaming","summary":"Streaming output","value":{"model":"deepseek-v4-flash","stream":true,"stream_options":{"include_usage":true},"messages":[{"role":"user","content":"Write a short poem about spring"}]}},"v4_1_flash":{"title":"v4_1_flash","summary":"DeepSeek V4.1 Flash","value":{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"Please introduce yourself"}]}},"v4_1_flash_1017":{"title":"v4_1_flash_1017","summary":"DeepSeek V4.1 Flash 1017 (latest version)","value":{"model":"deepseek-v4.1-flash-1017","messages":[{"role":"user","content":"Please introduce yourself"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"7df400cd-ccb1-4bb5-89b2-17eae45ae1a3":{"description":"Chat completion successful","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the chat completion","example":"53c548dc-ec02-4a2f-bbb6-eca4184630b8","uniqueKey":"id","typeLabel":"string"},"model":{"type":"string","description":"Model name actually used","example":"deepseek-v4-flash","uniqueKey":"model","typeLabel":"string"},"object":{"type":"string","enum":["chat.completion"],"description":"Response type","example":"chat.completion","uniqueKey":"object","typeLabel":"enum\u003cstring>"},"created":{"type":"integer","description":"Creation timestamp (Unix seconds)","example":1777021417,"uniqueKey":"created","typeLabel":"integer"},"choices":{"type":"array","description":"List of completion choices","items":{"type":"object","properties":{"index":{"type":"integer","description":"Index of this choice","example":0,"uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"message":{"type":"object","properties":{"role":{"type":"string","description":"Role of the message sender","enum":["assistant"],"example":"assistant","uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"AI's response message content","example":"Hello! I am DeepSeek V4. I excel at general conversation, code generation, mathematical reasoning, and many other tasks.","uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string"},"reasoning_content":{"type":"string","description":"Chain-of-thought content (returned only when thinking is enabled)\n\n**Notes**:\n- Enabled by default on `deepseek-v4-pro`; returns the full reasoning process\n- Returned on `deepseek-v4-flash` only when `thinking.type=\"enabled\"` is set explicitly\n- Billed as output tokens and counted in `completion_tokens_details.reasoning_tokens`","example":"Let me analyze this question...","uniqueKey":"choices.items.[INDEX].message.reasoning_content","typeLabel":"string"},"tool_calls":{"type":"array","description":"List of tool calls (returned when the model decides to call a tool)","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the tool call","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["function"],"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","properties":{"name":{"type":"string","description":"Name of the called function","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","description":"Function arguments (JSON string)","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].message.tool_calls","typeLabel":"object[]"}},"uniqueKey":"choices.items.[INDEX].message","typeLabel":"object"},"logprobs":{"oneOf":[{"type":"object","description":"Log probability information (returned only when `logprobs=true` is requested)","uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0","typeLabel":"object"},{"type":"null","description":"Log probability information (returned only when `logprobs=true` is requested)","uniqueKey":"choices.items.[INDEX].logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].logprobs","typeLabel":"object | null"},"finish_reason":{"type":"string","description":"Finish reason\n\n- `stop`: Natural completion or a stop sequence was hit\n- `length`: Reached the maximum token limit\n- `content_filter`: Content was filtered by safety policy\n- `tool_calls`: The model called a tool\n- `insufficient_system_resource`: Insufficient backend resources","enum":["stop","length","content_filter","tool_calls","insufficient_system_resource"],"example":"stop","uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices","typeLabel":"object[]"},"usage":{"type":"object","description":"Token usage statistics (including cache and reasoning breakdowns)","properties":{"prompt_tokens":{"type":"integer","description":"Total tokens in the input (cache hit + miss)","example":694,"uniqueKey":"usage.prompt_tokens","typeLabel":"integer"},"completion_tokens":{"type":"integer","description":"Tokens in the output (including the reasoning portion)","example":20,"uniqueKey":"usage.completion_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"Total tokens = prompt_tokens + completion_tokens","example":714,"uniqueKey":"usage.total_tokens","typeLabel":"integer"},"prompt_cache_hit_tokens":{"type":"integer","description":"Number of input tokens that hit the context cache\n\n**Notes**: Cache-hit tokens are billed at the **cache-hit rate**, which is substantially lower than the standard input rate","example":640,"uniqueKey":"usage.prompt_cache_hit_tokens","typeLabel":"integer"},"prompt_cache_miss_tokens":{"type":"integer","description":"Number of input tokens that missed the cache\n\n**Notes**: Billed at the **standard input rate**","example":54,"uniqueKey":"usage.prompt_cache_miss_tokens","typeLabel":"integer"},"prompt_tokens_details":{"type":"object","description":"Detailed breakdown of input tokens (OpenAI style)","properties":{"cached_tokens":{"type":"integer","description":"Number of cache-hit tokens (equivalent to `prompt_cache_hit_tokens`; auto-mapped by the framework)","example":640,"uniqueKey":"usage.prompt_tokens_details.cached_tokens","typeLabel":"integer"}},"uniqueKey":"usage.prompt_tokens_details","typeLabel":"object"},"completion_tokens_details":{"type":"object","description":"Detailed breakdown of output tokens","properties":{"reasoning_tokens":{"type":"integer","description":"Number of reasoning tokens produced by thinking mode (counted as output, billed at output rate)","example":10,"uniqueKey":"usage.completion_tokens_details.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"usage.completion_tokens_details","typeLabel":"object"}},"uniqueKey":"usage","typeLabel":"object"},"system_fingerprint":{"type":"string","description":"System fingerprint identifier","example":"fp_evolink_v4_20260402","uniqueKey":"system_fingerprint","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"thinking_disabled":{"title":"thinking_disabled","summary":"thinking disabled (plain text reply)","value":{"id":"837f529d-00f9-4731-b2e1-4a54fc31790a","object":"chat.completion","created":1777026806,"model":"deepseek-v4-flash","choices":[{"index":0,"message":{"role":"assistant","content":"Hello! I am the DeepSeek assistant, always ready to answer your questions and help you out."},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":7,"completion_tokens":31,"total_tokens":38,"prompt_tokens_details":{"cached_tokens":0},"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":7},"system_fingerprint":"fp_evolink_v4_20260402"}},"thinking_enabled":{"title":"thinking_enabled","summary":"thinking enabled (with reasoning_content)","value":{"id":"658083bb-1137-49d2-8c4d-900e508cbd53","object":"chat.completion","created":1777026807,"model":"deepseek-v4-flash","choices":[{"index":0,"message":{"role":"assistant","content":"The capital of France is **Paris**.","reasoning_content":"The user is asking \"What is the capital of France?\" — a basic general-knowledge question. Just give the answer \"Paris\"."},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":7,"completion_tokens":53,"total_tokens":60,"prompt_tokens_details":{"cached_tokens":0},"completion_tokens_details":{"reasoning_tokens":45},"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":7},"system_fingerprint":"fp_evolink_v4_20260402"}},"cache_hit":{"title":"cache_hit","summary":"Context cache hit (large cache_hit_tokens)","value":{"id":"3e4a1b70-8c59-4b22-a011-9f2c7d5a3e88","object":"chat.completion","created":1777026900,"model":"deepseek-v4-flash","choices":[{"index":0,"message":{"role":"assistant","content":"Hello!"},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":694,"completion_tokens":10,"total_tokens":704,"prompt_tokens_details":{"cached_tokens":640},"prompt_cache_hit_tokens":640,"prompt_cache_miss_tokens":54},"system_fingerprint":"fp_evolink_v4_20260402"}}},"exampleType":"examples"}},"exampleType":"examples"},"f6b72a0c-7cd9-43b0-a621-d05442363716":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":400,"message":"Invalid request parameters","type":"invalid_request_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":400,"message":"Invalid request parameters","type":"invalid_request_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"36e32c09-814e-4c19-9188-e265902d430e":{"description":"Unauthenticated, invalid or expired token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":401,"message":"Invalid or expired token","type":"authentication_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":401,"message":"Invalid or expired token","type":"authentication_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0778d972-e7ea-4a48-8998-cbeab3e4a396":{"description":"Insufficient quota, recharge required","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":402,"message":"Insufficient quota","type":"insufficient_quota_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":402,"message":"Insufficient quota","type":"insufficient_quota_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"fbd23410-f4b8-411e-a16d-6e9205abbfcd":{"description":"Access denied for this model","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":403,"message":"Access denied for this model","type":"permission_error","param":"model"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":403,"message":"Access denied for this model","type":"permission_error","param":"model"}}}},"exampleType":"examples"}},"exampleType":"examples"},"3927253e-4eee-4c20-ac6f-f2afbdc6f347":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":404,"message":"Specified model not found","type":"not_found_error","param":"model"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":404,"message":"Specified model not found","type":"not_found_error","param":"model"}}}},"exampleType":"examples"}},"exampleType":"examples"},"479632a8-c756-4fa6-b280-6ef016d61ffc":{"description":"Request body too large","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":413,"message":"Request body too large","type":"request_too_large_error","param":"messages"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":413,"message":"Request body too large","type":"request_too_large_error","param":"messages"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0e6e3bc9-9817-453c-a48c-13930d27e8a8":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":429,"message":"Rate limit exceeded","type":"rate_limit_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":429,"message":"Rate limit exceeded","type":"rate_limit_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a7e202a8-d3a0-4b29-85ae-e2c99686a6cc":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":500,"message":"Internal server error","type":"internal_server_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":500,"message":"Internal server error","type":"internal_server_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a0800f98-7643-4652-a674-d3990ab3c921":{"description":"Gateway error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":502,"message":"Bad gateway","type":"bad_gateway_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":502,"message":"Bad gateway","type":"bad_gateway_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"82ffeb1b-751c-46fe-8d5b-cff12f678f8f":{"description":"Service temporarily unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"Error type","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","description":"Related parameter name","uniqueKey":"error.param","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":503,"message":"Service temporarily unavailable","type":"service_unavailable_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":503,"message":"Service temporarily unavailable","type":"service_unavailable_error"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"8cbbd615-33e1-41c3-b3dd-ffae7d8e6577":{"bearerAuth":{"type":"http","scheme":"bearer","description":"##All APIs require Bearer Token authentication##\n\n**Get API Key**:\n\nVisit the [API Key Management Page](https://evolink.ai/dashboard/keys) to obtain your API Key\n\n**Add to request header**:\n```\nAuthorization: Bearer YOUR_API_KEY\n```","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"53df1c16-9af2-4033-938c-362a51d808a4":{"url":"https://direct.evolink.ai","description":"Production (recommended)"},"6d01e8ff-1644-437e-bac9-c8d8f6c24816":{"url":"https://api.evolink.ai","description":"Alternative URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"##All APIs require Bearer Token authentication##\n\n**Get API Key**:\n\nVisit the [API Key Management Page](https://evolink.ai/dashboard/keys) to obtain your API Key\n\n**Add to request header**:\n```\nAuthorization: Bearer YOUR_API_KEY\n```","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"##All APIs require Bearer Token authentication##\n\n**Get API Key**:\n\nVisit the [API Key Management Page](https://evolink.ai/dashboard/keys) to obtain your API Key\n\n**Add to request header**:\n```\nAuthorization: Bearer YOUR_API_KEY\n```","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"en/api-manual/language-series/deepseek-v4/deepseek-v4-chat.json"},"subdomain":"muyutechnology","siteName":"EvoLink.AI","title":"DeepSeek V4 - OpenAI-Compatible API - EvoLink.AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat","matchLevel":0},"cn":{"href":"/cn/api-manual/language-series/deepseek-v4/deepseek-v4-chat","matchLevel":1},"de":{"href":"/de/api-manual/language-series/deepseek-v4/deepseek-v4-chat","matchLevel":1},"fr":{"href":"/fr/api-manual/language-series/deepseek-v4/deepseek-v4-chat","matchLevel":1},"ja":{"href":"/ja/api-manual/language-series/deepseek-v4/deepseek-v4-chat","matchLevel":1},"ko":{"href":"/ko/api-manual/language-series/deepseek-v4/deepseek-v4-chat","matchLevel":1},"es":{"href":"/es/api-manual/language-series/deepseek-v4/deepseek-v4-chat","matchLevel":1}}},"lastModified":"2026-10-18T15:49:32.601Z","originalFileLocation":"en/api-manual/language-series/deepseek-v4/deepseek-v4-chat.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol - Supported models: deepseek-v4.1-flash-1017 / deepseek-v4.1-flash / deepseek-v4-flash / deepseek-v4-pro / deepseek-v4-flash-vision-exp - Plain text conversation: Single- or multi-turn contextual dialogue with 1M ultra-long context - Image understanding: deepseek-v4.1-flash / deepseek-v4.1-flash-1017 / deepseek-v4-flash-vision-exp accepts mixed text and images in one message and supports multiple images - System prompts: Customize the AI\u0026#x27;s role and behavior - Thinking mode: Control deep reasoning via thinking.type; deepseek-v4-pro returns thinking content through reasoning_content - Streaming output: SSE streaming returns are supported - Tool calling: Supports Function Calling (up to 128 tools) - JSON mode: Enabled via response_format - Context caching: Requests with identical prefixes automatically hit the cache, substantially lowering input cost Unknown parameter behavior: Unrecognized top-level fields in the request body are silently ignored by the upstream without an error. Misspelled parameter names produce no warning, so use only the fields listed in this reference.\">\u003cmeta data-mint-head name=\"application-name\" content=\"EvoLink.AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"DeepSeek V4 - OpenAI-Compatible API - EvoLink.AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol - Supported models: deepseek-v4.1-flash-1017 / deepseek-v4.1-flash / deepseek-v4-flash / deepseek-v4-pro / deepseek-v4-flash-vision-exp - Plain text conversation: Single- or multi-turn contextual dialogue with 1M ultra-long context - Image understanding: deepseek-v4.1-flash / deepseek-v4.1-flash-1017 / deepseek-v4-flash-vision-exp accepts mixed text and images in one message and supports multiple images - System prompts: Customize the AI\u0026#x27;s role and behavior - Thinking mode: Control deep reasoning via thinking.type; deepseek-v4-pro returns thinking content through reasoning_content - Streaming output: SSE streaming returns are supported - Tool calling: Supports Function Calling (up to 128 tools) - JSON mode: Enabled via response_format - Context caching: Requests with identical prefixes automatically hit the cache, substantially lowering input cost Unknown parameter behavior: Unrecognized top-level fields in the request body are silently ignored by the upstream without an error. Misspelled parameter names produce no warning, so use only the fields listed in this reference.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"EvoLink.AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://muyutechnology.mintlify.site/docs/_mintlify/api/og/v2?division=Chat+Completions+API\u0026amp;title=DeepSeek+V4+-+OpenAI-Compatible+API\u0026amp;description=-+Call+the+DeepSeek+V4+model+using+the+OpenAI+Chat+Completions+protocol%0A-+Supported+models%3A+%60deepseek-v4.1-flash-1017%60+%2F+%60deepseek-v4.1-flash%60+%2F+%60deepseek-v4-fl\u0026amp;theme=2c411b92ad044407f83c4518\u0026amp;signature=58b8db7de8bd9421c844eff6b425276e91ef3bc74fd96a7833990ce572075fdd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"DeepSeek V4 - OpenAI-Compatible API - EvoLink.AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol - Supported models: deepseek-v4.1-flash-1017 / deepseek-v4.1-flash / deepseek-v4-flash / deepseek-v4-pro / deepseek-v4-flash-vision-exp - Plain text conversation: Single- or multi-turn contextual dialogue with 1M ultra-long context - Image understanding: deepseek-v4.1-flash / deepseek-v4.1-flash-1017 / deepseek-v4-flash-vision-exp accepts mixed text and images in one message and supports multiple images - System prompts: Customize the AI\u0026#x27;s role and behavior - Thinking mode: Control deep reasoning via thinking.type; deepseek-v4-pro returns thinking content through reasoning_content - Streaming output: SSE streaming returns are supported - Tool calling: Supports Function Calling (up to 128 tools) - JSON mode: Enabled via response_format - Context caching: Requests with identical prefixes automatically hit the cache, substantially lowering input cost Unknown parameter behavior: Unrecognized top-level fields in the request body are silently ignored by the upstream without an error. Misspelled parameter names produce no warning, so use only the fields listed in this reference.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://muyutechnology.mintlify.site/docs/_mintlify/api/og/v2?division=Chat+Completions+API\u0026amp;title=DeepSeek+V4+-+OpenAI-Compatible+API\u0026amp;description=-+Call+the+DeepSeek+V4+model+using+the+OpenAI+Chat+Completions+protocol%0A-+Supported+models%3A+%60deepseek-v4.1-flash-1017%60+%2F+%60deepseek-v4.1-flash%60+%2F+%60deepseek-v4-fl\u0026amp;theme=2c411b92ad044407f83c4518\u0026amp;signature=58b8db7de8bd9421c844eff6b425276e91ef3bc74fd96a7833990ce572075fdd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/muyutechnology/RO4YTG-S6-bMUrDF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"EvoLink.AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1E90FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://evolink.ai/docs/cn/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://evolink.ai/docs/de/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://evolink.ai/docs/fr/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://evolink.ai/docs/ja/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://evolink.ai/docs/ko/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://evolink.ai/docs/es/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://evolink.ai/#organization\",\"name\":\"EvoLink.AI\",\"url\":\"https://evolink.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://evolink.ai/docs#website\",\"name\":\"EvoLink.AI\",\"url\":\"https://evolink.ai/docs\",\"publisher\":{\"@id\":\"https://evolink.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat#webpage\",\"url\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat\",\"name\":\"DeepSeek V4 - OpenAI-Compatible API\",\"description\":\"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol - Supported models: deepseek-v4.1-flash-1017 / deepseek-v4.1-flash / deepseek-v4-flash / deepseek-v4-pro / deepseek-v4-flash-vision-exp - Plain text conversation: Single- or multi-turn contextual dialogue with 1M ultra-long context - Image understanding: deepseek-v4.1-flash / deepseek-v4.1-flash-1017 / deepseek-v4-flash-vision-exp accepts mixed text and images in one message and supports multiple images - System prompts: Customize the AI's role and behavior - Thinking mode: Control deep reasoning via thinking.type; deepseek-v4-pro returns thinking content through reasoning_content - Streaming output: SSE streaming returns are supported - Tool calling: Supports Function Calling (up to 128 tools) - JSON mode: Enabled via response_format - Context caching: Requests with identical prefixes automatically hit the cache, substantially lowering input cost Unknown parameter behavior: Unrecognized top-level fields in the request body are silently ignored by the upstream without an error. Misspelled parameter names produce no warning, so use only the fields listed in this reference.\",\"dateModified\":\"2026-10-18T15:49:32.601Z\",\"isPartOf\":{\"@id\":\"https://evolink.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Text Series\",\"item\":\"https://evolink.ai/docs/en/api-manual/language-series/evolink-auto/evolink-auto-quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DeepSeek V4 - OpenAI-Compatible API\",\"item\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat#apireference\",\"headline\":\"DeepSeek V4 - OpenAI-Compatible API\",\"name\":\"DeepSeek V4 - OpenAI-Compatible API\",\"description\":\"- Call the DeepSeek V4 model using the OpenAI Chat Completions protocol - Supported models: deepseek-v4.1-flash-1017 / deepseek-v4.1-flash / deepseek-v4-flash / deepseek-v4-pro / deepseek-v4-flash-vision-exp - Plain text conversation: Single- or multi-turn contextual dialogue with 1M ultra-long context - Image understanding: deepseek-v4.1-flash / deepseek-v4.1-flash-1017 / deepseek-v4-flash-vision-exp accepts mixed text and images in one message and supports multiple images - System prompts: Customize the AI's role and behavior - Thinking mode: Control deep reasoning via thinking.type; deepseek-v4-pro returns thinking content through reasoning_content - Streaming output: SSE streaming returns are supported - Tool calling: Supports Function Calling (up to 128 tools) - JSON mode: Enabled via response_format - Context caching: Requests with identical prefixes automatically hit the cache, substantially lowering input cost Unknown parameter behavior: Unrecognized top-level fields in the request body are silently ignored by the upstream without an error. Misspelled parameter names produce no warning, so use only the fields listed in this reference.\",\"url\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat\",\"mainEntityOfPage\":{\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat#webpage\"},\"dateModified\":\"2026-10-18T15:49:32.601Z\",\"publisher\":{\"@id\":\"https://evolink.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://evolink.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"EvoLink.AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"EvoLink.AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat.md","siteName":"EvoLink.AI","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"API Manual","groups":[{"group":"Image Series","pages":[{"group":"GPT Image","icon":"images","pages":[{"group":"GPT Image 2.6","icon":"images","pages":[{"title":"GPT Image 2.6 Image Generation","openapi":"en/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation.json POST /v1/images/generations","href":"/en/api-manual/image-series/gpt-image-2.6/gpt-image-2.6-image-generation"}]},{"group":"GPT Image 2.5","icon":"images","pages":[{"title":"GPT Image 2.5 Image Generation","openapi":"en/api-manual/image-series/gpt-image-2.5/gpt-image-2.5-image-generation.json POST /v1/images/generations","href":"/en/api-manual/image-series/gpt-image-2.5/gpt-image-2.5-image-generation"}]},{"group":"GPT Image 2","icon":"images","pages":[{"title":"GPT Image 2 Image Generation","openapi":"en/api-manual/image-series/gpt-image-2/gpt-image-2-image-generation.json POST /v1/images/generations","href":"/en/api-manual/image-series/gpt-image-2/gpt-image-2-image-generation"},{"title":"GPT Image 2 Image Generation Beta","openapi":"en/api-manual/image-series/gpt-image-2/gpt-image-2-beta-image-generation.json POST /v1/images/generations","href":"/en/api-manual/image-series/gpt-image-2/gpt-image-2-beta-image-generation"}]},{"group":"GPT Image 1.5","icon":"images","pages":[{"title":"GPT Image 1.5 Image Generation","openapi":"en/api-manual/image-series/gpt-image-1.5/gpt-image-1.5-image-generation.json POST /v1/images/generations","href":"/en/api-manual/image-series/gpt-image-1.5/gpt-image-1.5-image-generation"}]}]},{"group":"Minimax","icon":"images","pages":[{"title":"MiniMax H3 Image Generation","openapi":"en/api-manual/image-series/minimax-h3-image/minimax-h3-image-image-generation.json POST /v1/images/generations","href":"/en/api-manual/image-series/minimax-h3-image/minimax-h3-image-image-generation"}]},{"group":"Nanobanana","icon":"images","pages":[{"group":"Nanobanana 2.1","icon":"images","pages":[{"title":"Nanobanana 2.1 Image Generation","openapi":"en/api-manual/image-series/nanobanana/nanobanana-2.1/nanobanana-2.1-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-2.1/nanobanana-2.1-image-generate"}]},{"group":"Nanobanana 2 Lite","icon":"images","pages":[{"title":"Nanobanana 2 Lite Image Generation","openapi":"en/api-manual/image-series/nanobanana/nanobanana-2-lite/nanobanana-2-lite-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-2-lite/nanobanana-2-lite-image-generate"},{"title":"Nanobanana 2 Lite Beta Image Generation","openapi":"en/api-manual/image-series/nanobanana/nanobanana-2-lite/beta/nanobanana-2-lite-beta-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-2-lite/beta/nanobanana-2-lite-beta-image-generate"}]},{"group":"Nanobanana 2","icon":"images","pages":[{"title":"Nanobanana 2 Image Generation","openapi":"en/api-manual/image-series/nanobanana/nanobanana-2/nanobanana-2-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-2/nanobanana-2-image-generate"},{"title":"Nanobanana-2 Image Generation Beta","openapi":"en/api-manual/image-series/nanobanana/nanobanana-2/beta/nanobanana-2-beta-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-2/beta/nanobanana-2-beta-image-generate"}]},{"group":"Nanobanana Pro","icon":"images","pages":[{"title":"Nanobanana Pro Image Generation","openapi":"en/api-manual/image-series/nanobanana/nanobanana-pro/nanobanana-pro-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-pro/nanobanana-pro-image-generate"},{"title":"Nanobanana Pro Image Generation Beta","openapi":"en/api-manual/image-series/nanobanana/nanobanana-pro/beta/nanobanana-pro-beta-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-pro/beta/nanobanana-pro-beta-image-generate"}]},{"group":"Nanobanana 1","icon":"images","pages":[{"title":"Nanobanana 1 Image Generation Beta","openapi":"en/api-manual/image-series/nanobanana/nanobanana-1/beta/nanobanana-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/nanobanana/nanobanana-1/beta/nanobanana-image-generate"}]}]},{"group":"Grok","icon":"images","pages":[{"title":"Grok Imagine Image 2.0 Image Generation","openapi":"en/api-manual/image-series/grok/grok-imagine-image-2.0-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/grok/grok-imagine-image-2.0-image-generate"}]},{"group":"Midjourney","icon":"images","pages":[{"group":"Midjourney V8.2","pages":[{"title":"Midjourney V8.2 Prompt Parameter Guide","icon":"book-open","href":"/en/api-manual/image-series/midjourney/midjourney-v8-2-prompt-guide"},{"title":"Midjourney V8.2 Image Generation","openapi":"en/api-manual/image-series/midjourney/mj-v8-2-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-2-image-generate"},{"title":"Midjourney V8.2 Variation","openapi":"en/api-manual/image-series/midjourney/mj-v8-2-variation.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-2-variation"},{"title":"Midjourney V8.2 Remix","openapi":"en/api-manual/image-series/midjourney/mj-v8-2-remix.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-2-remix"},{"title":"Midjourney V8.2 Retexture","openapi":"en/api-manual/image-series/midjourney/mj-v8-2-retexture.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-2-retexture"},{"title":"Midjourney V8.2 Upload Paint","openapi":"en/api-manual/image-series/midjourney/mj-v8-2-upload-paint.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-2-upload-paint"},{"title":"Midjourney V8.2 Canvas Edit","openapi":"en/api-manual/image-series/midjourney/mj-v8-2-edit.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-2-edit"},{"title":"Midjourney V8.2 Remove Background","openapi":"en/api-manual/image-series/midjourney/mj-v8-2-remove-bg.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-2-remove-bg"}]},{"group":"Midjourney V8.1","pages":[{"title":"Midjourney V8.1 Prompt Parameter Guide","icon":"book-open","href":"/en/api-manual/image-series/midjourney/midjourney-v8-1-prompt-guide"},{"title":"Midjourney V8.1 Image Generation","openapi":"en/api-manual/image-series/midjourney/mj-v8-1-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-1-image-generate"},{"title":"Midjourney V8.1 Variation","openapi":"en/api-manual/image-series/midjourney/mj-v8-1-variation.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-1-variation"},{"title":"Midjourney V8.1 Remix","openapi":"en/api-manual/image-series/midjourney/mj-v8-1-remix.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-1-remix"},{"title":"Midjourney V8.1 Retexture","openapi":"en/api-manual/image-series/midjourney/mj-v8-1-retexture.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-1-retexture"},{"title":"Midjourney V8.1 Upload Paint","openapi":"en/api-manual/image-series/midjourney/mj-v8-1-upload-paint.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-1-upload-paint"},{"title":"Midjourney V8.1 Canvas Edit","openapi":"en/api-manual/image-series/midjourney/mj-v8-1-edit.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-1-edit"},{"title":"Midjourney V8.1 Remove Background","openapi":"en/api-manual/image-series/midjourney/mj-v8-1-remove-bg.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v8-1-remove-bg"}]},{"group":"Midjourney V7","pages":[{"title":"Midjourney V7 Prompt Parameter Guide","icon":"book-open","href":"/en/api-manual/image-series/midjourney/midjourney-v7-prompt-guide"},{"title":"Midjourney V7 Image Generation","openapi":"en/api-manual/image-series/midjourney/mj-v7-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-image-generate"},{"title":"Midjourney V7 Variation","openapi":"en/api-manual/image-series/midjourney/mj-v7-variation.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-variation"},{"title":"Midjourney V7 Upscale","openapi":"en/api-manual/image-series/midjourney/mj-v7-upscale.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-upscale"},{"title":"Midjourney V7 Remix","openapi":"en/api-manual/image-series/midjourney/mj-v7-remix.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-remix"},{"title":"Midjourney V7 Enhance","openapi":"en/api-manual/image-series/midjourney/mj-v7-enhance.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-enhance"},{"title":"Midjourney V7 Pan","openapi":"en/api-manual/image-series/midjourney/mj-v7-pan.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-pan"},{"title":"Midjourney V7 Outpaint","openapi":"en/api-manual/image-series/midjourney/mj-v7-outpaint.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-outpaint"},{"title":"Midjourney V7 Canvas Edit","openapi":"en/api-manual/image-series/midjourney/mj-v7-edit.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-edit"},{"title":"Midjourney V7 Remove Background","openapi":"en/api-manual/image-series/midjourney/mj-v7-remove-bg.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-remove-bg"},{"title":"Midjourney V7 Retexture","openapi":"en/api-manual/image-series/midjourney/mj-v7-retexture.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-retexture"},{"title":"Midjourney V7 Upload Paint","openapi":"en/api-manual/image-series/midjourney/mj-v7-upload-paint.json POST /v1/images/generations","href":"/en/api-manual/image-series/midjourney/mj-v7-upload-paint"}]}]},{"group":"Seedream","icon":"images","pages":[{"group":"Seedream 5.5","icon":"images","pages":[{"title":"Seedream 5.5 Image Generation","openapi":"en/api-manual/image-series/seedream-5.5/seedream-5.5-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/seedream-5.5/seedream-5.5-image-generate"},{"title":"Seedream 5.5 Layer Decomposition","openapi":"en/api-manual/image-series/seedream-5.5/seedream-5.5-layerize-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/seedream-5.5/seedream-5.5-layerize-image-generate"}]},{"group":"Seedream 5.0 Pro","icon":"images","pages":[{"title":"Seedream 5.0 Pro Image Generation","openapi":"en/api-manual/image-series/seedream-5.0-pro/seedream-5.0-pro-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/seedream-5.0-pro/seedream-5.0-pro-image-generate"},{"title":"Seedream 5.0 Pro Layer Decomposition","openapi":"en/api-manual/image-series/seedream-5.0-pro/seedream-5.0-pro-layerize-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/seedream-5.0-pro/seedream-5.0-pro-layerize-image-generate"}]},{"group":"Seedream 5.0 Flash","icon":"images","pages":[{"title":"Seedream 5.0 Flash Image Generation","openapi":"en/api-manual/image-series/seedream-5.0-flash/seedream-5.0-flash-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/seedream-5.0-flash/seedream-5.0-flash-image-generate"},{"title":"Seedream 5.0 Flash Layer Decomposition","openapi":"en/api-manual/image-series/seedream-5.0-flash/seedream-5.0-flash-layerize-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/seedream-5.0-flash/seedream-5.0-flash-layerize-image-generate"}]},{"group":"Seedream 4.0","icon":"images","pages":[{"title":"Seedream-4.0 Image Generation","openapi":"en/api-manual/image-series/seedream-4.0/seedream-4.0-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/seedream-4.0/seedream-4.0-image-generate"}]}]},{"group":"Z Image Turbo","icon":"images","pages":[{"title":"Z Image Turbo Image Generation","openapi":"en/api-manual/image-series/z-image-turbo/z-image-turbo-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/z-image-turbo/z-image-turbo-image-generate"}]},{"group":"Qwen-Image","icon":"images","pages":[{"title":"Qwen Image 3.0","openapi":"en/api-manual/image-series/qwen/qwen-image-3.0.json POST /v1/images/generations","href":"/en/api-manual/image-series/qwen/qwen-image-3.0"},{"title":"Qwen Image 3.0 Pro","openapi":"en/api-manual/image-series/qwen/qwen-image-3.0-pro.json POST /v1/images/generations","href":"/en/api-manual/image-series/qwen/qwen-image-3.0-pro"},{"title":"Qwen Image Edit Plus","openapi":"en/api-manual/image-series/qwen/qwen-image-edit-plus.json POST /v1/images/generations","href":"/en/api-manual/image-series/qwen/qwen-image-edit-plus"},{"title":"Qwen Image Edit","openapi":"en/api-manual/image-series/qwen/qwen-image-edit.json POST /v1/images/generations","href":"/en/api-manual/image-series/qwen/qwen-image-edit"}]},{"group":"Wan-Image","icon":"images","pages":[{"title":"Wan2.5 Text to Image","openapi":"en/api-manual/image-series/wan2.5/wan2.5-text-to-image.json POST /v1/images/generations","href":"/en/api-manual/image-series/wan2.5/wan2.5-text-to-image"},{"title":"Wan2.5 Image to Image","openapi":"en/api-manual/image-series/wan2.5/wan2.5-image-to-image.json POST /v1/images/generations","href":"/en/api-manual/image-series/wan2.5/wan2.5-image-to-image"}]},{"group":"Krea","icon":"images","pages":[{"group":"Krea 2 Turbo","pages":[{"title":"Krea 2 Turbo Image Generation","openapi":"en/api-manual/image-series/krea/krea-2-turbo-image-generate.json POST /v1/images/generations","href":"/en/api-manual/image-series/krea/krea-2-turbo-image-generate"}]}]}]},{"group":"Video Series","pages":[{"group":"Seedance","icon":"video","pages":[{"group":"Seedance 2.5 Flash","icon":"video","pages":[{"title":"Seedance 2.5 Flash Complete Parameter Guide","openapi":"en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-overview"},{"title":"Seedance 2.5 Flash Text-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-text-to-video"},{"title":"Seedance 2.5 Flash Image-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-image-to-video"},{"title":"Seedance 2.5 Flash Reference-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-reference-to-video"},{"title":"Seedance 2.5 Flash Video Edit","openapi":"en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-video-edit"},{"title":"Seedance 2.5 Flash Video Extend","openapi":"en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-video-extend.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5-flash/seedance-2.5-flash-video-extend"}]},{"group":"Seedance 2.5","icon":"video","pages":[{"title":"Seedance 2.5 Complete Parameter Guide","openapi":"en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-overview"},{"title":"Seedance 2.5 Text-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-text-to-video"},{"title":"Seedance 2.5 Image-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-image-to-video"},{"title":"Seedance 2.5 Reference-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-reference-to-video"},{"title":"Seedance 2.5 Video Edit","openapi":"en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-video-edit"},{"title":"Seedance 2.5 Video Extend","openapi":"en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-video-extend.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-video-extend"},{"title":"Seedance 2.5 Draft-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-draft-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-draft-to-video"}]},{"group":"Seedance 2.0","icon":"video","pages":[{"title":"Seedance 2.0 Complete Parameter Guide","openapi":"en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-overview"},{"title":"Seedance 2.0 Text-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-text-to-video"},{"title":"Seedance 2.0 Image-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-image-to-video"},{"title":"Seedance 2.0 Reference-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-reference-to-video"}]},{"group":"Seedance 2.0 Fast","icon":"video","pages":[{"title":"Seedance 2.0 Fast Complete Parameter Guide","openapi":"en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-overview"},{"title":"Seedance 2.0 Fast Text-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-text-to-video"},{"title":"Seedance 2.0 Fast Image-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-image-to-video"},{"title":"Seedance 2.0 Fast Reference-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-fast/seedance-2.0-fast-reference-to-video"}]},{"group":"Seedance 2.0 Mini","icon":"video","pages":[{"title":"Seedance 2.0 Mini Complete Parameter Guide","openapi":"en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-overview"},{"title":"Seedance 2.0 Mini Text-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-text-to-video"},{"title":"Seedance 2.0 Mini Image-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-image-to-video"},{"title":"Seedance 2.0 Mini Reference-to-Video","openapi":"en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/seedance/seedance-2.0-mini/seedance-2.0-mini-reference-to-video"}]}]},{"group":"MAGI","icon":"video","pages":[{"group":"MAGI-2","icon":"video","pages":[{"title":"MAGI-2 Complete Parameter Guide","openapi":"en/api-manual/video-series/magi/magi-2/magi-2-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/magi/magi-2/magi-2-overview"},{"title":"MAGI-2 Text-to-Video","openapi":"en/api-manual/video-series/magi/magi-2/magi-2-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/magi/magi-2/magi-2-text-to-video"},{"title":"MAGI-2 Image-to-Video","openapi":"en/api-manual/video-series/magi/magi-2/magi-2-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/magi/magi-2/magi-2-image-to-video"},{"title":"MAGI-2 Reference-to-Video","openapi":"en/api-manual/video-series/magi/magi-2/magi-2-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/magi/magi-2/magi-2-reference-to-video"}]}]},{"group":"Minimax","icon":"video","pages":[{"group":"Minimax H3","icon":"video","pages":[{"title":"Minimax H3 / H3 Max / H3 Max Turbo Complete Parameter Guide","openapi":"en/api-manual/video-series/minimax/minimax-h3/minimax-h3-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/minimax-h3-overview"},{"group":"H3","icon":"video","pages":[{"title":"Minimax H3 Text-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3/minimax-h3-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3/minimax-h3-text-to-video"},{"title":"Minimax H3 Image-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3/minimax-h3-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3/minimax-h3-image-to-video"},{"title":"Minimax H3 Reference-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3/minimax-h3-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3/minimax-h3-reference-to-video"}]},{"group":"H3 Max","icon":"video","pages":[{"title":"Minimax H3 Max Text-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3-max/minimax-h3-max-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3-max/minimax-h3-max-text-to-video"},{"title":"Minimax H3 Max Image-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3-max/minimax-h3-max-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3-max/minimax-h3-max-image-to-video"},{"title":"Minimax H3 Max Reference-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3-max/minimax-h3-max-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3-max/minimax-h3-max-reference-to-video"}]},{"group":"H3 Max Turbo","icon":"video","pages":[{"title":"Minimax H3 Max Turbo Text-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3-max-turbo/minimax-h3-max-turbo-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3-max-turbo/minimax-h3-max-turbo-text-to-video"},{"title":"Minimax H3 Max Turbo Image-to-Video","openapi":"en/api-manual/video-series/minimax/minimax-h3/h3-max-turbo/minimax-h3-max-turbo-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/minimax/minimax-h3/h3-max-turbo/minimax-h3-max-turbo-image-to-video"}]}]}]},{"group":"Gemini Omni Flash","icon":"video","pages":[{"group":"Gemini Omni 1.2 Flash","icon":"video","pages":[{"title":"Gemini Omni 1.2 Flash Full Parameter Overview","openapi":"en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-overview"},{"title":"Gemini Omni 1.2 Flash Text-to-Video","openapi":"en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-text-to-video"},{"title":"Gemini Omni 1.2 Flash Image-to-Video","openapi":"en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-image-to-video"},{"title":"Gemini Omni 1.2 Flash Reference-to-Video","openapi":"en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-reference-to-video"},{"title":"Gemini Omni 1.2 Flash Video Edit","openapi":"en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-video-edit"},{"title":"Gemini Omni 1.2 Flash Video Extend","openapi":"en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-video-extend.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-video-extend"},{"title":"Gemini Omni 1.2 Flash Video upscaling","openapi":"en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-video-upscale.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.2-flash/gemini-omni-1.2-flash-video-upscale"}]},{"group":"Gemini Omni 1.1 Flash","icon":"video","pages":[{"title":"Gemini Omni 1.1 Flash Full Parameter Overview","openapi":"en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-overview"},{"title":"Gemini Omni 1.1 Flash Text-to-Video","openapi":"en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-text-to-video"},{"title":"Gemini Omni 1.1 Flash Image-to-Video","openapi":"en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-image-to-video"},{"title":"Gemini Omni 1.1 Flash Reference-to-Video","openapi":"en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-reference-to-video"},{"title":"Gemini Omni 1.1 Flash Video Edit","openapi":"en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-video-edit"},{"title":"Gemini Omni 1.1 Flash Video Extend","openapi":"en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-video-extend.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-video-extend"}]},{"group":"Gemini Omni 1.0 Flash","icon":"video","pages":[{"title":"Gemini Omni 1.0 Flash Text-to-Video","openapi":"en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-text-to-video"},{"title":"Gemini Omni 1.0 Flash Image-to-Video","openapi":"en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-image-to-video"},{"title":"Gemini Omni 1.0 Flash Reference-to-Video","openapi":"en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-reference-to-video"},{"title":"Gemini Omni 1.0 Flash Video Edit","openapi":"en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/gemini-omni-flash-1.0/gemini-omni-flash-video-edit"}]}]},{"group":"Kling","icon":"video","pages":[{"title":"Kling Custom Element","openapi":"en/api-manual/video-series/kling/kling-custom-element.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-custom-element"},{"group":"Kling-4.0","icon":"video","pages":[{"title":"Kling-4.0 Text to Video","openapi":"en/api-manual/video-series/kling/kling-v4-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-text-to-video"},{"title":"Kling-4.0 Image to Video","openapi":"en/api-manual/video-series/kling/kling-v4-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-image-to-video"},{"title":"Kling-4.0 Reference to Video","openapi":"en/api-manual/video-series/kling/kling-v4-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-reference-to-video"},{"title":"Kling-4.0 Video Edit","openapi":"en/api-manual/video-series/kling/kling-v4-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-video-edit"}]},{"group":"Kling-4.0-Flash","icon":"video","pages":[{"title":"Kling-4.0-Flash Text to Video","openapi":"en/api-manual/video-series/kling/kling-v4-flash-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-flash-text-to-video"},{"title":"Kling-4.0-Flash Image to Video","openapi":"en/api-manual/video-series/kling/kling-v4-flash-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-flash-image-to-video"},{"title":"Kling-4.0-Flash Reference to Video","openapi":"en/api-manual/video-series/kling/kling-v4-flash-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-flash-reference-to-video"},{"title":"Kling-4.0-Flash Video Edit","openapi":"en/api-manual/video-series/kling/kling-v4-flash-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v4-flash-video-edit"}]},{"group":"Kling-O3","icon":"video","pages":[{"title":"Kling-O3 Text to Video","openapi":"en/api-manual/video-series/kling/kling-o3-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-o3-text-to-video"},{"title":"Kling-O3 Image to Video","openapi":"en/api-manual/video-series/kling/kling-o3-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-o3-image-to-video"},{"title":"Kling-O3 Reference to Video","openapi":"en/api-manual/video-series/kling/kling-o3-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-o3-reference-to-video"},{"title":"Kling-O3 Video Edit","openapi":"en/api-manual/video-series/kling/kling-o3-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-o3-video-edit"}]},{"group":"Kling-V3","icon":"video","pages":[{"title":"Kling-V3 Text to Video","openapi":"en/api-manual/video-series/kling/kling-v3-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v3-text-to-video"},{"title":"Kling-V3 Image to Video","openapi":"en/api-manual/video-series/kling/kling-v3-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v3-image-to-video"},{"title":"Kling-V3 Motion Control","openapi":"en/api-manual/video-series/kling/kling-v3-motion-control.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v3-motion-control"}]},{"group":"Kling-V3-Turbo","icon":"video","pages":[{"title":"Kling-V3-Turbo Text to Video","openapi":"en/api-manual/video-series/kling/kling-v3-turbo-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v3-turbo-text-to-video"},{"title":"Kling-V3-Turbo Image to Video","openapi":"en/api-manual/video-series/kling/kling-v3-turbo-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v3-turbo-image-to-video"}]},{"group":"Kling-V2.6","icon":"video","pages":[{"title":"Kling 2.6 Motion Control","openapi":"en/api-manual/video-series/kling/kling-v2.6-motion-control.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-v2.6-motion-control"}]},{"group":"Kling-O1","icon":"video","pages":[{"title":"Kling-O1 Image to Video","openapi":"en/api-manual/video-series/kling/kling-o1-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-o1-image-to-video"},{"title":"Kling-O1 Video Edit","openapi":"en/api-manual/video-series/kling/kling-o1-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-o1-video-edit"},{"title":"Kling-O1 Video Edit (Fast)","openapi":"en/api-manual/video-series/kling/kling-o1-video-edit-fast.json POST /v1/videos/generations","href":"/en/api-manual/video-series/kling/kling-o1-video-edit-fast"}]}]},{"group":"HappyHorse","icon":"video","pages":[{"group":"HappyHorse 1.1","icon":"video","pages":[{"title":"HappyHorse 1.1 Text-to-Video","openapi":"en/api-manual/video-series/happyhorse1.1/happyhorse-1.1-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/happyhorse1.1/happyhorse-1.1-text-to-video"},{"title":"HappyHorse 1.1 Image-to-Video","openapi":"en/api-manual/video-series/happyhorse1.1/happyhorse-1.1-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/happyhorse1.1/happyhorse-1.1-image-to-video"},{"title":"HappyHorse 1.1 Reference-to-Video","openapi":"en/api-manual/video-series/happyhorse1.1/happyhorse-1.1-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/happyhorse1.1/happyhorse-1.1-reference-to-video"}]},{"group":"HappyHorse 1.0","icon":"video","pages":[{"title":"HappyHorse 1.0 Text-to-Video","openapi":"en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-text-to-video"},{"title":"HappyHorse 1.0 Image-to-Video","openapi":"en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-image-to-video"},{"title":"HappyHorse 1.0 Reference-to-Video","openapi":"en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-reference-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-reference-to-video"},{"title":"HappyHorse 1.0 Video-Edit","openapi":"en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/happyhorse1.0/happyhorse-1.0-video-edit"}]}]},{"group":"Grok","icon":"video","pages":[{"title":"Grok Imagine 1.5 Video Preview","openapi":"en/api-manual/video-series/grok/grok-imagine-video-1.5-preview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/grok/grok-imagine-video-1.5-preview"},{"title":"Grok Imagine 1.5 Lite Video","openapi":"en/api-manual/video-series/grok/grok-imagine-video-1.5-lite.json POST /v1/videos/generations","href":"/en/api-manual/video-series/grok/grok-imagine-video-1.5-lite"},{"title":"Grok Imagine 1.0 Text to Video","openapi":"en/api-manual/video-series/grok/grok-imagine-video-1.0-t2v.json POST /v1/videos/generations","href":"/en/api-manual/video-series/grok/grok-imagine-video-1.0-t2v"},{"title":"Grok Imagine 1.0 Image to Video","openapi":"en/api-manual/video-series/grok/grok-imagine-video-1.0-i2v.json POST /v1/videos/generations","href":"/en/api-manual/video-series/grok/grok-imagine-video-1.0-i2v"},{"title":"Grok Imagine Text to Video Beta","openapi":"en/api-manual/video-series/grok/grok-imagine-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/grok/grok-imagine-text-to-video"},{"title":"Grok Imagine Image to Video Beta","openapi":"en/api-manual/video-series/grok/grok-imagine-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/grok/grok-imagine-image-to-video"}]},{"group":"Veo3.1","icon":"video","pages":[{"title":"Veo3.1-Lite Video Generation","openapi":"en/api-manual/video-series/veo3.1/veo-3.1-lite-generate-preview-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/veo3.1/veo-3.1-lite-generate-preview-generate"},{"title":"Veo3.1-Pro Video Generation","openapi":"en/api-manual/video-series/veo3.1/veo-3.1-generate-preview-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/veo3.1/veo-3.1-generate-preview-generate"},{"title":"Veo3.1-Pro Video Generation Beta","openapi":"en/api-manual/video-series/veo3.1/veo3.1-pro-video-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/veo3.1/veo3.1-pro-video-generate"},{"title":"Veo3.1-Fast Video Generation","openapi":"en/api-manual/video-series/veo3.1/veo-3.1-fast-generate-preview-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/veo3.1/veo-3.1-fast-generate-preview-generate"},{"title":"Veo3.1-Fast Video Generation Beta","openapi":"en/api-manual/video-series/veo3.1/veo3.1-fast-video-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/veo3.1/veo3.1-fast-video-generate"}]},{"group":"Hailuo","icon":"video","pages":[{"title":"Hailuo-02 Video Generation","openapi":"en/api-manual/video-series/hailuo/hailuo-02-video-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/hailuo/hailuo-02-video-generate"},{"title":"Hailuo-2.3 Video Generation","openapi":"en/api-manual/video-series/hailuo/hailuo-2-3-video-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/hailuo/hailuo-2-3-video-generate"},{"title":"Hailuo-2.3-Fast Video Generation","openapi":"en/api-manual/video-series/hailuo/hailuo-2-3-fast-video-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/hailuo/hailuo-2-3-fast-video-generate"}]},{"group":"Wan","icon":"video","pages":[{"group":"Wan3.0","icon":"video","pages":[{"title":"Wan3.0 Complete Parameter Guide","openapi":"en/api-manual/video-series/wan3.0/wan3.0-overview.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan3.0/wan3.0-overview"},{"title":"Wan3.0 Text-to-Video","openapi":"en/api-manual/video-series/wan3.0/wan3.0-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan3.0/wan3.0-text-to-video"},{"title":"Wan3.0 Image-to-Video","openapi":"en/api-manual/video-series/wan3.0/wan3.0-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan3.0/wan3.0-image-to-video"},{"title":"Wan3.0 Reference-to-Video","openapi":"en/api-manual/video-series/wan3.0/wan3.0-reference-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan3.0/wan3.0-reference-video"},{"title":"Wan3.0 Prime Text-to-Video","openapi":"en/api-manual/video-series/wan3.0/wan3.0-prime-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan3.0/wan3.0-prime-text-to-video"},{"title":"Wan3.0 Prime Image-to-Video","openapi":"en/api-manual/video-series/wan3.0/wan3.0-prime-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan3.0/wan3.0-prime-image-to-video"},{"title":"Wan3.0 Prime Reference-to-Video","openapi":"en/api-manual/video-series/wan3.0/wan3.0-prime-reference-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan3.0/wan3.0-prime-reference-video"}]},{"group":"Wan2.7","icon":"video","pages":[{"title":"Wan2.7 Text to Video","openapi":"en/api-manual/video-series/wan2.7/wan2.7-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.7/wan2.7-text-to-video"},{"title":"Wan2.7 Image to Video","openapi":"en/api-manual/video-series/wan2.7/wan2.7-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.7/wan2.7-image-to-video"},{"title":"Wan2.7 Reference Video","openapi":"en/api-manual/video-series/wan2.7/wan2.7-reference-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.7/wan2.7-reference-video"},{"title":"Wan2.7 Video Edit","openapi":"en/api-manual/video-series/wan2.7/wan2.7-video-edit.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.7/wan2.7-video-edit"}]},{"group":"Wan2.6","icon":"video","pages":[{"title":"Wan2.6 Text to Video","openapi":"en/api-manual/video-series/wan2.6/wan2.6-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.6/wan2.6-text-to-video"},{"title":"Wan2.6 Image to Video","openapi":"en/api-manual/video-series/wan2.6/wan2.6-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.6/wan2.6-image-to-video"},{"title":"Wan2.6 Image-to-Video Flash","openapi":"en/api-manual/video-series/wan2.6/wan2.6-image-to-video-flash.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.6/wan2.6-image-to-video-flash"},{"title":"Wan2.6 Reference Video","openapi":"en/api-manual/video-series/wan2.6/wan2.6-reference-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.6/wan2.6-reference-video"},{"title":"Wan2.6 Reference Video Flash","openapi":"en/api-manual/video-series/wan2.6/wan2.6-reference-video-flash.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.6/wan2.6-reference-video-flash"}]},{"group":"Wan2.5","icon":"video","pages":[{"title":"Wan2.5 Text to Video","openapi":"en/api-manual/video-series/wan2.5/wan2.5-text-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.5/wan2.5-text-to-video"},{"title":"Wan2.5 Image to Video","openapi":"en/api-manual/video-series/wan2.5/wan2.5-image-to-video.json POST /v1/videos/generations","href":"/en/api-manual/video-series/wan2.5/wan2.5-image-to-video"}]}]},{"group":"OmniHuman","icon":"video","pages":[{"title":"OmniHuman-1.5 Digital Human Video Generation","openapi":"en/api-manual/video-series/omnihuman/omnihuman-1.5-video-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/omnihuman/omnihuman-1.5-video-generate"}]},{"group":"VideoRetalk","icon":"video","pages":[{"title":"VideoRetalk Video Generate","openapi":"en/api-manual/video-series/videoretalk/videoretalk-video-generate.json POST /v1/videos/generations","href":"/en/api-manual/video-series/videoretalk/videoretalk-video-generate"}]},{"group":"Tencent","icon":"video","pages":[{"title":"Tencent Video Upscale","openapi":"en/api-manual/video-series/tencent/tencent-video-upscale.json POST /v1/videos/generations","href":"/en/api-manual/video-series/tencent/tencent-video-upscale"}]}]},{"group":"Audio Series","pages":[{"group":"Seed Audio","icon":"waveform-lines","pages":[{"group":"Seed Audio 1.5","icon":"waveform-lines","pages":[{"title":"Seed Audio 1.5 Voices","icon":"book-open","href":"/en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-voices"},{"title":"Seed Audio 1.5 Audio Generation","openapi":"en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5"},{"title":"Seed Audio 1.5 Video to Audio","openapi":"en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-video-to-audio.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-video-to-audio"},{"title":"Seed Audio 1.5 Video Dubbing","openapi":"en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-video-dubbing.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-video-dubbing"},{"title":"Seed Audio 1.5 Audio Separation","openapi":"en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-audio-separation.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-audio-separation"}]},{"group":"Seed Audio 1.0","icon":"waveform-lines","pages":[{"title":"Seed-Audio 1.0 Voices","icon":"book-open","href":"/en/api-manual/audio-series/doubao-seed-audio/doubao-seed-audio-1-0-voices"},{"title":"Seed-Audio 1.0 Audio Generation","openapi":"en/api-manual/audio-series/doubao-seed-audio/doubao-seed-audio-1-0.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/doubao-seed-audio/doubao-seed-audio-1-0"}]}]},{"group":"Suno","icon":"music","pages":[{"title":"Suno Music Generation Beta","openapi":"en/api-manual/audio-series/suno/suno-music-generation.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/suno/suno-music-generation"},{"title":"Suno Persona Creation Beta","openapi":"en/api-manual/audio-series/suno/suno-persona-creation.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/suno/suno-persona-creation"}]},{"group":"Qwen Audio TTS","icon":"volume-high","pages":[{"title":"Qwen Audio 3.1 TTS Flash Voices","icon":"book-open","href":"/en/api-manual/audio-series/qwen-audio-tts/qwen-audio-3.1-tts-flash-voices"},{"title":"Qwen Audio 3.1 TTS Flash Speech Synthesis","openapi":"en/api-manual/audio-series/qwen-audio-tts/qwen-audio-3.1-tts-flash.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/qwen-audio-tts/qwen-audio-3.1-tts-flash"},{"title":"Voice Enrollment: Create a Custom Voice","openapi":"en/api-manual/audio-series/qwen-audio-tts/voice-enrollment.json POST /v1/audios/generations","href":"/en/api-manual/audio-series/qwen-audio-tts/voice-enrollment"}]}]},{"group":"Text Series","pages":[{"group":"EvoLink Auto","icon":"wand-magic-sparkles","pages":[{"title":"EvoLink Auto - Smart Model Routing","openapi":"en/api-manual/language-series/evolink-auto/evolink-auto-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/evolink-auto/evolink-auto-quickstart"},{"title":"EvoLink Auto - Claude Format","openapi":"en/api-manual/language-series/evolink-auto/evolink-auto-claude.json POST /v1/messages","href":"/en/api-manual/language-series/evolink-auto/evolink-auto-claude"},{"title":"EvoLink Auto - Gemini Format","openapi":"en/api-manual/language-series/evolink-auto/evolink-auto-gemini.json POST /v1beta/models/{model}:generateContent","href":"/en/api-manual/language-series/evolink-auto/evolink-auto-gemini"}]},{"group":"EvoLink Moderation","icon":"shield-check","pages":[{"title":"EvoLink Moderation 1.0 - Complete API Reference","openapi":"en/api-manual/language-series/evolink-moderation-1.0/evolink-moderation-1.0-api.json POST /v1/moderations","href":"/en/api-manual/language-series/evolink-moderation-1.0/evolink-moderation-1.0-api"}]},{"group":"Kimi","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"Kimi API (All Models) - Chat Completions Quickstart","openapi":"en/api-manual/language-series/kimi/chat-completions/chat-completions-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/kimi/chat-completions/chat-completions-quickstart"},{"title":"Kimi API (All Models) - Chat Completions Full Reference","openapi":"en/api-manual/language-series/kimi/chat-completions/chat-completions-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/kimi/chat-completions/chat-completions-reference"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"Kimi API (All Models) - Responses Quickstart","openapi":"en/api-manual/language-series/kimi/responses/responses-quickstart.json POST /v1/responses","href":"/en/api-manual/language-series/kimi/responses/responses-quickstart"},{"title":"Kimi API (All Models) - Responses Full Reference","openapi":"en/api-manual/language-series/kimi/responses/responses-reference.json POST /v1/responses","href":"/en/api-manual/language-series/kimi/responses/responses-reference"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"Kimi API (All Models) - Messages Quickstart","openapi":"en/api-manual/language-series/kimi/messages/messages-quickstart.json POST /v1/messages","href":"/en/api-manual/language-series/kimi/messages/messages-quickstart"},{"title":"Kimi API (All Models) - Messages Full Reference","openapi":"en/api-manual/language-series/kimi/messages/messages-reference.json POST /v1/messages","href":"/en/api-manual/language-series/kimi/messages/messages-reference"}]}]},{"group":"Claude","icon":"comments","pages":[{"title":"Claude - Messages API","openapi":"en/api-manual/language-series/claude/claude-messages-api.json POST /v1/messages","href":"/en/api-manual/language-series/claude/claude-messages-api"}]},{"group":"Gemini","icon":"comments","pages":[{"group":"Google Native API Format","icon":"comments","pages":[{"title":"Gemini All-Model API - Native API Quickstart","openapi":"en/api-manual/language-series/gemini/native-api/native-api-quickstart.json POST /v1beta/models/{model}:generateContent","href":"/en/api-manual/language-series/gemini/native-api/native-api-quickstart"},{"title":"Gemini All-Model API - Native API Format","openapi":"en/api-manual/language-series/gemini/native-api/native-api-reference.json POST /v1beta/models/{model}:generateContent","href":"/en/api-manual/language-series/gemini/native-api/native-api-reference"}]},{"group":"Explicit Context Caching","icon":"comments","pages":[{"title":"Gemini Explicit Context Caching - Create a cache","openapi":"en/api-manual/language-series/gemini/cached-contents/cached-contents.json POST /v1beta/cachedContents","href":"/en/api-manual/language-series/gemini/cached-contents/cached-contents-create"},{"title":"Gemini Explicit Context Caching - List caches","openapi":"en/api-manual/language-series/gemini/cached-contents/cached-contents.json GET /v1beta/cachedContents","href":"/en/api-manual/language-series/gemini/cached-contents/cached-contents-list"},{"title":"Gemini Explicit Context Caching - Get a cache","openapi":"en/api-manual/language-series/gemini/cached-contents/cached-contents.json GET /v1beta/cachedContents/{id}","href":"/en/api-manual/language-series/gemini/cached-contents/cached-contents-get"},{"title":"Gemini Explicit Context Caching - Extend or shorten the lifetime","openapi":"en/api-manual/language-series/gemini/cached-contents/cached-contents.json PATCH /v1beta/cachedContents/{id}","href":"/en/api-manual/language-series/gemini/cached-contents/cached-contents-update"},{"title":"Gemini Explicit Context Caching - Delete a cache","openapi":"en/api-manual/language-series/gemini/cached-contents/cached-contents.json DELETE /v1beta/cachedContents/{id}","href":"/en/api-manual/language-series/gemini/cached-contents/cached-contents-delete"}]},{"group":"OpenAI SDK Format","icon":"comments","pages":[{"title":"Gemini All-Model API - OpenAI Quickstart","openapi":"en/api-manual/language-series/gemini/openai-sdk/openai-sdk-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/gemini/openai-sdk/openai-sdk-quickstart"},{"title":"Gemini All-Model API - OpenAI-Compatible Format","openapi":"en/api-manual/language-series/gemini/openai-sdk/openai-sdk-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/gemini/openai-sdk/openai-sdk-reference"}]},{"group":"Decisions API","icon":"comments","pages":[{"title":"Gemini Decisions - Complete Parameter Reference","openapi":"en/api-manual/language-series/gemini/decisions/decisions-reference.json POST /v1beta/decisions","href":"/en/api-manual/language-series/gemini/decisions/decisions-reference"}]}]},{"group":"GPT","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"GPT All-Model API - Chat Completions Quickstart","openapi":"en/api-manual/language-series/gpt/chat-completions/chat-completions-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/gpt/chat-completions/chat-completions-quickstart"},{"title":"GPT All-Model API - Chat Completions Reference","openapi":"en/api-manual/language-series/gpt/chat-completions/chat-completions-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/gpt/chat-completions/chat-completions-reference"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"GPT All-Model API - Responses Quickstart","openapi":"en/api-manual/language-series/gpt/responses/responses-quickstart.json POST /v1/responses","href":"/en/api-manual/language-series/gpt/responses/responses-quickstart"},{"title":"GPT All-Model API - Responses Reference","openapi":"en/api-manual/language-series/gpt/responses/responses-reference.json POST /v1/responses","href":"/en/api-manual/language-series/gpt/responses/responses-reference"}]},{"group":"Decisions API","icon":"comments","pages":[{"title":"GPT Decisions - Complete Parameter Reference","openapi":"en/api-manual/language-series/gpt/decisions/decisions-reference.json POST /v1/decisions","href":"/en/api-manual/language-series/gpt/decisions/decisions-reference"}]}]},{"group":"Grok","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"Grok All-Model API - Chat Completions Quickstart","openapi":"en/api-manual/language-series/grok/chat-completions/chat-completions-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/grok/chat-completions/chat-completions-quickstart"},{"title":"Grok All-Model API - Chat Completions Reference","openapi":"en/api-manual/language-series/grok/chat-completions/chat-completions-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/grok/chat-completions/chat-completions-reference"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"Grok All-Model API - Responses Quickstart","openapi":"en/api-manual/language-series/grok/responses/responses-quickstart.json POST /v1/responses","href":"/en/api-manual/language-series/grok/responses/responses-quickstart"},{"title":"Grok All-Model API - Responses Reference","openapi":"en/api-manual/language-series/grok/responses/responses-reference.json POST /v1/responses","href":"/en/api-manual/language-series/grok/responses/responses-reference"}]}]},{"group":"Seed","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"Seed Chat Completions — Quickstart","openapi":"en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-quickstart"},{"title":"Seed Chat Completions — API reference","openapi":"en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-reference"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"Seed Responses — Quickstart","openapi":"en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-responses-quickstart.json POST /v1/responses","href":"/en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-responses-quickstart"},{"title":"Seed Responses — API reference","openapi":"en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-responses-reference.json POST /v1/responses","href":"/en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-responses-reference"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"Seed Messages — Quickstart","openapi":"en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-messages-quickstart.json POST /v1/messages","href":"/en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-messages-quickstart"},{"title":"Seed Messages — API reference","openapi":"en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-messages-reference.json POST /v1/messages","description":"- Call Seed using the Anthropic Messages format, including from compatible tools such as Claude Code.\n- This endpoint is stateless. Send the full history on each turn and replay assistant thinking blocks unchanged.\n- Send text, images or documents. For audio on Lite, use Chat Completions or Responses.\n- Reasoning is enabled by default. Disable it with `thinking` or adjust its depth with `output_config.effort`.\n- All models support function calls. Seed 2.1 and `doubao-seed-evolving` also support web search. (`web_search_20250305`)\n- Return structured JSON with JSON Object or JSON Schema. (`output_config.format`)\n- Repeated long prefixes are automatically billed at the cache-hit rate on a hit. No `cache_control` is needed. See `usage.cache_read_input_tokens`.\n- With `stream=true`, Anthropic SSE events arrive in order: `message_start` → `content_block_start` / `content_block_delta` / `content_block_stop` → `message_delta` → `message_stop`. The final usage appears in `message_delta`.\n- **Seed 2.0 legacy model names**: `doubao-seed-2.0-pro` / `doubao-seed-2.0-lite` are now routed to `doubao-seed-2-1-lite` and `doubao-seed-2.0-code` to `doubao-seed-evolving`; parameter behavior follows the new model. Use the new model names for new integrations. `doubao-seed-2.0-mini` is not affected\n- [Quickstart](/en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-messages-quickstart)","href":"/en/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-messages-reference"}]}]},{"group":"DeepSeek","icon":"comments","pages":[{"group":"DeepSeek V4","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"DeepSeek V4 - OpenAI-Compatible API","openapi":"en/api-manual/language-series/deepseek-v4/deepseek-v4-chat.json POST /v1/chat/completions","href":"/en/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"DeepSeek V4 - Anthropic-Compatible API","openapi":"en/api-manual/language-series/deepseek-v4/deepseek-v4-messages.json POST /v1/messages","description":"- Invoke DeepSeek V4 models using the Anthropic Messages protocol\n- Supported models: `deepseek-v4.1-flash-1017` / `deepseek-v4.1-flash` / `deepseek-v4-flash` / `deepseek-v4-pro` / `deepseek-v4-flash-vision-exp`\n- Request / response structures aligned with the Anthropic API\n- **Image understanding**: `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp` supports `image` content blocks (`source.type` may be `base64` or `url`)\n- **System prompts**: Passed via the top-level `system` field\n- **Thinking mode**: Controlled by the `thinking` object; thinking content is returned as a `content[type=thinking]` block\n- **Streaming output**: SSE event stream\n- **Tool calling**: Compatible with Anthropic `tool_use` / `tool_result` flow\n\n> ⚠️ **Important**: Sending an `image` block to `deepseek-v4-flash` / `deepseek-v4-pro` **does not raise an error**, but the upstream replaces the image with an `[Unsupported Image]` placeholder. The model cannot see the image, and the request is still billed. For image understanding, always set `model` to `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4-flash-vision-exp`.","href":"/en/api-manual/language-series/deepseek-v4/deepseek-v4-messages"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"DeepSeek V4 - Responses API","openapi":"en/api-manual/language-series/deepseek-v4/deepseek-v4-responses.json POST /v1/responses","href":"/en/api-manual/language-series/deepseek-v4/deepseek-v4-responses"}]}]},{"group":"DeepSeek V3.2","icon":"comments","pages":[{"title":"DeepSeek - Complete API Reference","openapi":"en/api-manual/language-series/deepseek/deepseek-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/deepseek/deepseek-reference"}]}]},{"group":"MiniMax","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"MiniMax Chat Completions quickstart","openapi":"en/api-manual/language-series/minimax/chat-completions/chat-completions-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/minimax/chat-completions/chat-completions-quickstart"},{"title":"MiniMax Chat Completions API reference","openapi":"en/api-manual/language-series/minimax/chat-completions/chat-completions-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/minimax/chat-completions/chat-completions-reference"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"MiniMax Responses quickstart","openapi":"en/api-manual/language-series/minimax/responses/responses-quickstart.json POST /v1/responses","href":"/en/api-manual/language-series/minimax/responses/responses-quickstart"},{"title":"MiniMax Responses API reference","openapi":"en/api-manual/language-series/minimax/responses/responses-reference.json POST /v1/responses","href":"/en/api-manual/language-series/minimax/responses/responses-reference"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"MiniMax Messages quickstart","openapi":"en/api-manual/language-series/minimax/messages/messages-quickstart.json POST /v1/messages","href":"/en/api-manual/language-series/minimax/messages/messages-quickstart"},{"title":"MiniMax Messages API reference","openapi":"en/api-manual/language-series/minimax/messages/messages-reference.json POST /v1/messages","href":"/en/api-manual/language-series/minimax/messages/messages-reference"}]}]},{"group":"Qwen","icon":"comments","pages":[{"group":"Qwen3.8-Max","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"Qwen3.8-Max - Full Parameter Documentation","openapi":"en/api-manual/language-series/qwen3.8-max/qwen3.8-max-chat.json POST /v1/chat/completions","href":"/en/api-manual/language-series/qwen3.8-max/qwen3.8-max-chat"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"Qwen3.8-Max - Responses API","openapi":"en/api-manual/language-series/qwen3.8-max/qwen3.8-max-responses.json POST /v1/responses","href":"/en/api-manual/language-series/qwen3.8-max/qwen3.8-max-responses"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"Qwen3.8-Max - Anthropic-Compatible API","openapi":"en/api-manual/language-series/qwen3.8-max/qwen3.8-max-messages.json POST /v1/messages","href":"/en/api-manual/language-series/qwen3.8-max/qwen3.8-max-messages"}]}]}]},{"group":"GLM","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"GLM All-Model API - Chat Completions Quickstart","openapi":"en/api-manual/language-series/glm/chat-completions/chat-completions-quickstart.json POST /v1/chat/completions","href":"/en/api-manual/language-series/glm/chat-completions/chat-completions-quickstart"},{"title":"GLM All-Model API - Chat Completions Reference","openapi":"en/api-manual/language-series/glm/chat-completions/chat-completions-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/glm/chat-completions/chat-completions-reference"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"GLM All-Model API - Responses Quickstart","openapi":"en/api-manual/language-series/glm/responses/responses-quickstart.json POST /v1/responses","href":"/en/api-manual/language-series/glm/responses/responses-quickstart"},{"title":"GLM All-Model API - Responses Reference","openapi":"en/api-manual/language-series/glm/responses/responses-reference.json POST /v1/responses","href":"/en/api-manual/language-series/glm/responses/responses-reference"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"GLM All-Model API - Messages Quickstart","openapi":"en/api-manual/language-series/glm/messages/messages-quickstart.json POST /v1/messages","href":"/en/api-manual/language-series/glm/messages/messages-quickstart"},{"title":"GLM All-Model API - Messages Reference","openapi":"en/api-manual/language-series/glm/messages/messages-reference.json POST /v1/messages","href":"/en/api-manual/language-series/glm/messages/messages-reference"}]}]}]},{"group":"Account Management","pages":[{"title":"Get Credits Usage","openapi":"en/api-manual/account-management/get-credits.json GET /v1/credits","href":"/en/api-manual/account-management/get-credits"},{"title":"Get Request Cost","openapi":"en/api-manual/account-management/get-request-usage.json GET /v1/requests/{request_id}","href":"/en/api-manual/account-management/get-request-usage"}]},{"group":"Task Management","pages":[{"title":"Error Codes Reference","icon":"triangle-exclamation","href":"/en/api-manual/task-management/error-codes"},{"title":"Query Task Status","openapi":"en/api-manual/task-management/get-task-detail.json GET /v1/tasks/{task_id}","href":"/en/api-manual/task-management/get-task-detail"}]},{"group":"File Management","pages":[{"group":"File Upload","icon":"upload","pages":[{"title":"Base64 File Upload","openapi":"en/api-manual/file-series/upload-base64.json POST /api/v1/files/upload/base64","href":"/en/api-manual/file-series/upload-base64"},{"title":"File Stream Upload","openapi":"en/api-manual/file-series/upload-stream.json POST /api/v1/files/upload/stream","href":"/en/api-manual/file-series/upload-stream"},{"title":"URL File Upload","openapi":"en/api-manual/file-series/upload-url.json POST /api/v1/files/upload/url","href":"/en/api-manual/file-series/upload-url"}]},{"title":"Get File Quota","openapi":"en/api-manual/file-series/quota.json GET /api/v1/files/quota","href":"/en/api-manual/file-series/quota"}]}]},{"tab":"CLI/MCP","pages":[{"title":"CLI/MCP","href":"/en/cli-mcp/overview"}]},{"tab":"Integration Guide","pages":[{"title":"Integration Guide","href":"/en/integration-guide/claude-code-cli"}]},{"tab":"User Guide","pages":[{"title":"User Guide","href":"/en/introduction"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-manual/language-series/deepseek-v4/deepseek-v4-chat"}]}]},"basePath":"","title":"DeepSeek V4 - OpenAI-Compatible API - EvoLink.AI","deploymentId":"dpl_BventAZFrf621XW89Bu9nGboqkDb","buildId":"dpl_BventAZFrf621XW89Bu9nGboqkDb","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-ZxYP-wTJ.js","snippetPresets-DXIYDwaF.js","utils-DJec5Fj3.js","style-to-object-BY3JEAdk.js","utils-Dw_FkvI9.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Tc7S7GS1.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DY2hEBN3.js","_Uint8Array-BDAIEp76.js","isObject-FP1Yky1u.js","ApiExamples-5YlneKul.js","usePlaygroundInputsStore-Bz8aVmqR.js","shallow-WIpDuKn-.js","isEqual-Ch7LCAW8.js","CodeSnippets-B22t4F1Y.js","CodeSnippet-ZvtUdxOr.js","use-playground-group-access-Cz0nz2kQ.js","Page-0DTRfU5p.js","api-description-markdown-DOMtR5JT.js","DynamicMarkdown-CMNDdb22.js","SectionHeading-BB2VUbaM.js","MethodPill-DXTIzkMa.js","getPastedJson-BOXmo28_.js","Check2Icon-DGqsl92w.js","axios-CsQoIw0U.js","Markdown-tM7iE2Da.js","AssistantPageLink-D8_cgK8o.js","dist-CGJlJrEl.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}