{ "id": "msg_0842a705-9d0b-4eaa-b12d-09a4106326c5", "type": "message", "role": "assistant", "model": "glm-5.3", "content": [ { "type": "thinking", "thinking": "The user asked to greet them with one word, so answering \"Hi\" will do.", "signature": "" }, { "type": "text", "text": "Hi." } ], "stop_reason": "end_turn", "usage": { "input_tokens": 18, "output_tokens": 101, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "prompt_tokens_details": { "cached_tokens": 0 } }}
Messages API
GLM All-Model API - Messages Reference
Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the model parameter
The request and response structures match the Anthropic API
System prompt: passed through the top-level system field
Thinking mode: thinking is on by default across the series and is returned in content[type=thinking] blocks; only glm-5.2 can turn it off with thinking.type=disabled
Streaming: SSE event stream
Tool calling: compatible with the Anthropic tool_use / tool_result flow
Image input: supported only by glm-5.3-flash and glm-5.3-flashx; see the messages field for details
{ "id": "msg_0842a705-9d0b-4eaa-b12d-09a4106326c5", "type": "message", "role": "assistant", "model": "glm-5.3", "content": [ { "type": "thinking", "thinking": "The user asked to greet them with one word, so answering \"Hi\" will do.", "signature": "" }, { "type": "text", "text": "Hi." } ], "stop_reason": "end_turn", "usage": { "input_tokens": 18, "output_tokens": 101, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "prompt_tokens_details": { "cached_tokens": 0 } }}
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 settings. Thinking is enabled by default for all models. Response thinking blocks are billed as output tokens; signature may be an empty string.
glm-5.3 / glm-5.3-flash / glm-5.3-flashx: thinking is always enabled. Passing disabled retains the default thinking mode and its output-token charges.
thinking.budget_tokens and thinking.effort do not set GLM thinking levels. See the top-level reasoning_effort field for compatible values. A setting that disables thinking on glm-5.2 does not disable it after switching to the 5.3 series.
reasoning_effort: GLM reasoning-level compatibility field at the request top level, outside thinking. The endpoint accepts this field but does not guarantee that it controls actual thinking effort.Compatibility rules for glm-5.3 / glm-5.3-flash / glm-5.3-flashx
Supplied value
Compatible value
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.To control thinking effort, use reasoning_effort in Chat Completions or reasoning.effort in Responses.
Only glm-5.3-flash and glm-5.3-flashx support image input. Image blocks sent to glm-5.3 or glm-5.2 may return 200 even though the model cannot read them. Choose an image-capable model for image understanding.
Authorizations
Authorization
string
header
required
##All interfaces require authentication using a Bearer Token##
Previous-generation flagship, complex reasoning and very long context; 1M context
Can be turned off (thinking.type=disabled)
Not supported
Available options:
glm-5.3,
glm-5.3-flash,
glm-5.3-flashx,
glm-5.2
Example:
"glm-5.3"
messages
object[]
required
Conversation messages, alternating between user and assistant. Include at least one message; the last message is usually from the user. Include earlier messages for multi-turn context.
Image input: only glm-5.3-flash and glm-5.3-flashx support image blocks in the content array. Use text only with glm-5.3 and glm-5.2. An HTTP 200 response does not mean that an unsupported model read the image.
Minimum array length: 1
Show child attributes
max_tokens
integer
Upper limit on the length of the generated content (in tokens)
Note:
The GLM series supports up to 131,072 tokens (128K) of output; setting at least 1024 is recommended
Tokens produced by thinking also count towards this limit
When the limit is reached the content is truncated and the response carries stop_reason=max_tokens
Required range: 1 <= x <= 131072
Example:
1024
system
stringobject[]
System prompt, used to set the AI's role and behavior
Notes:
Supports a string or an array of content blocks
Passed via the top-level system field (do not place it inside messages)
The model follows the system constraints
An overly long system may be truncated: For long context, place it in messages rather than piling everything into system
Example:
"You are a helpful assistant."
temperature
number
Sampling temperature
Notes:
Higher values make output more varied, lower values more deterministic
Recommended range [0, 1]
Required range: 0 <= x <= 1
Example:
1
top_p
number
Nucleus sampling threshold
Notes:
Range [0, 1]
It is recommended not to adjust temperature and top_p at the same time
Required range: 0 <= x <= 1
Example:
0.9
top_k
integer
Sample only from the K highest-probability tokens (an Anthropic-specific parameter)
Notes:
Smaller values make output more deterministic, larger values make candidates more diverse
Required range: x >= 0
Example:
10
stop_sequences
string[]
Custom stop sequences: generation stops when it hits any of these strings
Notes:
Hitting one truncates output, and content before the hit is returned normally
Note: When a stop sequence is hit, the GLM series returns stop_reason as end_turn (rather than the Anthropic-standard stop_sequence), and the response does not include a stop_sequence field. If your client relies on stop_reason=="stop_sequence" to detect a hit, special handling is required
false: Returns the complete response all at once (default)
Example:
false
thinking
object
Thinking settings. Thinking is enabled by default for all models. Response thinking blocks are billed as output tokens; signature may be an empty string.
glm-5.3 / glm-5.3-flash / glm-5.3-flashx: thinking is always enabled. Passing disabled retains the default thinking mode and its output-token charges.
thinking.budget_tokens and thinking.effort do not set GLM thinking levels. See the top-level reasoning_effort field for compatible values. A setting that disables thinking on glm-5.2 does not disable it after switching to the 5.3 series.
Show child attributes
reasoning_effort
enum<string>
GLM reasoning-level compatibility field at the request top level, outside thinking. The endpoint accepts this field but does not guarantee that it controls actual thinking effort.
Compatibility rules for glm-5.3 / glm-5.3-flash / glm-5.3-flashx
Supplied value
Compatible value
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.
To control thinking effort, use reasoning_effort in Chat Completions or reasoning.effort in Responses.
Available options:
max,
xhigh,
high,
medium,
low,
minimal,
none
tools
object[]
The list of tool definitions
Notes:
Follows the Anthropic tool definition spec
input_schema uses a JSON Schema object
The model returns standard tool_use blocks with stop_reason=tool_use
Show child attributes
tool_choice
object
Tool selection strategy
Show child attributes
metadata
object
Request metadata
Show child attributes
Response
Message object
Anthropic-style message response
id
string
The message's unique ID (format: msg_<uuid>)
type
enum<string>
Response object type
Available options:
message
role
enum<string>
Available options:
assistant
model
string
Model actually used
Example:
"glm-5.3"
content
object[]
The list of response content blocks
Possible block types:
thinking: the reasoning process (when thinking is enabled, which is the default)
text: the final answer text
tool_use: a tool call initiated by the model
Show child attributes
stop_reason
enum<string>
Stop reason
end_turn: natural completion (also returned when stop_sequences is hit)
max_tokens: reached the max_tokens limit
tool_use: the model triggered a tool call
Available options:
end_turn,
max_tokens,
tool_use
usage
object
Token usage statistics (Anthropic specification)
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":"6b05de6e0c6a5ff80e42d960","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"cn","tag":"API手册","count":243},{"language":"de","tag":"API-Handbuch","count":243},{"language":"en","tag":"API Manual","count":243},{"language":"es","tag":"Manual de API","count":243},{"language":"fr","tag":"Manuel API","count":243},{"language":"ja","tag":"APIマニュアル","count":243},{"language":"ko","tag":"API 매뉴얼","count":243},{"language":"cn","tag":"视频系列","count":115},{"language":"de","tag":"Videoserie","count":115},{"language":"en","tag":"Video Series","count":115},{"language":"es","tag":"Serie de videos","count":115},{"language":"fr","tag":"Série Vidéo","count":115},{"language":"ja","tag":"動画シリーズ","count":115},{"language":"ko","tag":"비디오 시리즈","count":115},{"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":"workos-onboarding","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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}],"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/messages/messages-reference","slug":"/en/api-manual/language-series/glm/messages/messages-reference","pageMetadata":{"title":"GLM All-Model API - Messages Reference","openapi":"en/api-manual/language-series/glm/messages/messages-reference.json POST /v1/messages","description":"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the `model` parameter\n- The request and response structures match the Anthropic API\n- **System prompt**: passed through the top-level `system` field\n- **Thinking mode**: thinking is on by default across the series and is returned in `content[type=thinking]` blocks; only `glm-5.2` can turn it off with `thinking.type=disabled`\n- **Streaming**: SSE event stream\n- **Tool calling**: compatible with the Anthropic `tool_use` / `tool_result` flow\n- **Image input**: supported only by `glm-5.3-flash` and `glm-5.3-flashx`; see the `messages` field for details","href":"/en/api-manual/language-series/glm/messages/messages-reference"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the \", _jsx(_components.code, {\n children: \"model\"\n }), \" parameter\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"The request and response structures match the Anthropic API\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"System prompt\"\n }), \": passed through the top-level \", _jsx(_components.code, {\n children: \"system\"\n }), \" field\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Thinking mode\"\n }), \": thinking is on by default across the series and is returned in \", _jsx(_components.code, {\n children: \"content[type=thinking]\"\n }), \" blocks; only \", _jsx(_components.code, {\n children: \"glm-5.2\"\n }), \" can turn it off with \", _jsx(_components.code, {\n children: \"thinking.type=disabled\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Streaming\"\n }), \": SSE event stream\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Tool calling\"\n }), \": compatible with the Anthropic \", _jsx(_components.code, {\n children: \"tool_use\"\n }), \" / \", _jsx(_components.code, {\n children: \"tool_result\"\n }), \" flow\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Image input\"\n }), \": supported only by \", _jsx(_components.code, {\n children: \"glm-5.3-flash\"\n }), \" and \", _jsx(_components.code, {\n children: \"glm-5.3-flashx\"\n }), \"; see the \", _jsx(_components.code, {\n children: \"messages\"\n }), \" field for details\"]\n }), \"\\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={a:`a`,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,Warning}=_components;if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,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 settings. Thinking is enabled by default for all models. Response thinking blocks are billed as output tokens; `,_jsx(_components.code,{children:`signature`}),` may be an empty string.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`glm-5.2`}),`: `,_jsx(_components.code,{children:`thinking.type=disabled`}),` turns thinking off.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`glm-5.3`}),` / `,_jsx(_components.code,{children:`glm-5.3-flash`}),` / `,_jsx(_components.code,{children:`glm-5.3-flashx`}),`: thinking is always enabled. Passing `,_jsx(_components.code,{children:`disabled`}),` retains the default thinking mode and its output-token charges.`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`thinking.budget_tokens`}),` and `,_jsx(_components.code,{children:`thinking.effort`}),` do not set GLM thinking levels. See the top-level `,_jsx(_components.code,{children:`reasoning_effort`}),` field for compatible values. A setting that disables thinking on `,_jsx(_components.code,{children:`glm-5.2`}),` does not disable it after switching to the 5.3 series.`]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`reasoning_effort`}),`: GLM reasoning-level compatibility field at the request top level, outside thinking. The endpoint accepts this field but does not guarantee that it controls actual thinking effort.`]}),`\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:`Compatible value`})]})}),_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:[`To control thinking effort, use `,_jsx(_components.code,{children:`reasoning_effort`}),` in `,_jsx(_components.a,{href:`/en/api-manual/language-series/glm/chat-completions/chat-completions-reference`,children:`Chat Completions`}),` or `,_jsx(_components.code,{children:`reasoning.effort`}),` in `,_jsx(_components.a,{href:`/en/api-manual/language-series/glm/responses/responses-reference`,children:`Responses`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Only `,_jsx(_components.code,{children:`glm-5.3-flash`}),` and `,_jsx(_components.code,{children:`glm-5.3-flashx`}),` support image input. Image blocks sent to `,_jsx(_components.code,{children:`glm-5.3`}),` or `,_jsx(_components.code,{children:`glm-5.2`}),` may return 200 even though the model cannot read them. Choose an image-capable model for image understanding.`]})})]})}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 - Messages Reference","openapi":"en/api-manual/language-series/glm/messages/messages-reference.json POST /v1/messages","description":"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the `model` parameter\n- The request and response structures match the Anthropic API\n- **System prompt**: passed through the top-level `system` field\n- **Thinking mode**: thinking is on by default across the series and is returned in `content[type=thinking]` blocks; only `glm-5.2` can turn it off with `thinking.type=disabled`\n- **Streaming**: SSE event stream\n- **Tool calling**: compatible with the Anthropic `tool_use` / `tool_result` flow\n- **Image input**: supported only by `glm-5.3-flash` and `glm-5.3-flashx`; see the `messages` field for details","href":"/en/api-manual/language-series/glm/messages/messages-reference"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"GLM Messages (All Models, Anthropic-Compatible)","description":"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the `model` parameter\n- The request and response structures match the Anthropic API\n- **System prompt**: passed through the top-level `system` field\n- **Thinking mode**: thinking is on by default across the series and is returned in `content[type=thinking]` blocks; only `glm-5.2` can turn it off with `thinking.type=disabled`\n- **Streaming**: SSE event stream\n- **Tool calling**: compatible with the Anthropic `tool_use` / `tool_result` flow\n- **Image input**: supported only by `glm-5.3-flash` and `glm-5.3-flashx`; see the `messages` field for details","operationId":"createMessageGLM","tags":["Messages"],"requestBody":"0ba38197-32b1-47cd-84c5-9fc6175d5b71","responses":{"200":"8cfb3b23-517a-4d39-8382-a03c5e1a8fc5","400":"e949c395-60ee-476a-a8e3-a6c2259a2f8f","401":"a6926e14-e9ec-4f43-975c-d0cb909dad95","402":"4d733059-7235-4b69-aa4b-47465c2040e7","403":"375bed39-9a2f-488a-a8b5-36530192b64d","404":"cec751eb-39c4-4cff-9331-6fa116e30a41","429":"63d8788d-acf0-4e54-ac51-6f3b93c0af5a","500":"a105964f-d9de-4d7c-8a6b-5797d9424980","502":"b8c2997f-174d-4c9e-9fdb-97e1c7014351","503":"fa2197ab-64c7-4919-9eb3-dac0c3877873"},"method":"post","type":"path","servers":["a09b51df-551f-4149-b269-f4db53ffa5c8","01497b14-ce41-46db-830b-9cd9b837c499"],"security":["1538a5c1-e852-49e8-acbd-7af5726776b8"],"path":"/v1/messages","baseUrlOptions":["https://direct.evolink.ai","https://api.evolink.ai"],"title":"GLM Messages (All Models, Anthropic-Compatible)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.model":"glm-5.3","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Hello, world","body.max_tokens":1024},{"body.model":"glm-5.3","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Introduce GLM-5.3 in three sentences.","body.max_tokens":2048,"body.system.oneOf.0":"You are a seasoned technical editor."},{"body.model":"glm-5.3","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Output exactly: 1 2 3 4 5 6","body.max_tokens":50,"body.stop_sequences.items.0":"3","body.thinking.type":"disabled"},{"body.model":"glm-5.3","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Check the weather in Tokyo and tell me","body.max_tokens":2048,"body.tools.items.0.name":"get_weather","body.tools.items.0.input_schema":{"type":"object","properties":{"city":{"type":"string","description":"City name, for example: Tokyo"}},"required":["city"]},"body.tools.items.0.description":"Query the current weather of a specified city","body.tool_choice.type":"auto"},{"body.model":"glm-5.3","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Write a short poem about spring","body.max_tokens":1024,"body.stream":true},{"body.model":"glm-5.2","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"In one sentence: what is the capital of Japan?","body.max_tokens":512,"body.thinking.type":"disabled"},{"body.model":"glm-5.3-flash","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.1.items.0.type":"text","body.messages.items.0.content.oneOf.1.items.0.text":"What is in this image?","body.messages.items.0.content.oneOf.1.items.1.type":"image","body.messages.items.0.content.oneOf.1.items.1.source.type":"base64","body.messages.items.0.content.oneOf.1.items.1.source.media_type":"image/png","body.messages.items.0.content.oneOf.1.items.1.source.data":"\u003cBASE64_ENCODED_IMAGE>","body.max_tokens":1024},{"body.model":"glm-5.3-flashx","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.0":"Introduce yourself in one sentence.","body.max_tokens":1024},{"body.model":"glm-5.3-flashx","body.messages.items.0.role":"user","body.messages.items.0.content.oneOf.1.items.0.type":"text","body.messages.items.0.content.oneOf.1.items.0.text":"What is in this image?","body.messages.items.0.content.oneOf.1.items.1.type":"image","body.messages.items.0.content.oneOf.1.items.1.source.type":"base64","body.messages.items.0.content.oneOf.1.items.1.source.media_type":"image/png","body.messages.items.0.content.oneOf.1.items.1.source.data":"\u003cBASE64_ENCODED_IMAGE>","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 can be turned off | Image input |\n|---|---|---|---|\n| `glm-5.3` | Flagship model, with across-the-board gains on complex software engineering and agent tasks; 1M context | Cannot be turned off | Not supported |\n| `glm-5.3-flash` | Lightweight multimodal model, extremely low cost with native vision; 1M context | Cannot be turned off | Supported |\n| `glm-5.3-flashx` | Multimodal model with image input; 1M context | Cannot be turned off | Supported |\n| `glm-5.2` | Previous-generation flagship, complex reasoning and very long context; 1M context | Can be turned off (`thinking.type=disabled`) | Not supported |","enum":["glm-5.3","glm-5.3-flash","glm-5.3-flashx","glm-5.2"],"example":"glm-5.3","default":"glm-5.3","isRequired":true,"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","description":"Conversation messages, alternating between user and assistant. Include at least one message; the last message is usually from the user. Include earlier messages for multi-turn context.\n\n**Image input**: only glm-5.3-flash and glm-5.3-flashx support image blocks in the content array. Use text only with glm-5.3 and glm-5.2. An HTTP 200 response does not mean that an unsupported model read the image.","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["user","assistant"],"description":"The role of the message sender, alternating between user / assistant\n\n- `user`: user message (also used to pass back `tool_result` blocks)\n- `assistant`: the assistant's historical replies (may contain `text` / `thinking` / `tool_use` blocks)\n\n**`system` is not accepted**: pass system prompts via the top-level `system` field.","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"Message content\n\n**Note**:\n- For plain text, pass a string directly\n- For structured content, pass an array of content blocks (`text` / `image` / `tool_use` / `tool_result` / `thinking`)\n- `image` content blocks are **supported only by `glm-5.3-flash` and `glm-5.3-flashx`**; sending them to any other model does not return an error, but the model cannot read the image","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","description":"Message content block\n\n**Supported types**:\n- `text`: text content\n- `image`: image (**`glm-5.3-flash` and `glm-5.3-flashx` only**; other models do not return an error but cannot read the image)\n- `tool_use`: replay of the previous assistant tool call\n- `tool_result`: tool execution result\n- `thinking`: replay of the previous assistant thinking content","required":["type"],"properties":{"type":{"type":"string","enum":["text","image","tool_use","tool_result","thinking"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text content when type=`text`","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"source":{"type":"object","description":"Image source (required when type=`image`, **supported only by `glm-5.3-flash` and `glm-5.3-flashx`**)\n\nBoth inline `base64` and `url` are supported.","required":["type"],"properties":{"type":{"type":"string","enum":["base64","url"],"description":"Image source format:\n\n- base64: inline image data.\n- url: a publicly accessible image URL.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"},"media_type":{"type":"string","description":"Image MIME type (required when `type=base64`)","example":"image/png","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].source.media_type","typeLabel":"string"},"data":{"type":"string","description":"Base64-encoded image data (required when `type=base64`, without the `data:` prefix)","example":"iVBORw0KGgoAAAANSUhEUgAA...","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].source.data","typeLabel":"string"},"url":{"type":"string","description":"Public image URL (required when `type=url`)","example":"https://example.com/photo.jpg","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].source.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].source","typeLabel":"object"},"id":{"type":"string","description":"Tool call ID (required for tool_use)","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Tool name (required for tool_use)","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].name","typeLabel":"string"},"input":{"type":"object","description":"Tool input parameters (for tool_use, a JSON object)","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].input","typeLabel":"object"},"tool_use_id":{"type":"string","description":"The corresponding tool call ID (required for tool_result, filled back from tool_use.id)","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].tool_use_id","typeLabel":"string"},"content":{"oneOf":[{"type":"string","description":"Tool execution result (tool_result), a string or an array of content blocks","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Tool execution result (tool_result), a string or an array of content blocks","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].content","typeLabel":"string | object[]"},"thinking":{"type":"string","description":"The passed-back assistant thinking-process content (used when type=`thinking`)","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].thinking","typeLabel":"string"},"signature":{"type":"string","description":"The signature of the returned thinking content; it must be passed back unchanged when continuing a multi-turn conversation (may be an empty string)","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].signature","typeLabel":"string"},"cache_control":{"type":"object","description":"Prompt cache marker\n\n**Note**: the GLM series uses an implicit cache (built automatically from identical prefixes, hits shown in `cache_read_input_tokens`, needs warming up) and does not rely on this explicit marker; `cache_control` can be sent normally but may be ignored, and it does not affect the implicit cache.","required":["type"],"properties":{"type":{"type":"string","enum":["ephemeral"],"description":"Cache marker type","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Message content\n\n**Note**:\n- For plain text, pass a string directly\n- For structured content, pass an array of content blocks (`text` / `image` / `tool_use` / `tool_result` / `thinking`)\n- `image` content blocks are **supported only by `glm-5.3-flash` and `glm-5.3-flashx`**; sending them to any other model does not return an error, but the model cannot read the image","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string | object[]"}},"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"minItems":1,"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"max_tokens":{"type":"integer","description":"Upper limit on the length of the generated content (in tokens)\n\n**Note**:\n- The GLM series supports up to **131,072 tokens** (128K) of output; setting at least `1024` is recommended\n- Tokens produced by thinking also count towards this limit\n- When the limit is reached the content is truncated and the response carries `stop_reason=max_tokens`","minimum":1,"maximum":131072,"example":1024,"uniqueKey":"max_tokens","typeLabel":"integer"},"system":{"oneOf":[{"type":"string","description":"System prompt, used to set the AI's role and behavior\n\n**Notes**:\n- Supports a string or an array of content blocks\n- Passed via the top-level `system` field (do not place it inside messages)\n- The model follows the system constraints\n- **An overly long system may be truncated**: For long context, place it in `messages` rather than piling everything into `system`","example":"You are a helpful assistant.","uniqueKey":"system.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"system.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"system.oneOf.1.items.[INDEX].text","typeLabel":"string"},"cache_control":{"type":"object","description":"Prompt cache marker\n\n**Note**: the GLM series uses an implicit cache (built automatically from identical prefixes, hits shown in `cache_read_input_tokens`, needs warming up) and does not rely on this explicit marker; `cache_control` can be sent normally but may be ignored, and it does not affect the implicit cache.","required":["type"],"properties":{"type":{"type":"string","enum":["ephemeral"],"description":"Cache marker type","isRequired":true,"uniqueKey":"system.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"system.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"system.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"System prompt, used to set the AI's role and behavior\n\n**Notes**:\n- Supports a string or an array of content blocks\n- Passed via the top-level `system` field (do not place it inside messages)\n- The model follows the system constraints\n- **An overly long system may be truncated**: For long context, place it in `messages` rather than piling everything into `system`","uniqueKey":"system.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"system","typeLabel":"string | object[]"},"temperature":{"type":"number","description":"Sampling temperature\n\n**Notes**:\n- Higher values make output more varied, lower values more deterministic\n- Recommended range `[0, 1]`","minimum":0,"maximum":1,"example":1,"uniqueKey":"temperature","typeLabel":"number"},"top_p":{"type":"number","description":"Nucleus sampling threshold\n\n**Notes**:\n- Range `[0, 1]`\n- It is recommended not to adjust temperature and top_p at the same time","minimum":0,"maximum":1,"example":0.9,"uniqueKey":"top_p","typeLabel":"number"},"top_k":{"type":"integer","description":"Sample only from the K highest-probability tokens (an Anthropic-specific parameter)\n\n**Notes**:\n- Smaller values make output more deterministic, larger values make candidates more diverse","minimum":0,"example":10,"uniqueKey":"top_k","typeLabel":"integer"},"stop_sequences":{"type":"array","description":"Custom stop sequences: generation stops when it hits any of these strings\n\n**Notes**:\n- Hitting one truncates output, and content before the hit is returned normally\n- **Note**: When a stop sequence is hit, the GLM series returns `stop_reason` as `end_turn` (rather than the Anthropic-standard `stop_sequence`), and the response does not include a `stop_sequence` field. If your client relies on `stop_reason==\"stop_sequence\"` to detect a hit, special handling is required","items":{"type":"string","uniqueKey":"stop_sequences.items.[INDEX]","typeLabel":"string"},"example":["\n\n"],"uniqueKey":"stop_sequences","typeLabel":"string[]"},"stream":{"type":"boolean","description":"Whether to return via SSE streaming\n\n- `true`: Server-Sent Events streaming (standard Anthropic event sequence: message_start / content_block_start / content_block_delta / message_delta / message_stop)\n- `false`: Returns the complete response all at once (default)","default":false,"example":false,"uniqueKey":"stream","typeLabel":"boolean"},"thinking":{"type":"object","description":"Thinking settings. Thinking is enabled by default for all models. Response thinking blocks are billed as output tokens; signature may be an empty string.\n\n- glm-5.2: thinking.type=disabled turns thinking off.\n- glm-5.3 / glm-5.3-flash / glm-5.3-flashx: thinking is always enabled. Passing disabled retains the default thinking mode and its output-token charges.\n\nthinking.budget_tokens and thinking.effort do not set GLM thinking levels. See the top-level reasoning_effort field for compatible values. A setting that disables thinking on glm-5.2 does not disable it after switching to the 5.3 series.","required":["type"],"properties":{"type":{"type":"string","enum":["enabled","disabled"],"description":"Thinking is enabled when thinking is omitted. enabled enables thinking. disabled turns it off only on glm-5.2; the 5.3 series retains its default thinking mode.","isRequired":true,"uniqueKey":"thinking.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"thinking","typeLabel":"object"},"reasoning_effort":{"type":"string","enum":["max","xhigh","high","medium","low","minimal","none"],"description":"GLM reasoning-level compatibility field at the request top level, outside thinking. The endpoint accepts this field but does not guarantee that it controls actual thinking effort.\n\n**Compatibility rules for glm-5.3 / glm-5.3-flash / glm-5.3-flashx**\n\n| Supplied value | Compatible value |\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\nTo control thinking effort, use reasoning_effort in [Chat Completions](/en/api-manual/language-series/glm/chat-completions/chat-completions-reference) or reasoning.effort in [Responses](/en/api-manual/language-series/glm/responses/responses-reference).","uniqueKey":"reasoning_effort","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"The list of tool definitions\n\n**Notes**:\n- Follows the Anthropic tool definition spec\n- `input_schema` uses a JSON Schema object\n- The model returns standard `tool_use` blocks with `stop_reason=tool_use`","items":{"type":"object","required":["name","input_schema"],"properties":{"name":{"type":"string","description":"Tool name\n\n**Notes**:\n- Only `a-zA-Z0-9_-` are allowed\n- Maximum 64 characters","isRequired":true,"uniqueKey":"tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON Schema object for the tool's input parameters\n\n**Notes**:\n- `type` must be `object`\n- Should declare `properties` and `required`","isRequired":true,"uniqueKey":"tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"string","description":"A description of the tool's capability, for the model to decide when to call it","uniqueKey":"tools.items.[INDEX].description","typeLabel":"string"},"cache_control":{"type":"object","description":"Prompt cache marker\n\n**Note**: the GLM series uses an implicit cache (built automatically from identical prefixes, hits shown in `cache_read_input_tokens`, needs warming up) and does not rely on this explicit marker; `cache_control` can be sent normally but may be ignored, and it does not affect the implicit cache.","required":["type"],"properties":{"type":{"type":"string","enum":["ephemeral"],"description":"Cache marker type","isRequired":true,"uniqueKey":"tools.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools","typeLabel":"object[]"},"tool_choice":{"type":"object","description":"Tool selection strategy","required":["type"],"properties":{"type":{"type":"string","enum":["auto","none"],"description":"- `auto`: the model decides on its own whether to call a tool\n- `none`: tool calls are disallowed","isRequired":true,"uniqueKey":"tool_choice.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tool_choice","typeLabel":"object"},"metadata":{"type":"object","description":"Request metadata","properties":{"user_id":{"type":"string","description":"A unique identifier representing the end user, which can be used for per-user monitoring and abuse detection (using a hashed ID is recommended)","uniqueKey":"metadata.user_id","typeLabel":"string"}},"uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"simple":{"title":"simple","summary":"Minimal runnable request","value":{"model":"glm-5.3","max_tokens":1024,"messages":[{"role":"user","content":"Hello, world"}]}},"system_prompt":{"title":"system_prompt","summary":"With a system prompt","value":{"model":"glm-5.3","max_tokens":2048,"system":"You are a seasoned technical editor.","messages":[{"role":"user","content":"Introduce GLM-5.3 in three sentences."}]}},"stop_sequences":{"title":"stop_sequences","summary":"Custom stop sequences","value":{"model":"glm-5.3","max_tokens":50,"thinking":{"type":"disabled"},"stop_sequences":["3"],"messages":[{"role":"user","content":"Output exactly: 1 2 3 4 5 6"}]}},"tool_use":{"title":"tool_use","summary":"Tool calling (Anthropic tool_use style)","value":{"model":"glm-5.3","max_tokens":2048,"messages":[{"role":"user","content":"Check the weather in Tokyo and tell me"}],"tools":[{"name":"get_weather","description":"Query the current weather of a specified city","input_schema":{"type":"object","properties":{"city":{"type":"string","description":"City name, for example: Tokyo"}},"required":["city"]}}],"tool_choice":{"type":"auto"}}},"streaming":{"title":"streaming","summary":"Streaming output (SSE)","value":{"model":"glm-5.3","max_tokens":1024,"stream":true,"messages":[{"role":"user","content":"Write a short poem about spring"}]}},"disable_thinking_glm52_only":{"title":"disable_thinking_glm52_only","summary":"Disable thinking mode (glm-5.2 only)","description":"Only glm-5.2 can disable thinking. glm-5.3, glm-5.3-flash and glm-5.3-flashx retain the default thinking mode when thinking.type=disabled is sent. Thinking tokens are billed as output.","value":{"model":"glm-5.2","max_tokens":512,"thinking":{"type":"disabled"},"messages":[{"role":"user","content":"In one sentence: what is the capital of Japan?"}]}},"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` content blocks, and `source` accepts both `base64` and `url`.","value":{"model":"glm-5.3-flash","max_tokens":1024,"messages":[{"role":"user","content":[{"type":"text","text":"What is in this image?"},{"type":"image","source":{"type":"base64","media_type":"image/png","data":"\u003cBASE64_ENCODED_IMAGE>"}}]}]}},"flashx":{"title":"flashx","summary":"Call GLM-5.3-FlashX","value":{"model":"glm-5.3-flashx","max_tokens":1024,"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","max_tokens":1024,"messages":[{"role":"user","content":[{"type":"text","text":"What is in this image?"},{"type":"image","source":{"type":"base64","media_type":"image/png","data":"\u003cBASE64_ENCODED_IMAGE>"}}]}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"8cfb3b23-517a-4d39-8382-a03c5e1a8fc5":{"description":"Message object","content":{"application/json":{"schema":{"type":"object","description":"Anthropic-style message response","properties":{"id":{"type":"string","description":"The message's unique ID (format: `msg_\u003cuuid>`)","uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["message"],"description":"Response object type","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["assistant"],"uniqueKey":"role","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"Model actually used","example":"glm-5.3","uniqueKey":"model","typeLabel":"string"},"content":{"type":"array","description":"The list of response content blocks\n\n**Possible block types**:\n- `thinking`: the reasoning process (when thinking is enabled, which is the default)\n- `text`: the final answer text\n- `tool_use`: a tool call initiated by the model","items":{"type":"object","description":"A content block in the response","properties":{"type":{"type":"string","enum":["text","thinking","tool_use"],"uniqueKey":"content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text when type=`text`","uniqueKey":"content.items.[INDEX].text","typeLabel":"string"},"thinking":{"type":"string","description":"The reasoning-process text when type=`thinking`","uniqueKey":"content.items.[INDEX].thinking","typeLabel":"string"},"signature":{"type":"string","description":"Signature when type=`thinking` (may be an empty string)","uniqueKey":"content.items.[INDEX].signature","typeLabel":"string"},"id":{"type":"string","description":"Tool call ID when type=`tool_use`","uniqueKey":"content.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Tool name when type=`tool_use`","uniqueKey":"content.items.[INDEX].name","typeLabel":"string"},"input":{"type":"object","description":"The JSON input parameters generated by the model when type=`tool_use`","uniqueKey":"content.items.[INDEX].input","typeLabel":"object"}},"uniqueKey":"content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content","typeLabel":"object[]"},"stop_reason":{"type":"string","description":"Stop reason\n\n- `end_turn`: natural completion (also returned when stop_sequences is hit)\n- `max_tokens`: reached the max_tokens limit\n- `tool_use`: the model triggered a tool call","enum":["end_turn","max_tokens","tool_use"],"uniqueKey":"stop_reason","typeLabel":"enum\u003cstring>"},"usage":{"type":"object","description":"Token usage statistics (Anthropic specification)","properties":{"input_tokens":{"type":"integer","description":"Number of input tokens (the portion not served from cache)","example":18,"uniqueKey":"usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"Number of output tokens (including thinking)","example":101,"uniqueKey":"usage.output_tokens","typeLabel":"integer"},"cache_creation_input_tokens":{"type":"integer","description":"Number of tokens written to the cache. The GLM series uses implicit caching with no explicit cache-creation step, so **this field is always 0**.","example":0,"uniqueKey":"usage.cache_creation_input_tokens","typeLabel":"integer"},"cache_read_input_tokens":{"type":"integer","description":"Number of input tokens served from the implicit prefix cache. Repeated requests with the same prefix hit it automatically, with no need to set `cache_control`; the cached portion is billed at the cache rate, which is markedly lower than the uncached input rate. The first request returns 0.","example":0,"uniqueKey":"usage.cache_read_input_tokens","typeLabel":"integer"},"prompt_tokens_details":{"type":"object","description":"Input token breakdown (cache-hit fields, also returned by the GLM series)","properties":{"cached_tokens":{"type":"integer","description":"Number of input tokens served from cache","example":0,"uniqueKey":"usage.prompt_tokens_details.cached_tokens","typeLabel":"integer"}},"uniqueKey":"usage.prompt_tokens_details","typeLabel":"object"}},"uniqueKey":"usage","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"with_thinking":{"title":"with_thinking","summary":"Includes a thinking content block by default","value":{"id":"msg_0842a705-9d0b-4eaa-b12d-09a4106326c5","type":"message","role":"assistant","model":"glm-5.3","content":[{"type":"thinking","thinking":"The user asked to greet them with one word, so answering \"Hi\" will do.","signature":""},{"type":"text","text":"Hi."}],"stop_reason":"end_turn","usage":{"input_tokens":18,"output_tokens":101,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"prompt_tokens_details":{"cached_tokens":0}}}},"tool_use":{"title":"tool_use","summary":"Triggers a tool call (stop_reason=tool_use)","value":{"id":"msg_067e85db-53df-43a1-bd38-09c53375f2f0","type":"message","role":"assistant","model":"glm-5.3","content":[{"type":"tool_use","id":"toolu_36b8a98e284c426799f08612","name":"get_weather","input":{"city":"Tokyo"}}],"stop_reason":"tool_use","usage":{"input_tokens":161,"output_tokens":11,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"prompt_tokens_details":{"cached_tokens":0}}}}},"exampleType":"examples"}},"exampleType":"examples"},"e949c395-60ee-476a-a8e3-a6c2259a2f8f":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"error","request_id":"req_xxx","error":{"type":"invalid_request_error","message":"Invalid request"}},"examples":{"Example":{"title":"Example","value":{"type":"error","request_id":"req_xxx","error":{"type":"invalid_request_error","message":"Invalid request"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a6926e14-e9ec-4f43-975c-d0cb909dad95":{"description":"Authentication error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"error","error":{"type":"authentication_error","message":"Authentication error"}},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"authentication_error","message":"Authentication error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"4d733059-7235-4b69-aa4b-47465c2040e7":{"description":"Insufficient quota","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"error","error":{"type":"billing_error","message":"Insufficient quota"}},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"billing_error","message":"Insufficient quota"}}}},"exampleType":"examples"}},"exampleType":"examples"},"375bed39-9a2f-488a-a8b5-36530192b64d":{"description":"Permission error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"error","error":{"type":"permission_error","message":"Permission denied"}},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"permission_error","message":"Permission denied"}}}},"exampleType":"examples"}},"exampleType":"examples"},"cec751eb-39c4-4cff-9331-6fa116e30a41":{"description":"Model or resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"error","error":{"type":"not_found_error","message":"Model not found"}},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"not_found_error","message":"Model not found"}}}},"exampleType":"examples"}},"exampleType":"examples"},"63d8788d-acf0-4e54-ac51-6f3b93c0af5a":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"}},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"rate_limit_error","message":"Rate limited"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a105964f-d9de-4d7c-8a6b-5797d9424980":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"\u003cstring>","message":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b8c2997f-174d-4c9e-9fdb-97e1c7014351":{"description":"Service temporarily unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"\u003cstring>","message":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"fa2197ab-64c7-4919-9eb3-dac0c3877873":{"description":"Service temporarily unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type (e.g. invalid_request_error / authentication_error / billing_error, etc.)","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","description":"Error description","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request tracing ID","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"\u003cstring>","message":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1538a5c1-e852-49e8-acbd-7af5726776b8":{"bearerAuth":{"type":"http","scheme":"bearer","description":"##All interfaces require authentication using a Bearer Token##\n\n**Get an API Key**:\n\nVisit the [API Key management page](https://evolink.ai/dashboard/keys) to obtain your API Key\n\n**Add it to the request header when using**:\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\n**Note**: EvoLink uses Bearer Token authentication uniformly for `/v1/messages`.","scopes":[]}}},"servers":{"a09b51df-551f-4149-b269-f4db53ffa5c8":{"url":"https://direct.evolink.ai","description":"Production (Recommended, better support for text models)"},"01497b14-ce41-46db-830b-9cd9b837c499":{"url":"https://api.evolink.ai","description":"Alternative URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"##All interfaces require authentication using a Bearer Token##\n\n**Get an API Key**:\n\nVisit the [API Key management page](https://evolink.ai/dashboard/keys) to obtain your API Key\n\n**Add it to the request header when using**:\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\n**Note**: EvoLink uses Bearer Token authentication uniformly for `/v1/messages`.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"##All interfaces require authentication using a Bearer Token##\n\n**Get an API Key**:\n\nVisit the [API Key management page](https://evolink.ai/dashboard/keys) to obtain your API Key\n\n**Add it to the request header when using**:\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\n**Note**: EvoLink uses Bearer Token authentication uniformly for `/v1/messages`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"en/api-manual/language-series/glm/messages/messages-reference.json"},"subdomain":"muyutechnology","siteName":"EvoLink.AI","title":"GLM All-Model API - Messages Reference - EvoLink.AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-manual/language-series/glm/messages/messages-reference","matchLevel":0},"cn":{"href":"/cn/api-manual/language-series/glm/messages/messages-reference","matchLevel":1},"de":{"href":"/de/api-manual/language-series/glm/messages/messages-reference","matchLevel":1},"fr":{"href":"/fr/api-manual/language-series/glm/messages/messages-reference","matchLevel":1},"ja":{"href":"/ja/api-manual/language-series/glm/messages/messages-reference","matchLevel":1},"ko":{"href":"/ko/api-manual/language-series/glm/messages/messages-reference","matchLevel":1},"es":{"href":"/es/api-manual/language-series/glm/messages/messages-reference","matchLevel":1}}},"lastModified":"2026-11-12T08:11:49.139Z","originalFileLocation":"en/api-manual/language-series/glm/messages/messages-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 Anthropic Messages protocol, choosing the specific model with the model parameter - The request and response structures match the Anthropic API - System prompt: passed through the top-level system field - Thinking mode: thinking is on by default across the series and is returned in content[type=thinking] blocks; only glm-5.2 can turn it off with thinking.type=disabled - Streaming: SSE event stream - Tool calling: compatible with the Anthropic tool_use / tool_result flow - Image input: supported only by glm-5.3-flash and glm-5.3-flashx; see the messages field for details\">\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 - Messages Reference - EvoLink.AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the model parameter - The request and response structures match the Anthropic API - System prompt: passed through the top-level system field - Thinking mode: thinking is on by default across the series and is returned in content[type=thinking] blocks; only glm-5.2 can turn it off with thinking.type=disabled - Streaming: SSE event stream - Tool calling: compatible with the Anthropic tool_use / tool_result flow - Image input: supported only by glm-5.3-flash and glm-5.3-flashx; see the messages field for details\">\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/messages/messages-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=Messages+API\u0026amp;title=GLM+All-Model+API+-+Messages+Reference\u0026amp;description=-+Call+GLM+series+models+through+the+Anthropic+Messages+protocol%2C+choosing+the+specific+model+with+the+%60model%60+parameter%0A-+The+request+and+response+structures+m\u0026amp;theme=2c411b92ad044407f83c4518\u0026amp;signature=23a4419d5ae0a7935fd4609575425099200c820f26daf47ce29066c4cc7ca672\">\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 - Messages Reference - EvoLink.AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the model parameter - The request and response structures match the Anthropic API - System prompt: passed through the top-level system field - Thinking mode: thinking is on by default across the series and is returned in content[type=thinking] blocks; only glm-5.2 can turn it off with thinking.type=disabled - Streaming: SSE event stream - Tool calling: compatible with the Anthropic tool_use / tool_result flow - Image input: supported only by glm-5.3-flash and glm-5.3-flashx; see the messages field for details\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://muyutechnology.mintlify.site/docs/_mintlify/api/og/v2?division=Messages+API\u0026amp;title=GLM+All-Model+API+-+Messages+Reference\u0026amp;description=-+Call+GLM+series+models+through+the+Anthropic+Messages+protocol%2C+choosing+the+specific+model+with+the+%60model%60+parameter%0A-+The+request+and+response+structures+m\u0026amp;theme=2c411b92ad044407f83c4518\u0026amp;signature=23a4419d5ae0a7935fd4609575425099200c820f26daf47ce29066c4cc7ca672\">\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/messages/messages-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/messages/messages-reference.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://evolink.ai/docs/cn/api-manual/language-series/glm/messages/messages-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://evolink.ai/docs/de/api-manual/language-series/glm/messages/messages-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://evolink.ai/docs/fr/api-manual/language-series/glm/messages/messages-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://evolink.ai/docs/ja/api-manual/language-series/glm/messages/messages-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://evolink.ai/docs/ko/api-manual/language-series/glm/messages/messages-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://evolink.ai/docs/es/api-manual/language-series/glm/messages/messages-reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-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/messages/messages-reference#webpage\",\"url\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-reference\",\"name\":\"GLM All-Model API - Messages Reference\",\"description\":\"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the model parameter - The request and response structures match the Anthropic API - System prompt: passed through the top-level system field - Thinking mode: thinking is on by default across the series and is returned in content[type=thinking] blocks; only glm-5.2 can turn it off with thinking.type=disabled - Streaming: SSE event stream - Tool calling: compatible with the Anthropic tool_use / tool_result flow - Image input: supported only by glm-5.3-flash and glm-5.3-flashx; see the messages field for details\",\"dateModified\":\"2026-11-12T08:11:49.139Z\",\"isPartOf\":{\"@id\":\"https://evolink.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-reference#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-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\":\"Messages API\",\"item\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-quickstart\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"GLM All-Model API - Messages Reference\",\"item\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-reference\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-reference#apireference\",\"headline\":\"GLM All-Model API - Messages Reference\",\"name\":\"GLM All-Model API - Messages Reference\",\"description\":\"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the model parameter - The request and response structures match the Anthropic API - System prompt: passed through the top-level system field - Thinking mode: thinking is on by default across the series and is returned in content[type=thinking] blocks; only glm-5.2 can turn it off with thinking.type=disabled - Streaming: SSE event stream - Tool calling: compatible with the Anthropic tool_use / tool_result flow - Image input: supported only by glm-5.3-flash and glm-5.3-flashx; see the messages field for details\",\"url\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-reference\",\"mainEntityOfPage\":{\"@id\":\"https://evolink.ai/docs/en/api-manual/language-series/glm/messages/messages-reference#webpage\"},\"dateModified\":\"2026-11-12T08:11:49.139Z\",\"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/messages/messages-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":"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","href":"/en/api-manual/language-series/glm/chat-completions/chat-completions-quickstart"},{"title":"GLM All-Model API - Chat Completions Reference","openapi":"en/api-manual/language-series/glm/chat-completions/chat-completions-reference.json POST /v1/chat/completions","href":"/en/api-manual/language-series/glm/chat-completions/chat-completions-reference"}]},{"group":"Responses API","icon":"comments","pages":[{"title":"GLM All-Model API - Responses Quickstart","openapi":"en/api-manual/language-series/glm/responses/responses-quickstart.json POST /v1/responses","href":"/en/api-manual/language-series/glm/responses/responses-quickstart"},{"title":"GLM All-Model API - Responses Reference","openapi":"en/api-manual/language-series/glm/responses/responses-reference.json POST /v1/responses","href":"/en/api-manual/language-series/glm/responses/responses-reference"}]},{"group":"Messages API","icon":"comments","pages":[{"title":"GLM All-Model API - Messages Quickstart","openapi":"en/api-manual/language-series/glm/messages/messages-quickstart.json POST /v1/messages","description":"- Call GLM series models through the Anthropic Messages protocol, choosing the specific model with the `model` parameter\n- `model`, `max_tokens` and `messages` are the only parameters you need (`max_tokens` is mandatory in the Anthropic protocol)\n- 1M token context window across the series, with up to 131,072 output tokens\n- **Thinking is on by default** across the series, so the response `content` carries a `type=\"thinking\"` block, and that part counts towards output tokens\n- For streaming, tool calls, image input and other capabilities, see the Reference page","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","description":"Query the current user and token credit balance and usage information","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/messages/messages-reference"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-manual/language-series/glm/messages/messages-reference"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-manual/language-series/glm/messages/messages-reference"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-manual/language-series/glm/messages/messages-reference"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-manual/language-series/glm/messages/messages-reference"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-manual/language-series/glm/messages/messages-reference"}]}]},"basePath":"","title":"GLM All-Model API - Messages Reference - EvoLink.AI","deploymentId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","buildId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CUPdegXL.js","snippetPresets-BQq89bX3.js","utils-CJtUu38r.js","style-to-object-BY3JEAdk.js","utils-Dl_iEV_c.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-I0bFVJaI.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Dcvlblmg.js","_Uint8Array-VGUeTT0n.js","isObject-FP1Yky1u.js","ApiExamples-D1A0XuKj.js","usePlaygroundInputsStore-Hc_6kXYj.js","shallow-BhhizytD.js","isEqual-D265BYHf.js","CodeSnippets-DSWAIz-b.js","CodeSnippet-BdmAY1za.js","getApiPlaygroundDisplay-BIdLkZxH.js","Page-Bvrdu_OS.js","api-description-markdown-3NHhqwNl.js","DynamicMarkdown-BGCZRsks.js","SectionHeading-DuqsJYtR.js","MethodPill-DNag51EN.js","getPastedJson-CedzOGYS.js","Check2Icon-0NvNj7H_.js","axios-CsQoIw0U.js","Markdown-B9bB45u8.js","AssistantPageLink-DniobXcL.js","dist-C_SYQzHz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}