All endpoints require Bearer Token authentication. Add to the request header:
Authorization: Bearer YOUR_API_KEY
YOUR_API_KEY is the API Token (sk-... format).
Body
application/json
Request body in messages[] form (OpenAI Chat compatible). Apart from the fields listed below, other OpenAI-compatible parameters (temperature, top_p, stop, frequency_penalty, etc.) are used per the OpenAI Chat spec.
OpenAI Chat format messages array. messages[*].content may be a string or an array; array element type ∈ {text, image_url, video_url, audio_url, file_url}. A type the model does not support returns 422 model_not_support_capability.
Typical content shapes:
Plain text (string content, simplest form):
[{"role": "user", "content": "count 1 to 3"}]
Plain text (array content, the unified format when mixing with multimodal):
[{"role": "user", "content": [{"type": "text", "text": "count 1 to 3"}]}]
Mixed attachments of all types (a single user message containing 2 each of image_url / video_url / audio_url / file_url):
[{"role": "user", "content": [ {"type": "text", "text": "Summarize the key information from the following images, videos, audio, and documents"}, {"type": "image_url", "image_url": {"url": "https://example.com/image-1.png"}}, {"type": "image_url", "image_url": {"url": "https://example.com/image-2.jpg"}}, {"type": "video_url", "video_url": {"url": "https://example.com/clip-1.mp4"}}, {"type": "video_url", "video_url": {"url": "https://example.com/clip-2.mp4"}}, {"type": "audio_url", "audio_url": {"url": "https://example.com/audio-1.mp3"}}, {"type": "audio_url", "audio_url": {"url": "https://example.com/audio-2.wav"}}, {"type": "file_url", "file_url": {"url": "https://example.com/doc-1.pdf"}}, {"type": "file_url", "file_url": {"url": "https://example.com/doc-2.docx"}} ]}]
Inline base64 (asynchronous mode only, when sync is omitted or false): In image_url / video_url / audio_url / file_url blocks, inline base64 in the {"url": ...} object form (data: URI, or at least 4096 encoded characters whose decoded content matches a known media signature) is uploaded to file storage and replaced with a URL before the request is persisted or submitted upstream; the original base64 is not stored. Shorter raw base64 or content with an unrecognized signature is passed through unchanged and is not size-validated. Limits apply only to inline base64 items (public HTTP(S) URLs are not limited): decoded size ≤ 5 MB per item, ≤ 5 inline items per array, ≤ 10 MB total per request, and ≤ 20 inline items per request. An invalid data: prefix or payload that decodes to zero bytes returns 422; exceeding a limit also returns 422. Use /v1/files/upload first and pass the resulting URL instead.
When sync: true, the request is not stored as a task and the rules above do not apply: inline base64 is submitted upstream unchanged without size or count validation.
Shapes outside the coverage scope: input_audio.data / file.file_data, and the direct string form {"type":"image_url","image_url":"data:..."} (where the value is not a {"url": ...} object). Inline base64 in these shapes is passed through unchanged.
Submit response, conforming to the unified task standard shape. results / error are fixed at null during submit; they are returned via GET /v1/tasks/{task_id} after the task completes or fails
Task ID, formatted as task-llm-{timestamp}-{8random}. Used for GET /v1/tasks/{task_id} queries or GET /v1/llm/generations/{task_id}/stream SSE subscriptions
Fixed at null during submit; obtained via GET /v1/tasks/{task_id} after the task completes — results[0] is the full OpenAI ChatCompletion response.
Known limitation: a thinking model's reasoning content (reasoning_content) appears only in the SSE stream's delta and is not accumulated into results[0].message.content
Fixed at null during submit; returned via GET /v1/tasks/{task_id} when the task fails
Example:
null
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AihubMax","colors":{"primary":"#FF6B35","light":"#FF8C5A","dark":"#E55A2B"},"logo":{"light":"https://mintcdn.com/aif-207f9f5d/uEei-2tgkASoxqLE/logo/light.svg?fit=max\u0026auto=format\u0026n=uEei-2tgkASoxqLE\u0026q=85\u0026s=cbf3e1d5000a84da8855a68250497b8c","dark":"https://mintcdn.com/aif-207f9f5d/uEei-2tgkASoxqLE/logo/dark.svg?fit=max\u0026auto=format\u0026n=uEei-2tgkASoxqLE\u0026q=85\u0026s=a9621b0a06484dd28e9c1f6a41ac5948"},"favicon":"https://mintcdn.com/aif-207f9f5d/uEei-2tgkASoxqLE/favicon.svg?fit=max\u0026auto=format\u0026n=uEei-2tgkASoxqLE\u0026q=85\u0026s=5eb711489095d47c725835e92ca6c2be","footer":{"socials":{}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","navbar":{"links":[],"primary":{"type":"button","label":"Console","href":"https://api.aihubmax.com/console"}},"href":"pages/en/api-manual/image-series/nanobanana/gemini-3.1-flash-image-preview"},{"language":"zh","default":true,"navbar":{"links":[],"primary":{"type":"button","label":"控制台","href":"https://api.aihubmax.com/console"}},"href":"pages/zh/api-manual/image-series/nanobanana/gemini-3.1-flash-image-preview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aif-207f9f5d","hasAudioNarration":false,"actualSubdomain":"aif-207f9f5d","customDomains":["docs.aihubmax.com"],"gitSource":{"type":"github","owner":"cookaihq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abdfdfc686f2e9b5c77298f","collectionId":"19dcb08f-755c-464e-a689-5d7b5f2be1ee","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abdfdfc686f2e9b5c77298f"},"entitlements":{},"buildId":"6abdfdfc686f2e9b5c77298f","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"en","tag":"API Manual","count":96},{"language":"zh","tag":"API手册","count":95},{"language":"en","tag":"Video Series","count":52},{"language":"zh","tag":"视频系列","count":51},{"language":"en","tag":"Text Series","count":19},{"language":"zh","tag":"语言系列","count":19},{"language":"en","tag":"Image Series","count":12},{"language":"zh","tag":"图像系列","count":12},{"language":"en","tag":"Integration Guide","count":10},{"language":"zh","tag":"集成指南","count":10},{"language":"en","tag":"Kling","count":9},{"language":"zh","tag":"Kling","count":9},{"language":"en","tag":"PixVerse","count":8},{"language":"zh","tag":"PixVerse","count":8},{"language":"en","tag":"Audio Series","count":7},{"language":"zh","tag":"音频系列","count":7},{"language":"en","tag":"Grok Imagine","count":6},{"language":"en","tag":"Gemini Format","count":6},{"language":"zh","tag":"Grok Imagine","count":6},{"language":"zh","tag":"Gemini 格式","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"pages/en/api-manual/text-series/llm-async/llm-custom","slug":"/pages/en/api-manual/text-series/llm-async/llm-custom","pageMetadata":{"title":"Mixed Understanding","openapi":"openapi/en/llm-custom.json POST /v1/llm/generations","description":"Use the returned task ID to [query the task](/pages/en/api-manual/task-management/get-task-detail) for the final result.","href":"/pages/en/api-manual/text-series/llm-async/llm-custom"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Use the returned task ID to \", _jsx(_components.a, {\n href: \"/pages/en/api-manual/task-management/get-task-detail\",\n children: \"query the task\"\n }), \" for the final result.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Mixed Understanding","openapi":"openapi/en/llm-custom.json POST /v1/llm/generations","description":"Use the returned task ID to [query the task](/pages/en/api-manual/task-management/get-task-detail) for the final result.","href":"/pages/en/api-manual/text-series/llm-async/llm-custom"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"llm-custom","summary":"Submit an LLM generation task (llm-custom protocol)","description":"Use the returned task ID to [query the task](/pages/en/api-manual/task-management/get-task-detail) for the final result.","tags":["LLM > llm-custom"],"x-apifox-folder":"new-api-getway/unified-gateway/LLM/llm-custom","requestBody":"59cc1ad1-6485-404e-9ed9-22cc65db7494","responses":{"200":"63426401-1ef2-432c-b15f-19633890786c","401":"d33b312f-d875-4a97-88da-5fdb891673a9","422":"46c5b2f4-505d-4ee8-ad24-13d9801287b9","429":"ebcf0b73-0568-485a-b3ff-ccc375c88521","500":"87a9ac85-c3fc-45c1-87e7-d7976c0e6cc3","503":"951edf0b-6dfd-46d1-90e8-df3363c2cde9"},"method":"post","type":"path","servers":["6d47f052-42a1-458a-93e0-85ce30771563"],"security":["f98a3efb-c1c7-46a6-bd62-56abb5042c52"],"path":"/v1/llm/generations","baseUrlOptions":["https://api.aihubmax.com"],"title":"Submit an LLM generation task (llm-custom protocol)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"additionalProperties":true,"description":"Request body in `messages[]` form (OpenAI Chat compatible). Apart from the fields listed below, other OpenAI-compatible parameters (`temperature`, `top_p`, `stop`, `frequency_penalty`, etc.) are used per the OpenAI Chat spec.","properties":{"model":{"type":"string","description":"[Get Model List](/pages/en/api-manual/text-series/llm-async/llm-generations-models)","example":"claude-opus-4-7","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"messages":{"type":"array","description":"OpenAI Chat format messages array. `messages[*].content` may be a string or an array; array element `type` ∈ {`text`, `image_url`, `video_url`, `audio_url`, `file_url`}. A `type` the model does not support returns 422 `model_not_support_capability`.\n\n**Typical content shapes:**\n\n1. Plain text (string content, simplest form):\n```json\n[{\"role\": \"user\", \"content\": \"count 1 to 3\"}]\n```\n\n2. Plain text (array content, the unified format when mixing with multimodal):\n```json\n[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"count 1 to 3\"}]}]\n```\n\n3. text + image:\n```json\n[{\"role\": \"user\", \"content\": [\n {\"type\": \"text\", \"text\": \"describe this image\"},\n {\"type\": \"image_url\", \"image_url\": {\"url\": \"https://example.com/x.png\"}}\n]}]\n```\n\n4. text + video:\n```json\n[{\"role\": \"user\", \"content\": [\n {\"type\": \"text\", \"text\": \"summarize this video\"},\n {\"type\": \"video_url\", \"video_url\": {\"url\": \"https://example.com/clip.mp4\"}}\n]}]\n```\n\n5. text + file:\n```json\n[{\"role\": \"user\", \"content\": [\n {\"type\": \"text\", \"text\": \"extract key points\"},\n {\"type\": \"file_url\", \"file_url\": {\"url\": \"https://example.com/doc.pdf\"}}\n]}]\n```\n\n6. Multi-turn conversation (system + multiple user/assistant turns):\n```json\n[\n {\"role\": \"system\", \"content\": \"You are a terse assistant.\"},\n {\"role\": \"user\", \"content\": \"1+1?\"},\n {\"role\": \"assistant\", \"content\": \"2\"},\n {\"role\": \"user\", \"content\": \"3+3?\"}\n]\n```\n\n7. Mixed attachments of all types (a single user message containing 2 each of `image_url` / `video_url` / `audio_url` / `file_url`):\n```json\n[{\"role\": \"user\", \"content\": [\n {\"type\": \"text\", \"text\": \"Summarize the key information from the following images, videos, audio, and documents\"},\n {\"type\": \"image_url\", \"image_url\": {\"url\": \"https://example.com/image-1.png\"}},\n {\"type\": \"image_url\", \"image_url\": {\"url\": \"https://example.com/image-2.jpg\"}},\n {\"type\": \"video_url\", \"video_url\": {\"url\": \"https://example.com/clip-1.mp4\"}},\n {\"type\": \"video_url\", \"video_url\": {\"url\": \"https://example.com/clip-2.mp4\"}},\n {\"type\": \"audio_url\", \"audio_url\": {\"url\": \"https://example.com/audio-1.mp3\"}},\n {\"type\": \"audio_url\", \"audio_url\": {\"url\": \"https://example.com/audio-2.wav\"}},\n {\"type\": \"file_url\", \"file_url\": {\"url\": \"https://example.com/doc-1.pdf\"}},\n {\"type\": \"file_url\", \"file_url\": {\"url\": \"https://example.com/doc-2.docx\"}}\n]}]\n```\n\n**Inline base64 (asynchronous mode only, when `sync` is omitted or `false`)**: In `image_url` / `video_url` / `audio_url` / `file_url` blocks, inline base64 in the `{\"url\": ...}` object form (`data:` URI, or at least 4096 encoded characters whose decoded content matches a known media signature) is uploaded to file storage and replaced with a URL before the request is persisted or submitted upstream; the original base64 is not stored. Shorter raw base64 or content with an unrecognized signature is passed through unchanged and is not size-validated. Limits apply only to inline base64 items (public HTTP(S) URLs are not limited): decoded size ≤ 5 MB per item, ≤ 5 inline items per array, ≤ 10 MB total per request, and ≤ 20 inline items per request. An invalid `data:` prefix or payload that decodes to zero bytes returns 422; exceeding a limit also returns 422. Use `/v1/files/upload` first and pass the resulting URL instead.\n\nWhen `sync: true`, the request is not stored as a task and the rules above do not apply: inline base64 is submitted upstream unchanged without size or count validation.\n\nShapes outside the coverage scope: `input_audio.data` / `file.file_data`, and the direct string form `{\"type\":\"image_url\",\"image_url\":\"data:...\"}` (where the value is not a `{\"url\": ...}` object). Inline base64 in these shapes is passed through unchanged.","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["system","user","assistant"],"description":"Message role (OpenAI naming)","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"Message body. A string indicates plain text; an array indicates multimodal content blocks","example":"count 1 to 3","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","description":"Multimodal content block. Different `type`s use different parallel fields to carry the URL or text","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","video_url","audio_url","file_url"],"description":"Content block type","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Required when `type=text`","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"image_url":{"type":"object","description":"Required when `type=image_url`","required":["url"],"properties":{"url":{"type":"string","description":"Publicly accessible image URL (or base64 data URL)","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].image_url.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].image_url","typeLabel":"object"},"video_url":{"type":"object","description":"Required when `type=video_url`; returns 422 `model_not_support_capability` if the model does not support it","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].video_url.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].video_url","typeLabel":"object"},"audio_url":{"type":"object","description":"Required when `type=audio_url`; returns 422 `model_not_support_capability` if the model does not support it","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].audio_url.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].audio_url","typeLabel":"object"},"file_url":{"type":"object","description":"Required when `type=file_url`; returns 422 `model_not_support_capability` if the model does not support it","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].file_url.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].file_url","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Message body. A string indicates plain text; an array indicates multimodal content blocks","example":"count 1 to 3","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"},"example":[{"role":"user","content":"count 1 to 3"}],"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"stream":{"type":"boolean","default":false,"description":"Whether to stream.\n\n**Behavior differences:**\n| Value | Submit response `stream` field | SSE endpoint |\n|---|---|---|\n| `false` | `null` | Not available |\n| `true` | `{\"url\": \"/v1/llm/generations/{task_id}/stream\"}` | Available; meanwhile task.data accumulates the full response |\n","example":false,"uniqueKey":"stream","typeLabel":"boolean"},"max_tokens":{"oneOf":[{"type":"integer","description":"Generation token limit. Family-level constraints: `claude-*` **required**; `gpt-*` usually ≥ 16; `gemini-*` optional.","example":64,"uniqueKey":"max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Generation token limit. Family-level constraints: `claude-*` **required**; `gpt-*` usually ≥ 16; `gemini-*` optional.","example":64,"uniqueKey":"max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_tokens","typeLabel":"integer | null"},"temperature":{"oneOf":[{"type":"number","description":"Sampling temperature.","uniqueKey":"temperature.oneOf.0","typeLabel":"number"},{"type":"null","description":"Sampling temperature.","uniqueKey":"temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"Nucleus sampling.","uniqueKey":"top_p.oneOf.0","typeLabel":"number"},{"type":"null","description":"Nucleus sampling.","uniqueKey":"top_p.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_p","typeLabel":"number | null"},"stop":{"oneOf":[{"type":"string","description":"Stop sequences.","uniqueKey":"stop.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"stop.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Stop sequences.","uniqueKey":"stop.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"stop","typeLabel":"string | string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"openai_non_stream":{"title":"openai_non_stream","value":{"model":"gpt-5.5","messages":[{"role":"user","content":"count 1 to 3"}],"stream":false,"max_tokens":32}},"anthropic_stream":{"title":"anthropic_stream","value":{"model":"claude-opus-4-7","messages":[{"role":"system","content":"You are a terse assistant."},{"role":"user","content":"count 1 to 3"}],"stream":true,"max_tokens":64}},"gemini_stream":{"title":"gemini_stream","value":{"model":"gemini-3.5-flash","messages":[{"role":"user","content":"count 1 to 3"}],"stream":true,"max_tokens":64}},"multimodal_image":{"title":"multimodal_image","value":{"model":"claude-opus-4-7","messages":[{"role":"user","content":[{"type":"text","text":"describe this image briefly"},{"type":"image_url","image_url":{"url":"https://example.com/sample.png"}}]}],"stream":false,"max_tokens":256}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"63426401-1ef2-432c-b15f-19633890786c":{"description":"Task created","content":{"application/json":{"schema":{"type":"object","description":"Submit response, conforming to the unified task standard shape. `results` / `error` are fixed at `null` during submit; they are returned via `GET /v1/tasks/{task_id}` after the task completes or fails","required":["id","object","type","model","status","progress","created"],"properties":{"id":{"type":"string","description":"Task ID, formatted as `task-llm-{timestamp}-{8random}`. Used for `GET /v1/tasks/{task_id}` queries or `GET /v1/llm/generations/{task_id}/stream` SSE subscriptions","example":"task-llm-1776874565-yq3szvcu","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Object type, fixed at `llm.generation.task`","enum":["llm.generation.task"],"example":"llm.generation.task","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Media type, fixed at `llm`","enum":["llm"],"example":"llm","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The model name submitted by the client (echoed verbatim)","example":"claude-opus-4-7","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"status":{"type":"string","description":"Task status, fixed at `pending` during submit","enum":["pending"],"example":"pending","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"progress":{"type":"integer","description":"Progress 0-100, fixed at 0 during submit","example":0,"isRequired":true,"uniqueKey":"progress","typeLabel":"integer"},"created":{"type":"integer","description":"Creation time (Unix seconds)","example":1776874565,"isRequired":true,"uniqueKey":"created","typeLabel":"integer"},"stream":{"oneOf":[{"type":"object","description":"Returns `{url: ...}` when `stream=true`; `null` when `stream=false`. The client uses this to decide whether to connect to SSE","required":["url"],"properties":{"url":{"type":"string","description":"SSE subscription path, in the form `/v1/llm/generations/{task_id}/stream`","example":"/v1/llm/generations/task-llm-1776874565-yq3szvcu/stream","isRequired":true,"uniqueKey":"stream.oneOf.0.url","typeLabel":"string"}},"uniqueKey":"stream.oneOf.0","typeLabel":"object"},{"type":"null","description":"Returns `{url: ...}` when `stream=true`; `null` when `stream=false`. The client uses this to decide whether to connect to SSE","uniqueKey":"stream.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"stream.oneOf.2","typeLabel":"null"}],"uniqueKey":"stream","typeLabel":"object · null · null"},"results":{"oneOf":[{"type":"array","description":"Fixed at `null` during submit; obtained via `GET /v1/tasks/{task_id}` after the task completes — `results[0]` is the full OpenAI `ChatCompletion` response.\n\n**Known limitation**: a thinking model's reasoning content (`reasoning_content`) appears only in the SSE stream's `delta` and is not accumulated into `results[0].message.content`","items":{"type":"object","uniqueKey":"results.oneOf.0.items.[INDEX]","typeLabel":"object"},"example":null,"uniqueKey":"results.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Fixed at `null` during submit; obtained via `GET /v1/tasks/{task_id}` after the task completes — `results[0]` is the full OpenAI `ChatCompletion` response.\n\n**Known limitation**: a thinking model's reasoning content (`reasoning_content`) appears only in the SSE stream's `delta` and is not accumulated into `results[0].message.content`","items":{"type":"object"},"example":null,"uniqueKey":"results.oneOf.1","typeLabel":"null"}],"uniqueKey":"results","typeLabel":"object[] | null"},"error":{"oneOf":[{"type":"object","description":"Fixed at `null` during submit; returned via `GET /v1/tasks/{task_id}` when the task fails","example":null,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","description":"Fixed at `null` during submit; returned via `GET /v1/tasks/{task_id}` when the task fails","example":null,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"non_stream":{"title":"non_stream","value":{"id":"task-llm-1776874481-rj6bs3yb","object":"llm.generation.task","type":"llm","model":"gpt-5.5","status":"pending","progress":0,"created":1776874481,"stream":null,"results":null,"error":null}},"stream":{"title":"stream","value":{"id":"task-llm-1776874565-yq3szvcu","object":"llm.generation.task","type":"llm","model":"claude-opus-4-7","status":"pending","progress":0,"created":1776874565,"stream":{"url":"/v1/llm/generations/task-llm-1776874565-yq3szvcu/stream"},"results":null,"error":null}}},"exampleType":"examples"}},"exampleType":"examples"},"d33b312f-d875-4a97-88da-5fdb891673a9":{"description":"Token invalid or missing","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"No authentication token provided","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","example":"authentication_error","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"No authentication token provided","type":"authentication_error"}}}},"exampleType":"generated"}},"exampleType":"generated"},"46c5b2f4-505d-4ee8-ad24-13d9801287b9":{"description":"Parameter validation failure, or the model does not support this request; see the response body `error.code` for the specific reason","content":{"application/json":{"schema":{"type":"object","description":"Parameter validation failure. Common `code`s:\n- `no_available_model`: the requested model is currently not configured or unavailable\n- `model_not_support_capability`: the requested content type combination (e.g. text + video) is not supported by this model\n- `model_rule_violation`: a model rule was violated; the specific sub-rule name appears in the error body `code` field (e.g. `gemini_video_size_exceeded`, `anthropic_max_tokens_required`)\n- `invalid_param`: a regular schema validation failure (including `max_tokens` family constraint violations, etc.)","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"Model gpt-5.5 does not support using text + video together; please switch models or contact the administrator.","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","example":"invalid_request_error","uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","example":"model_not_support_capability","uniqueKey":"error.code","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Model gpt-5.5 does not support using text + video together; please switch models or contact the administrator.","type":"invalid_request_error","code":"model_not_support_capability"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ebcf0b73-0568-485a-b3ff-ccc375c88521":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"Request rate limit exceeded","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","example":"rate_limit_error","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Request rate limit exceeded","type":"rate_limit_error"}}}},"exampleType":"generated"}},"exampleType":"generated"},"87a9ac85-c3fc-45c1-87e7-d7976c0e6cc3":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"Internal server error","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","example":"internal_error","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Internal server error","type":"internal_error"}}}},"exampleType":"generated"}},"exampleType":"generated"},"951edf0b-6dfd-46d1-90e8-df3363c2cde9":{"description":"Upstream is unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"Upstream temporarily unavailable","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","example":"service_unavailable","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Upstream temporarily unavailable","type":"service_unavailable"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f98a3efb-c1c7-46a6-bd62-56abb5042c52":{"BearerAuth":{"type":"http","scheme":"bearer","description":"All endpoints require Bearer Token authentication. Add to the request header:\n\n`Authorization: Bearer YOUR_API_KEY`\n\n`YOUR_API_KEY` is the API Token (`sk-...` format).","scopes":[]}}},"servers":{"6d47f052-42a1-458a-93e0-85ce30771563":{"url":"https://api.aihubmax.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"All endpoints require Bearer Token authentication. Add to the request header:\n\n`Authorization: Bearer YOUR_API_KEY`\n\n`YOUR_API_KEY` is the API Token (`sk-...` format).","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"All endpoints require Bearer Token authentication. Add to the request header:\n\n`Authorization: Bearer YOUR_API_KEY`\n\n`YOUR_API_KEY` is the API Token (`sk-...` format).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi/en/llm-custom.json"},"subdomain":"aif-207f9f5d","siteName":"AihubMax","title":"Mixed Understanding - AihubMax","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/pages/en/api-manual/text-series/llm-async/llm-custom","matchLevel":0},"zh":{"href":"/pages/zh/api-manual/text-series/llm-async/llm-custom","matchLevel":1}}},"lastModified":"2026-05-24T08:30:09.706Z","originalFileLocation":"pages/en/api-manual/text-series/llm-async/llm-custom.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=\"Use the returned task ID to query the task for the final result.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AihubMax\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_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=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Mixed Understanding - AihubMax\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use the returned task ID to query the task for the final result.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AihubMax\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aif-207f9f5d.mintlify.site/_mintlify/api/og/v2?division=Async+Request\u0026amp;title=Mixed+Understanding\u0026amp;description=Use+the+returned+task+ID+to+%5Bquery+the+task%5D%28%2Fpages%2Fen%2Fapi-manual%2Ftask-management%2Fget-task-detail%29+for+the+final+result.\u0026amp;theme=2864540ad14f671a1df9598a\u0026amp;signature=3020ce909b80ad9dd969ff5295f12ad1b43da86e4fa47f70ebf4c12bf24f451c\">\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=\"Mixed Understanding - AihubMax\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use the returned task ID to query the task for the final result.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aif-207f9f5d.mintlify.site/_mintlify/api/og/v2?division=Async+Request\u0026amp;title=Mixed+Understanding\u0026amp;description=Use+the+returned+task+ID+to+%5Bquery+the+task%5D%28%2Fpages%2Fen%2Fapi-manual%2Ftask-management%2Fget-task-detail%29+for+the+final+result.\u0026amp;theme=2864540ad14f671a1df9598a\u0026amp;signature=3020ce909b80ad9dd969ff5295f12ad1b43da86e4fa47f70ebf4c12bf24f451c\">\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=\"/mintlify-assets/_mintlify/favicons/aif-207f9f5d/lCx0I6oRiGiq6STr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AihubMax\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6B35\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pages/en/api-manual/text-series/llm-async/llm-custom.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.aihubmax.com/pages/zh/api-manual/text-series/llm-async/llm-custom\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.aihubmax.com/pages/zh/api-manual/text-series/llm-async/llm-custom\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aihubmax.com/#organization\",\"name\":\"AihubMax\",\"url\":\"https://docs.aihubmax.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aif-207f9f5d/uEei-2tgkASoxqLE/logo/light.svg?fit=max\u0026auto=format\u0026n=uEei-2tgkASoxqLE\u0026q=85\u0026s=cbf3e1d5000a84da8855a68250497b8c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aihubmax.com#website\",\"name\":\"AihubMax\",\"url\":\"https://docs.aihubmax.com\",\"publisher\":{\"@id\":\"https://docs.aihubmax.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom#webpage\",\"url\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom\",\"name\":\"Mixed Understanding\",\"description\":\"Use the returned task ID to query the task for the final result.\",\"dateModified\":\"2026-05-24T08:30:09.706Z\",\"isPartOf\":{\"@id\":\"https://docs.aihubmax.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AihubMax\",\"item\":\"https://docs.aihubmax.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mixed Understanding\",\"item\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom#apireference\",\"headline\":\"Mixed Understanding\",\"name\":\"Mixed Understanding\",\"description\":\"Use the returned task ID to query the task for the final result.\",\"url\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/text-series/llm-async/llm-custom#webpage\"},\"dateModified\":\"2026-05-24T08:30:09.706Z\",\"publisher\":{\"@id\":\"https://docs.aihubmax.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aihubmax.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AihubMax\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"AihubMax","nav":{"global":null,"languages":[{"language":"en","navbar":{"links":[],"primary":{"type":"button","label":"Console","href":"https://api.aihubmax.com/console"}},"tabs":[{"tab":"API Manual","groups":[{"group":"Image Series","pages":[{"group":"Nanobanana","icon":"image","pages":[{"title":"Nanobanana Image Generation","openapi":"openapi/en/gemini-3.1-flash-image-preview.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/nanobanana/gemini-3.1-flash-image-preview"},{"hidden":true,"title":"Nanobanana 2 Beta Image Generation","openapi":"openapi/en/nanobanana2-beta-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/nanobanana/nanobanana-2-beta-image-generate"},{"hidden":true,"title":"Nanobanana Pro Image Generation","openapi":"openapi/en/nanobanana-pro-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/nanobanana/nanobanana-pro-image-generate"},{"hidden":true,"title":"Nanobanana Pro Beta Image Generation","openapi":"openapi/en/nanobanana-pro-beta-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/nanobanana/nanobanana-pro-beta-image-generate"},{"hidden":true,"title":"Nanobanana Image Generation","openapi":"openapi/en/nanobanana-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/nanobanana/nanobanana-image-generate"}]},{"group":"Wan2.7","icon":"image","pages":[{"title":"Wan2.7 Image Generation","openapi":"openapi/en/wan-2.7-image.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/wan2.7/wan-2.7-image"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine Image Generation","openapi":"openapi/en/grok-imagine-image.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/grok-imagine/grok-imagine-image"}]},{"group":"GPT Image 2 / 2.5","icon":"image","pages":[{"title":"GPT Image 2 / 2.5 Image Generation","openapi":"openapi/en/gpt-image-2.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/gpt-image-2/gpt-image-2"}]},{"group":"GPT Image","icon":"image","pages":[{"hidden":true,"title":"GPT Image 1.5 Image Generation","openapi":"openapi/en/gpt-image-1.5-image-generation.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/gpt-image/gpt-image-1.5-image-generation"},{"hidden":true,"title":"GPT Image 1.5 Lite Image Generation","openapi":"openapi/en/gpt-image-1.5-lite-image-generation.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/gpt-image/gpt-image-1.5-lite-image-generation"},{"hidden":true,"title":"GPT Image 1 Image Generation","openapi":"openapi/en/gpt-image-1-image-generation.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/gpt-image/gpt-image-1-image-generation"},{"hidden":true,"title":"GPT-4o Image Generation","openapi":"openapi/en/gpt-4o-image-generation.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/gpt-image/gpt-4o-image-generation"}]},{"group":"Seedream","icon":"image","pages":[{"hidden":true,"title":"Seedream 5.0 Lite Image Generation","openapi":"openapi/en/seedream-5.0-lite-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/seedream/seedream-5.0-lite-image-generate"},{"hidden":true,"title":"Seedream 4.5 Image Generation","openapi":"openapi/en/seedream-4.5-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/seedream/seedream-4.5-image-generate"},{"hidden":true,"title":"Seedream 4.0 Image Generation","openapi":"openapi/en/seedream-4.0-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/seedream/seedream-4.0-image-generate"}]},{"group":"Z Image Turbo","icon":"image","pages":[{"hidden":true,"title":"Z Image Turbo Image Generation","openapi":"openapi/en/z-image-turbo-image-generate.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/z-image-turbo/z-image-turbo-image-generate"}]},{"group":"Qwen-Image","icon":"image","pages":[{"hidden":true,"title":"Qwen Image Edit Plus","openapi":"openapi/en/qwen-image-edit.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/qwen-image/qwen-image-edit-plus"},{"hidden":true,"title":"Qwen Image Edit","openapi":"openapi/en/qwen-image-edit.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/qwen-image/qwen-image-edit"}]},{"group":"Wan-Image","icon":"image","pages":[{"hidden":true,"title":"Wan2.5 Text-to-Image","openapi":"openapi/en/wan2.5-text-to-image.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/wan-image/wan2.5-text-to-image"},{"hidden":true,"title":"Wan2.5 Image-to-Image","openapi":"openapi/en/wan2.5-image-to-image.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/wan-image/wan2.5-image-to-image"}]},{"group":"Gemini","icon":"image","pages":[{"title":"Gemini 3 Pro Image Generation","openapi":"openapi/en/gemini-3-pro-image-preview.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/gemini/gemini-3-pro-image-preview"}]},{"group":"Patina","icon":"image","pages":[{"title":"Patina PBR Maps","openapi":"openapi/en/patina-pbr-maps.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/patina/patina-pbr-maps"},{"title":"Patina Material Generation","openapi":"openapi/en/patina-material.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/patina/patina-material"},{"title":"Patina Material Extraction","openapi":"openapi/en/patina-material-extract.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/patina/patina-material-extract"}]},{"group":"Phota","icon":"image","pages":[{"title":"Phota Image Generation","openapi":"openapi/en/phota-image.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/phota/phota-image"},{"title":"Phota Image Editing","openapi":"openapi/en/phota-image-edit.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/phota/phota-image-edit"},{"title":"Phota Image Enhancement","openapi":"openapi/en/phota-image-enhance.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/phota/phota-image-enhance"},{"title":"Phota Profile Creation","openapi":"openapi/en/phota-create-profile.json POST /v1/images/generations","href":"/pages/en/api-manual/image-series/phota/phota-create-profile"}]}]},{"group":"Video Series","pages":[{"group":"Happy Horse","icon":"video","pages":[{"title":"HappyHorse 1.0 Text to Video","openapi":"openapi/en/happyhorse-1.0-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/happyhorse/happyhorse-1.0-text-to-video"},{"title":"HappyHorse 1.0 Video Edit","openapi":"openapi/en/happyhorse-1.0-video-edit.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/happyhorse/happyhorse-1.0-video-edit"},{"title":"HappyHorse 1.0 Reference to Video","openapi":"openapi/en/happyhorse-1.0-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/happyhorse/happyhorse-1.0-reference-to-video"},{"title":"HappyHorse 1.0 Image to Video","openapi":"openapi/en/happyhorse-1.0-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/happyhorse/happyhorse-1.0-image-to-video"}]},{"group":"Sora2","icon":"video","pages":[{"hidden":true,"title":"Sora-2 Video Generation Beta-Max","openapi":"openapi/en/sora-2-beta-max-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/sora2/sora-2-beta-max-video-generate"},{"title":"Sora-2 Video Generation Preview","openapi":"openapi/en/sora-2.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/sora2/sora-2"},{"title":"Sora2 Pro Video Generation","hidden":true,"openapi":"openapi/en/sora2pro-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/sora2/sora2pro-video-generate"},{"title":"Sora Character Generation","openapi":"openapi/en/sora-2-character.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/sora2/sora-2-character"}]},{"group":"Veo3.1","icon":"video","pages":[{"hidden":true,"title":"Veo 3.1 Pro Video Generation","openapi":"openapi/en/veo3.1-pro-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo3.1-pro-video-generate"},{"hidden":true,"title":"Veo 3.1 Fast Video Generation","openapi":"openapi/en/veo3.1-fast-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo3.1-fast-video-generate"},{"title":"Veo 3.1 Video Generation","hidden":true,"openapi":"openapi/en/veo-3.1.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1"},{"title":"Veo 3.1 Fast Video Generation","openapi":"openapi/en/veo-3.1-fast.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1-fast"},{"title":"Veo3.1 Text-to-Video","openapi":"openapi/en/veo-3.1-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1-text-to-video"},{"title":"Veo3.1 Image-to-Video","openapi":"openapi/en/veo-3.1-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1-image-to-video"},{"title":"Veo3.1 First-Last-Frame-to-Video","openapi":"openapi/en/veo-3.1-first-last-frame-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1-first-last-frame-to-video"},{"title":"Veo3.1 Reference-to-Video","openapi":"openapi/en/veo-3.1-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1-reference-to-video"},{"title":"Veo 3.1 Extend Video Generation","openapi":"openapi/en/veo-3.1-extend.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1-extend"},{"title":"Veo 3.1 Extend Fast Video Generation","hidden":true,"openapi":"openapi/en/veo-3.1-extend-fast.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veo3.1/veo-3.1-extend-fast"}]},{"group":"Seedance","icon":"video","pages":[{"group":"seedance-2.5","pages":[{"title":"Seedance 2.5 Text to Video","openapi":"openapi/en/seedance-2.5-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-text-to-video"},{"title":"Seedance 2.5 Image to Video","openapi":"openapi/en/seedance-2.5-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-image-to-video"},{"title":"Seedance 2.5 Multimodal Reference to Video","openapi":"openapi/en/seedance-2.5-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-reference-to-video"}]},{"group":"seedance-2.0","pages":[{"title":"Seedance 2.0 Text to Video","openapi":"openapi/en/seedance-2.0-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-text-to-video"},{"title":"Seedance 2.0 Image to Video","openapi":"openapi/en/seedance-2.0-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-image-to-video"},{"title":"Seedance 2.0 Multimodal Reference to Video","openapi":"openapi/en/seedance-2.0-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-2.0/seedance-2.0-reference-to-video"}]},{"hidden":true,"title":"Seedance 1.5 Pro Video Generation","openapi":"openapi/en/seedance-1.5-pro-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-1.5-pro-video-generate"},{"hidden":true,"title":"Seedance 1.0 Pro Fast Video Generation","openapi":"openapi/en/seedance-1.0-pro-fast-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/seedance/seedance-1.0-pro-fast-video-generate"}]},{"group":"Vidu","icon":"video","pages":[{"title":"Vidu Q3 Video Generation","openapi":"openapi/en/vidu-q3.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/vidu/vidu-q3"}]},{"group":"Hailuo","icon":"video","pages":[{"hidden":true,"title":"Hailuo 02 Video Generation","openapi":"openapi/en/hailuo-02-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/hailuo/hailuo-02-video-generate"},{"hidden":true,"title":"Hailuo 2.3 Video Generation","openapi":"openapi/en/hailuo-2-3-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/hailuo/hailuo-2-3-video-generate"},{"hidden":true,"title":"Hailuo 2.3 Fast Video Generation","openapi":"openapi/en/hailuo-2-3-fast-video-generate.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/hailuo/hailuo-2-3-fast-video-generate"}]},{"group":"HeyGen","icon":"video","pages":[{"title":"HeyGen Video Agent","openapi":"openapi/en/heygen-video-agent.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/heygen/heygen-video-agent"}]},{"group":"Wan","icon":"video","pages":[{"group":"Wan2.7","pages":[{"title":"Wan2.7 Text to Video","openapi":"openapi/en/wan-2.7-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.7/wan-2.7-text-to-video"},{"title":"Wan2.7 Image to Video","openapi":"openapi/en/wan-2.7-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.7/wan-2.7-image-to-video"},{"title":"Wan2.7 Reference Video","openapi":"openapi/en/wan-2.7-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.7/wan-2.7-reference-to-video"},{"title":"Wan2.7 Video Edit","openapi":"openapi/en/wan-2.7-video-edit.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.7/wan-2.7-video-edit"}]},{"group":"Wan2.6","pages":[{"hidden":true,"title":"Wan2.6 Text to Video","openapi":"openapi/en/wan2.6-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.6/wan2.6-text-to-video"},{"hidden":true,"title":"Wan2.6 Image to Video","openapi":"openapi/en/wan2.6-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.6/wan2.6-image-to-video"},{"hidden":true,"title":"Wan2.6 Image-to-Video Flash","openapi":"openapi/en/wan2.6-image-to-video-flash.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.6/wan2.6-image-to-video-flash"},{"hidden":true,"title":"Wan2.6 Reference Video","openapi":"openapi/en/wan2.6-reference-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.6/wan2.6-reference-video"},{"hidden":true,"title":"Wan2.6 Reference Video Flash","openapi":"openapi/en/wan2.6-reference-video-flash.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.6/wan2.6-reference-video-flash"}]},{"group":"Wan2.5","pages":[{"hidden":true,"title":"Wan2.5 Text to Video","openapi":"openapi/en/wan2.5-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.5/wan2.5-text-to-video"},{"hidden":true,"title":"Wan2.5 Image to Video","openapi":"openapi/en/wan2.5-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/wan2.5/wan2.5-image-to-video"}]}]},{"group":"Kling","icon":"video","pages":[{"hidden":true,"title":"Kling-V3 Video","openapi":"openapi/en/kling-v3-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-v3-video"},{"hidden":true,"title":"Kling-O3 Omni Video","openapi":"openapi/en/kling-v3-omni-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-v3-omni-video"},{"title":"Kling Video Create Voice","openapi":"openapi/en/kling-video-create-voice.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-video-create-voice"},{"title":"Kling Custom Element","hidden":true,"openapi":"openapi/en/kling-custom-element.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-custom-element"},{"group":"Kling-O3","pages":[{"title":"Kling-O3 Text to Video","openapi":"openapi/en/kling-o3-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o3-text-to-video"},{"title":"Kling-O3 Image to Video","openapi":"openapi/en/kling-o3-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o3-image-to-video"},{"title":"Kling-O3 Reference to Video","openapi":"openapi/en/kling-o3-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o3-reference-to-video"},{"title":"Kling-O3 Reference Video to Video","openapi":"openapi/en/kling-o3-video-to-video-reference.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o3-video-to-video-reference"},{"title":"Kling-O3 Video to Video Edit","openapi":"openapi/en/kling-o3-video-to-video-edit.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o3-video-to-video-edit"},{"hidden":true,"title":"Kling-O3 Video Edit","openapi":"openapi/en/kling-o3-video-edit.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o3-video-edit"}]},{"group":"Kling-V3","pages":[{"title":"Kling-V3 Text to Video","openapi":"openapi/en/kling-v3-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-v3-text-to-video"},{"title":"Kling-V3 Image to Video","openapi":"openapi/en/kling-v3-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-v3-image-to-video"},{"title":"Kling-V3 Motion Control","openapi":"openapi/en/kling-v3-motion-control.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-v3-motion-control"}]},{"group":"Kling-O1","pages":[{"hidden":true,"title":"Kling-O1 Image to Video","openapi":"openapi/en/kling-o1-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o1-image-to-video"},{"hidden":true,"title":"Kling-O1 Video Edit","openapi":"openapi/en/kling-o1-video-edit.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o1-video-edit"},{"hidden":true,"title":"Kling-O1 Video Edit (Fast)","openapi":"openapi/en/kling-o1-video-edit-fast.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/kling/kling-o1-video-edit-fast"}]}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Grok Imagine Text-to-Video","openapi":"openapi/en/grok-imagine-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/grok/grok-imagine-text-to-video"},{"title":"Grok Imagine Image-to-Video","openapi":"openapi/en/grok-imagine-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/grok/grok-imagine-image-to-video"},{"title":"Grok Imagine Reference-to-Video","openapi":"openapi/en/grok-imagine-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/grok/grok-imagine-reference-to-video"},{"title":"Grok Imagine Edit-Video","openapi":"openapi/en/grok-imagine-edit-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/grok/grok-imagine-edit-video"},{"title":"Grok Imagine Extension","openapi":"openapi/en/grok-imagine-video-extension.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/grok-imagine-video/grok-imagine-video-extension"}]},{"group":"PixVerse","icon":"video","pages":[{"group":"PixVerse V6","pages":[{"title":"PixVerse V6 Image to Video","openapi":"openapi/en/pixverse-v6-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-v6/pixverse-v6-image-to-video"},{"title":"PixVerse V6 Text to Video","openapi":"openapi/en/pixverse-v6-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-v6/pixverse-v6-text-to-video"},{"title":"PixVerse V6 Transition","openapi":"openapi/en/pixverse-v6-transition.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-v6/pixverse-v6-transition"},{"title":"PixVerse V6 Extend","openapi":"openapi/en/pixverse-v6-extend.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-v6/pixverse-v6-extend"}]},{"group":"PixVerse C1","pages":[{"title":"PixVerse C1 Image to Video","openapi":"openapi/en/pixverse-c1-image-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-c1/pixverse-c1-image-to-video"},{"title":"PixVerse C1 Reference to Video","openapi":"openapi/en/pixverse-c1-reference-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-c1/pixverse-c1-reference-to-video"},{"title":"PixVerse C1 Text to Video","openapi":"openapi/en/pixverse-c1-text-to-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-c1/pixverse-c1-text-to-video"},{"title":"PixVerse C1 Transition","openapi":"openapi/en/pixverse-c1-transition.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/pixverse-c1/pixverse-c1-transition"}]}]},{"group":"Auto Subtitles","icon":"video","pages":[{"title":"VEED Subtitles","openapi":"openapi/en/veed-subtitles.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/veed-subtitles/veed-subtitles"}]},{"group":"Lipsync","icon":"video","pages":[{"title":"Lipsync 2 Video Lip Sync","openapi":"openapi/en/lipsync-2.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/lipsync/lipsync-2"},{"title":"Fabric 1.0 Video Lip Sync","openapi":"openapi/en/fabric-1.0.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/fabric/fabric"},{"title":"OmniHuman 1.5 Digital Human Video Generation","openapi":"openapi/en/omnihuman-1.5.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/omnihuman/omnihuman-1.5-video-generate"},{"title":"Creatify Aurora","openapi":"openapi/en/creatify-aurora.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/creatify-aurora/creatify-aurora"}]},{"group":"Video Processing","icon":"video","pages":[{"title":"Topaz Video Upscale","openapi":"openapi/en/topaz-upscale-video.json POST /v1/videos/generations","href":"/pages/en/api-manual/video-series/topaz/topaz-upscale-video"}]}]},{"group":"Audio Series","pages":[{"group":"Suno","icon":"music","pages":[{"hidden":true,"title":"Suno Music Generation","openapi":"openapi/en/suno-music-generation.json POST /v1/audio/generations","href":"/pages/en/api-manual/audio-series/suno/suno-music-generation"}]},{"group":"Music Generation","icon":"music","pages":[{"title":"MiniMax Music Generation","openapi":"openapi/en/minimax-music.json POST /v1/audios/generations","href":"/pages/en/api-manual/audio-series/minimax-music/minimax-music"},{"title":"Lyria 3 Music Generation","openapi":"openapi/en/lyria.json POST /v1/audios/generations","href":"/pages/en/api-manual/audio-series/lyria/lyria"}]},{"group":"Speech Synthesis","icon":"microphone","pages":[{"title":"MiniMax Speech Text-to-Speech","openapi":"openapi/en/speech-2.8.json POST /v1/audios/generations","href":"/pages/en/api-manual/audio-series/minimax-speech/minimax-speech"},{"title":"MiniMax Preset Voice List","openapi":"openapi/en/configs-minimax-preset-voice-id.json GET /v1/configs/minimax-preset-voice-id","href":"/pages/en/api-manual/audio-series/minimax-speech/preset-voice-id"}]},{"group":"Speech Recognition","icon":"microphone","pages":[{"title":"Paraformer V2 Speech Recognition","openapi":"openapi/en/paraformer-v2.json POST /v1/audios/generations","href":"/pages/en/api-manual/audio-series/paraformer/paraformer-v2"},{"title":"Scribe V2 Speech Recognition","openapi":"openapi/en/scribe-v2.json POST /v1/audios/generations","href":"/pages/en/api-manual/audio-series/elevenlabs/scribe-v2"},{"title":"Cohere Transcribe Speech Recognition","openapi":"openapi/en/cohere-transcribe.json POST /v1/audios/generations","description":"- Cohere Transcribe audio file recognition model\n- Supports 14 languages (en/fr/de/it/es/pt/el/nl/pl/zh/ja/ko/vi/ar)\n- Optional punctuation output and per-chunk max token control\n- Async processing mode, use the returned task ID to [query the result](/pages/en/api-manual/task-management/get-task-detail)\n- Recognition results are returned in the `results` field of the task detail\n","href":"/pages/en/api-manual/audio-series/cohere-transcribe/cohere-transcribe"}]}]},{"group":"Text Series","pages":[{"group":"Async Request","icon":"clock","pages":[{"title":"Mixed Understanding","openapi":"openapi/en/llm-custom.json POST /v1/llm/generations","href":"/pages/en/api-manual/text-series/llm-async/llm-custom"},{"title":"Audio Understanding","openapi":"openapi/en/llm-audio.json POST /v1/llm/generations","description":"Use the returned task ID to [query the task](/pages/en/api-manual/task-management/get-task-detail) for the final result.","href":"/pages/en/api-manual/text-series/llm-async/llm-audio"},{"title":"Plain Text","openapi":"openapi/en/llm-text.json POST /v1/llm/generations","href":"/pages/en/api-manual/text-series/llm-async/llm-text"},{"title":"Video Understanding","openapi":"openapi/en/llm-video.json POST /v1/llm/generations","href":"/pages/en/api-manual/text-series/llm-async/llm-video"},{"title":"Image Understanding","openapi":"openapi/en/llm-vision.json POST /v1/llm/generations","href":"/pages/en/api-manual/text-series/llm-async/llm-vision"}]},{"group":"OpenAI Format","icon":"message","pages":[{"title":"OpenAI Format - Simple Chat","openapi":"openapi/en/openai-format-simple-chat.json POST /v1/chat/completions","href":"/pages/en/api-manual/text-series/openai-format/simple-chat"},{"title":"OpenAI Format - Embeddings","openapi":"openapi/en/openai-format-embeddings.json POST /v1/embeddings","href":"/pages/en/api-manual/text-series/openai-format/embeddings"},{"title":"OpenAI Format - Transcriptions","openapi":"openapi/en/openai-format-transcriptions.json POST /v1/audio/transcriptions","href":"/pages/en/api-manual/text-series/openai-format/transcriptions"},{"group":"Tool Calling","pages":[{"title":"OpenAI Format - Tool Calling Chat","openapi":"openapi/en/openai-format-chat-completions.json POST /v1/chat/completions","href":"/pages/en/api-manual/text-series/openai-format/chat-completions"},{"title":"OpenAI Format - Responses","openapi":"openapi/en/openai-format-responses.json POST /v1/responses","href":"/pages/en/api-manual/text-series/openai-format/responses"}]}]},{"group":"Claude Format","icon":"message","pages":[{"title":"Claude Format - Messages","openapi":"openapi/en/claude-format-messages.json POST /v1/messages","href":"/pages/en/api-manual/text-series/claude-format/messages"},{"group":"Tool Calling","pages":[{"title":"Claude Format - Tool Calling Messages","openapi":"openapi/en/claude-format-tool-calling-messages.json POST /v1/messages","href":"/pages/en/api-manual/text-series/claude-format/tool-calling-messages"}]}]},{"group":"Gemini Format","icon":"message","pages":[{"title":"Gemini Format - Generate Content","openapi":"openapi/en/gemini-format-generate-content.json POST /v1beta/models/{model}:generateContent","href":"/pages/en/api-manual/text-series/gemini-format/generate-content"},{"title":"Gemini Format - Stream Generate Content","openapi":"openapi/en/gemini-format-stream-generate-content.json POST /v1beta/models/{model}:streamGenerateContent","href":"/pages/en/api-manual/text-series/gemini-format/stream-generate-content"},{"title":"Gemini Format - Embeddings","openapi":"openapi/en/gemini-format-embeddings.json POST /v1beta/models/{model}:embedContent","href":"/pages/en/api-manual/text-series/gemini-format/embeddings"},{"title":"Gemini Format - Image Generation","openapi":"openapi/en/gemini-format-image-generation.json POST /v1beta/models/{model}:generateContent","href":"/pages/en/api-manual/text-series/gemini-format/image-generation"},{"title":"Gemini Format - Music Generation","openapi":"openapi/en/gemini-format-music-generation.json POST /v1beta/models/{model}:generateContent","href":"/pages/en/api-manual/text-series/gemini-format/music-generation"},{"group":"Tool Calling","pages":[{"title":"Gemini Format - Tool Calling Generate Content","openapi":"openapi/en/gemini-format-tool-calling-generate-content.json POST /v1beta/models/{model}:generateContent","href":"/pages/en/api-manual/text-series/gemini-format/tool-calling-generate-content"}]}]},{"group":"Free Models","icon":"gift","pages":[{"title":"Free Models","icon":"gift","href":"/pages/en/api-manual/text-series/free-models/free-models"}]},{"group":"Doubao Seed 2.0","icon":"message","pages":[{"group":"Chat Completions API","pages":[{"hidden":true,"title":"Doubao Seed 2.0 - Quick Start","openapi":"openapi/en/doubao-seed-2.0-quickstart.json POST /v1/chat/completions","href":"/pages/en/api-manual/text-series/doubao-seed-2.0/doubao-seed-2.0-quickstart"},{"hidden":true,"title":"Doubao Seed 2.0 - Complete API Reference","openapi":"openapi/en/doubao-seed-2.0-reference.json POST /v1/chat/completions","href":"/pages/en/api-manual/text-series/doubao-seed-2.0/doubao-seed-2.0-reference"}]},{"group":"Responses API","pages":[{"hidden":true,"title":"Doubao Seed 2.0 Responses API - Quick Start","openapi":"openapi/en/doubao-seed-2.0-responses-quickstart.json POST /v1/responses","href":"/pages/en/api-manual/text-series/doubao-seed-2.0/doubao-seed-2.0-responses-quickstart"},{"hidden":true,"title":"Doubao Seed 2.0 Responses API - Complete API Reference","openapi":"openapi/en/doubao-seed-2.0-responses-reference.json POST /v1/responses","href":"/pages/en/api-manual/text-series/doubao-seed-2.0/doubao-seed-2.0-responses-reference"}]}]},{"group":"DeepSeek","icon":"message","pages":[{"hidden":true,"title":"DeepSeek - Complete API Reference","openapi":"openapi/en/deepseek-reference.json POST /v1/chat/completions","href":"/pages/en/api-manual/text-series/deepseek/deepseek-reference"}]},{"group":"Kimi-K2","icon":"message","pages":[{"hidden":true,"title":"Kimi K2 - Complete API Reference","openapi":"openapi/en/kimi-k2-api.json POST /v1/chat/completions","href":"/pages/en/api-manual/text-series/kimi-k2/kimi-k2-api"}]},{"group":"MiniMax","icon":"message","pages":[{"group":"MiniMax-M2.5","pages":[{"hidden":true,"title":"MiniMax-M2.5 - Complete API Reference","openapi":"openapi/en/minimax-m2.5-api.json POST /v1/chat/completions","href":"/pages/en/api-manual/text-series/minimax-m2.5/minimax-m2.5-api"}]}]}]},{"group":"Document Processing","pages":[{"title":"Doc2X V3 PDF Conversion","openapi":"openapi/en/doc2x-v3.json POST /v1/run/generations","href":"/pages/en/api-manual/document-processing/doc2x-v3"}]},{"group":"Account Management","pages":[{"hidden":true,"title":"Get Credits Usage","openapi":"openapi/en/get-credits.json GET /v1/account/credits","href":"/pages/en/api-manual/account-management/get-credits"}]},{"group":"Task Management","pages":[{"title":"Query Task Status","openapi":"openapi/en/get-task-detail.json GET /v1/tasks/{task_id}","href":"/pages/en/api-manual/task-management/get-task-detail"},{"title":"Error Codes Reference","icon":"triangle-exclamation","href":"/pages/en/api-manual/task-management/error-codes"}]},{"group":"File Management","pages":[{"group":"File Upload","icon":"upload","pages":[{"title":"File Upload - Base64","openapi":"openapi/en/upload-base64.json POST /v1/files/upload/base64","href":"/pages/en/api-manual/file-management/upload-base64"},{"title":"File Upload - Stream","openapi":"openapi/en/upload-stream.json POST /v1/files/upload/stream","href":"/pages/en/api-manual/file-management/upload-stream"},{"title":"File Upload - URL","openapi":"openapi/en/upload-url.json POST /v1/files/upload/url","href":"/pages/en/api-manual/file-management/upload-url"}]}]}]},{"tab":"Integration Guide","pages":[{"title":"Integration Guide","href":"/pages/en/integration-guide/aihub-mcp"}]},{"tab":"User Guide","pages":[{"title":"User Guide","href":"/pages/en/introduction"}]},{"tab":"Skills","pages":[{"title":"Skills","href":"/pages/en/skills"}]}]},{"language":"zh","default":true,"navbar":{"links":[],"primary":{"type":"button","label":"控制台","href":"https://api.aihubmax.com/console"}},"pages":[{"title":"zh","href":"/pages/zh/api-manual/text-series/llm-async/llm-custom"}]}]},"basePath":"","title":"Mixed Understanding - AihubMax","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}