Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the model parameter
Synchronous processing that returns the conversation content in real time
Text conversation: single-turn or multi-turn contextual conversation; glm-5.3-flash and glm-5.3-flashx additionally support image, video and document (PDF) input
System prompt: customise the AI’s role and behaviour through a role=system message
Deep thinking: thinking.type controls the chain of thought and reasoning_effort adjusts the reasoning depth; the reasoning is returned in reasoning_content
Streaming: SSE streaming responses are supported (stream=true)
Tool calling: function calling and web search are supported (web_search, up to 128 tools)
Structured output: JSON mode is enabled through response_format
About streaming responses: when stream=true, results come back over Server-Sent Events, each message formatted as data: {JSON} and the stream ending with data: [DONE]. Each chunk (ChatCompletionChunk) carries id, created, model, choices and optionally usage and content_filter; inside it, choices[].delta returns incremental role / content / reasoning_content / tool_calls, and choices[].finish_reason gives the termination reason in the final chunk.
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.
Thinking switch. enabled turns thinking on and is the default for all models. disabled turns it off only on glm-5.2.glm-5.3, glm-5.3-flash and glm-5.3-flashx always think. Passing disabled retains the default thinking mode; it neither disables thinking nor sets the effort to low. To reduce effort, set reasoning_effort=low. After switching from glm-5.2 to the 5.3 series, thinking remains enabled and thinking tokens are billed as output even if thinking.type=disabled is retained.
minimal and none do not disable thinking on the 5.3 series. Thinking tokens are billed as output. Unrecognized values are unchanged and have no compatibility mapping; use the listed values. These mappings do not apply to glm-5.2.glm-5.2 supports max, xhigh, high, medium, low, minimal and none. xhigh is equivalent to max; medium / low are equivalent to high; minimal / none can disable thinking. thinking.type=disabled can also turn it off. Use max for complex tasks such as coding.
User message content.
String: plain text, supported by every model
Content block array: text and images mixed, supported only by glm-5.3-flash and glm-5.3-flashx
Sending image content blocks to glm-5.3 or glm-5.2 returns an error.
The list of conversation messages, containing the full context of the current conversation
Supports four roles: system, user, assistant, tool. Messages of different roles have different field structures; please select the corresponding role to view details. Must contain at least 1 message, and cannot consist solely of system or assistant messages.
Minimum array length: 1
System Message
User Message
Assistant Message
Tool Message
Show child attributes
stream
boolean
default:false
Whether to enable streaming output mode
false: The model generates the complete response and returns it all at once (default), suitable for short text and batch processing
true: Returns chunks in real time via Server-Sent Events (SSE), suitable for chat and long text; returns data: [DONE] when the stream ends
Example:
false
thinking
object
Controls whether to enable the chain of thought (Chain of Thought)
Show child attributes
reasoning_effort
enum<string>
default:max
Reasoning effort, default max.
Compatibility rules for glm-5.3 / glm-5.3-flash / glm-5.3-flashx
Supplied value
Effective thinking level
low / high / max
Unchanged
xhigh
max
medium
high
minimal / none
low; thinking remains enabled
minimal and none do not disable thinking on the 5.3 series. Thinking tokens are billed as output. Unrecognized values are unchanged and have no compatibility mapping; use the listed values. These mappings do not apply to glm-5.2.
glm-5.2 supports max, xhigh, high, medium, low, minimal and none. xhigh is equivalent to max; medium / low are equivalent to high; minimal / none can disable thinking. thinking.type=disabled can also turn it off. Use max for complex tasks such as coding.
Available options:
max,
xhigh,
high,
medium,
low,
minimal,
none
Example:
"max"
do_sample
boolean
default:true
Whether to enable the sampling strategy
true (default): Uses temperature / top_p for random sampling, producing more varied output
false: Always selects the highest-probability token (greedy decoding), producing more deterministic output; in this case temperature and top_p are ignored
For tasks requiring consistency and reproducibility (such as code generation and translation), setting this to false is recommended
Example:
true
temperature
number<float>
default:1
Sampling temperature, controlling the randomness and creativity of the output
Notes:
Value range: [0.0, 1.0], limited to two decimal places
Higher values (e.g. 0.8): more random and creative, suitable for creative writing
Lower values (e.g. 0.2): more stable and deterministic, suitable for factual Q&A and code generation
Default value: 1.0
Recommendation: Do not adjust both temperature and top_p at the same time
Required range: 0 <= x <= 1
Example:
1
top_p
number<float>
default:0.95
Nucleus Sampling parameter, an alternative to temperature sampling
Notes:
Value range: [0.01, 1.0], limited to two decimal places
The model only considers candidate tokens whose cumulative probability reaches top_p; for example, 0.1 means only the top 10% probability tokens are considered
Smaller values produce more focused and consistent output; larger values increase diversity
Default value: 0.95
Recommendation: Do not adjust both temperature and top_p at the same time
Required range: 0.01 <= x <= 1
Example:
0.95
max_tokens
integer
Upper limit on the number of output tokens
Note:
The GLM series supports up to 131,072 tokens (128K) of output; setting at least 1024 is recommended
When thinking is on, chain-of-thought tokens also count towards this limit
If generation is cut off with length, try raising this value
Function calling (function) and web search (web_search) are supported
Up to 128 functions
Of these, web_search is billed separately per call when a search actually happens; the other tools carry no extra charge
Maximum array length: 128
Function Tool
Web Search Tool (Web Search)
Show child attributes
tool_choice
enum<string>
default:auto
Controls how the model selects which function to call
Notes: Only takes effect when the tool type is function; defaults to and only supports auto (the model automatically decides whether to call a tool)
Available options:
auto
Example:
"auto"
stop
string[]
The list of stop words
Notes:
When the generated text encounters a specified string, generation stops immediately (the stop word itself is not included in the returned text)
Currently only a single stop word is supported, in the format ["stop_word1"], for example ["Human:"]
Maximum array length: 4
Example:
["Human:"]
response_format
object
Specifies the model's response output format; defaults to text
Notes:
{ "type": "json_object" } enables JSON mode, and the model returns valid JSON-formatted data, suitable for scenarios such as structured data extraction
When using JSON mode, it is recommended to explicitly request JSON output in the system or user message
Show child attributes
request_id
string
Unique request identifier
Notes:
Passed by the client, 6-64 characters long; using UUID format is recommended to ensure uniqueness
If not provided, the platform will generate one automatically
Required string length: 6 - 64
Example:
"req-7f3a2c1e8b9d4f0a"
user_id
string
Unique identifier of the end user
Notes: 6-128 characters long; using a unique identifier that does not contain sensitive information is recommended, which can help the platform monitor and detect abusive behavior
Required string length: 6 - 128
Example:
"user-abc123456"
Response
Chat completion generated successfully
id
string
Task ID
Example:
"chatcmpl-a6613b56-c61c-94ba-9a9f-43d4cdc7d77a"
object
enum<string>
Response type
Available options:
chat.completion
Example:
"chat.completion"
request_id
string
Request ID (returned when request_id is provided in the request)
Example:
"req-7f3a2c1e8b9d4f0a"
created
integer
Request creation time, Unix timestamp (seconds)
Example:
1777021417
model
string
Model name
Example:
"glm-5.3"
choices
object[]
The list of model responses
Show child attributes
usage
object
Token usage statistics returned when the call ends
Show child attributes
web_search
object[]
Web search-related information, returned when the web_search tool is used and a search is triggered
Show child attributes
content_filter
object[]
Content safety-related information
Show child attributes
{"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":""},"entitlements":{},"buildId":"6b06e4e0a19c7c07e2254095","clientVersion":"0.0.4324","searchFilterCounts":[{"language":"cn","tag":"API手册","count":247},{"language":"de","tag":"API-Handbuch","count":247},{"language":"en","tag":"API Manual","count":247},{"language":"es","tag":"Manual de API","count":247},{"language":"fr","tag":"Manuel API","count":247},{"language":"ja","tag":"APIマニュアル","count":247},{"language":"ko","tag":"API 매뉴얼","count":247},{"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":"custom-rbac-roles","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":"site-roles","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":"sso-setup-deadline-banner","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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","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/glm/chat-completions/chat-completions-reference","slug":"/en/api-manual/language-series/glm/chat-completions/chat-completions-reference","pageMetadata":{"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","description":"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the `model` parameter\n- Synchronous processing that returns the conversation content in real time\n- **Text conversation**: single-turn or multi-turn contextual conversation; `glm-5.3-flash` and `glm-5.3-flashx` additionally support image, video and document (PDF) input\n- **System prompt**: customise the AI's role and behaviour through a `role=system` message\n- **Deep thinking**: `thinking.type` controls the chain of thought and `reasoning_effort` adjusts the reasoning depth; the reasoning is returned in `reasoning_content`\n- **Streaming**: SSE streaming responses are supported (`stream=true`)\n- **Tool calling**: function calling and web search are supported (`web_search`, up to 128 tools)\n- **Structured output**: JSON mode is enabled through `response_format`\n\n**About streaming responses**: when `stream=true`, results come back over Server-Sent Events, each message formatted as `data: {JSON}` and the stream ending with `data: [DONE]`. Each chunk (`ChatCompletionChunk`) carries `id`, `created`, `model`, `choices` and optionally `usage` and `content_filter`; inside it, `choices[].delta` returns incremental `role` / `content` / `reasoning_content` / `tool_calls`, and `choices[].finish_reason` gives the termination reason in the final chunk.","href":"/en/api-manual/language-series/glm/chat-completions/chat-completions-reference"},"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\", _jsxs(_components.li, {\n children: [\"Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the \", _jsx(_components.code, {\n children: \"model\"\n }), \" parameter\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Synchronous processing that returns the conversation content in real time\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Text conversation\"\n }), \": single-turn or multi-turn contextual conversation; \", _jsx(_components.code, {\n children: \"glm-5.3-flash\"\n }), \" and \", _jsx(_components.code, {\n children: \"glm-5.3-flashx\"\n }), \" additionally support image, video and document (PDF) input\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"System prompt\"\n }), \": customise the AI’s role and behaviour through a \", _jsx(_components.code, {\n children: \"role=system\"\n }), \" message\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Deep thinking\"\n }), \": \", _jsx(_components.code, {\n children: \"thinking.type\"\n }), \" controls the chain of thought and \", _jsx(_components.code, {\n children: \"reasoning_effort\"\n }), \" adjusts the reasoning depth; the reasoning is returned in \", _jsx(_components.code, {\n children: \"reasoning_content\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Streaming\"\n }), \": SSE streaming responses are supported (\", _jsx(_components.code, {\n children: \"stream=true\"\n }), \")\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Tool calling\"\n }), \": function calling and web search are supported (\", _jsx(_components.code, {\n children: \"web_search\"\n }), \", up to 128 tools)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Structured output\"\n }), \": JSON mode is enabled through \", _jsx(_components.code, {\n children: \"response_format\"\n })]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"About streaming responses\"\n }), \": when \", _jsx(_components.code, {\n children: \"stream=true\"\n }), \", results come back over Server-Sent Events, each message formatted as \", _jsx(_components.code, {\n children: \"data: {JSON}\"\n }), \" and the stream ending with \", _jsx(_components.code, {\n children: \"data: [DONE]\"\n }), \". Each chunk (\", _jsx(_components.code, {\n children: \"ChatCompletionChunk\"\n }), \") carries \", _jsx(_components.code, {\n children: \"id\"\n }), \", \", _jsx(_components.code, {\n children: \"created\"\n }), \", \", _jsx(_components.code, {\n children: \"model\"\n }), \", \", _jsx(_components.code, {\n children: \"choices\"\n }), \" and optionally \", _jsx(_components.code, {\n children: \"usage\"\n }), \" and \", _jsx(_components.code, {\n children: \"content_filter\"\n }), \"; inside it, \", _jsx(_components.code, {\n children: \"choices[].delta\"\n }), \" returns incremental \", _jsx(_components.code, {\n children: \"role\"\n }), \" / \", _jsx(_components.code, {\n children: \"content\"\n }), \" / \", _jsx(_components.code, {\n children: \"reasoning_content\"\n }), \" / \", _jsx(_components.code, {\n children: \"tool_calls\"\n }), \", and \", _jsx(_components.code, {\n children: \"choices[].finish_reason\"\n }), \" gives the termination reason in the final chunk.\"]\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{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Note,Table}=_components;if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_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.`]})}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[`Thinking switch. enabled turns thinking on and is the default for all models. `,_jsx(_components.code,{children:`disabled`}),` turns it off only on glm-5.2.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`glm-5.3`}),`, `,_jsx(_components.code,{children:`glm-5.3-flash`}),` and `,_jsx(_components.code,{children:`glm-5.3-flashx`}),` always think. Passing `,_jsx(_components.code,{children:`disabled`}),` retains the default thinking mode; it neither disables thinking nor sets the effort to low. To reduce effort, set reasoning_effort=low. After switching from `,_jsx(_components.code,{children:`glm-5.2`}),` to the 5.3 series, thinking remains enabled and thinking tokens are billed as output even if `,_jsx(_components.code,{children:`thinking.type=disabled`}),` is retained.`]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`reasoning_effort`}),`: Reasoning effort, default max.`]}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`Compatibility rules for `,_jsx(_components.code,{children:`glm-5.3`}),` / `,_jsx(_components.code,{children:`glm-5.3-flash`}),` / `,_jsx(_components.code,{children:`glm-5.3-flashx`})]})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Supplied value`}),_jsx(_components.th,{children:`Effective thinking level`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`max`})]}),_jsx(_components.td,{children:`Unchanged`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`xhigh`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`max`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`medium`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`high`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`minimal`}),` / `,_jsx(_components.code,{children:`none`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),`; thinking remains enabled`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`minimal`}),` and `,_jsx(_components.code,{children:`none`}),` do not disable thinking on the 5.3 series.`]}),` Thinking tokens are billed as output. Unrecognized values are unchanged and have no compatibility mapping; use the listed values. These mappings do not apply to glm-5.2.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`glm-5.2`}),` supports `,_jsx(_components.code,{children:`max`}),`, `,_jsx(_components.code,{children:`xhigh`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`minimal`}),` and none. `,_jsx(_components.code,{children:`xhigh`}),` is equivalent to `,_jsx(_components.code,{children:`max`}),`; `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`low`}),` are equivalent to `,_jsx(_components.code,{children:`high`}),`; `,_jsx(_components.code,{children:`minimal`}),` / `,_jsx(_components.code,{children:`none`}),` can disable thinking. `,_jsx(_components.code,{children:`thinking.type=disabled`}),` can also turn it off. Use `,_jsx(_components.code,{children:`max`}),` for complex tasks such as coding.`]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:`User message content.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`String`}),`: plain text, supported by every model`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Content block array`}),`: text and images mixed, `,_jsxs(_components.strong,{children:[`supported only by `,_jsx(_components.code,{children:`glm-5.3-flash`}),` and `,_jsx(_components.code,{children:`glm-5.3-flashx`})]})]}),`\n`]}),_jsxs(_components.p,{children:[`Sending image content blocks to `,_jsx(_components.code,{children:`glm-5.3`}),` or `,_jsx(_components.code,{children:`glm-5.2`}),` returns an error.`]})]})]})}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":"GLM All-Model API - Chat Completions Reference","openapi":"en/api-manual/language-series/glm/chat-completions/chat-completions-reference.json POST /v1/chat/completions","description":"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the `model` parameter\n- Synchronous processing that returns the conversation content in real time\n- **Text conversation**: single-turn or multi-turn contextual conversation; `glm-5.3-flash` and `glm-5.3-flashx` additionally support image, video and document (PDF) input\n- **System prompt**: customise the AI's role and behaviour through a `role=system` message\n- **Deep thinking**: `thinking.type` controls the chain of thought and `reasoning_effort` adjusts the reasoning depth; the reasoning is returned in `reasoning_content`\n- **Streaming**: SSE streaming responses are supported (`stream=true`)\n- **Tool calling**: function calling and web search are supported (`web_search`, up to 128 tools)\n- **Structured output**: JSON mode is enabled through `response_format`\n\n**About streaming responses**: when `stream=true`, results come back over Server-Sent Events, each message formatted as `data: {JSON}` and the stream ending with `data: [DONE]`. Each chunk (`ChatCompletionChunk`) carries `id`, `created`, `model`, `choices` and optionally `usage` and `content_filter`; inside it, `choices[].delta` returns incremental `role` / `content` / `reasoning_content` / `tool_calls`, and `choices[].finish_reason` gives the termination reason in the final chunk.","href":"/en/api-manual/language-series/glm/chat-completions/chat-completions-reference"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"GLM Chat Completions (All Models, OpenAI-Compatible)","description":"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the `model` parameter\n- Synchronous processing that returns the conversation content in real time\n- **Text conversation**: single-turn or multi-turn contextual conversation; `glm-5.3-flash` and `glm-5.3-flashx` additionally support image, video and document (PDF) input\n- **System prompt**: customise the AI's role and behaviour through a `role=system` message\n- **Deep thinking**: `thinking.type` controls the chain of thought and `reasoning_effort` adjusts the reasoning depth; the reasoning is returned in `reasoning_content`\n- **Streaming**: SSE streaming responses are supported (`stream=true`)\n- **Tool calling**: function calling and web search are supported (`web_search`, up to 128 tools)\n- **Structured output**: JSON mode is enabled through `response_format`\n\n**About streaming responses**: when `stream=true`, results come back over Server-Sent Events, each message formatted as `data: {JSON}` and the stream ending with `data: [DONE]`. Each chunk (`ChatCompletionChunk`) carries `id`, `created`, `model`, `choices` and optionally `usage` and `content_filter`; inside it, `choices[].delta` returns incremental `role` / `content` / `reasoning_content` / `tool_calls`, and `choices[].finish_reason` gives the termination reason in the final chunk.","operationId":"createChatCompletionGLM","tags":["Chat Completion"],"requestBody":"b0a1be3d-1575-4a3f-8366-42afbdca50ff","responses":{"200":"9ddee336-0d27-4017-8e00-dab6fe2a9e30","400":"e25122a7-f69d-4d0e-a74a-9d3fe4438bf6","401":"99b882b6-ea99-4fe9-bc67-09565434262a","402":"338be889-40b8-440b-8ca0-8fd5800d45ef","403":"09104e14-3ac2-45fa-bc6a-0d9eb1f01b5d","404":"c68ff41b-668d-4be7-8b70-9beb0b7ee1f7","429":"2ce804a2-3252-4f54-a6b9-fa3d248d02e6","500":"3785a9a8-0812-44c8-a36c-9598aea698a9","502":"e3a7334b-6dd2-493e-8773-5dc183710b9b","503":"b6961161-8189-4312-9ad5-2d8af8fbaab7"},"method":"post","type":"path","servers":["ca210375-9b87-4dd0-a91f-9dfafb0b508f","b58f8b73-41d0-4f6e-ac51-960168e83c5e"],"security":["80515229-ba6e-4bbf-b3aa-dea5bbdd19b2"],"path":"/v1/chat/completions","baseUrlOptions":["https://direct.evolink.ai","https://api.evolink.ai"],"title":"GLM Chat Completions (All Models, OpenAI-Compatible)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.model":"glm-5.3","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Please introduce yourself"},{"body.model":"glm-5.3","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":"glm-5.3","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":"glm-5.3","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"A farmer needs to take a wolf, a sheep, and a cabbage across a river, but can only carry one at a time. How can he get them across safely?","body.thinking.type":"enabled","body.reasoning_effort":"max"},{"body.model":"glm-5.3","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"What's the weather like in Beijing today?","body.tools.items.0.oneOf.0.type":"function","body.tools.items.0.oneOf.0.function.name":"get_weather","body.tools.items.0.oneOf.0.function.description":"Query the real-time weather of a specified city","body.tools.items.0.oneOf.0.function.parameters":{"type":"object","properties":{"city":{"type":"string","description":"City name, for example: Beijing"}},"required":["city"]},"body.tool_choice":"auto"},{"body.model":"glm-5.3","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Help me find the latest artificial intelligence news from the past week","body.tools.items.0.oneOf.1.type":"web_search","body.tools.items.0.oneOf.1.web_search.enable":true,"body.tools.items.0.oneOf.1.web_search.count":10,"body.tools.items.0.oneOf.1.web_search.search_recency_filter":"oneWeek"},{"body.model":"glm-5.3","body.messages.items.0.oneOf.0.role":"system","body.messages.items.0.oneOf.0.content":"Please output in JSON format, including the two fields name and age.","body.messages.items.1.oneOf.1.role":"user","body.messages.items.1.oneOf.1.content.oneOf.0":"John, 28 years old this year","body.response_format.type":"json_object"},{"body.model":"glm-5.3","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.model":"glm-5.2","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Summarize the theory of relativity in one sentence.","body.thinking.type":"disabled"},{"body.model":"glm-5.3","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Explain HTTP in one sentence","body.thinking.type":"enabled","body.reasoning_effort":"low","body.max_tokens":1024},{"body.model":"glm-5.3-flash","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.type":"text","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.text":"What is in this image?","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.type":"image_url","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.image_url.url":"https://example.com/photo.jpg","body.max_tokens":1024},{"body.model":"glm-5.3-flashx","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.0":"Introduce yourself in one sentence."},{"body.model":"glm-5.3-flashx","body.messages.items.0.oneOf.1.role":"user","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.type":"text","body.messages.items.0.oneOf.1.content.oneOf.1.items.0.text":"What is in this image?","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.type":"image_url","body.messages.items.0.oneOf.1.content.oneOf.1.items.1.image_url.url":"https://example.com/photo.jpg","body.max_tokens":1024}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string","description":"Model to call:\n\n| Model ID | Positioning | Thinking control | Multimodal input (images / video / PDF) |\n|---|---|---|---|\n| `glm-5.3` | Flagship model, with across-the-board gains on complex software engineering and agent tasks and a large step up in coding; 1M context | Always enabled; effective levels: low / high / max. See reasoning_effort for compatible values. | Not supported |\n| `glm-5.3-flash` | Lightweight multimodal model with a hybrid sparse and linear attention architecture, extremely low cost and native vision; 1M context | Same as `glm-5.3` | **Supported**, see the `messages` field |\n| `glm-5.3-flashx` | Multimodal model with image input; 1M context | Same as `glm-5.3` | **Supported**, see the `messages` field |\n| `glm-5.2` | Previous-generation flagship, complex reasoning and very long context; 1M context | Can be turned off with `thinking.type: \"disabled\"`; `reasoning_effort` supports all 7 levels | Not supported |","enum":["glm-5.3","glm-5.3-flash","glm-5.3-flashx","glm-5.2"],"default":"glm-5.3","example":"glm-5.3","isRequired":true,"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"The list of conversation messages, containing the full context of the current conversation\n\nSupports four roles: `system`, `user`, `assistant`, `tool`. Messages of different roles have different field structures; please select the corresponding role to view details. Must contain at least 1 message, and cannot consist solely of system or assistant messages.","items":{"oneOf":[{"type":"object","title":"System Message","required":["role","content"],"properties":{"role":{"type":"string","enum":["system"],"description":"Role identifier, fixed as `system`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"System prompt content, used to set the AI's role and behavior","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content","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 as `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 every model\n- **Content block array**: a mix of text, images, video, and PDF files, **supported only by `glm-5.3-flash` and `glm-5.3-flashx`**\n\nSending image content blocks to `glm-5.3` or `glm-5.2` returns an error.","example":"Hello, please introduce yourself","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"title":"Content Part","type":"object","description":"Multimodal content block. **Only `glm-5.3-flash` and `glm-5.3-flashx` support image, video and file blocks.**","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","video_url","file"],"description":"Content block type\n\n- `text`: text\n- `image_url`: image (`glm-5.3-flash` and `glm-5.3-flashx` only)\n- `video_url`: video (`glm-5.3-flash` and `glm-5.3-flashx` only)\n- `file`: document (PDF, `glm-5.3-flash` and `glm-5.3-flashx` only)","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text content, required when `type=text`","example":"What is in this image?","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"image_url":{"type":"object","description":"Image content, required when `type=image_url`","required":["url"],"properties":{"url":{"type":"string","description":"Image address. A public HTTPS URL (recommended) or a Base64 data URL (`data:image/png;base64,...`) is supported","example":"https://example.com/photo.jpg","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].image_url.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].image_url","typeLabel":"object"},"video_url":{"type":"object","description":"Video content, required when `type=video_url`. Video frames are billed as input tokens; see `usage` in the response for actual consumption","required":["url"],"properties":{"url":{"type":"string","description":"Public URL of the video. It must be downloadable by the upstream; a failed download returns 400","example":"https://example.com/clip.mp4","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].video_url.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].video_url","typeLabel":"object"},"file":{"type":"object","description":"Document content, required when `type=file`. PDF is supported","properties":{"file_url":{"type":"string","description":"Public URL of the document (either this or `file_data`)","example":"https://example.com/report.pdf","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].file.file_url","typeLabel":"string"},"file_data":{"type":"string","description":"Inline document as `data:application/pdf;base64,...` (either this or `file_url`)","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].file.file_data","typeLabel":"string"},"filename":{"type":"string","description":"File name, optional","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].file.filename","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].file","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX]","typeLabel":"Content Part · object"},"title":"Content block array (glm-5.3-flash / glm-5.3-flashx only)","description":"User message content.\n\n- **String**: plain text, supported by every model\n- **Content block array**: a mix of text, images, video, and PDF files, **supported only by `glm-5.3-flash` and `glm-5.3-flashx`**\n\nSending image content blocks to `glm-5.3` or `glm-5.2` returns an error.","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1","typeLabel":"Content Part · object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content","typeLabel":"string | Content Part · object[]"}},"uniqueKey":"messages.items.[INDEX].oneOf.1","typeLabel":"User Message · object"},{"type":"object","title":"Assistant Message","description":"Assistant message, may contain tool calls","required":["role"],"properties":{"role":{"type":"string","enum":["assistant"],"description":"Role identifier, fixed as `assistant`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"Assistant message content\n\n**Notes**: Used to pass historical assistant replies in multi-turn conversations; typically `null` when `tool_calls` is present","uniqueKey":"messages.items.[INDEX].oneOf.2.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Assistant message content\n\n**Notes**: Used to pass historical assistant replies in multi-turn conversations; typically `null` when `tool_calls` is present","uniqueKey":"messages.items.[INDEX].oneOf.2.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.2.content","typeLabel":"string | null"},"reasoning_content":{"oneOf":[{"type":"string","description":"Historical chain-of-thought content\n\n**Notes**: Required only when `thinking.clear_thinking=false` (Preserved Thinking); pass back the `reasoning_content` from the previous response as-is; by default (`clear_thinking=true`) no passback is needed","uniqueKey":"messages.items.[INDEX].oneOf.2.reasoning_content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Historical chain-of-thought content\n\n**Notes**: Required only when `thinking.clear_thinking=false` (Preserved Thinking); pass back the `reasoning_content` from the previous response as-is; by default (`clear_thinking=true`) no passback is needed","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":"The list of tool calls\n\nUsed to pass historical tool call information in multi-turn conversations; when this field is provided, `content` is typically empty","items":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"Tool call ID","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["function","web_search"],"description":"Tool type","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","description":"Function call information, not empty when `type` is `function`","required":["name","arguments"],"properties":{"name":{"type":"string","description":"Function name","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","description":"Function arguments (JSON-formatted string)","isRequired":true,"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"],"properties":{"role":{"type":"string","enum":["tool"],"description":"Role identifier, fixed as `tool`","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The content of the tool call's returned result","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content","typeLabel":"string"},"tool_call_id":{"type":"string","description":"Indicates the tool call `ID` this message corresponds to (matching the `id` returned in the assistant message's `tool_calls`)","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)[]"},"stream":{"type":"boolean","description":"Whether to enable streaming output mode\n\n- `false`: The model generates the complete response and returns it all at once (default), suitable for short text and batch processing\n- `true`: Returns chunks in real time via Server-Sent Events (SSE), suitable for chat and long text; returns `data: [DONE]` when the stream ends","default":false,"example":false,"uniqueKey":"stream","typeLabel":"boolean"},"thinking":{"type":"object","description":"Controls whether to enable the chain of thought (Chain of Thought)","properties":{"type":{"type":"string","description":"Thinking switch. enabled turns thinking on and is the default for all models. disabled turns it off only on glm-5.2.\n\nglm-5.3, glm-5.3-flash and glm-5.3-flashx always think. Passing disabled retains the default thinking mode; it neither disables thinking nor sets the effort to low. To reduce effort, set reasoning_effort=low. After switching from glm-5.2 to the 5.3 series, thinking remains enabled and thinking tokens are billed as output even if thinking.type=disabled is retained.","enum":["enabled","disabled"],"default":"enabled","uniqueKey":"thinking.type","typeLabel":"enum\u003cstring>"},"clear_thinking":{"type":"boolean","description":"Whether to clear the `reasoning_content` from previous conversation turns\n\n- `true` (default): Ignores/removes `reasoning_content` from previous turns, using only non-reasoning content (user/assistant-visible text, tool calls and results, etc.) as context, which can reduce context length and cost\n- `false`: Retains `reasoning_content` from previous turns and provides it to the model along with the context (Preserved Thinking); in this case, the historical `reasoning_content` must be passed through in `messages` **completely, unmodified, and in the original order**—missing, truncating, rewriting, or reordering it will degrade results or prevent it from taking effect\n- Note: This parameter only affects historical thinking across turns; it does not change whether thinking is produced in the current turn","default":true,"example":true,"uniqueKey":"thinking.clear_thinking","typeLabel":"boolean"}},"uniqueKey":"thinking","typeLabel":"object"},"reasoning_effort":{"type":"string","description":"Reasoning effort, default max.\n\n**Compatibility rules for glm-5.3 / glm-5.3-flash / glm-5.3-flashx**\n\n| Supplied value | Effective thinking level |\n| --- | --- |\n| `low` / `high` / `max` | Unchanged |\n| `xhigh` | `max` |\n| `medium` | `high` |\n| `minimal` / `none` | low; thinking remains enabled |\n\n**minimal and none do not disable thinking on the 5.3 series.** Thinking tokens are billed as output. Unrecognized values are unchanged and have no compatibility mapping; use the listed values. These mappings do not apply to glm-5.2.\n\nglm-5.2 supports max, xhigh, high, medium, low, minimal and none. xhigh is equivalent to max; medium / low are equivalent to high; minimal / none can disable thinking. thinking.type=disabled can also turn it off. Use max for complex tasks such as coding.","enum":["max","xhigh","high","medium","low","minimal","none"],"default":"max","example":"max","uniqueKey":"reasoning_effort","typeLabel":"enum\u003cstring>"},"do_sample":{"type":"boolean","description":"Whether to enable the sampling strategy\n\n- `true` (default): Uses `temperature` / `top_p` for random sampling, producing more varied output\n- `false`: Always selects the highest-probability token (greedy decoding), producing more deterministic output; in this case `temperature` and `top_p` are ignored\n\nFor tasks requiring consistency and reproducibility (such as code generation and translation), setting this to `false` is recommended","default":true,"example":true,"uniqueKey":"do_sample","typeLabel":"boolean"},"temperature":{"type":"number","format":"float","description":"Sampling temperature, controlling the randomness and creativity of the output\n\n**Notes**:\n- Value range: `[0.0, 1.0]`, limited to two decimal places\n- Higher values (e.g. 0.8): more random and creative, suitable for creative writing\n- Lower values (e.g. 0.2): more stable and deterministic, suitable for factual Q\u0026A and code generation\n- Default value: `1.0`\n\n**Recommendation**: Do not adjust both `temperature` and `top_p` at the same time","minimum":0,"maximum":1,"default":1,"example":1,"uniqueKey":"temperature","typeLabel":"number\u003cfloat>"},"top_p":{"type":"number","format":"float","description":"Nucleus Sampling parameter, an alternative to `temperature` sampling\n\n**Notes**:\n- Value range: `[0.01, 1.0]`, limited to two decimal places\n- The model only considers candidate tokens whose cumulative probability reaches `top_p`; for example, 0.1 means only the top 10% probability tokens are considered\n- Smaller values produce more focused and consistent output; larger values increase diversity\n- Default value: `0.95`\n\n**Recommendation**: Do not adjust both `temperature` and `top_p` at the same time","minimum":0.01,"maximum":1,"default":0.95,"example":0.95,"uniqueKey":"top_p","typeLabel":"number\u003cfloat>"},"max_tokens":{"type":"integer","description":"Upper limit on the number of output tokens\n\n**Note**:\n- The GLM series supports up to **131,072 tokens** (128K) of output; setting at least `1024` is recommended\n- When `thinking` is on, chain-of-thought tokens also count towards this limit\n- If generation is cut off with `length`, try raising this value","minimum":1,"maximum":131072,"example":1024,"uniqueKey":"max_tokens","typeLabel":"integer"},"tools":{"type":"array","description":"The list of tools the model may call\n\n**Note**:\n- Function calling (`function`) and web search (`web_search`) are supported\n- Up to 128 functions\n- Of these, `web_search` is **billed separately per call** when a search actually happens; the other tools carry no extra charge","items":{"oneOf":[{"type":"object","title":"Function Tool","required":["type","function"],"properties":{"type":{"type":"string","enum":["function"],"default":"function","description":"Tool type, fixed as `function`","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","required":["name","description","parameters"],"properties":{"name":{"type":"string","description":"The name of the function to call\n\n**Notes**: Must consist of the characters `a-z`, `A-Z`, `0-9`, or contain underscores and dashes; maximum length 64 characters","minLength":1,"maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.function.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the function's capability, for the model to choose when and how to call the function","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.function.description","typeLabel":"string"},"parameters":{"type":"object","description":"The function's input parameters, described as a JSON Schema object","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.function.parameters","typeLabel":"object"}},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.function","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.0","typeLabel":"Function Tool · object"},{"type":"object","title":"Web Search Tool (Web Search)","description":"Web search tool. Once enabled, the model can search the web when needed and merge the results into the context.\n\n**Billing**: the portion of the search results merged into the context counts towards `prompt_tokens` at the input rate; the search service itself is **billed separately per call**, settled apart from token usage — see the pricing page. Whether a search fires is decided by the model based on search intent, and no such charge applies when no search is triggered.","required":["type","web_search"],"properties":{"type":{"type":"string","enum":["web_search"],"default":"web_search","description":"Tool type, fixed as `web_search`","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"web_search":{"type":"object","required":["enable"],"properties":{"enable":{"type":"boolean","description":"Whether to enable the search feature; set to `true` to enable","default":false,"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.enable","typeLabel":"boolean"},"search_query":{"type":"string","description":"Custom keyword that forcibly triggers a search","uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.search_query","typeLabel":"string"},"search_intent":{"type":"boolean","description":"Whether to perform search intent recognition; performed by default\n\n- `true`: Perform search intent recognition, and run the search once a search intent is detected\n- `false`: Skip intent recognition and run the search directly","uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.search_intent","typeLabel":"boolean"},"count":{"type":"integer","description":"Number of results to return, in the range `1-50`, defaulting to `10`.\n\nThe count has a direct impact on cost: the retrieved results are merged into `prompt_tokens` and billed at the input rate, and a value of `50` can push a single request into the tens of thousands of input tokens. Unless you genuinely need broader recall, keep the default.","minimum":1,"maximum":50,"default":10,"uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.count","typeLabel":"integer"},"search_domain_filter":{"type":"string","description":"Domain allowlist that limits the search results (e.g. `www.example.com`)","uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.search_domain_filter","typeLabel":"string"},"search_recency_filter":{"type":"string","description":"Limits the time range of the search results, defaults to `noLimit`","enum":["oneDay","oneWeek","oneMonth","oneYear","noLimit"],"default":"noLimit","uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.search_recency_filter","typeLabel":"enum\u003cstring>"},"content_size":{"type":"string","description":"Controls the word count of web page summaries, defaults to `medium`\n\n- `medium`: Returns summary information, meeting basic reasoning needs\n- `high`: Maximizes context with more detailed information","enum":["medium","high"],"default":"medium","uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.content_size","typeLabel":"enum\u003cstring>"},"result_sequence":{"type":"string","description":"The position where search results are returned (before or after the model's reply), defaults to `after`","enum":["before","after"],"default":"after","uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.result_sequence","typeLabel":"enum\u003cstring>"},"search_result":{"type":"boolean","description":"Whether to return details of the search sources in the response, defaulting to `false`.\n\nWhen set to `true`, the response carries a top-level `web_search` array listing the sources retrieved for this request (title, link, media source, publication date, summary, and so on); left at the default, the field is absent from the response.\n\nThis parameter only affects the response content — it changes neither whether a search runs nor how it is billed.","default":false,"example":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.search_result","typeLabel":"boolean"},"require_search":{"type":"boolean","description":"Whether to require that the answer be returned based on search results, defaults to `false`","default":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.require_search","typeLabel":"boolean"},"search_prompt":{"type":"string","description":"The `Prompt` used to customize the processing of search results; the default template is used when not provided","uniqueKey":"tools.items.[INDEX].oneOf.1.web_search.search_prompt","typeLabel":"string"}},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.web_search","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1","typeLabel":"Web Search Tool (Web Search) · object"}],"uniqueKey":"tools.items.[INDEX]","typeLabel":"Function Tool · object | Web Search Tool (Web Search) · object"},"maxItems":128,"uniqueKey":"tools","typeLabel":"(Function Tool · object | Web Search Tool (Web Search) · object)[]"},"tool_choice":{"type":"string","description":"Controls how the model selects which function to call\n\n**Notes**: Only takes effect when the tool type is `function`; defaults to and only supports `auto` (the model automatically decides whether to call a tool)","enum":["auto"],"default":"auto","example":"auto","uniqueKey":"tool_choice","typeLabel":"enum\u003cstring>"},"stop":{"type":"array","description":"The list of stop words\n\n**Notes**:\n- When the generated text encounters a specified string, generation stops immediately (the stop word itself is not included in the returned text)\n- Currently only a single stop word is supported, in the format `[\"stop_word1\"]`, for example `[\"Human:\"]`","items":{"type":"string","uniqueKey":"stop.items.[INDEX]","typeLabel":"string"},"maxItems":4,"example":["Human:"],"uniqueKey":"stop","typeLabel":"string[]"},"response_format":{"type":"object","description":"Specifies the model's response output format; defaults to `text`\n\n**Notes**:\n- `{ \"type\": \"json_object\" }` enables JSON mode, and the model returns valid JSON-formatted data, suitable for scenarios such as structured data extraction\n- When using JSON mode, it is recommended to explicitly request JSON output in the `system` or `user` message","required":["type"],"properties":{"type":{"type":"string","description":"Output format type\n\n- `text`: Plain text output (default)\n- `json_object`: JSON-formatted output","enum":["text","json_object"],"default":"text","isRequired":true,"uniqueKey":"response_format.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"response_format","typeLabel":"object"},"request_id":{"type":"string","description":"Unique request identifier\n\n**Notes**:\n- Passed by the client, 6-64 characters long; using UUID format is recommended to ensure uniqueness\n- If not provided, the platform will generate one automatically","minLength":6,"maxLength":64,"example":"req-7f3a2c1e8b9d4f0a","uniqueKey":"request_id","typeLabel":"string"},"user_id":{"type":"string","description":"Unique identifier of the end user\n\n**Notes**: 6-128 characters long; using a unique identifier that does not contain sensitive information is recommended, which can help the platform monitor and detect abusive behavior","minLength":6,"maxLength":128,"example":"user-abc123456","uniqueKey":"user_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"simple_text":{"title":"simple_text","summary":"Single-turn text conversation","value":{"model":"glm-5.3","messages":[{"role":"user","content":"Please introduce yourself"}]}},"multi_turn":{"title":"multi_turn","summary":"Multi-turn conversation (context understanding)","value":{"model":"glm-5.3","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":"glm-5.3","messages":[{"role":"system","content":"You are a professional Python programming assistant. Answer questions concisely."},{"role":"user","content":"How do I read a file?"}]}},"deep_thinking":{"title":"deep_thinking","summary":"Enable deep thinking and adjust reasoning intensity","value":{"model":"glm-5.3","messages":[{"role":"user","content":"A farmer needs to take a wolf, a sheep, and a cabbage across a river, but can only carry one at a time. How can he get them across safely?"}],"thinking":{"type":"enabled"},"reasoning_effort":"max"}},"function_calling":{"title":"function_calling","summary":"Tool calling (Function Calling)","value":{"model":"glm-5.3","messages":[{"role":"user","content":"What's the weather like in Beijing today?"}],"tools":[{"type":"function","function":{"name":"get_weather","description":"Query the real-time weather of a specified city","parameters":{"type":"object","properties":{"city":{"type":"string","description":"City name, for example: Beijing"}},"required":["city"]}}}],"tool_choice":"auto"}},"web_search":{"title":"web_search","summary":"Enable the web search tool","description":"When the model decides it needs the web, it searches automatically and the results are merged into the context for reasoning. The retrieved results are billed as input tokens, and the search service itself is billed per call (see the pricing page); no search charge applies when the model does not trigger a search.","value":{"model":"glm-5.3","messages":[{"role":"user","content":"Help me find the latest artificial intelligence news from the past week"}],"tools":[{"type":"web_search","web_search":{"enable":true,"count":10,"search_recency_filter":"oneWeek"}}]}},"json_mode":{"title":"json_mode","summary":"JSON structured output","value":{"model":"glm-5.3","messages":[{"role":"system","content":"Please output in JSON format, including the two fields name and age."},{"role":"user","content":"John, 28 years old this year"}],"response_format":{"type":"json_object"}}},"streaming":{"title":"streaming","summary":"Streaming output (SSE)","value":{"model":"glm-5.3","messages":[{"role":"user","content":"Write a short poem about spring"}],"stream":true}},"disable_thinking_glm52_only":{"title":"disable_thinking_glm52_only","summary":"Disable deep thinking (glm-5.2 only)","description":"Only glm-5.2 can disable thinking. glm-5.3, glm-5.3-flash and glm-5.3-flashx keep thinking when thinking.type=disabled is sent. Use reasoning_effort=low to reduce thinking effort.","value":{"model":"glm-5.2","messages":[{"role":"user","content":"Summarize the theory of relativity in one sentence."}],"thinking":{"type":"disabled"}}},"low_effort":{"title":"low_effort","summary":"Reduce thinking overhead (the alternative to disabling thinking on the glm-5.3 series)","description":"The `glm-5.3` series cannot turn thinking off; use `reasoning_effort: \"low\"` to bring the reasoning depth down to its minimum.","value":{"model":"glm-5.3","messages":[{"role":"user","content":"Explain HTTP in one sentence"}],"thinking":{"type":"enabled"},"reasoning_effort":"low","max_tokens":1024}},"vision_flash":{"title":"vision_flash","summary":"Image input (glm-5.3-flash / glm-5.3-flashx only)","description":"`glm-5.3-flash` and `glm-5.3-flashx` support vision natively; images are passed in through `image_url` content blocks, using either a public URL or a Base64 data URL.","value":{"model":"glm-5.3-flash","messages":[{"role":"user","content":[{"type":"text","text":"What is in this image?"},{"type":"image_url","image_url":{"url":"https://example.com/photo.jpg"}}]}],"max_tokens":1024}},"flashx":{"title":"flashx","summary":"Call GLM-5.3-FlashX","value":{"model":"glm-5.3-flashx","messages":[{"role":"user","content":"Introduce yourself in one sentence."}]}},"vision_flashx":{"title":"vision_flashx","summary":"GLM-5.3-FlashX image input","value":{"model":"glm-5.3-flashx","messages":[{"role":"user","content":[{"type":"text","text":"What is in this image?"},{"type":"image_url","image_url":{"url":"https://example.com/photo.jpg"}}]}],"max_tokens":1024}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"9ddee336-0d27-4017-8e00-dab6fe2a9e30":{"description":"Chat completion generated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Task `ID`","example":"chatcmpl-a6613b56-c61c-94ba-9a9f-43d4cdc7d77a","uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Response type","enum":["chat.completion"],"example":"chat.completion","uniqueKey":"object","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Request `ID` (returned when `request_id` is provided in the request)","example":"req-7f3a2c1e8b9d4f0a","uniqueKey":"request_id","typeLabel":"string"},"created":{"type":"integer","description":"Request creation time, `Unix` timestamp (seconds)","example":1777021417,"uniqueKey":"created","typeLabel":"integer"},"model":{"type":"string","description":"Model name","example":"glm-5.3","uniqueKey":"model","typeLabel":"string"},"choices":{"type":"array","description":"The list of model responses","items":{"type":"object","properties":{"index":{"type":"integer","description":"Result index","example":0,"uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"message":{"type":"object","properties":{"role":{"type":"string","description":"The current conversation role, defaults to `assistant`","enum":["assistant"],"example":"assistant","uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"Conversation text content\n\n**Notes**: May be `null` when calling tools (`tool_calls`); otherwise returns the model's reply content","example":"Hello! I'm GLM-5.3, and I can help you with a variety of tasks such as conversation, reasoning, writing, and code.","uniqueKey":"choices.items.[INDEX].message.content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Conversation text content\n\n**Notes**: May be `null` when calling tools (`tool_calls`); otherwise returns the model's reply content","example":"Hello! I'm GLM-5.3, and I can help you with a variety of tasks such as conversation, reasoning, writing, and code.","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string | null"},"reasoning_content":{"type":"string","description":"Chain-of-thought content\n\n**Notes**: Returned when `thinking` is enabled, recording the model's reasoning process","example":"Let me first analyze this problem...","uniqueKey":"choices.items.[INDEX].message.reasoning_content","typeLabel":"string"},"tool_calls":{"type":"array","description":"Generated tool call information (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","description":"Tool call type","enum":["function"],"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","description":"Function call information (containing the generated function name and JSON-formatted arguments)","properties":{"name":{"type":"string","description":"The generated function name","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","description":"The JSON-formatted string of function call arguments; please validate the arguments before calling the function","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"},"finish_reason":{"type":"string","description":"The reason inference terminated\n\n- `stop`: Natural completion or a stop word was triggered\n- `tool_calls`: The model triggered a function (tool call)\n- `length`: Reached the token length limit\n- `sensitive`: Content was blocked by safety review (please assess and decide whether to retract public content)\n- `network_error`: Model inference error\n- `model_context_window_exceeded`: Exceeded the model's context window","enum":["stop","tool_calls","length","sensitive","network_error","model_context_window_exceeded"],"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 returned when the call ends","properties":{"prompt_tokens":{"type":"integer","description":"The number of tokens in the user input","example":24,"uniqueKey":"usage.prompt_tokens","typeLabel":"integer"},"completion_tokens":{"type":"integer","description":"The number of output tokens (including the chain-of-thought `reasoning_tokens` portion)","example":346,"uniqueKey":"usage.completion_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"Total token count = prompt_tokens + completion_tokens","example":370,"uniqueKey":"usage.total_tokens","typeLabel":"integer"},"prompt_tokens_details":{"type":"object","description":"Detailed breakdown of input tokens","properties":{"cached_tokens":{"type":"integer","description":"Number of input tokens served from the context cache.\n\nThe GLM series uses an **implicit prefix cache**: repeated requests with the same prefix hit it automatically, with no extra parameters; the cached portion is billed at the cache rate, markedly lower than the uncached input rate. The first request returns 0, and subsequent requests with the same prefix will hit.","example":0,"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":"The number of tokens produced by the chain of thought (deep thinking), counted toward `completion_tokens`","example":321,"uniqueKey":"usage.completion_tokens_details.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"usage.completion_tokens_details","typeLabel":"object"}},"uniqueKey":"usage","typeLabel":"object"},"web_search":{"type":"array","description":"Web search-related information, returned when the `web_search` tool is used and a search is triggered","items":{"type":"object","description":"A single web search result","properties":{"icon":{"type":"string","description":"The icon of the source website","uniqueKey":"web_search.items.[INDEX].icon","typeLabel":"string"},"title":{"type":"string","description":"The title of the search result","uniqueKey":"web_search.items.[INDEX].title","typeLabel":"string"},"link":{"type":"string","description":"The web page link of the search result","uniqueKey":"web_search.items.[INDEX].link","typeLabel":"string"},"media":{"type":"string","description":"The media source name of the search result web page","uniqueKey":"web_search.items.[INDEX].media","typeLabel":"string"},"publish_date":{"type":"string","description":"The website's publish time","uniqueKey":"web_search.items.[INDEX].publish_date","typeLabel":"string"},"content":{"type":"string","description":"The cited text content of the search result web page","uniqueKey":"web_search.items.[INDEX].content","typeLabel":"string"},"refer":{"type":"string","description":"Superscript number","uniqueKey":"web_search.items.[INDEX].refer","typeLabel":"string"}},"uniqueKey":"web_search.items.[INDEX]","typeLabel":"object"},"uniqueKey":"web_search","typeLabel":"object[]"},"content_filter":{"type":"array","description":"Content safety-related information","items":{"type":"object","description":"Content safety information","properties":{"role":{"type":"string","description":"The stage where safety takes effect\n\n- `assistant`: Model inference\n- `user`: User input\n- `history`: Historical context","enum":["assistant","user","history"],"uniqueKey":"content_filter.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"level":{"type":"integer","description":"Severity level `0-3`, where `0` indicates the most severe and `3` indicates minor","minimum":0,"maximum":3,"uniqueKey":"content_filter.items.[INDEX].level","typeLabel":"integer"}},"uniqueKey":"content_filter.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content_filter","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"chatcmpl-a6613b56-c61c-94ba-9a9f-43d4cdc7d77a","object":"chat.completion","request_id":"req-7f3a2c1e8b9d4f0a","created":1777021417,"model":"glm-5.3","choices":[{"index":0,"message":{"role":"assistant","content":"Hello! I'm GLM-5.3, and I can help you with a variety of tasks such as conversation, reasoning, writing, and code.","reasoning_content":"Let me first analyze this problem...","tool_calls":[{"id":"\u003cstring>","type":"function","function":{"name":"\u003cstring>","arguments":"\u003cstring>"}}]},"finish_reason":"stop"}],"usage":{"prompt_tokens":24,"completion_tokens":346,"total_tokens":370,"prompt_tokens_details":{"cached_tokens":0},"completion_tokens_details":{"reasoning_tokens":321}},"web_search":[{"icon":"\u003cstring>","title":"\u003cstring>","link":"\u003cstring>","media":"\u003cstring>","publish_date":"\u003cstring>","content":"\u003cstring>","refer":"\u003cstring>"}],"content_filter":[{"role":"assistant","level":1}]}}},"exampleType":"generated"}},"exampleType":"generated"},"e25122a7-f69d-4d0e-a74a-9d3fe4438bf6":{"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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","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"},"99b882b6-ea99-4fe9-bc67-09565434262a":{"description":"Unauthorized, 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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","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"},"338be889-40b8-440b-8ca0-8fd5800d45ef":{"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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":402,"message":"Insufficient quota","type":"insufficient_quota_error","fallback_suggestion":"https://evolink.ai/dashboard/credits"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":402,"message":"Insufficient quota","type":"insufficient_quota_error","fallback_suggestion":"https://evolink.ai/dashboard/credits"}}}},"exampleType":"examples"}},"exampleType":"examples"},"09104e14-3ac2-45fa-bc6a-0d9eb1f01b5d":{"description":"Access denied","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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","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"},"c68ff41b-668d-4be7-8b70-9beb0b7ee1f7":{"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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":404,"message":"Specified model not found","type":"not_found_error","param":"model","fallback_suggestion":"glm-5.3"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":404,"message":"Specified model not found","type":"not_found_error","param":"model","fallback_suggestion":"glm-5.3"}}}},"exampleType":"examples"}},"exampleType":"examples"},"2ce804a2-3252-4f54-a6b9-fa3d248d02e6":{"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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":429,"message":"Rate limit exceeded","type":"rate_limit_error","fallback_suggestion":"retry after 60 seconds"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":429,"message":"Rate limit exceeded","type":"rate_limit_error","fallback_suggestion":"retry after 60 seconds"}}}},"exampleType":"examples"}},"exampleType":"examples"},"3785a9a8-0812-44c8-a36c-9598aea698a9":{"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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":500,"message":"Internal server error","type":"internal_server_error","fallback_suggestion":"try again later"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":500,"message":"Internal server error","type":"internal_server_error","fallback_suggestion":"try again later"}}}},"exampleType":"examples"}},"exampleType":"examples"},"e3a7334b-6dd2-493e-8773-5dc183710b9b":{"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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":123,"message":"\u003cstring>","type":"\u003cstring>","param":"\u003cstring>","fallback_suggestion":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b6961161-8189-4312-9ad5-2d8af8fbaab7":{"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"},"fallback_suggestion":{"type":"string","description":"Suggestion when error occurs","uniqueKey":"error.fallback_suggestion","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":503,"message":"Service temporarily unavailable","type":"service_unavailable_error","fallback_suggestion":"retry after 30 seconds"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":503,"message":"Service temporarily unavailable","type":"service_unavailable_error","fallback_suggestion":"retry after 30 seconds"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"80515229-ba6e-4bbf-b3aa-dea5bbdd19b2":{"bearerAuth":{"type":"http","scheme":"bearer","description":"##All APIs require Bearer Token authentication##\n\n**Get API Key:**\n\nVisit [API Key Management Page](https://evolink.ai/dashboard/keys) to get your API Key\n\n**Add to request header:**\n```\nAuthorization: Bearer YOUR_API_KEY\n```","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"ca210375-9b87-4dd0-a91f-9dfafb0b508f":{"url":"https://direct.evolink.ai","description":"Production (recommended)"},"b58f8b73-41d0-4f6e-ac51-960168e83c5e":{"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 [API Key Management Page](https://evolink.ai/dashboard/keys) to get 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 [API Key Management Page](https://evolink.ai/dashboard/keys) to get 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/glm/chat-completions/chat-completions-reference.json"},"subdomain":"muyutechnology","siteName":"EvoLink.AI","title":"GLM All-Model API - Chat Completions Reference - EvoLink.AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-manual/language-series/glm/chat-completions/chat-completions-reference","matchLevel":0},"cn":{"href":"/cn/api-manual/language-series/glm/chat-completions/chat-completions-reference","matchLevel":1},"de":{"href":"/de/api-manual/language-series/glm/chat-completions/chat-completions-reference","matchLevel":1},"fr":{"href":"/fr/api-manual/language-series/glm/chat-completions/chat-completions-reference","matchLevel":1},"ja":{"href":"/ja/api-manual/language-series/glm/chat-completions/chat-completions-reference","matchLevel":1},"ko":{"href":"/ko/api-manual/language-series/glm/chat-completions/chat-completions-reference","matchLevel":1},"es":{"href":"/es/api-manual/language-series/glm/chat-completions/chat-completions-reference","matchLevel":1}}},"lastModified":"2026-11-13T19:03:25.386Z","originalFileLocation":"en/api-manual/language-series/glm/chat-completions/chat-completions-reference.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 GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the model parameter - Synchronous processing that returns the conversation content in real time - Text conversation: single-turn or multi-turn contextual conversation; glm-5.3-flash and glm-5.3-flashx additionally support image, video and document (PDF) input - System prompt: customise the AI\u0026#x27;s role and behaviour through a role=system message - Deep thinking: thinking.type controls the chain of thought and reasoning_effort adjusts the reasoning depth; the reasoning is returned in reasoning_content - Streaming: SSE streaming responses are supported (stream=true) - Tool calling: function calling and web search are supported (web_search, up to 128 tools) - Structured output: JSON mode is enabled through response_format About streaming responses: when stream=true, results come back over Server-Sent Events, each message formatted as data: {JSON} and the stream ending with data: [DONE]. Each chunk (ChatCompletionChunk) carries id, created, model, choices and optionally usage and content_filter; inside it, choices[].delta returns incremental role / content / reasoning_content / tool_calls, and choices[].finish_reason gives the termination reason in the final chunk.\">\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=\"GLM All-Model API - Chat Completions Reference - EvoLink.AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the model parameter - Synchronous processing that returns the conversation content in real time - Text conversation: single-turn or multi-turn contextual conversation; glm-5.3-flash and glm-5.3-flashx additionally support image, video and document (PDF) input - System prompt: customise the AI\u0026#x27;s role and behaviour through a role=system message - Deep thinking: thinking.type controls the chain of thought and reasoning_effort adjusts the reasoning depth; the reasoning is returned in reasoning_content - Streaming: SSE streaming responses are supported (stream=true) - Tool calling: function calling and web search are supported (web_search, up to 128 tools) - Structured output: JSON mode is enabled through response_format About streaming responses: when stream=true, results come back over Server-Sent Events, each message formatted as data: {JSON} and the stream ending with data: [DONE]. Each chunk (ChatCompletionChunk) carries id, created, model, choices and optionally usage and content_filter; inside it, choices[].delta returns incremental role / content / reasoning_content / tool_calls, and choices[].finish_reason gives the termination reason in the final chunk.\">\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/glm/chat-completions/chat-completions-reference\">\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=GLM+All-Model+API+-+Chat+Completions+Reference\u0026amp;description=-+Call+GLM+series+models+through+the+OpenAI+Chat+Completions+protocol%2C+choosing+the+specific+model+with+the+%60model%60+parameter%0A-+Synchronous+processing+that+retu\u0026amp;theme=2c411b92ad044407f83c4518\u0026amp;signature=e544b5561e4a8da05d5e518b91b6fc6e56cd8216a6057b5da4e32a86ddcd521d\">\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=\"GLM All-Model API - Chat Completions Reference - EvoLink.AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the model parameter - Synchronous processing that returns the conversation content in real time - Text conversation: single-turn or multi-turn contextual conversation; glm-5.3-flash and glm-5.3-flashx additionally support image, video and document (PDF) input - System prompt: customise the AI\u0026#x27;s role and behaviour through a role=system message - Deep thinking: thinking.type controls the chain of thought and reasoning_effort adjusts the reasoning depth; the reasoning is returned in reasoning_content - Streaming: SSE streaming responses are supported (stream=true) - Tool calling: function calling and web search are supported (web_search, up to 128 tools) - Structured output: JSON mode is enabled through response_format About streaming responses: when stream=true, results come back over Server-Sent Events, each message formatted as data: {JSON} and the stream ending with data: [DONE]. Each chunk (ChatCompletionChunk) carries id, created, model, choices and optionally usage and content_filter; inside it, choices[].delta returns incremental role / content / reasoning_content / tool_calls, and choices[].finish_reason gives the termination reason in the final chunk.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://muyutechnology.mintlify.site/docs/_mintlify/api/og/v2?division=Chat+Completions+API\u0026amp;title=GLM+All-Model+API+-+Chat+Completions+Reference\u0026amp;description=-+Call+GLM+series+models+through+the+OpenAI+Chat+Completions+protocol%2C+choosing+the+specific+model+with+the+%60model%60+parameter%0A-+Synchronous+processing+that+retu\u0026amp;theme=2c411b92ad044407f83c4518\u0026amp;signature=e544b5561e4a8da05d5e518b91b6fc6e56cd8216a6057b5da4e32a86ddcd521d\">\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/glm/chat-completions/chat-completions-reference\">\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/glm/chat-completions/chat-completions-reference.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://evolink.ai/docs/cn/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://evolink.ai/docs/de/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://evolink.ai/docs/fr/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://evolink.ai/docs/ja/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://evolink.ai/docs/ko/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://evolink.ai/docs/es/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference\">\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/glm/chat-completions/chat-completions-reference#webpage\",\"url\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference\",\"name\":\"GLM All-Model API - Chat Completions Reference\",\"description\":\"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the model parameter - Synchronous processing that returns the conversation content in real time - Text conversation: single-turn or multi-turn contextual conversation; glm-5.3-flash and glm-5.3-flashx additionally support image, video and document (PDF) input - System prompt: customise the AI's role and behaviour through a role=system message - Deep thinking: thinking.type controls the chain of thought and reasoning_effort adjusts the reasoning depth; the reasoning is returned in reasoning_content - Streaming: SSE streaming responses are supported (stream=true) - Tool calling: function calling and web search are supported (web_search, up to 128 tools) - Structured output: JSON mode is enabled through response_format About streaming responses: when stream=true, results come back over Server-Sent Events, each message formatted as data: {JSON} and the stream ending with data: [DONE]. Each chunk (ChatCompletionChunk) carries id, created, model, choices and optionally usage and content_filter; inside it, choices[].delta returns incremental role / content / reasoning_content / tool_calls, and choices[].finish_reason gives the termination reason in the final chunk.\",\"dateModified\":\"2026-11-13T19:03:25.386Z\",\"isPartOf\":{\"@id\":\"https://evolink.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference#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\":\"GLM\",\"item\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-quickstart\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Chat Completions API\",\"item\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-quickstart\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"GLM All-Model API - Chat Completions Reference\",\"item\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference#apireference\",\"headline\":\"GLM All-Model API - Chat Completions Reference\",\"name\":\"GLM All-Model API - Chat Completions Reference\",\"description\":\"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the model parameter - Synchronous processing that returns the conversation content in real time - Text conversation: single-turn or multi-turn contextual conversation; glm-5.3-flash and glm-5.3-flashx additionally support image, video and document (PDF) input - System prompt: customise the AI's role and behaviour through a role=system message - Deep thinking: thinking.type controls the chain of thought and reasoning_effort adjusts the reasoning depth; the reasoning is returned in reasoning_content - Streaming: SSE streaming responses are supported (stream=true) - Tool calling: function calling and web search are supported (web_search, up to 128 tools) - Structured output: JSON mode is enabled through response_format About streaming responses: when stream=true, results come back over Server-Sent Events, each message formatted as data: {JSON} and the stream ending with data: [DONE]. Each chunk (ChatCompletionChunk) carries id, created, model, choices and optionally usage and content_filter; inside it, choices[].delta returns incremental role / content / reasoning_content / tool_calls, and choices[].finish_reason gives the termination reason in the final chunk.\",\"url\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference\",\"mainEntityOfPage\":{\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/chat-completions/chat-completions-reference#webpage\"},\"dateModified\":\"2026-11-13T19:03:25.386Z\",\"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/glm/chat-completions/chat-completions-reference.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":[{"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","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","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":"MiniMax-M3.1-Flash","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"MiniMax-M3.1-Flash - OpenAI-Compatible API","openapi":"en/api-manual/language-series/minimax-m3.1-flash/minimax-m3.1-flash-chat.json POST /v1/chat/completions","href":"/en/api-manual/language-series/minimax-m3.1-flash/minimax-m3.1-flash-chat"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"MiniMax-M3.1-Flash - Anthropic-Compatible API","openapi":"en/api-manual/language-series/minimax-m3.1-flash/minimax-m3.1-flash-messages.json POST /v1/messages","href":"/en/api-manual/language-series/minimax-m3.1-flash/minimax-m3.1-flash-messages"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"MiniMax-M3.1-Flash - Responses API","openapi":"en/api-manual/language-series/minimax-m3.1-flash/minimax-m3.1-flash-responses.json POST /v1/responses","href":"/en/api-manual/language-series/minimax-m3.1-flash/minimax-m3.1-flash-responses"}]}]},{"group":"MiniMax-M3","icon":"comments","pages":[{"group":"Chat Completions API","icon":"comments","pages":[{"title":"MiniMax-M3 - OpenAI-Compatible API","openapi":"en/api-manual/language-series/minimax-m3/minimax-m3-chat.json POST /v1/chat/completions","href":"/en/api-manual/language-series/minimax-m3/minimax-m3-chat"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"MiniMax-M3 - Anthropic-Compatible API","openapi":"en/api-manual/language-series/minimax-m3/minimax-m3-messages.json POST /v1/messages","href":"/en/api-manual/language-series/minimax-m3/minimax-m3-messages"}]}]},{"group":"MiniMax-M2.5","icon":"comments","pages":[{"title":"MiniMax-M2.5 - Complete API Reference","openapi":"en/api-manual/language-series/minimax-m2.5/minimax-m2.5-api.json POST /v1/chat/completions","href":"/en/api-manual/language-series/minimax-m2.5/minimax-m2.5-api"}]}]},{"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","description":"- Call GLM series models through the OpenAI Chat Completions protocol, choosing the specific model with the `model` parameter\n- `model` and `messages` are the only parameters you need\n- 1M token context window across the series, with up to 131,072 output tokens\n- Deep thinking is on by default across the series, and the reasoning is returned in `reasoning_content`\n- For streaming, tool calls, thinking-depth control, image input and other capabilities, see the Reference page","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","description":"Call GLM with model and input. Supported models: glm-5.3, glm-5.3-flash, glm-5.3-flashx and glm-5.2. Set max_output_tokens to 1024 or higher to leave room for reasoning and the answer.\n\nSee the [full reference](/en/api-manual/language-series/glm/responses/responses-reference) for more examples and model differences.","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/glm/chat-completions/chat-completions-reference"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-manual/language-series/glm/chat-completions/chat-completions-reference"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-manual/language-series/glm/chat-completions/chat-completions-reference"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-manual/language-series/glm/chat-completions/chat-completions-reference"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-manual/language-series/glm/chat-completions/chat-completions-reference"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-manual/language-series/glm/chat-completions/chat-completions-reference"}]}]},"basePath":"","title":"GLM All-Model API - Chat Completions Reference - EvoLink.AI","deploymentId":"dpl_2Z2EhjVTvj2yqHrBxAwMr8NK1D1j","buildId":"dpl_2Z2EhjVTvj2yqHrBxAwMr8NK1D1j","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DZ4ub1e2.js","snippetPresets-Cs6QuApu.js","utils-B1Tr3OgL.js","style-to-object-BY3JEAdk.js","utils-VFDwCV3I.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-BIWKA0ab.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DnQ5giQf.js","_Uint8Array-C_z-ks-p.js","isObject-FP1Yky1u.js","ApiExamples-BEoKbPEy.js","usePlaygroundInputsStore-DgTf_YOZ.js","shallow-DpqS3-Bq.js","isEqual-COplPQZi.js","CodeSnippets-D09iM0VN.js","CodeSnippet-BFzA9-2t.js","use-playground-group-access-BdeBV7n4.js","Page-BzXcVoxR.js","api-description-markdown-DLklP7FE.js","DynamicMarkdown-DvkpvAzn.js","SectionHeading-DljgcA6q.js","MethodPill-B5cjqnpf.js","getPastedJson-COzzYMl0.js","Check2Icon-B1HrPNBi.js","axios-CsQoIw0U.js","Markdown-BhjXcT4a.js","AssistantPageLink-CfNk5LY0.js","dist-B_ESJGDb.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}