Query the current status and result of an asynchronous task
Task status flow: pending → processing → completed / failed; only completed and failed mean the task has ended
Supported asynchronous tasks may return a task_delayed notice in error after more than 30 minutes of processing. The status remains processing; keep polling. Neither progress=100 nor a non-null error means the task has ended
Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message
Optionally pass sync_upstream=true to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund
After task completion, result links are valid for 24 hours; please save them promptly
Use only status to determine whether a task has ended. Neither progress=100 nor a non-null error means the task has ended.
status
Has the Task Ended?
error
pending
No; keep polling
null
processing
No; keep polling
Usually null; may contain a task_delayed notice when processing takes longer
completed
Yes; read results
null
failed
Yes; read the failure details
Contains a public error code and description
For supported asynchronous video, image, audio, and document tasks that have been submitted and remain unfinished after more than 30 minutes of processing, the existing error field returns code=task_delayed and type=task_status. The notice states the actual processing deadline for that task. Deadlines can vary; do not treat the 2-hour deadline in the example as a fixed value.For example, when the processing deadline is 2 hours and the reserved credits have not yet been refunded:
{ "status": "processing", "progress": 100, "results": null, "error": { "code": "task_delayed", "type": "task_status", "message": "The task has been processing for more than 30 minutes. If it remains unfinished 2 hours after processing began, the system will mark it as failed due to timeout. The reserved credits will then be refunded automatically." }}
If the processing deadline has passed but the system has not yet ended the task, status remains processing and the notice indicates that the task is waiting to be marked as failed due to timeout. This does not mean a refund has already occurred; keep polling.For these Gateway video, image, audio, and document tasks, refund notices describe only that task’s reserved credits: no refund is needed if no credits were reserved, and a completed refund is reported only after it is confirmed, without promising another refund. For failed tasks, refund information is appended to error.message while the original public error.code and error.type are preserved. usage.credits_reserved records the original reserved amount and can remain positive after a refund; it does not indicate that a refund is still pending.A delay notice itself does not change the task status or issue a refund. You can still use sync_upstream=true to proactively refresh the task status once, as described in the API reference. See Error Codes Reference for code meanings.
After a task completes (status=completed), results is an array whose structure varies by model. Before parsing results, check the model field in the response to determine the structure type.
Full OpenAI ChatCompletion: {id, object:"chat.completion", created, model, choices[].message, usage}
LLM generation (llm_router / llm_async)
The url values in the common formats above are valid for 24 hours. Please save them promptly. If a special format uses a different retention period, refer to that model’s documentation.
url is the image address after this system stores it; per-image data and shared generation-response data are preserved separately, and usage is not returned
gpt-image-2.5-sunburst
image
Same as Flare
Read each image’s actual dimensions from image_metadata.size; in this test, a 1024x1024 request produced a 1254x1254 result
image_metadata stores fields specific to the image, such as generation_id, model, and size. response_metadata stores fields shared by one generation response, such as created, background, output_format, quality, and size. In multi-image results, this information comes from the same request and must not be treated as independent usage data for each image. Other generation metadata fields are also preserved, so callers should allow additional fields.The following is a structure example. files.example.com represents a file address returned by the system, not a tested downloadable link:
New tasks for the two 2.5 models are billed by total text input, total image input, image output, and text output, without a cache discount. See the model documentation for specific rates. When cached usage is not reported, it remains unknown and does not prevent billing by the four total categories; these statistics are not included in image results.The two 2.5 models must store images in this system before successful results are published. Duplicate image addresses in metadata are also replaced with this system’s addresses. Image results contain neither the generation service’s original image address nor usage. Retention for these images is determined by this system’s file-storage policy; download and save them promptly after the task completes.
Additionally returns the generation seed for reproducibility
seedance-2.0-fast-text-to-video
video
{url, seed}
Same as above
seedance-2.0-image-to-video
video
{url, seed}
Same as above
seedance-2.0-fast-image-to-video
video
{url, seed}
Same as above
seedance-2.0-reference-to-video
video
{url, seed}
Same as above
seedance-2.0-fast-reference-to-video
video
{url, seed}
Same as above
The seed field is always present: it is the corresponding integer when the generation process returns a seed; if no seed is returned for this generation, it is null. Handle it as “field always present, value may be null”.
url is the unified primary video URL provided by the Gateway. result preserves the complete nested HongniaoAI result; video URLs, format, duration, and processing metadata from both the top level and nested result are also retained.
seedance-2.5-image-to-video
video
Same as above
image_url is converted to the upstream images array. The result structure is the same as for text-to-video.
seedance-2.5-reference-to-video
video
Same as above
image_urls, video_urls, and audio_urls are converted to the upstream images, videos, and audios arrays. The result structure is the same as for the other two modes.
Fields such as result.output.outputUrls, result.outputs, result.videoUrl, result.videoUrls, result.video_url, and result.resultUrls come from the upstream task response. The adapter preserves these fields inside results[i].result and also exposes available fields on results[i]. HongniaoAI task responses may return seconds as a string even when the submitted request uses an integer; parse it according to its actual JSON type. Fields such as expires_at and thumbnail_url, as well as future upstream fields, may be absent. Parsers should accept missing and additional fields.
Reference Video Fast Variant Degradation Notice (degraded_reason)
model
type
results[i] Structure
Notes
seedance-2.0-fast-reference-to-video
video
{url, degraded_reason?}
When the requested media combination is “image + audio” or “video + audio”, the fast variant has no corresponding model, so the system automatically falls back to the standard reference-video model and injects explanatory text into results[0].degraded_reason. Other media combinations do not include this field.
Document Conversion (Result Is a ZIP Archive URL, Not a Direct Media Link)
model
type
results[i] Structure
Notes
doc2x-v3
document
{url}
PDF conversion result. url points to a downloadable ZIP archive containing the converted document files (md / tex / docx) and image assets; unlike the direct media URLs of image/video, this URL must be extracted before use
Read model first, then parse results: Different models under the same type may have completely different structures
Mind the expiration for URL results: The url values in common formats are valid for 24 hours; GPT Image 2.5 follows the file-storage policy described above. Your application should download and store them immediately upon receipt
Profile-type tasks return voice_id / character_id / profile_id as long-lived resource identifiers that can be used directly in subsequent task parameters
Whether to proactively refresh the task status before returning. Only takes effect for tasks that are still in progress and have an associated remote task; otherwise, the current task status is returned directly.
Task result list; only populated when status=completed.
Structure varies by task output type (type):
type
results[i] structure
Typical scenarios
image
{url}, some models include content_type; special tasks (e.g. PHOTA profile creation) return {result_type, profile_id}
Image generation, editing, enhancement
video
{url}, some models include content_type / seed; special subtasks (Kling voice creation / Sora 2 character profile) return {voice_id} or {character_id, name}
Video generation, lip-sync
audio (TTS / Music)
{url}
Text-to-speech, music generation
audio (STT / Transcription)
{text, language_code, language_probability, words[]} (no url)
Speech transcription (e.g. Scribe V2)
audio (Voice Clone)
{voice_id}; with preview text, additionally returns {url, content_type}
Voice cloning (e.g. MiniMax Voice Clone)
llm
Full OpenAI ChatCompletion: {id, object:"chat.completion", created, model, choices[].message, usage}
LLM generation (llm_gateway / llm_async)
General notes:
Result URLs are valid for 24 hours; please save them promptly
type=llm results are conversation responses and do not produce URLs
Some tasks produce non-media artifacts (voice profile / character profile creation, etc.); results contains id-type fields instead of url
Image result (type=image). Most image models only return url; some models (Patina family) also include content_type; PHOTA profile creation tasks return {result_type, profile_id} (non-image artifact)
Failure information or a delay notice for a task still processing; may be null. When status=failed, contains a failure description safe to show to clients. Supported submitted asynchronous tasks that remain processing after more than 30 minutes return code=task_delayed and type=task_status, with the actual processing deadline for that task. If the deadline has passed but the task has not ended, the notice indicates that it is waiting for the system to process it; this does not mean it has failed or been refunded. Delay notices state that no refund is needed when no credits were reserved, and report a completed refund only after it is confirmed, without promising another refund. For failed Gateway video, image, audio, and document tasks, refund information is appended only to message while the original public code/type are preserved. Successful tasks return null. Always use status to determine whether the task has ended.
{"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.4074","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/task-management/get-task-detail","slug":"/pages/en/api-manual/task-management/get-task-detail","pageMetadata":{"title":"Query Task Status","openapi":"openapi/en/get-task-detail.json GET /v1/tasks/{task_id}","description":"- Query the current status and result of an asynchronous task\n- Task status flow: `pending` → `processing` → `completed` / `failed`; only `completed` and `failed` mean the task has ended\n- Supported asynchronous tasks may return a `task_delayed` notice in `error` after more than 30 minutes of processing. The `status` remains `processing`; keep polling. Neither `progress=100` nor a non-null `error` means the task has ended\n- Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message\n- Optionally pass `sync_upstream=true` to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund\n- After task completion, result links are valid for 24 hours; please save them promptly\n","href":"/pages/en/api-manual/task-management/get-task-detail"},"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 ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Query the current status and result of an asynchronous task\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Task status flow: \", _jsx(_components.code, {\n children: \"pending\"\n }), \" → \", _jsx(_components.code, {\n children: \"processing\"\n }), \" → \", _jsx(_components.code, {\n children: \"completed\"\n }), \" / \", _jsx(_components.code, {\n children: \"failed\"\n }), \"; only \", _jsx(_components.code, {\n children: \"completed\"\n }), \" and \", _jsx(_components.code, {\n children: \"failed\"\n }), \" mean the task has ended\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Supported asynchronous tasks may return a \", _jsx(_components.code, {\n children: \"task_delayed\"\n }), \" notice in \", _jsx(_components.code, {\n children: \"error\"\n }), \" after more than 30 minutes of processing. The \", _jsx(_components.code, {\n children: \"status\"\n }), \" remains \", _jsx(_components.code, {\n children: \"processing\"\n }), \"; keep polling. Neither \", _jsx(_components.code, {\n children: \"progress=100\"\n }), \" nor a non-null \", _jsx(_components.code, {\n children: \"error\"\n }), \" means the task has ended\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Optionally pass \", _jsx(_components.code, {\n children: \"sync_upstream=true\"\n }), \" to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"After task completion, result links are valid for 24 hours; please save them promptly\"\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`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`task-status-and-delay-notices`,children:`Task Status and Delay Notices`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Use only `,_jsx(_components.code,{children:`status`}),` to determine whether a task has ended.`]}),` Neither `,_jsx(_components.code,{children:`progress=100`}),` nor a non-null `,_jsx(_components.code,{children:`error`}),` means the task has ended.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.th,{children:`Has the Task Ended?`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`No; keep polling`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`processing`})}),_jsx(_components.td,{children:`No; keep polling`}),_jsxs(_components.td,{children:[`Usually `,_jsx(_components.code,{children:`null`}),`; may contain a `,_jsx(_components.code,{children:`task_delayed`}),` notice when processing takes longer`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsxs(_components.td,{children:[`Yes; read `,_jsx(_components.code,{children:`results`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`null`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`Yes; read the failure details`}),_jsx(_components.td,{children:`Contains a public error code and description`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For supported asynchronous video, image, audio, and document tasks that have been submitted and remain unfinished after more than 30 minutes of processing, the existing `,_jsx(_components.code,{children:`error`}),` field returns `,_jsx(_components.code,{children:`code=task_delayed`}),` and `,_jsx(_components.code,{children:`type=task_status`}),`. The notice states the actual processing deadline for that task. Deadlines can vary; do not treat the 2-hour deadline in the example as a fixed value.`]}),`\n`,_jsx(_components.p,{children:`For example, when the processing deadline is 2 hours and the reserved credits have not yet been refunded:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_delayed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The task has been processing for more than 30 minutes. If it remains unfinished 2 hours after processing began, the system will mark it as failed due to timeout. The reserved credits will then be refunded automatically.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If the processing deadline has passed but the system has not yet ended the task, `,_jsx(_components.code,{children:`status`}),` remains `,_jsx(_components.code,{children:`processing`}),` and the notice indicates that the task is waiting to be marked as failed due to timeout. This does not mean a refund has already occurred; keep polling.`]}),`\n`,_jsxs(_components.p,{children:[`For these Gateway video, image, audio, and document tasks, refund notices describe only that task’s reserved credits: no refund is needed if no credits were reserved, and a completed refund is reported only after it is confirmed, without promising another refund. For failed tasks, refund information is appended to `,_jsx(_components.code,{children:`error.message`}),` while the original public `,_jsx(_components.code,{children:`error.code`}),` and `,_jsx(_components.code,{children:`error.type`}),` are preserved. `,_jsx(_components.code,{children:`usage.credits_reserved`}),` records the original reserved amount and can remain positive after a refund; it does not indicate that a refund is still pending.`]}),`\n`,_jsxs(_components.p,{children:[`A delay notice itself does not change the task status or issue a refund. You can still use `,_jsx(_components.code,{children:`sync_upstream=true`}),` to proactively refresh the task status once, as described in the API reference. See `,_jsx(_components.a,{href:`/pages/en/api-manual/task-management/error-codes`,children:`Error Codes Reference`}),` for code meanings.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`results-field-format`,children:[_jsx(_components.code,{children:`results`}),` Field Format`]}),`\n`,_jsxs(_components.p,{children:[`After a task completes (`,_jsx(_components.code,{children:`status=completed`}),`), `,_jsx(_components.code,{children:`results`}),` is an array whose `,_jsx(_components.strong,{children:`structure varies by model`}),`. Before parsing results, check the `,_jsx(_components.code,{children:`model`}),` field in the response to determine the structure type.`]}),`\n`,_jsx(Heading,{level:`3`,id:`common-format-most-models`,children:`Common Format (Most Models)`}),`\n`,_jsxs(_components.p,{children:[`Grouped by task output type (`,_jsx(_components.code,{children:`type`}),`):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Typical Use Cases`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url}`})}),_jsx(_components.td,{children:`Image generation, editing, enhancement`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url}`})}),_jsx(_components.td,{children:`Video generation, lip-sync, video editing`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`audio`}),` (TTS / Music)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url}`})}),_jsx(_components.td,{children:`Text-to-speech, music generation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`llm`})}),_jsxs(_components.td,{children:[`Full OpenAI `,_jsx(_components.code,{children:`ChatCompletion`}),`: `,_jsx(_components.code,{children:`{id, object:\"chat.completion\", created, model, choices[].message, usage}`})]}),_jsx(_components.td,{children:`LLM generation (llm_router / llm_async)`})]})]})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`url`}),` values in the common formats above are valid for 24 hours. Please save them promptly. If a special format uses a different retention period, refer to that model’s documentation.`]}),`\n`]}),`\n`,_jsxs(Heading,{level:`3`,id:`special-formats-by-model`,children:[`Special Formats (By `,_jsx(_components.code,{children:`model`}),`)`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`results[i]`}),` structure for the following models `,_jsx(_components.strong,{children:`does not follow`}),` the common format above. Callers must handle them separately based on `,_jsx(_components.code,{children:`model`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`gpt-image-2-5-generation-metadata`,children:`GPT Image 2.5 Generation Metadata`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.5-flare`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, image_metadata, response_metadata}`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`url`}),` is the image address after this system stores it; per-image data and shared generation-response data are preserved separately, and `,_jsx(_components.code,{children:`usage`}),` is not returned`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.5-sunburst`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`Same as Flare`}),_jsxs(_components.td,{children:[`Read each image’s actual dimensions from `,_jsx(_components.code,{children:`image_metadata.size`}),`; in this test, a 1024x1024 request produced a 1254x1254 result`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`image_metadata`}),` stores fields specific to the image, such as `,_jsx(_components.code,{children:`generation_id`}),`, `,_jsx(_components.code,{children:`model`}),`, and `,_jsx(_components.code,{children:`size`}),`. `,_jsx(_components.code,{children:`response_metadata`}),` stores fields shared by one generation response, such as `,_jsx(_components.code,{children:`created`}),`, `,_jsx(_components.code,{children:`background`}),`, `,_jsx(_components.code,{children:`output_format`}),`, `,_jsx(_components.code,{children:`quality`}),`, and `,_jsx(_components.code,{children:`size`}),`. In multi-image results, this information comes from the same request and must not be treated as independent usage data for each image. Other generation metadata fields are also preserved, so callers should allow additional fields.`]}),`\n`,_jsxs(_components.p,{children:[`The following is a structure example. `,_jsx(_components.code,{children:`files.example.com`}),` represents a file address returned by the system, not a tested downloadable link:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://files.example.com/generated/image.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"generation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example-generation-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.5-flare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1374x1145\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response_metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1789494958`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"background\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1374x1145\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`New tasks for the two 2.5 models are billed by total text input, total image input, image output, and text output, without a cache discount. See `,_jsx(_components.a,{href:`/pages/en/api-manual/image-series/gpt-image-2/gpt-image-2`,children:`the model documentation`}),` for specific rates. When cached usage is not reported, it remains unknown and does not prevent billing by the four total categories; these statistics are not included in image results.`]}),`\n`,_jsxs(_components.p,{children:[`The two 2.5 models must store images in this system before successful results are published. Duplicate image addresses in metadata are also replaced with this system’s addresses. Image results contain neither the generation service’s original image address nor `,_jsx(_components.code,{children:`usage`}),`. Retention for these images is determined by this system’s file-storage policy; download and save them promptly after the task completes.`]}),`\n`,_jsx(Heading,{level:`4`,id:`profile-creation-no-media-url-returned`,children:`Profile Creation (No Media URL Returned)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`kling-video-create-voice`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{voice_id}`})}),_jsx(_components.td,{children:`Creates a reusable voice profile ID for subsequent Kling lip-sync / synthesis tasks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sora-2-character`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{character_id, name}`})}),_jsx(_components.td,{children:`Extracts a character profile from a reference video for character consistency in subsequent Sora 2 tasks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phota-create-profile`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{result_type, profile_id}`})}),_jsxs(_components.td,{children:[`Trains a person profile for use by other PHOTA models; `,_jsx(_components.code,{children:`result_type`}),` is always `,_jsx(_components.code,{children:`profile`})]})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`voice-cloning`,children:`Voice Cloning`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`minimax-voice-clone`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{voice_id}`}),`; with preview text, additionally returns `,_jsx(_components.code,{children:`{url, content_type}`})]}),_jsxs(_components.td,{children:[`MiniMax voice cloning: submit a reference audio to generate a reusable voice ID; if preview text is provided, the preview audio `,_jsx(_components.code,{children:`url`}),` is also returned`]})]})})]}),`\n`,_jsx(Heading,{level:`4`,id:`speech-transcription-no-media-url-returned`,children:`Speech Transcription (No Media URL Returned)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`scribe-v2`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{text, language_code, language_probability, words[]}`})}),_jsxs(_components.td,{children:[`Speech-to-text. `,_jsx(_components.code,{children:`words[]`}),` is a word-level timestamp array; each entry contains `,_jsx(_components.code,{children:`text`}),` / `,_jsx(_components.code,{children:`start`}),` / `,_jsx(_components.code,{children:`end`}),` / `,_jsx(_components.code,{children:`type`})]})]})})]}),`\n`,_jsx(Heading,{level:`4`,id:`video-with-seed-value`,children:`Video with Seed Value`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.0-text-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, seed}`})}),_jsx(_components.td,{children:`Additionally returns the generation seed for reproducibility`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.0-fast-text-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, seed}`})}),_jsx(_components.td,{children:`Same as above`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.0-image-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, seed}`})}),_jsx(_components.td,{children:`Same as above`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.0-fast-image-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, seed}`})}),_jsx(_components.td,{children:`Same as above`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.0-reference-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, seed}`})}),_jsx(_components.td,{children:`Same as above`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.0-fast-reference-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, seed}`})}),_jsx(_components.td,{children:`Same as above`})]})]})]}),`\n`,_jsxs(Note,{children:[`The `,_jsx(_components.code,{children:`seed`}),` field is `,_jsx(_components.strong,{children:`always present`}),`: it is the corresponding integer when the generation process returns a seed; if no seed is returned for this generation, it is `,_jsx(_components.code,{children:`null`}),`. Handle it as “field always present, value may be `,_jsx(_components.code,{children:`null`}),`”.`]}),`\n`,_jsx(Heading,{level:`4`,id:`seedance-2-5-hongniaoai`,children:`Seedance 2.5 (HongniaoAI)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.5-text-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, result, id, model, status, progress, created_at, aspectRatio, seconds, completed_at?, processing_time?, video_url?, videoUrl?, video_urls?, videoUrls?, resultUrls?, outputs?, output?, format?, duration?, expires_at?, thumbnail_url?, ...}`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`url`}),` is the unified primary video URL provided by the Gateway. `,_jsx(_components.code,{children:`result`}),` preserves the complete nested HongniaoAI result; video URLs, format, duration, and processing metadata from both the top level and nested result are also retained.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.5-image-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`Same as above`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_url`}),` is converted to the upstream `,_jsx(_components.code,{children:`images`}),` array. The result structure is the same as for text-to-video.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.5-reference-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`Same as above`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`video_urls`}),`, and `,_jsx(_components.code,{children:`audio_urls`}),` are converted to the upstream `,_jsx(_components.code,{children:`images`}),`, `,_jsx(_components.code,{children:`videos`}),`, and `,_jsx(_components.code,{children:`audios`}),` arrays. The result structure is the same as for the other two modes.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Fields such as `,_jsx(_components.code,{children:`result.output.outputUrls`}),`, `,_jsx(_components.code,{children:`result.outputs`}),`, `,_jsx(_components.code,{children:`result.videoUrl`}),`, `,_jsx(_components.code,{children:`result.videoUrls`}),`, `,_jsx(_components.code,{children:`result.video_url`}),`, and `,_jsx(_components.code,{children:`result.resultUrls`}),` come from the upstream task response. The adapter preserves these fields inside `,_jsx(_components.code,{children:`results[i].result`}),` and also exposes available fields on `,_jsx(_components.code,{children:`results[i]`}),`. HongniaoAI task responses may return `,_jsx(_components.code,{children:`seconds`}),` as a string even when the submitted request uses an integer; parse it according to its actual JSON type. Fields such as `,_jsx(_components.code,{children:`expires_at`}),` and `,_jsx(_components.code,{children:`thumbnail_url`}),`, as well as future upstream fields, may be absent. Parsers should accept missing and additional fields.`]}),`\n`,_jsxs(Heading,{level:`4`,id:`reference-video-fast-variant-degradation-notice-degraded_reason`,children:[`Reference Video Fast Variant Degradation Notice (`,_jsx(_components.code,{children:`degraded_reason`}),`)`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`seedance-2.0-fast-reference-to-video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, degraded_reason?}`})}),_jsxs(_components.td,{children:[`When the requested media combination is “image + audio” or “video + audio”, the fast variant has no corresponding model, so the system automatically falls back to the standard reference-video model and injects explanatory text into `,_jsx(_components.code,{children:`results[0].degraded_reason`}),`. Other media combinations do not include this field.`]})]})})]}),`\n`,_jsx(Heading,{level:`4`,id:`pbr-material-single-task-returns-multiple-semantically-labeled-results`,children:`PBR Material (Single Task Returns Multiple Semantically Labeled Results)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`patina-pbr-maps`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url, content_type, result_type: \"pbr_map\", map_type}`})}),_jsxs(_components.td,{children:[`PBR map generation. `,_jsx(_components.code,{children:`map_type`}),` identifies the map type (e.g. `,_jsx(_components.code,{children:`albedo`}),` / `,_jsx(_components.code,{children:`normal`}),` / `,_jsx(_components.code,{children:`roughness`}),`, etc.)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`patina-material`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsxs(_components.td,{children:[`Mixed: `,_jsx(_components.code,{children:`{url, content_type, result_type: \"texture\"}`}),` and `,_jsx(_components.code,{children:`{url, content_type, result_type: \"pbr_map\", map_type}`})]}),_jsxs(_components.td,{children:[`Outputs both tiling textures and multiple PBR maps; distinguish by `,_jsx(_components.code,{children:`result_type`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`patina-material-extract`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsxs(_components.td,{children:[`Same as `,_jsx(_components.code,{children:`patina-material`})]}),_jsx(_components.td,{children:`Extracts textures from an existing image to generate a PBR map set`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`music-generation-with-lyrics-text`,children:`Music Generation with Lyrics Text`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lyria-3`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{url}`}),`, some candidates add `,_jsx(_components.code,{children:`{lyrics}`})]}),_jsxs(_components.td,{children:[`30-second music clip; `,_jsx(_components.code,{children:`lyrics`}),` is the generated lyrics / section structure text, returned only by some candidates and omitted when absent`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lyria-3-pro`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{url}`}),`, some candidates add `,_jsx(_components.code,{children:`{lyrics}`})]}),_jsxs(_components.td,{children:[`Full song (up to ~3 minutes); same as above, `,_jsx(_components.code,{children:`lyrics`}),` may be omitted depending on the candidate`]})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`document-conversion-result-is-a-zip-archive-url-not-a-direct-media-link`,children:`Document Conversion (Result Is a ZIP Archive URL, Not a Direct Media Link)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`results[i]`}),` Structure`]}),_jsx(_components.th,{children:`Notes`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`doc2x-v3`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{url}`})}),_jsxs(_components.td,{children:[`PDF conversion result. `,_jsx(_components.code,{children:`url`}),` points to a downloadable ZIP archive containing the converted document files (md / tex / docx) and image assets; `,_jsx(_components.strong,{children:`unlike the direct media URLs of image/video, this URL must be extracted before use`})]})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`parsing-recommendations`,children:`Parsing Recommendations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Read `,_jsx(_components.code,{children:`model`}),` first, then parse `,_jsx(_components.code,{children:`results`})]}),`: Different models under the same `,_jsx(_components.code,{children:`type`}),` may have completely different structures`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mind the expiration for URL results`}),`: The `,_jsx(_components.code,{children:`url`}),` values in common formats are valid for 24 hours; GPT Image 2.5 follows the file-storage policy described above. Your application should download and store them immediately upon receipt`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Profile-type tasks`}),` return `,_jsx(_components.code,{children:`voice_id`}),` / `,_jsx(_components.code,{children:`character_id`}),` / `,_jsx(_components.code,{children:`profile_id`}),` as long-lived resource identifiers that can be used directly in subsequent task parameters`]}),`\n`]})]})}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":"Query Task Status","openapi":"openapi/en/get-task-detail.json GET /v1/tasks/{task_id}","description":"- Query the current status and result of an asynchronous task\n- Task status flow: `pending` → `processing` → `completed` / `failed`; only `completed` and `failed` mean the task has ended\n- Supported asynchronous tasks may return a `task_delayed` notice in `error` after more than 30 minutes of processing. The `status` remains `processing`; keep polling. Neither `progress=100` nor a non-null `error` means the task has ended\n- Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message\n- Optionally pass `sync_upstream=true` to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund\n- After task completion, result links are valid for 24 hours; please save them promptly\n","href":"/pages/en/api-manual/task-management/get-task-detail"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Task Status and Delay Notices","slug":"task-status-and-delay-notices","depth":2,"children":[]},{"title":"results Field Format","slug":"results-field-format","depth":2,"children":[{"title":"Common Format (Most Models)","slug":"common-format-most-models","depth":3,"children":[]},{"title":"Special Formats (By model)","slug":"special-formats-by-model","depth":3,"children":[]},{"title":"GPT Image 2.5 Generation Metadata","slug":"gpt-image-2-5-generation-metadata","depth":4,"children":[]},{"title":"Profile Creation (No Media URL Returned)","slug":"profile-creation-no-media-url-returned","depth":4,"children":[]},{"title":"Voice Cloning","slug":"voice-cloning","depth":4,"children":[]},{"title":"Speech Transcription (No Media URL Returned)","slug":"speech-transcription-no-media-url-returned","depth":4,"children":[]},{"title":"Video with Seed Value","slug":"video-with-seed-value","depth":4,"children":[]},{"title":"Seedance 2.5 (HongniaoAI)","slug":"seedance-2-5-hongniaoai","depth":4,"children":[]},{"title":"Reference Video Fast Variant Degradation Notice (degraded_reason)","slug":"reference-video-fast-variant-degradation-notice-degraded_reason","depth":4,"children":[]},{"title":"PBR Material (Single Task Returns Multiple Semantically Labeled Results)","slug":"pbr-material-single-task-returns-multiple-semantically-labeled-results","depth":4,"children":[]},{"title":"Music Generation with Lyrics Text","slug":"music-generation-with-lyrics-text","depth":4,"children":[]},{"title":"Document Conversion (Result Is a ZIP Archive URL, Not a Direct Media Link)","slug":"document-conversion-result-is-a-zip-archive-url-not-a-direct-media-link","depth":4,"children":[]},{"title":"Parsing Recommendations","slug":"parsing-recommendations","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"get-task-detail","summary":"Query Task Status","description":"- Query the current status and result of an asynchronous task\n- Task status flow: `pending` → `processing` → `completed` / `failed`; only `completed` and `failed` mean the task has ended\n- Supported asynchronous tasks may return a `task_delayed` notice in `error` after more than 30 minutes of processing. The `status` remains `processing`; keep polling. Neither `progress=100` nor a non-null `error` means the task has ended\n- Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message\n- Optionally pass `sync_upstream=true` to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund\n- After task completion, result links are valid for 24 hours; please save them promptly\n","tags":["Task Management"],"x-apifox-folder":"new-api-getway/unified-gateway/任务管理","parameters":["d60fd4f4-6933-4687-a03e-4fa5b440f89c","58b44273-683f-43eb-87ec-df8284f8797f"],"responses":{"200":"6a09ef3c-e595-49b4-933d-ad717518b3d6","401":"4c410087-1417-4deb-b4da-fb6e3a0e70b3","404":"73520980-affb-4d8d-a537-59d999119a2f","429":"46bc4297-7524-414e-92b8-7b50b257c357","500":"80972684-a4c0-4a12-b6c8-09ad08b390a4"},"method":"get","type":"path","servers":["e404ea67-8653-4740-a3dc-a79381959c57"],"security":["0d26d8ef-c172-40b5-9a3f-78800f9b6fd3"],"path":"/v1/tasks/{task_id}","baseUrlOptions":["https://api.aihubmax.com"],"title":"Query Task Status","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d60fd4f4-6933-4687-a03e-4fa5b440f89c":{"name":"task_id","in":"path","required":true,"schema":{"type":"string","example":"task-unified-1757165031-uyujaw3d","isRequired":true,"description":"Task ID, returned by the task submission endpoint","uniqueKey":"","typeLabel":"string"},"description":"Task ID, returned by the task submission endpoint"},"58b44273-683f-43eb-87ec-df8284f8797f":{"name":"sync_upstream","in":"query","required":false,"schema":{"type":"boolean","default":false,"example":true,"isRequired":false,"description":"Whether to proactively refresh the task status before returning. Only takes effect for tasks that are still in progress and have an associated remote task; otherwise, the current task status is returned directly.","uniqueKey":"","typeLabel":"boolean"},"description":"Whether to proactively refresh the task status before returning. Only takes effect for tasks that are still in progress and have an associated remote task; otherwise, the current task status is returned directly."}},"responses":{"6a09ef3c-e595-49b4-933d-ad717518b3d6":{"description":"Query successful","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Task ID","example":"task-unified-1757165031-uyujaw3d","uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Specific task type","enum":["video.generation.task","image.generation.task","audio.generation.task","llm.generation.task"],"example":"video.generation.task","uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Task output type","enum":["video","image","audio","llm"],"example":"video","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"Actual model name used","example":"lipsync-2","uniqueKey":"model","typeLabel":"string"},"status":{"type":"string","description":"Task status. **Use only this field to determine whether the task has ended**; neither `progress=100` nor a non-null `error` can replace this check.\n\n**Options:**\n| Value | Meaning | Has the Task Ended? |\n|---|---|---|\n| `pending` | Waiting for processing | No |\n| `processing` | Processing, possibly with a delay notice | No |\n| `completed` | Completed | Yes |\n| `failed` | Failed | Yes |\n","enum":["pending","processing","completed","failed"],"example":"pending","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"progress":{"type":"integer","description":"Task progress percentage","minimum":0,"maximum":100,"example":0,"uniqueKey":"progress","typeLabel":"integer"},"created":{"type":"integer","description":"Task creation timestamp (Unix seconds)","example":1757165031,"uniqueKey":"created","typeLabel":"integer"},"results":{"oneOf":[{"type":"array","description":"Task result list; only populated when `status=completed`.\n\n**Structure varies by task output type (`type`):**\n\n| `type` | `results[i]` structure | Typical scenarios |\n|---|---|---|\n| `image` | `{url}`, some models include `content_type`; special tasks (e.g. PHOTA profile creation) return `{result_type, profile_id}` | Image generation, editing, enhancement |\n| `video` | `{url}`, some models include `content_type` / `seed`; special subtasks (Kling voice creation / Sora 2 character profile) return `{voice_id}` or `{character_id, name}` | Video generation, lip-sync |\n| `audio` (TTS / Music) | `{url}` | Text-to-speech, music generation |\n| `audio` (STT / Transcription) | `{text, language_code, language_probability, words[]}` (**no url**) | Speech transcription (e.g. Scribe V2) |\n| `audio` (Voice Clone) | `{voice_id}`; with preview text, additionally returns `{url, content_type}` | Voice cloning (e.g. MiniMax Voice Clone) |\n| `llm` | Full OpenAI `ChatCompletion`: `{id, object:\"chat.completion\", created, model, choices[].message, usage}` | LLM generation (llm_gateway / llm_async) |\n\n**General notes:**\n- Result URLs are valid for 24 hours; please save them promptly\n- `type=llm` results are conversation responses and do not produce URLs\n- Some tasks produce non-media artifacts (voice profile / character profile creation, etc.); `results` contains id-type fields instead of `url`\n","items":{"oneOf":[{"type":"object","description":"Image result (`type=image`). Most image models only return `url`; some models (Patina family) also include `content_type`; PHOTA profile creation tasks return `{result_type, profile_id}` (non-image artifact)","properties":{"url":{"type":"string","description":"Image download URL (valid for 24 hours)","example":"https://example.com/output.png","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.0.url","typeLabel":"string"},"content_type":{"type":"string","description":"MIME type; only returned by some models (e.g. Patina)","example":"image/png","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.0.content_type","typeLabel":"string"},"result_type":{"type":"string","description":"Special result type marker (e.g. `profile`); only returned by PHOTA profile creation and similar non-image artifact tasks","example":"profile","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.0.result_type","typeLabel":"string"},"profile_id":{"type":"string","description":"Profile ID returned by profile creation tasks (when `result_type=profile`)","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.0.profile_id","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Video result (`type=video`). Most video models only return `url`; some models include `content_type` (e.g. Fabric) or `seed` (e.g. Seedance 2); Kling voice creation / Sora 2 character creation subtasks return id-type fields with **no url**","properties":{"url":{"type":"string","description":"Video download URL (valid for 24 hours)","example":"https://example.com/output.mp4","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.1.url","typeLabel":"string"},"content_type":{"type":"string","description":"MIME type; only returned by some models","example":"video/mp4","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.1.content_type","typeLabel":"string"},"seed":{"type":"integer","description":"Generation seed; returned by models such as Seedance 2","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.1.seed","typeLabel":"integer"},"voice_id":{"type":"string","description":"Voice profile ID returned by Kling voice creation subtasks (no url in this case)","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.1.voice_id","typeLabel":"string"},"character_id":{"type":"string","description":"Character ID returned by Sora 2 character creation subtasks (no url in this case)","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.1.character_id","typeLabel":"string"},"name":{"type":"string","description":"Character name returned by Sora 2 character creation subtasks","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.1.name","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Audio URL result (`type=audio`, TTS / music generation, e.g. Speech 2.8, Minimax Music, Gemini 3.1 Flash TTS)","required":["url"],"properties":{"url":{"type":"string","description":"Audio download URL (valid for 24 hours)","example":"https://example.com/output.mp3","isRequired":true,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.2.url","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Audio transcription result (`type=audio`, STT, e.g. Scribe V2). **Does not contain url**; returns text and word-level timestamps directly","properties":{"text":{"type":"string","description":"Full transcription text","example":"Hello world.","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.3.text","typeLabel":"string"},"language_code":{"type":"string","description":"Detected language code","example":"en","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.3.language_code","typeLabel":"string"},"language_probability":{"type":"number","description":"Language detection confidence (0-1)","example":0.98,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.3.language_probability","typeLabel":"number"},"words":{"type":"array","description":"Word-level timestamp array. Specific keys depend on the upstream ASR model (Scribe V2 typical fields: `text` / `start` / `end` / `type`, etc.)","items":{"type":"object","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.3.words.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.3.words","typeLabel":"object[]"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Voice cloning result (`type=audio`, e.g., MiniMax Voice Clone). Always returns `voice_id`; if the request included preview text, additionally returns the preview audio's `url` / `content_type`","required":["voice_id"],"properties":{"voice_id":{"type":"string","description":"Reusable cloned voice ID, referenced by subsequent TTS tasks (long-lived)","example":"Voiced689cc871778686453","isRequired":true,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.4.voice_id","typeLabel":"string"},"url":{"type":"string","description":"Preview audio download URL (valid for 24 hours); returned only when the request includes preview text","example":"https://example.com/voice-clone-preview.mp3","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.4.url","typeLabel":"string"},"content_type":{"type":"string","description":"Preview audio MIME type; present only when `url` is returned","example":"audio/mpeg","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.4.content_type","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"LLM result (`type=llm`). Full OpenAI `ChatCompletion` object. llm_gateway / llm_async converts the native response from each provider family (OpenAI / Anthropic / Gemini) into this structure before writing it to the task; for streaming tasks, the final result is assembled from accumulated chunks","required":["id","object","created","model","choices"],"properties":{"id":{"type":"string","description":"ChatCompletion ID (returned by upstream or generated by gateway)","example":"gen-1776874579-7ojyQ9IHTeBJOuuYFclq","isRequired":true,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.id","typeLabel":"string"},"object":{"type":"string","enum":["chat.completion"],"example":"chat.completion","isRequired":true,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.object","typeLabel":"enum\u003cstring>"},"created":{"type":"integer","description":"Creation time (Unix seconds)","example":1776874579,"isRequired":true,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.created","typeLabel":"integer"},"model":{"type":"string","description":"Actual model identifier returned by the upstream provider (may differ from the `model` submitted in the request, as it can be the provider's full model version)","example":"anthropic/claude-4.7-opus-20260416","isRequired":true,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.model","typeLabel":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","example":0,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.choices.items.[INDEX].index","typeLabel":"integer"},"message":{"type":"object","properties":{"role":{"type":"string","example":"assistant","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.choices.items.[INDEX].message.role","typeLabel":"string"},"content":{"type":"string","description":"Full accumulated content. **Known limitation**: for thinking models such as `model=kimi-k2.6`, the `reasoning_content` is not accumulated into this field, which may be an empty string (the full thinking process is only visible in the SSE stream)","example":"1, 2, 3","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.choices.items.[INDEX].message.content","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.choices.items.[INDEX].message","typeLabel":"object"},"finish_reason":{"type":"string","description":"Termination reason: `stop` / `length` / `content_filter` / `tool_calls`","example":"stop","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.choices.items.[INDEX].finish_reason","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.choices.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.choices","typeLabel":"object[]"},"usage":{"type":"object","description":"Token usage (mapped from each provider family's response; Anthropic / Gemini converted from `usageMetadata` or `message_delta.usage`)","properties":{"prompt_tokens":{"type":"integer","example":9,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.usage.prompt_tokens","typeLabel":"integer"},"completion_tokens":{"type":"integer","example":12,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.usage.completion_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","example":21,"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.usage.total_tokens","typeLabel":"integer"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.usage","typeLabel":"object"},"system_fingerprint":{"type":"string","description":"Model fingerprint that may be returned by the OpenAI family","uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5.system_fingerprint","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"results.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Task result list; only populated when `status=completed`.\n\n**Structure varies by task output type (`type`):**\n\n| `type` | `results[i]` structure | Typical scenarios |\n|---|---|---|\n| `image` | `{url}`, some models include `content_type`; special tasks (e.g. PHOTA profile creation) return `{result_type, profile_id}` | Image generation, editing, enhancement |\n| `video` | `{url}`, some models include `content_type` / `seed`; special subtasks (Kling voice creation / Sora 2 character profile) return `{voice_id}` or `{character_id, name}` | Video generation, lip-sync |\n| `audio` (TTS / Music) | `{url}` | Text-to-speech, music generation |\n| `audio` (STT / Transcription) | `{text, language_code, language_probability, words[]}` (**no url**) | Speech transcription (e.g. Scribe V2) |\n| `audio` (Voice Clone) | `{voice_id}`; with preview text, additionally returns `{url, content_type}` | Voice cloning (e.g. MiniMax Voice Clone) |\n| `llm` | Full OpenAI `ChatCompletion`: `{id, object:\"chat.completion\", created, model, choices[].message, usage}` | LLM generation (llm_gateway / llm_async) |\n\n**General notes:**\n- Result URLs are valid for 24 hours; please save them promptly\n- `type=llm` results are conversation responses and do not produce URLs\n- Some tasks produce non-media artifacts (voice profile / character profile creation, etc.); `results` contains id-type fields instead of `url`\n","items":{"oneOf":[{"type":"object","description":"Image result (`type=image`). Most image models only return `url`; some models (Patina family) also include `content_type`; PHOTA profile creation tasks return `{result_type, profile_id}` (non-image artifact)","properties":{"url":{"type":"string","description":"Image download URL (valid for 24 hours)","example":"https://example.com/output.png"},"content_type":{"type":"string","description":"MIME type; only returned by some models (e.g. Patina)","example":"image/png"},"result_type":{"type":"string","description":"Special result type marker (e.g. `profile`); only returned by PHOTA profile creation and similar non-image artifact tasks","example":"profile"},"profile_id":{"type":"string","description":"Profile ID returned by profile creation tasks (when `result_type=profile`)"}}},{"type":"object","description":"Video result (`type=video`). Most video models only return `url`; some models include `content_type` (e.g. Fabric) or `seed` (e.g. Seedance 2); Kling voice creation / Sora 2 character creation subtasks return id-type fields with **no url**","properties":{"url":{"type":"string","description":"Video download URL (valid for 24 hours)","example":"https://example.com/output.mp4"},"content_type":{"type":"string","description":"MIME type; only returned by some models","example":"video/mp4"},"seed":{"type":"integer","description":"Generation seed; returned by models such as Seedance 2"},"voice_id":{"type":"string","description":"Voice profile ID returned by Kling voice creation subtasks (no url in this case)"},"character_id":{"type":"string","description":"Character ID returned by Sora 2 character creation subtasks (no url in this case)"},"name":{"type":"string","description":"Character name returned by Sora 2 character creation subtasks"}}},{"type":"object","description":"Audio URL result (`type=audio`, TTS / music generation, e.g. Speech 2.8, Minimax Music, Gemini 3.1 Flash TTS)","required":["url"],"properties":{"url":{"type":"string","description":"Audio download URL (valid for 24 hours)","example":"https://example.com/output.mp3"}}},{"type":"object","description":"Audio transcription result (`type=audio`, STT, e.g. Scribe V2). **Does not contain url**; returns text and word-level timestamps directly","properties":{"text":{"type":"string","description":"Full transcription text","example":"Hello world."},"language_code":{"type":"string","description":"Detected language code","example":"en"},"language_probability":{"type":"number","description":"Language detection confidence (0-1)","example":0.98},"words":{"type":"array","description":"Word-level timestamp array. Specific keys depend on the upstream ASR model (Scribe V2 typical fields: `text` / `start` / `end` / `type`, etc.)","items":{"type":"object"}}}},{"type":"object","description":"Voice cloning result (`type=audio`, e.g., MiniMax Voice Clone). Always returns `voice_id`; if the request included preview text, additionally returns the preview audio's `url` / `content_type`","required":["voice_id"],"properties":{"voice_id":{"type":"string","description":"Reusable cloned voice ID, referenced by subsequent TTS tasks (long-lived)","example":"Voiced689cc871778686453"},"url":{"type":"string","description":"Preview audio download URL (valid for 24 hours); returned only when the request includes preview text","example":"https://example.com/voice-clone-preview.mp3"},"content_type":{"type":"string","description":"Preview audio MIME type; present only when `url` is returned","example":"audio/mpeg"}}},{"type":"object","description":"LLM result (`type=llm`). Full OpenAI `ChatCompletion` object. llm_gateway / llm_async converts the native response from each provider family (OpenAI / Anthropic / Gemini) into this structure before writing it to the task; for streaming tasks, the final result is assembled from accumulated chunks","required":["id","object","created","model","choices"],"properties":{"id":{"type":"string","description":"ChatCompletion ID (returned by upstream or generated by gateway)","example":"gen-1776874579-7ojyQ9IHTeBJOuuYFclq"},"object":{"type":"string","enum":["chat.completion"],"example":"chat.completion"},"created":{"type":"integer","description":"Creation time (Unix seconds)","example":1776874579},"model":{"type":"string","description":"Actual model identifier returned by the upstream provider (may differ from the `model` submitted in the request, as it can be the provider's full model version)","example":"anthropic/claude-4.7-opus-20260416"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","example":0},"message":{"type":"object","properties":{"role":{"type":"string","example":"assistant"},"content":{"type":"string","description":"Full accumulated content. **Known limitation**: for thinking models such as `model=kimi-k2.6`, the `reasoning_content` is not accumulated into this field, which may be an empty string (the full thinking process is only visible in the SSE stream)","example":"1, 2, 3"}}},"finish_reason":{"type":"string","description":"Termination reason: `stop` / `length` / `content_filter` / `tool_calls`","example":"stop"}}}},"usage":{"type":"object","description":"Token usage (mapped from each provider family's response; Anthropic / Gemini converted from `usageMetadata` or `message_delta.usage`)","properties":{"prompt_tokens":{"type":"integer","example":9},"completion_tokens":{"type":"integer","example":12},"total_tokens":{"type":"integer","example":21}}},"system_fingerprint":{"type":"string","description":"Model fingerprint that may be returned by the OpenAI family"}}}]},"uniqueKey":"results.oneOf.1","typeLabel":"null"}],"uniqueKey":"results","typeLabel":"object[] | null"},"error":{"oneOf":[{"type":"object","description":"Failure information or a delay notice for a task still processing; may be null. When `status=failed`, contains a failure description safe to show to clients. Supported submitted asynchronous tasks that remain `processing` after more than 30 minutes return `code=task_delayed` and `type=task_status`, with the actual processing deadline for that task. If the deadline has passed but the task has not ended, the notice indicates that it is waiting for the system to process it; this does not mean it has failed or been refunded. Delay notices state that no refund is needed when no credits were reserved, and report a completed refund only after it is confirmed, without promising another refund. For failed Gateway video, image, audio, and document tasks, refund information is appended only to message while the original public code/type are preserved. Successful tasks return null. Always use status to determine whether the task has ended.","properties":{"code":{"type":"string","description":"Public error code or status notice code; task_delayed means the task is still processing and you should keep polling.","example":"content_policy_violation","uniqueKey":"error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","description":"Client-readable description. The processing deadline in a delay notice is specific to the task; a completed refund is reported only after the reserved credits have been confirmed as refunded.","example":"The request content does not meet the requirements. Adjust the input and retry.","uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","description":"task_error indicates failure information; task_status indicates a status notice for a task still processing.","example":"task_error","uniqueKey":"error.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","description":"Failure information or a delay notice for a task still processing; may be null. When `status=failed`, contains a failure description safe to show to clients. Supported submitted asynchronous tasks that remain `processing` after more than 30 minutes return `code=task_delayed` and `type=task_status`, with the actual processing deadline for that task. If the deadline has passed but the task has not ended, the notice indicates that it is waiting for the system to process it; this does not mean it has failed or been refunded. Delay notices state that no refund is needed when no credits were reserved, and report a completed refund only after it is confirmed, without promising another refund. For failed Gateway video, image, audio, and document tasks, refund information is appended only to message while the original public code/type are preserved. Successful tasks return null. Always use status to determine whether the task has ended.","properties":{"code":{"type":"string","description":"Public error code or status notice code; task_delayed means the task is still processing and you should keep polling.","example":"content_policy_violation"},"message":{"type":"string","description":"Client-readable description. The processing deadline in a delay notice is specific to the task; a completed refund is reported only after the reserved credits have been confirmed as refunded.","example":"The request content does not meet the requirements. Adjust the input and retry."},"type":{"type":"string","description":"task_error indicates failure information; task_status indicates a status notice for a task still processing.","example":"task_error"}},"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"object | null"},"usage":{"oneOf":[{"type":"object","description":"Billing information","properties":{"credits_reserved":{"type":"integer","description":"Recorded reserved credits. This field may remain positive after a refund and does not represent credits still awaiting refund; refer to the task message for refund status.","example":5,"uniqueKey":"usage.oneOf.0.credits_reserved","typeLabel":"integer"},"user_group":{"type":"string","description":"Actual billing group","example":"default","uniqueKey":"usage.oneOf.0.user_group","typeLabel":"string"}},"uniqueKey":"usage.oneOf.0","typeLabel":"object"},{"type":"null","description":"Billing information","properties":{"credits_reserved":{"type":"integer","description":"Recorded reserved credits. This field may remain positive after a refund and does not represent credits still awaiting refund; refer to the task message for refund status.","example":5},"user_group":{"type":"string","description":"Actual billing group","example":"default"}},"uniqueKey":"usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"pending":{"title":"pending","value":{"id":"task-unified-1757165031-uyujaw3d","object":"video.generation.task","type":"video","model":"lipsync-2","status":"pending","progress":0,"created":1757165031,"results":null,"error":null,"usage":{"credits_reserved":5,"user_group":"default"}}},"processing":{"title":"processing","value":{"id":"task-unified-1757165031-uyujaw3d","object":"video.generation.task","type":"video","model":"lipsync-2","status":"processing","progress":50,"created":1757165031,"results":null,"error":null,"usage":{"credits_reserved":5,"user_group":"default"}}},"processing_delayed":{"title":"processing_delayed","value":{"id":"task-unified-1757165031-uyujaw3d","object":"video.generation.task","type":"video","model":"lipsync-2","status":"processing","progress":100,"created":1757165031,"results":null,"error":{"code":"task_delayed","message":"The task has been processing for more than 30 minutes. If it remains unfinished 2 hours after processing began, the system will mark it as failed due to timeout. The reserved credits will then be refunded automatically.","type":"task_status"},"usage":{"credits_reserved":5,"user_group":"default"}}},"processing_overdue":{"title":"processing_overdue","value":{"id":"task-unified-1757165031-uyujaw3d","object":"video.generation.task","type":"video","model":"lipsync-2","status":"processing","progress":100,"created":1757165031,"results":null,"error":{"code":"task_delayed","message":"The task has exceeded its processing deadline and is waiting for the system to mark it as failed due to timeout. Reserved credits will be refunded to the account automatically after the task ends due to timeout.","type":"task_status"},"usage":{"credits_reserved":5,"user_group":"default"}}},"completed_video":{"title":"completed_video","value":{"id":"task-unified-1757165031-uyujaw3d","object":"video.generation.task","type":"video","model":"lipsync-2","status":"completed","progress":100,"created":1757165031,"results":[{"url":"https://example.com/output-video.mp4","content_type":"video/mp4"}],"error":null,"usage":{"credits_reserved":5,"user_group":"default"}}},"completed_image":{"title":"completed_image","value":{"id":"task-unified-1776800000-abcd1234","object":"image.generation.task","type":"image","model":"gemini-3.1-flash-image-preview","status":"completed","progress":100,"created":1776800000,"results":[{"url":"https://example.com/output-image.png"}],"error":null,"usage":{"credits_reserved":3,"user_group":"default"}}},"completed_audio_tts":{"title":"completed_audio_tts","value":{"id":"task-unified-1776810000-efgh5678","object":"audio.generation.task","type":"audio","model":"speech-2.8","status":"completed","progress":100,"created":1776810000,"results":[{"url":"https://example.com/output-audio.mp3"}],"error":null,"usage":{"credits_reserved":2,"user_group":"default"}}},"completed_audio_stt":{"title":"completed_audio_stt","value":{"id":"task-unified-1776820000-ijkl9012","object":"audio.generation.task","type":"audio","model":"scribe-v2","status":"completed","progress":100,"created":1776820000,"results":[{"text":"Hello world.","language_code":"en","language_probability":0.98,"words":[{"text":"Hello","start":0,"end":0.42,"type":"word"},{"text":"world","start":0.48,"end":0.9,"type":"word"}]}],"error":null,"usage":{"credits_reserved":1,"user_group":"default"}}},"completed_audio_voice_clone":{"title":"completed_audio_voice_clone","value":{"id":"task-unified-1778686432-pf0a0igf","object":"audio.generation.task","type":"audio","model":"minimax-voice-clone","status":"completed","progress":100,"created":1778686432,"results":[{"voice_id":"Voiced689cc871778686453","url":"https://example.com/voice-clone-preview.mp3","content_type":"audio/mpeg"}],"error":null,"usage":{"credits_reserved":750000,"user_group":"default"}}},"completed_llm":{"title":"completed_llm","value":{"id":"task-llm-1776874565-yq3szvcu","object":"llm.generation.task","type":"llm","model":"claude-opus-4-7","status":"completed","progress":100,"created":1776874565,"results":[{"id":"gen-1776874579-7ojyQ9IHTeBJOuuYFclq","object":"chat.completion","created":1776874579,"model":"anthropic/claude-4.7-opus-20260416","choices":[{"index":0,"message":{"role":"assistant","content":"1, 2, 3"},"finish_reason":"stop"}],"usage":{"prompt_tokens":9,"completion_tokens":12,"total_tokens":21}}],"error":null,"usage":{"credits_reserved":10,"user_group":"default"}}},"failed":{"title":"failed","value":{"id":"task-unified-1757165031-uyujaw3d","object":"video.generation.task","type":"video","model":"lipsync-2","status":"failed","progress":0,"created":1757165031,"results":null,"error":{"code":"content_policy_violation","message":"The request content does not meet the requirements. Adjust the input and retry.","type":"task_error"},"usage":{"credits_reserved":5,"user_group":"default"}}},"failed_refunded":{"title":"failed_refunded","value":{"id":"task-unified-1757165031-uyujaw3d","object":"video.generation.task","type":"video","model":"lipsync-2","status":"failed","progress":0,"created":1757165031,"results":null,"error":{"code":"content_policy_violation","message":"The request content does not meet the requirements. Adjust the input and retry. Reserved credits have been refunded to the account.","type":"task_error"},"usage":{"credits_reserved":5,"user_group":"default"}}}},"exampleType":"examples"}},"exampleType":"examples"},"4c410087-1417-4deb-b4da-fb6e3a0e70b3":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"Invalid API Key","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":"Invalid API Key","type":"authentication_error"}}}},"exampleType":"generated"}},"exampleType":"generated"},"73520980-affb-4d8d-a537-59d999119a2f":{"description":"Task not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"Task not found","uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","example":"not_found","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Task not found","type":"not_found"}}}},"exampleType":"generated"}},"exampleType":"generated"},"46bc4297-7524-414e-92b8-7b50b257c357":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"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":"Rate limit exceeded","type":"rate_limit_error"}}}},"exampleType":"generated"}},"exampleType":"generated"},"80972684-a4c0-4a12-b6c8-09ad08b390a4":{"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":"server_error","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Internal server error","type":"server_error"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0d26d8ef-c172-40b5-9a3f-78800f9b6fd3":{"BearerAuth":{"type":"http","scheme":"bearer","description":"## All endpoints require Bearer Token authentication ##\n\nAdd the following to your request headers:\n\n`Authorization: Bearer YOUR_API_KEY`\n","scopes":[]}}},"servers":{"e404ea67-8653-4740-a3dc-a79381959c57":{"url":"https://api.aihubmax.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"## All endpoints require Bearer Token authentication ##\n\nAdd the following to your request headers:\n\n`Authorization: Bearer YOUR_API_KEY`\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"## All endpoints require Bearer Token authentication ##\n\nAdd the following to your request headers:\n\n`Authorization: Bearer YOUR_API_KEY`\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi/en/get-task-detail.json"},"subdomain":"aif-207f9f5d","siteName":"AihubMax","title":"Query Task Status - AihubMax","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/pages/en/api-manual/task-management/get-task-detail","matchLevel":0},"zh":{"href":"/pages/zh/api-manual/task-management/get-task-detail","matchLevel":1}}},"lastModified":"2026-10-01T06:31:43.837Z","originalFileLocation":"pages/en/api-manual/task-management/get-task-detail.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=\"- Query the current status and result of an asynchronous task - Task status flow: pending → processing → completed / failed; only completed and failed mean the task has ended - Supported asynchronous tasks may return a task_delayed notice in error after more than 30 minutes of processing. The status remains processing; keep polling. Neither progress=100 nor a non-null error means the task has ended - Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message - Optionally pass sync_upstream=true to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund - After task completion, result links are valid for 24 hours; please save them promptly\">\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=\"Query Task Status - AihubMax\">\u003cmeta data-mint-head property=\"og:description\" content=\"- Query the current status and result of an asynchronous task - Task status flow: pending → processing → completed / failed; only completed and failed mean the task has ended - Supported asynchronous tasks may return a task_delayed notice in error after more than 30 minutes of processing. The status remains processing; keep polling. Neither progress=100 nor a non-null error means the task has ended - Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message - Optionally pass sync_upstream=true to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund - After task completion, result links are valid for 24 hours; please save them promptly\">\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/task-management/get-task-detail\">\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=Task+Management\u0026amp;title=Query+Task+Status\u0026amp;description=-+Query+the+current+status+and+result+of+an+asynchronous+task%0A-+Task+status+flow%3A+%60pending%60+%E2%86%92+%60processing%60+%E2%86%92+%60completed%60+%2F+%60failed%60%3B+only+%60completed%60+and+%60faile\u0026amp;theme=2864540ad14f671a1df9598a\u0026amp;signature=3a2d01c342d22015898a2e11bd5c5b6dc93696f1f43a7298face5925d055459f\">\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=\"Query Task Status - AihubMax\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"- Query the current status and result of an asynchronous task - Task status flow: pending → processing → completed / failed; only completed and failed mean the task has ended - Supported asynchronous tasks may return a task_delayed notice in error after more than 30 minutes of processing. The status remains processing; keep polling. Neither progress=100 nor a non-null error means the task has ended - Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message - Optionally pass sync_upstream=true to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund - After task completion, result links are valid for 24 hours; please save them promptly\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aif-207f9f5d.mintlify.site/_mintlify/api/og/v2?division=Task+Management\u0026amp;title=Query+Task+Status\u0026amp;description=-+Query+the+current+status+and+result+of+an+asynchronous+task%0A-+Task+status+flow%3A+%60pending%60+%E2%86%92+%60processing%60+%E2%86%92+%60completed%60+%2F+%60failed%60%3B+only+%60completed%60+and+%60faile\u0026amp;theme=2864540ad14f671a1df9598a\u0026amp;signature=3a2d01c342d22015898a2e11bd5c5b6dc93696f1f43a7298face5925d055459f\">\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/task-management/get-task-detail\">\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/task-management/get-task-detail.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.aihubmax.com/pages/zh/api-manual/task-management/get-task-detail\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.aihubmax.com/pages/zh/api-manual/task-management/get-task-detail\">\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/task-management/get-task-detail#webpage\",\"url\":\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail\",\"name\":\"Query Task Status\",\"description\":\"- Query the current status and result of an asynchronous task - Task status flow: pending → processing → completed / failed; only completed and failed mean the task has ended - Supported asynchronous tasks may return a task_delayed notice in error after more than 30 minutes of processing. The status remains processing; keep polling. Neither progress=100 nor a non-null error means the task has ended - Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message - Optionally pass sync_upstream=true to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund - After task completion, result links are valid for 24 hours; please save them promptly\",\"dateModified\":\"2026-10-01T06:31:43.837Z\",\"isPartOf\":{\"@id\":\"https://docs.aihubmax.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AihubMax\",\"item\":\"https://docs.aihubmax.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Query Task Status\",\"item\":\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail#apireference\",\"headline\":\"Query Task Status\",\"name\":\"Query Task Status\",\"description\":\"- Query the current status and result of an asynchronous task - Task status flow: pending → processing → completed / failed; only completed and failed mean the task has ended - Supported asynchronous tasks may return a task_delayed notice in error after more than 30 minutes of processing. The status remains processing; keep polling. Neither progress=100 nor a non-null error means the task has ended - Use the deadline stated in the task notice. A refund is reported only after it is confirmed; supported tasks with a confirmed refund of reserved credits indicate this in the delay notice or failure message - Optionally pass sync_upstream=true to proactively refresh the latest status for tasks still in progress; a delay notice itself does not change status or issue a refund - After task completion, result links are valid for 24 hours; please save them promptly\",\"url\":\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail#webpage\"},\"dateModified\":\"2026-10-01T06:31:43.837Z\",\"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","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","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","description":"- Doc2X V3 PDF document conversion model, converting PDF into Markdown / LaTeX / DOCX formats\n- Supports formula recognition and cross-page table merging\n- The result is a ZIP archive (containing the converted document and image assets), downloaded via `results[0].url`\n- Asynchronous processing mode; use the returned task ID to [query the result](/pages/en/api-manual/task-management/get-task-detail)\n- The result format is `{url}`, where the URL points to a downloadable ZIP archive containing the converted document files (md / tex / docx) and image assets. See [Task Query Special Format Notes](/pages/en/api-manual/task-management/get-task-detail#special-formats)\n- The ZIP link is valid for 24 hours; please download and save it promptly\n","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","description":"- Query your account credits and usage statistics\n- Returns total, used, and remaining credits\n","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","description":null,"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/task-management/get-task-detail"}]}]},"basePath":"","title":"Query Task Status - AihubMax","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}