Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.
Wan3.0 Video Prime is Alibaba Cloud’s accelerated Wan3.0 model. It uses one creation endpoint for text-to-video, frame-guided video, multimodal reference, and document or webpage reference workflows. Select a tab for the request shape you need, then query the returned task ID.
Prime uses the same multimodal request structure and workflows as Wan3.0 Video while targeting faster generation. For specific content requests, select the AnyFast-specific wan3.0-video-prime-nsfw variant in the Direct resource group and set parameters.prompt_extend to false.
Text to video
First-frame video
First and last frames
Multimodal reference
File or webpage reference
Query task
Create task
POST /v1/video/generations
cURL
curl --request POST \ --url https://www.anyfast.ai/v1/video/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan3.0-video-prime", "input": { "prompt": "A kitten runs across a moonlit rooftop while distant neon signs flicker, cinematic lighting and a smooth tracking shot." }, "parameters": { "resolution": "1080P", "ratio": "16:9", "duration": 8, "audio": true, "prompt_extend": true, "seed": 42, "watermark": false } }'
Request headers
string
required
Bearer authentication in the form Bearer YOUR_API_KEY.
string
default:"application/json"
required
Request body format.
Request body
string
required
AnyFast model ID. Use wan3.0-video-prime, or select wan3.0-video-prime-nsfw in the Direct resource group for specific content requests.
object
required
Basic generation input. At least one of input.prompt or input.media must be present.
string
required
Video description in Chinese or English. Maximum length: 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.
object
Video generation controls.
string
default:"1080P"
Output resolution: 1080P, 720P, or 480P.
string
default:"adaptive"
Output aspect ratio: adaptive, 16:9, 4:3, 1:1, 3:4, or 9:16.
integer
default:5
Output duration in seconds. With no video input, use -1 for smart duration or an integer from 2 through 30.
boolean
default:true
Whether the generated video contains an audio track. The price is the same for true and false.
boolean
default:true
Whether to enable prompt rewriting. Set it to false when using wan3.0-video-prime-nsfw.
integer
Random seed from 0 through 2147483647.
boolean
default:false
Whether to add a watermark to the generated video.
curl --request POST \ --url https://www.anyfast.ai/v1/video/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan3.0-video-prime", "input": { "prompt": "The painted character steps away from the wall and begins an energetic rap performance as the camera moves closer.", "media": [ { "type": "first_frame", "url": "https://example.com/first-frame.png" } ] }, "parameters": { "resolution": "1080P", "ratio": "adaptive", "duration": 5, "audio": true, "prompt_extend": true, "seed": 42, "watermark": false } }'
Request headers
string
required
Bearer authentication in the form Bearer YOUR_API_KEY.
string
default:"application/json"
required
Request body format.
Request body
string
required
Use wan3.0-video-prime, or select wan3.0-video-prime-nsfw in the Direct resource group for specific content requests.
object
required
Basic generation input. At least one of input.prompt or input.media must be present.
string
Motion, scene, camera, and audio description. Maximum length: 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.
object[]
required
Supply exactly one first_frame image. Do not combine frame media with reference_image, reference_video, reference_audio, file, or link.
string
required
Use first_frame.
string
required
Public image URL or Base64 data URI.
object
Video generation controls.
string
default:"1080P"
Output resolution: 1080P, 720P, or 480P.
string
default:"adaptive"
Output aspect ratio: adaptive, 16:9, 4:3, 1:1, 3:4, or 9:16. adaptive can follow the source image and intent.
integer
default:5
Output duration in seconds. Use -1 for smart duration or an integer from 2 through 30.
boolean
default:true
Whether the generated video contains an audio track. The price is the same for true and false.
boolean
default:true
Whether to enable prompt rewriting. Set it to false when using wan3.0-video-prime-nsfw.
integer
Random seed from 0 through 2147483647.
boolean
default:false
Whether to add a watermark to the generated video.
curl --request POST \ --url https://www.anyfast.ai/v1/video/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan3.0-video-prime", "input": { "prompt": "The girl moves from a quiet smile to laughter while the camera slowly pushes in and the light changes from cool to warm.", "media": [ { "type": "first_frame", "url": "https://example.com/first-frame.jpg" }, { "type": "last_frame", "url": "https://example.com/last-frame.jpg" } ] }, "parameters": { "resolution": "1080P", "ratio": "adaptive", "duration": 5, "audio": true, "prompt_extend": true, "seed": 42, "watermark": false } }'
Request headers
string
required
Bearer authentication in the form Bearer YOUR_API_KEY.
string
default:"application/json"
required
Request body format.
Request body
string
required
Use wan3.0-video-prime, or select wan3.0-video-prime-nsfw in the Direct resource group for specific content requests.
object
required
Basic generation input. At least one of input.prompt or input.media must be present.
string
Motion and transition description. Maximum length: 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.
object[]
required
Supply one first_frame and one last_frame. Do not combine them with reference_image, reference_video, reference_audio, file, or link.
string
required
Use first_frame for the opening image and last_frame for the ending image. Each type allows at most one item.
string
required
Public image URL or Base64 data URI.
object
Video generation controls.
string
default:"1080P"
Output resolution: 1080P, 720P, or 480P.
string
default:"adaptive"
Output aspect ratio: adaptive, 16:9, 4:3, 1:1, 3:4, or 9:16. adaptive can follow the frame inputs and intent.
integer
default:5
Output duration in seconds. Use -1 for smart duration or an integer from 2 through 30.
boolean
default:true
Whether the generated video contains an audio track. The price is the same for true and false.
boolean
default:true
Whether to enable prompt rewriting. Set it to false when using wan3.0-video-prime-nsfw.
integer
Random seed from 0 through 2147483647.
boolean
default:false
Whether to add a watermark to the generated video.
curl --request POST \ --url https://www.anyfast.ai/v1/video/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan3.0-video-prime", "input": { "prompt": "Image 1 performs the motion from Video 1 while the scene follows the rhythm of Audio 1.", "media": [ { "type": "reference_image", "url": "https://example.com/character.jpg" }, { "type": "reference_video", "url": "https://example.com/motion.mp4" }, { "type": "reference_audio", "url": "https://example.com/rhythm.mp3" } ] }, "parameters": { "resolution": "1080P", "ratio": "16:9", "duration": 10, "audio": true, "prompt_extend": true, "seed": 42, "watermark": false } }'
Request headers
string
required
Bearer authentication in the form Bearer YOUR_API_KEY.
string
default:"application/json"
required
Request body format.
Request body
string
required
Use wan3.0-video-prime, or select wan3.0-video-prime-nsfw in the Direct resource group for specific content requests.
object
required
Basic generation input. At least one of input.prompt or input.media must be present.
string
Video instruction, up to 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated. Refer to assets by their type-specific order, such as Image 1, Video 1, and Audio 1.
object[]
required
Reference assets. Supply up to 10 images, 5 videos, and 5 audio clips. Do not combine reference media with first_frame or last_frame.
string
required
Use reference_image, reference_video, or reference_audio.
string
required
Public media URL. Images also accept Base64 data URIs.
object
Video generation controls.
string
default:"1080P"
Output resolution: 1080P, 720P, or 480P.
string
default:"adaptive"
Output aspect ratio: adaptive, 16:9, 4:3, 1:1, 3:4, or 9:16.
integer
default:5
Output duration in seconds. Use -1 for smart duration. Without a video input, use 2–30; with video input, total input-video duration plus output duration must not exceed 30 seconds.
boolean
default:true
Whether the generated video contains an audio track. The price is the same for true and false.
boolean
default:true
Whether to enable prompt rewriting. Set it to false when using wan3.0-video-prime-nsfw.
integer
Random seed from 0 through 2147483647.
boolean
default:false
Whether to add a watermark to the generated video.
curl --request POST \ --url https://www.anyfast.ai/v1/video/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan3.0-video-prime", "input": { "prompt": "Create a concise product-launch video from the supplied presentation, emphasizing the design details and three core benefits.", "media": [ { "type": "file", "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260806/ebapmr/glass.pptx" } ] }, "parameters": { "resolution": "1080P", "ratio": "16:9", "duration": 10, "audio": true, "prompt_extend": true, "seed": 42, "watermark": false } }'
curl --request POST \ --url https://www.anyfast.ai/v1/video/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan3.0-video-prime", "input": { "prompt": "Turn the main points on this public page into a concise narrated video.", "media": [ { "type": "link", "url": "https://example.com/public-product-overview" } ] }, "parameters": { "resolution": "1080P", "ratio": "16:9", "duration": 10, "audio": true, "prompt_extend": true, "seed": 42, "watermark": false } }'
Request headers
string
required
Bearer authentication in the form Bearer YOUR_API_KEY.
string
default:"application/json"
required
Request body format.
Request body
string
required
Use wan3.0-video-prime, or select wan3.0-video-prime-nsfw in the Direct resource group for specific content requests.
object
required
Basic generation input. At least one of input.prompt or input.media must be present.
string
Video instruction, up to 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.
object[]
required
Supply at most one file or one webpage link. file and link are mutually exclusive, and neither can be combined with first_frame or last_frame.
string
required
Use file for a document or link for a public webpage.
string
required
Public HTTP or HTTPS URL. Webpages must be accessible without login.
object
Video generation controls.
string
default:"1080P"
Output resolution: 1080P, 720P, or 480P.
string
default:"adaptive"
Output aspect ratio: adaptive, 16:9, 4:3, 1:1, 3:4, or 9:16.
integer
default:5
Output duration in seconds. Use -1 for smart duration or an integer from 2 through 30.
boolean
default:true
Whether the generated video contains an audio track. The price is the same for true and false.
boolean
default:true
Whether to enable prompt rewriting. Set it to false when using wan3.0-video-prime-nsfw.
integer
Random seed from 0 through 2147483647.
boolean
default:false
Whether to add a watermark to the generated video.
Bearer authentication in the form Bearer YOUR_API_KEY.
Path parameters
string
required
Task ID returned by a create request.
Alibaba Cloud reports a typical generation time of 1–5 minutes and recommends polling at roughly 15-second intervals. This upstream estimate is not an AnyFast service-level commitment; actual processing time can vary. Tasks can be queried for 24 hours after creation, and successful result URLs remain valid for 24 hours.
Response code. success means the query was accepted.
string
Response message. A successful query normally returns an empty string.
object
Task status and result payload.
string
AnyFast task ID.
string
Task action selected for the submitted workflow. For example, a first-frame task can return firstTailGenerate.
string
Task status: NOT_START, QUEUED, IN_PROGRESS, SUCCESS, or FAILURE. Use this field to determine whether the task failed.
string
Compatibility field. Some successful responses repeat result_url here, as shown above; a non-empty value does not mean the task failed. Use status to determine the outcome and read the result from result_url. On FAILURE, this field can contain failure details.
string | null
Temporary generated-video URL returned when status is SUCCESS. This field can be omitted before the task completes.
integer
Task submission time as a Unix timestamp in seconds.
integer
Task start time as a Unix timestamp in seconds; 0 while the task is still queued.
integer
Task completion time as a Unix timestamp in seconds; 0 until the task reaches a terminal state.
string
Task progress as a percentage string, such as 100%.
string
AnyFast request trace ID.
object
Raw upstream response data.
object
Raw upstream task output.
string
Upstream task completion time. Present after successful completion.
string
Prompt received by the upstream service. Present after successful completion.
string
Upstream task scheduling time. Appears once processing begins and can be omitted while the task is queued.
string
Upstream task submission time.
string
Upstream task ID.
string
Upstream task status.
string
Generated-video URL in the raw upstream output. Present after successful completion.
string
Upstream request trace ID.
object
Upstream video usage details. Present after successful completion and omitted while the task is queued or processing.
integer
Upstream output resolution value.
integer
Generated duration in seconds.
integer
Generated video frame rate.
number
Total input-video duration in seconds.
number
Output-video duration in seconds.
string
Generated video aspect ratio.
integer
Number of generated videos.
Media limits
Images
Roles: first_frame, last_frame, and reference_image.
Formats: JPEG, JPG, PNG without an alpha channel, BMP, or WEBP.
Each side must be 240–8,000 px, the aspect ratio must not exceed 8:1, and each image must be no larger than 20 MB.
Images accept a public HTTP or HTTPS URL or a Base64 data URI. Supply at most one first frame, one last frame, or 10 reference images.
Videos
Role: reference_video; up to five clips with no more than 15 seconds total.
Formats: MP4 or MOV. Each clip must be 1–15 seconds, each side must be 240–4,096 px, the aspect ratio must not exceed 8:1, and each file must be no larger than 100 MB.
Videos require a public HTTP or HTTPS URL.
Audio
Role: reference_audio; up to five clips with no more than 15 seconds total.
Formats: WAV or MP3. Each clip must be 1–15 seconds and no larger than 15 MB.
Audio requires a public HTTP or HTTPS URL.
Files and webpages
file supports DOCX, DOC, XLSX, XLS, PPTX, PPT, PDF, TXT, KEY, PAGES, NUMBERS, and MD files up to 100 MB.
PDF, DOCX, DOC, PPTX, PPT, KEY, and PAGES inputs support up to 50 pages.
link accepts a public HTTP or HTTPS webpage that does not require login.
Supply at most one file or one link; they are mutually exclusive.
reference_image, reference_video, reference_audio, file, and link cannot be combined with first_frame or last_frame in the same request.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AnyFast","description":"AnyFast API documentation — unified access to AI models from Anthropic, ByteDance, OpenAI, and more.","colors":{"primary":"#6D28D9","light":"#8B5CF6","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/light.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=dd4b307fc5a359cdfeed37fcd3015842","dark":"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/dark.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=3303bc5b49fec3aa2015dc9927286584","href":"https://www.anyfast.ai"},"favicon":"https://mintcdn.com/13108701256/ciuuPfOYrnV5Potx/favicon.svg?fit=max\u0026auto=format\u0026n=ciuuPfOYrnV5Potx\u0026q=85\u0026s=bb57081a959cb46f2fd60906102179ce","navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://www.anyfast.ai/console/token"}},"footer":{"socials":{}},"search":{"prompt":"Search docs, APIs, models..."},"seo":{"metatags":{"og:image":"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg","og:site_name":"AnyFast Docs","twitter:card":"summary_large_image","twitter:site":"@anyfast_ai","twitter:image":"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg"}},"integrations":{"ga4":{"measurementId":"G-LE1QQD03ZG"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.anyfast.ai"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"zh","href":"zh"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"13108701256","hasAudioNarration":false,"actualSubdomain":"13108701256","customDomains":["docs.anyfast.ai"],"gitSource":{"type":"gitlab","owner":"maas","repo":"docs-anyfast","hostUrl":"https://gitlab.anyfast.com.cn","projectId":39,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0550f2371c191c3d4c1241","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"en","tag":"Model Introduction","count":404},{"language":"zh","tag":"模型介绍","count":404},{"language":"en","tag":"API Reference","count":212},{"language":"zh","tag":"API 参考","count":212},{"language":"en","tag":"Model APIs","count":205},{"language":"zh","tag":"模型 API","count":205},{"language":"en","tag":"OpenAI","count":84},{"language":"zh","tag":"OpenAI","count":84},{"language":"en","tag":"Alibaba","count":64},{"language":"zh","tag":"Alibaba","count":64},{"language":"en","tag":"ByteDance","count":58},{"language":"en","tag":"Google","count":58},{"language":"zh","tag":"ByteDance","count":58},{"language":"zh","tag":"Google","count":58},{"language":"en","tag":"Anthropic","count":51},{"language":"zh","tag":"Anthropic","count":51},{"language":"en","tag":"Text \u0026 multimodal","count":42},{"language":"zh","tag":"文本与多模态","count":42},{"language":"en","tag":"Use Cases","count":38},{"language":"zh","tag":"场景示例","count":38}]},"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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":":root{font-size:17px;zoom:80%}.bg-primary\\/10{background-color:transparent!important}.dark .dark\\:bg-primary-light\\/10{background-color:transparent!important}.contact-purple-info svg{color:#6D28D9!important;stroke:#6D28D9!important}.contact-enterprise-card svg{color:#6D28D9!important;stroke:#6D28D9!important}.contact-best-ways-card-inner{border:1px solid rgba(128, 128, 128, 0.2);border-radius:1rem;padding:1.5rem;height:auto;box-sizing:border-box}.contact-best-ways-card-inner p.contact-best-ways-heading{display:flex;align-items:center;gap:0.5rem;margin:0 0 0.75rem!important;font-weight:600;line-height:1.4}.contact-best-ways-card-inner p{margin:0!important;line-height:1.6}.contact-best-ways-check{display:inline-flex;width:1.125rem;height:1.125rem;flex:0 0 1.125rem;align-items:center;justify-content:center;border-radius:50%;background-color:#6D28D9;color:#fff;font-size:0.75rem;font-weight:700;line-height:1}#search-bar-entry{border:1px solid rgba(140, 130, 160, 0.25)!important;border-radius:6px!important}#search-bar-entry:hover{border:1.5px solid #6D28D9!important;box-shadow:0 0 0 3px rgba(109, 40, 217, 0.16)!important}#navbar a[href*=\"/console/token\"]{border-radius:6px!important}#topbar-cta-button a[href*=\"/console/token\"]>span.absolute{border-radius:6px!important}#sidebar .method-nav-pill{display:none!important}#sidebar a[href*=\"/api-reference/model-api/\"]>div:has(>.method-nav-pill){display:none!important}@media (min-width: 1024px){#sidebar{height:calc(125dvh - var(--mintlify-slot-header-height, calc(4rem + var(--topbar-tabs-height, 0rem))) - var(--banner-height, 0px))!important}}.kling-api-example-panel{float:right;position:relative;top:auto;width:47%;margin:1.5rem 0 1.5rem 2rem;z-index:1}.kling-api-example-panel>div{margin-top:0;margin-bottom:1rem}.kling-api-example-panel.api-full-width-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem;clear:both}.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{display:block;position:relative;top:auto;width:60%;margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1.25rem;clear:right}.seedream-api-example-panel+.seedream-api-example-panel{margin-top:2.5rem}.happyhorse-api-example-panel pre,.seedream-api-example-panel pre,.wan-api-example-panel pre{overflow-x:auto;overflow-y:hidden;overflow-wrap:normal;white-space:pre!important;word-break:normal}.happyhorse-api-example-panel .whitespace-pre,.seedream-api-example-panel .whitespace-pre,.wan-api-example-panel .whitespace-pre{overflow-wrap:normal;white-space:pre!important;word-break:normal}.happyhorse-api-example-panel pre code,.seedream-api-example-panel pre code,.wan-api-example-panel pre code{max-width:none!important;min-width:max-content!important;width:max-content!important}@media (min-width: 1280px){#navbar .max-w-8xl.mx-auto.relative{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}div:has(>main#content-container){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:2rem!important;padding-right:1.5rem!important}#sidebar{width:16rem!important;min-width:16rem!important;max-width:16rem!important}#content{width:100%!important}#content-side-layout{width:9rem!important;min-width:9rem!important;max-width:9rem!important;transform:none}#content-side-layout:has(.code-group){width:28rem!important;min-width:28rem!important;max-width:28rem!important}#table-of-contents-layout{width:9rem!important;min-width:9rem!important;max-width:9rem!important;padding-left:0!important;transform:none}#table-of-contents{width:9rem!important}.kling-api-example-panel{width:51%;margin-left:2rem}}@media (max-width: 1400px){.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem}}@media (max-width: 1024px){.kling-api-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem}.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{width:100%}}"}]}
{"page":{"pagePath":"api-reference/model-api/alibaba/wan3.0-video-prime","slug":"/api-reference/model-api/alibaba/wan3.0-video-prime","pageMetadata":{"title":"wan3.0-video-prime","description":"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.","tag":"NEW","href":"/api-reference/model-api/alibaba/wan3.0-video-prime"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Info,Note,ParamField,ResponseField,Tab,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Wan3.0 Video Prime is Alibaba Cloud’s accelerated Wan3.0 model. It uses one creation endpoint for text-to-video, frame-guided video, multimodal reference, and document or webpage reference workflows. Select a tab for the request shape you need, then query the returned task ID.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Prime uses the same multimodal request structure and workflows as Wan3.0 Video while targeting faster generation. For specific content requests, select the AnyFast-specific `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),` variant in the `,_jsx(_components.code,{children:`Direct`}),` resource group and set `,_jsx(_components.code,{children:`parameters.prompt_extend`}),` to `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsxs(Tabs,{sync:false,children:[_jsxs(Tab,{title:`Text to video`,id:`text-to-video`,\"data-child-heading-ids\":`[\"create-task\",\"request-headers\",\"request-body\",\"create-response\"]`,children:[_jsx(Heading,{level:`2`,id:`create-task`,children:`Create task`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1/video/generations`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`19`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/video/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"wan3.0-video-prime\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A kitten runs across a moonlit rooftop while distant neon signs flicker, cinematic lighting and a smooth tracking shot.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parameters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1080P\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 8,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt_extend\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seed\": 42,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request headers`}),_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[`Bearer authentication in the form `,_jsx(_components.code,{children:`Bearer YOUR_API_KEY`}),`.`]}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type`,children:`Request body format.`}),_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`AnyFast model ID. Use `,_jsx(_components.code,{children:`wan3.0-video-prime`}),`, or select `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),` in the `,_jsx(_components.code,{children:`Direct`}),` resource group for specific content requests.`]})}),_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input`,children:[`Basic generation input. At least one of `,_jsx(_components.code,{children:`input.prompt`}),` or `,_jsx(_components.code,{children:`input.media`}),` must be present.`]}),_jsx(ParamField,{body:`input.prompt`,type:`string`,required:true,id:`param-input-prompt`,children:`Video description in Chinese or English. Maximum length: 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.`}),_jsx(ParamField,{body:`parameters`,type:`object`,id:`param-parameters`,children:`Video generation controls.`}),_jsxs(ParamField,{body:`parameters.resolution`,type:`string`,default:`1080P`,id:`param-parameters-resolution`,children:[`Output resolution: `,_jsx(_components.code,{children:`1080P`}),`, `,_jsx(_components.code,{children:`720P`}),`, or `,_jsx(_components.code,{children:`480P`}),`.`]}),_jsxs(ParamField,{body:`parameters.ratio`,type:`string`,default:`adaptive`,id:`param-parameters-ratio`,children:[`Output aspect ratio: `,_jsx(_components.code,{children:`adaptive`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, or `,_jsx(_components.code,{children:`9:16`}),`.`]}),_jsxs(ParamField,{body:`parameters.duration`,type:`integer`,default:5,id:`param-parameters-duration`,children:[`Output duration in seconds. With no video input, use `,_jsx(_components.code,{children:`-1`}),` for smart duration or an integer from 2 through 30.`]}),_jsxs(ParamField,{body:`parameters.audio`,type:`boolean`,default:true,id:`param-parameters-audio`,children:[`Whether the generated video contains an audio track. The price is the same for `,_jsx(_components.code,{children:`true`}),` and `,_jsx(_components.code,{children:`false`}),`.`]}),_jsxs(ParamField,{body:`parameters.prompt_extend`,type:`boolean`,default:true,id:`param-parameters-prompt-extend`,children:[`Whether to enable prompt rewriting. Set it to `,_jsx(_components.code,{children:`false`}),` when using `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),`.`]}),_jsxs(ParamField,{body:`parameters.seed`,type:`integer`,id:`param-parameters-seed`,children:[`Random seed from `,_jsx(_components.code,{children:`0`}),` through `,_jsx(_components.code,{children:`2147483647`}),`.`]}),_jsx(ParamField,{body:`parameters.watermark`,type:`boolean`,default:false,id:`param-parameters-watermark`,children:`Whether to add a watermark to the generated video.`}),_jsx(Heading,{level:`2`,id:`create-response`,children:`Create response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,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:`9`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_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:`\"wan3.0-video-prime\"`}),_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:`\"queued\"`}),_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:`0`}),_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_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Task ID used to query the result.`}),_jsxs(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id`,children:[`Task ID, identical to `,_jsx(_components.code,{children:`id`}),`.`]}),_jsxs(ResponseField,{name:`object`,type:`string`,id:`param-object`,children:[`Returned object type, `,_jsx(_components.code,{children:`video`}),`.`]}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:`AnyFast model ID used by the task.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[`Initial task status, normally `,_jsx(_components.code,{children:`queued`}),`.`]}),_jsx(ResponseField,{name:`progress`,type:`integer`,id:`param-progress`,children:`Initial task progress percentage.`}),_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:`Creation time as a Unix timestamp in seconds.`})]}),_jsxs(Tab,{title:`First-frame video`,id:`first-frame-video`,\"data-child-heading-ids\":`[\"create-task-2\",\"request-headers-2\",\"request-body-2\",\"create-response-2\"]`,children:[_jsx(Heading,{level:`2`,id:`create-task-2`,children:`Create task`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1/video/generations`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`25`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`25`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/video/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"wan3.0-video-prime\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"The painted character steps away from the wall and begins an energetic rap performance as the camera moves closer.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"first_frame\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/first-frame.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parameters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1080P\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\": \"adaptive\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt_extend\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seed\": 42,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`request-headers-2`,children:`Request headers`}),_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization-1`,children:[`Bearer authentication in the form `,_jsx(_components.code,{children:`Bearer YOUR_API_KEY`}),`.`]}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-1`,children:`Request body format.`}),_jsx(Heading,{level:`2`,id:`request-body-2`,children:`Request body`}),_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model-2`,children:[`Use `,_jsx(_components.code,{children:`wan3.0-video-prime`}),`, or select `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),` in the `,_jsx(_components.code,{children:`Direct`}),` resource group for specific content requests.`]}),_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input-1`,children:[`Basic generation input. At least one of `,_jsx(_components.code,{children:`input.prompt`}),` or `,_jsx(_components.code,{children:`input.media`}),` must be present.`]}),_jsx(ParamField,{body:`input.prompt`,type:`string`,id:`param-input-prompt-1`,children:`Motion, scene, camera, and audio description. Maximum length: 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.`}),_jsxs(ParamField,{body:`input.media`,type:`object[]`,required:true,id:`param-input-media`,children:[`Supply exactly one `,_jsx(_components.code,{children:`first_frame`}),` image. Do not combine frame media with `,_jsx(_components.code,{children:`reference_image`}),`, `,_jsx(_components.code,{children:`reference_video`}),`, `,_jsx(_components.code,{children:`reference_audio`}),`, `,_jsx(_components.code,{children:`file`}),`, or `,_jsx(_components.code,{children:`link`}),`.`]}),_jsxs(ParamField,{body:`input.media[].type`,type:`string`,required:true,id:`param-input-media-type`,children:[`Use `,_jsx(_components.code,{children:`first_frame`}),`.`]}),_jsx(ParamField,{body:`input.media[].url`,type:`string`,required:true,id:`param-input-media-url`,children:`Public image URL or Base64 data URI.`}),_jsx(ParamField,{body:`parameters`,type:`object`,id:`param-parameters-1`,children:`Video generation controls.`}),_jsxs(ParamField,{body:`parameters.resolution`,type:`string`,default:`1080P`,id:`param-parameters-resolution-1`,children:[`Output resolution: `,_jsx(_components.code,{children:`1080P`}),`, `,_jsx(_components.code,{children:`720P`}),`, or `,_jsx(_components.code,{children:`480P`}),`.`]}),_jsxs(ParamField,{body:`parameters.ratio`,type:`string`,default:`adaptive`,id:`param-parameters-ratio-1`,children:[`Output aspect ratio: `,_jsx(_components.code,{children:`adaptive`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, or `,_jsx(_components.code,{children:`9:16`}),`. `,_jsx(_components.code,{children:`adaptive`}),` can follow the source image and intent.`]}),_jsxs(ParamField,{body:`parameters.duration`,type:`integer`,default:5,id:`param-parameters-duration-1`,children:[`Output duration in seconds. Use `,_jsx(_components.code,{children:`-1`}),` for smart duration or an integer from 2 through 30.`]}),_jsxs(ParamField,{body:`parameters.audio`,type:`boolean`,default:true,id:`param-parameters-audio-1`,children:[`Whether the generated video contains an audio track. The price is the same for `,_jsx(_components.code,{children:`true`}),` and `,_jsx(_components.code,{children:`false`}),`.`]}),_jsxs(ParamField,{body:`parameters.prompt_extend`,type:`boolean`,default:true,id:`param-parameters-prompt-extend-1`,children:[`Whether to enable prompt rewriting. Set it to `,_jsx(_components.code,{children:`false`}),` when using `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),`.`]}),_jsxs(ParamField,{body:`parameters.seed`,type:`integer`,id:`param-parameters-seed-1`,children:[`Random seed from `,_jsx(_components.code,{children:`0`}),` through `,_jsx(_components.code,{children:`2147483647`}),`.`]}),_jsx(ParamField,{body:`parameters.watermark`,type:`boolean`,default:false,id:`param-parameters-watermark-1`,children:`Whether to add a watermark to the generated video.`}),_jsx(Heading,{level:`2`,id:`create-response-2`,children:`Create response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,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:`9`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_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:`\"wan3.0-video-prime\"`}),_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:`\"queued\"`}),_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:`0`}),_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_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:`Task ID used to query the result.`}),_jsxs(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id-1`,children:[`Task ID, identical to `,_jsx(_components.code,{children:`id`}),`.`]}),_jsxs(ResponseField,{name:`object`,type:`string`,id:`param-object-1`,children:[`Returned object type, `,_jsx(_components.code,{children:`video`}),`.`]}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-3`,children:`AnyFast model ID used by the task.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:[`Initial task status, normally `,_jsx(_components.code,{children:`queued`}),`.`]}),_jsx(ResponseField,{name:`progress`,type:`integer`,id:`param-progress-1`,children:`Initial task progress percentage.`}),_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at-1`,children:`Creation time as a Unix timestamp in seconds.`})]}),_jsxs(Tab,{title:`First and last frames`,id:`first-and-last-frames`,\"data-child-heading-ids\":`[\"create-task-3\",\"request-headers-3\",\"request-body-3\",\"create-response-3\"]`,children:[_jsx(Heading,{level:`2`,id:`create-task-3`,children:`Create task`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1/video/generations`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`29`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`29`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/video/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"wan3.0-video-prime\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"The girl moves from a quiet smile to laughter while the camera slowly pushes in and the light changes from cool to warm.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"first_frame\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/first-frame.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"last_frame\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/last-frame.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parameters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1080P\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\": \"adaptive\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt_extend\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seed\": 42,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`request-headers-3`,children:`Request headers`}),_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization-2`,children:[`Bearer authentication in the form `,_jsx(_components.code,{children:`Bearer YOUR_API_KEY`}),`.`]}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-2`,children:`Request body format.`}),_jsx(Heading,{level:`2`,id:`request-body-3`,children:`Request body`}),_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model-4`,children:[`Use `,_jsx(_components.code,{children:`wan3.0-video-prime`}),`, or select `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),` in the `,_jsx(_components.code,{children:`Direct`}),` resource group for specific content requests.`]}),_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input-2`,children:[`Basic generation input. At least one of `,_jsx(_components.code,{children:`input.prompt`}),` or `,_jsx(_components.code,{children:`input.media`}),` must be present.`]}),_jsx(ParamField,{body:`input.prompt`,type:`string`,id:`param-input-prompt-2`,children:`Motion and transition description. Maximum length: 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.`}),_jsxs(ParamField,{body:`input.media`,type:`object[]`,required:true,id:`param-input-media-1`,children:[`Supply one `,_jsx(_components.code,{children:`first_frame`}),` and one `,_jsx(_components.code,{children:`last_frame`}),`. Do not combine them with `,_jsx(_components.code,{children:`reference_image`}),`, `,_jsx(_components.code,{children:`reference_video`}),`, `,_jsx(_components.code,{children:`reference_audio`}),`, `,_jsx(_components.code,{children:`file`}),`, or `,_jsx(_components.code,{children:`link`}),`.`]}),_jsxs(ParamField,{body:`input.media[].type`,type:`string`,required:true,id:`param-input-media-type-1`,children:[`Use `,_jsx(_components.code,{children:`first_frame`}),` for the opening image and `,_jsx(_components.code,{children:`last_frame`}),` for the ending image. Each type allows at most one item.`]}),_jsx(ParamField,{body:`input.media[].url`,type:`string`,required:true,id:`param-input-media-url-1`,children:`Public image URL or Base64 data URI.`}),_jsx(ParamField,{body:`parameters`,type:`object`,id:`param-parameters-2`,children:`Video generation controls.`}),_jsxs(ParamField,{body:`parameters.resolution`,type:`string`,default:`1080P`,id:`param-parameters-resolution-2`,children:[`Output resolution: `,_jsx(_components.code,{children:`1080P`}),`, `,_jsx(_components.code,{children:`720P`}),`, or `,_jsx(_components.code,{children:`480P`}),`.`]}),_jsxs(ParamField,{body:`parameters.ratio`,type:`string`,default:`adaptive`,id:`param-parameters-ratio-2`,children:[`Output aspect ratio: `,_jsx(_components.code,{children:`adaptive`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, or `,_jsx(_components.code,{children:`9:16`}),`. `,_jsx(_components.code,{children:`adaptive`}),` can follow the frame inputs and intent.`]}),_jsxs(ParamField,{body:`parameters.duration`,type:`integer`,default:5,id:`param-parameters-duration-2`,children:[`Output duration in seconds. Use `,_jsx(_components.code,{children:`-1`}),` for smart duration or an integer from 2 through 30.`]}),_jsxs(ParamField,{body:`parameters.audio`,type:`boolean`,default:true,id:`param-parameters-audio-2`,children:[`Whether the generated video contains an audio track. The price is the same for `,_jsx(_components.code,{children:`true`}),` and `,_jsx(_components.code,{children:`false`}),`.`]}),_jsxs(ParamField,{body:`parameters.prompt_extend`,type:`boolean`,default:true,id:`param-parameters-prompt-extend-2`,children:[`Whether to enable prompt rewriting. Set it to `,_jsx(_components.code,{children:`false`}),` when using `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),`.`]}),_jsxs(ParamField,{body:`parameters.seed`,type:`integer`,id:`param-parameters-seed-2`,children:[`Random seed from `,_jsx(_components.code,{children:`0`}),` through `,_jsx(_components.code,{children:`2147483647`}),`.`]}),_jsx(ParamField,{body:`parameters.watermark`,type:`boolean`,default:false,id:`param-parameters-watermark-2`,children:`Whether to add a watermark to the generated video.`}),_jsx(Heading,{level:`2`,id:`create-response-3`,children:`Create response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,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:`9`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_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:`\"wan3.0-video-prime\"`}),_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:`\"queued\"`}),_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:`0`}),_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_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:`Task ID used to query the result.`}),_jsxs(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id-2`,children:[`Task ID, identical to `,_jsx(_components.code,{children:`id`}),`.`]}),_jsxs(ResponseField,{name:`object`,type:`string`,id:`param-object-2`,children:[`Returned object type, `,_jsx(_components.code,{children:`video`}),`.`]}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-5`,children:`AnyFast model ID used by the task.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-2`,children:[`Initial task status, normally `,_jsx(_components.code,{children:`queued`}),`.`]}),_jsx(ResponseField,{name:`progress`,type:`integer`,id:`param-progress-2`,children:`Initial task progress percentage.`}),_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at-2`,children:`Creation time as a Unix timestamp in seconds.`})]}),_jsxs(Tab,{title:`Multimodal reference`,id:`multimodal-reference`,\"data-child-heading-ids\":`[\"create-task-4\",\"request-headers-4\",\"request-body-4\",\"create-response-4\"]`,children:[_jsx(Heading,{level:`2`,id:`create-task-4`,children:`Create task`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1/video/generations`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`33`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`33`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/video/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"wan3.0-video-prime\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Image 1 performs the motion from Video 1 while the scene follows the rhythm of Audio 1.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"reference_image\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/character.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"reference_video\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/motion.mp4\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"reference_audio\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/rhythm.mp3\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parameters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1080P\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 10,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt_extend\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seed\": 42,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`request-headers-4`,children:`Request headers`}),_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization-3`,children:[`Bearer authentication in the form `,_jsx(_components.code,{children:`Bearer YOUR_API_KEY`}),`.`]}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-3`,children:`Request body format.`}),_jsx(Heading,{level:`2`,id:`request-body-4`,children:`Request body`}),_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model-6`,children:[`Use `,_jsx(_components.code,{children:`wan3.0-video-prime`}),`, or select `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),` in the `,_jsx(_components.code,{children:`Direct`}),` resource group for specific content requests.`]}),_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input-3`,children:[`Basic generation input. At least one of `,_jsx(_components.code,{children:`input.prompt`}),` or `,_jsx(_components.code,{children:`input.media`}),` must be present.`]}),_jsxs(ParamField,{body:`input.prompt`,type:`string`,id:`param-input-prompt-3`,children:[`Video instruction, up to 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated. Refer to assets by their type-specific order, such as `,_jsx(_components.code,{children:`Image 1`}),`, `,_jsx(_components.code,{children:`Video 1`}),`, and `,_jsx(_components.code,{children:`Audio 1`}),`.`]}),_jsxs(ParamField,{body:`input.media`,type:`object[]`,required:true,id:`param-input-media-2`,children:[`Reference assets. Supply up to 10 images, 5 videos, and 5 audio clips. Do not combine reference media with `,_jsx(_components.code,{children:`first_frame`}),` or `,_jsx(_components.code,{children:`last_frame`}),`.`]}),_jsxs(ParamField,{body:`input.media[].type`,type:`string`,required:true,id:`param-input-media-type-2`,children:[`Use `,_jsx(_components.code,{children:`reference_image`}),`, `,_jsx(_components.code,{children:`reference_video`}),`, or `,_jsx(_components.code,{children:`reference_audio`}),`.`]}),_jsx(ParamField,{body:`input.media[].url`,type:`string`,required:true,id:`param-input-media-url-2`,children:`Public media URL. Images also accept Base64 data URIs.`}),_jsx(ParamField,{body:`parameters`,type:`object`,id:`param-parameters-3`,children:`Video generation controls.`}),_jsxs(ParamField,{body:`parameters.resolution`,type:`string`,default:`1080P`,id:`param-parameters-resolution-3`,children:[`Output resolution: `,_jsx(_components.code,{children:`1080P`}),`, `,_jsx(_components.code,{children:`720P`}),`, or `,_jsx(_components.code,{children:`480P`}),`.`]}),_jsxs(ParamField,{body:`parameters.ratio`,type:`string`,default:`adaptive`,id:`param-parameters-ratio-3`,children:[`Output aspect ratio: `,_jsx(_components.code,{children:`adaptive`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, or `,_jsx(_components.code,{children:`9:16`}),`.`]}),_jsxs(ParamField,{body:`parameters.duration`,type:`integer`,default:5,id:`param-parameters-duration-3`,children:[`Output duration in seconds. Use `,_jsx(_components.code,{children:`-1`}),` for smart duration. Without a video input, use 2–30; with video input, total input-video duration plus output duration must not exceed 30 seconds.`]}),_jsxs(ParamField,{body:`parameters.audio`,type:`boolean`,default:true,id:`param-parameters-audio-3`,children:[`Whether the generated video contains an audio track. The price is the same for `,_jsx(_components.code,{children:`true`}),` and `,_jsx(_components.code,{children:`false`}),`.`]}),_jsxs(ParamField,{body:`parameters.prompt_extend`,type:`boolean`,default:true,id:`param-parameters-prompt-extend-3`,children:[`Whether to enable prompt rewriting. Set it to `,_jsx(_components.code,{children:`false`}),` when using `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),`.`]}),_jsxs(ParamField,{body:`parameters.seed`,type:`integer`,id:`param-parameters-seed-3`,children:[`Random seed from `,_jsx(_components.code,{children:`0`}),` through `,_jsx(_components.code,{children:`2147483647`}),`.`]}),_jsx(ParamField,{body:`parameters.watermark`,type:`boolean`,default:false,id:`param-parameters-watermark-3`,children:`Whether to add a watermark to the generated video.`}),_jsx(Heading,{level:`2`,id:`create-response-4`,children:`Create response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,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:`9`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_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:`\"wan3.0-video-prime\"`}),_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:`\"queued\"`}),_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:`0`}),_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_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-3`,children:`Task ID used to query the result.`}),_jsxs(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id-3`,children:[`Task ID, identical to `,_jsx(_components.code,{children:`id`}),`.`]}),_jsxs(ResponseField,{name:`object`,type:`string`,id:`param-object-3`,children:[`Returned object type, `,_jsx(_components.code,{children:`video`}),`.`]}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-7`,children:`AnyFast model ID used by the task.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-3`,children:[`Initial task status, normally `,_jsx(_components.code,{children:`queued`}),`.`]}),_jsx(ResponseField,{name:`progress`,type:`integer`,id:`param-progress-3`,children:`Initial task progress percentage.`}),_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at-3`,children:`Creation time as a Unix timestamp in seconds.`})]}),_jsxs(Tab,{title:`File or webpage reference`,id:`file-or-webpage-reference`,\"data-child-heading-ids\":`[\"create-task-5\",\"request-headers-5\",\"request-body-5\",\"create-response-5\"]`,children:[_jsx(Heading,{level:`2`,id:`create-task-5`,children:`Create task`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1/video/generations`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`File`,numberOfLines:`25`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`25`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/video/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"wan3.0-video-prime\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Create a concise product-launch video from the supplied presentation, emphasizing the design details and three core benefits.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"file\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260806/ebapmr/glass.pptx\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parameters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1080P\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 10,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt_extend\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seed\": 42,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Webpage`,numberOfLines:`25`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`25`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/video/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"wan3.0-video-prime\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Turn the main points on this public page into a concise narrated video.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"link\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/public-product-overview\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parameters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1080P\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 10,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt_extend\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seed\": 42,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]})}),_jsx(Heading,{level:`2`,id:`request-headers-5`,children:`Request headers`}),_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization-4`,children:[`Bearer authentication in the form `,_jsx(_components.code,{children:`Bearer YOUR_API_KEY`}),`.`]}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-4`,children:`Request body format.`}),_jsx(Heading,{level:`2`,id:`request-body-5`,children:`Request body`}),_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model-8`,children:[`Use `,_jsx(_components.code,{children:`wan3.0-video-prime`}),`, or select `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),` in the `,_jsx(_components.code,{children:`Direct`}),` resource group for specific content requests.`]}),_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input-4`,children:[`Basic generation input. At least one of `,_jsx(_components.code,{children:`input.prompt`}),` or `,_jsx(_components.code,{children:`input.media`}),` must be present.`]}),_jsx(ParamField,{body:`input.prompt`,type:`string`,id:`param-input-prompt-4`,children:`Video instruction, up to 20,000 characters; each Chinese character or letter counts as one character, and content beyond the limit is automatically truncated.`}),_jsxs(ParamField,{body:`input.media`,type:`object[]`,required:true,id:`param-input-media-3`,children:[`Supply at most one file or one webpage link. `,_jsx(_components.code,{children:`file`}),` and `,_jsx(_components.code,{children:`link`}),` are mutually exclusive, and neither can be combined with `,_jsx(_components.code,{children:`first_frame`}),` or `,_jsx(_components.code,{children:`last_frame`}),`.`]}),_jsxs(ParamField,{body:`input.media[].type`,type:`string`,required:true,id:`param-input-media-type-3`,children:[`Use `,_jsx(_components.code,{children:`file`}),` for a document or `,_jsx(_components.code,{children:`link`}),` for a public webpage.`]}),_jsx(ParamField,{body:`input.media[].url`,type:`string`,required:true,id:`param-input-media-url-3`,children:`Public HTTP or HTTPS URL. Webpages must be accessible without login.`}),_jsx(ParamField,{body:`parameters`,type:`object`,id:`param-parameters-4`,children:`Video generation controls.`}),_jsxs(ParamField,{body:`parameters.resolution`,type:`string`,default:`1080P`,id:`param-parameters-resolution-4`,children:[`Output resolution: `,_jsx(_components.code,{children:`1080P`}),`, `,_jsx(_components.code,{children:`720P`}),`, or `,_jsx(_components.code,{children:`480P`}),`.`]}),_jsxs(ParamField,{body:`parameters.ratio`,type:`string`,default:`adaptive`,id:`param-parameters-ratio-4`,children:[`Output aspect ratio: `,_jsx(_components.code,{children:`adaptive`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, or `,_jsx(_components.code,{children:`9:16`}),`.`]}),_jsxs(ParamField,{body:`parameters.duration`,type:`integer`,default:5,id:`param-parameters-duration-4`,children:[`Output duration in seconds. Use `,_jsx(_components.code,{children:`-1`}),` for smart duration or an integer from 2 through 30.`]}),_jsxs(ParamField,{body:`parameters.audio`,type:`boolean`,default:true,id:`param-parameters-audio-4`,children:[`Whether the generated video contains an audio track. The price is the same for `,_jsx(_components.code,{children:`true`}),` and `,_jsx(_components.code,{children:`false`}),`.`]}),_jsxs(ParamField,{body:`parameters.prompt_extend`,type:`boolean`,default:true,id:`param-parameters-prompt-extend-4`,children:[`Whether to enable prompt rewriting. Set it to `,_jsx(_components.code,{children:`false`}),` when using `,_jsx(_components.code,{children:`wan3.0-video-prime-nsfw`}),`.`]}),_jsxs(ParamField,{body:`parameters.seed`,type:`integer`,id:`param-parameters-seed-4`,children:[`Random seed from `,_jsx(_components.code,{children:`0`}),` through `,_jsx(_components.code,{children:`2147483647`}),`.`]}),_jsx(ParamField,{body:`parameters.watermark`,type:`boolean`,default:false,id:`param-parameters-watermark-4`,children:`Whether to add a watermark to the generated video.`}),_jsx(Heading,{level:`2`,id:`create-response-5`,children:`Create response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,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:`9`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"video\"`}),_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:`\"wan3.0-video-prime\"`}),_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:`\"queued\"`}),_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:`0`}),_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_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-4`,children:`Task ID used to query the result.`}),_jsxs(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id-4`,children:[`Task ID, identical to `,_jsx(_components.code,{children:`id`}),`.`]}),_jsxs(ResponseField,{name:`object`,type:`string`,id:`param-object-4`,children:[`Returned object type, `,_jsx(_components.code,{children:`video`}),`.`]}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-9`,children:`AnyFast model ID used by the task.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-4`,children:[`Initial task status, normally `,_jsx(_components.code,{children:`queued`}),`.`]}),_jsx(ResponseField,{name:`progress`,type:`integer`,id:`param-progress-4`,children:`Initial task progress percentage.`}),_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at-4`,children:`Creation time as a Unix timestamp in seconds.`})]}),_jsxs(Tab,{title:`Query task`,id:`query-task`,\"data-child-heading-ids\":`[\"query-task-by-id\",\"request-headers-6\",\"path-parameters\",\"query-response\"]`,children:[_jsx(Heading,{level:`2`,id:`query-task-by-id`,children:`Query task by ID`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`GET /v1/video/generations/{id}`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/video/generations/asyntask_wan30primeexample123`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`})]}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`request-headers-6`,children:`Request headers`}),_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization-5`,children:[`Bearer authentication in the form `,_jsx(_components.code,{children:`Bearer YOUR_API_KEY`}),`.`]}),_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id-5`,children:`Task ID returned by a create request.`}),_jsx(Note,{children:`Alibaba Cloud reports a typical generation time of 1–5 minutes and recommends polling at roughly 15-second intervals. This upstream estimate is not an AnyFast service-level commitment; actual processing time can vary. Tasks can be queried for 24 hours after creation, and successful result URLs remain valid for 24 hours.`}),_jsx(Heading,{level:`2`,id:`query-response`,children:`Query response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`37`,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:`37`,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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_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:`\"\"`}),_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:` \"data\"`}),_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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"asyntask_wan30primeexample123\"`}),_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:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"firstTailGenerate\"`}),_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:`\"SUCCESS\"`}),_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:` \"fail_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/generated-video.mp4\"`}),_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:` \"result_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/generated-video.mp4\"`}),_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:` \"submit_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280000`}),_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:` \"start_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280005`}),_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:` \"finish_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1787280125`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request_wan30primeexample123\"`}),_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:` \"data\"`}),_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\"`}),_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:` \"end_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-21 08:02:05.000\"`}),_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:` \"orig_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A painted character takes one step forward while the camera gently pushes in.\"`}),_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:` \"scheduled_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-21 08:00:05.000\"`}),_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:` \"submit_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-21 08:00:00.000\"`}),_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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upstream_task_wan30primeexample123\"`}),_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:` \"task_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCEEDED\"`}),_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:` \"video_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/generated-video.mp4\"`})]}),`\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:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upstream_request_wan30primeexample123\"`}),_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:` \"usage\"`}),_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:` \"SR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`480`}),_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:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_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:` \"fps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_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:` \"input_video_duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_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_video_duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2.0`}),_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:` \"ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1:1\"`}),_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:` \"video_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\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`,_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`]})})})}),_jsxs(ResponseField,{name:`code`,type:`string`,id:`param-code`,children:[`Response code. `,_jsx(_components.code,{children:`success`}),` means the query was accepted.`]}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:`Response message. A successful query normally returns an empty string.`}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:`Task status and result payload.`}),_jsx(ResponseField,{name:`data.task_id`,type:`string`,id:`param-data-task-id`,children:`AnyFast task ID.`}),_jsxs(ResponseField,{name:`data.action`,type:`string`,id:`param-data-action`,children:[`Task action selected for the submitted workflow. For example, a first-frame task can return `,_jsx(_components.code,{children:`firstTailGenerate`}),`.`]}),_jsxs(ResponseField,{name:`data.status`,type:`string`,id:`param-data-status`,children:[`Task status: `,_jsx(_components.code,{children:`NOT_START`}),`, `,_jsx(_components.code,{children:`QUEUED`}),`, `,_jsx(_components.code,{children:`IN_PROGRESS`}),`, `,_jsx(_components.code,{children:`SUCCESS`}),`, or `,_jsx(_components.code,{children:`FAILURE`}),`. Use this field to determine whether the task failed.`]}),_jsxs(ResponseField,{name:`data.fail_reason`,type:`string`,id:`param-data-fail-reason`,children:[`Compatibility field. Some successful responses repeat `,_jsx(_components.code,{children:`result_url`}),` here, as shown above; a non-empty value does not mean the task failed. Use `,_jsx(_components.code,{children:`status`}),` to determine the outcome and read the result from `,_jsx(_components.code,{children:`result_url`}),`. On `,_jsx(_components.code,{children:`FAILURE`}),`, this field can contain failure details.`]}),_jsxs(ResponseField,{name:`data.result_url`,type:`string | null`,id:`param-data-result-url`,children:[`Temporary generated-video URL returned when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`SUCCESS`}),`. This field can be omitted before the task completes.`]}),_jsx(ResponseField,{name:`data.submit_time`,type:`integer`,id:`param-data-submit-time`,children:`Task submission time as a Unix timestamp in seconds.`}),_jsxs(ResponseField,{name:`data.start_time`,type:`integer`,id:`param-data-start-time`,children:[`Task start time as a Unix timestamp in seconds; `,_jsx(_components.code,{children:`0`}),` while the task is still queued.`]}),_jsxs(ResponseField,{name:`data.finish_time`,type:`integer`,id:`param-data-finish-time`,children:[`Task completion time as a Unix timestamp in seconds; `,_jsx(_components.code,{children:`0`}),` until the task reaches a terminal state.`]}),_jsxs(ResponseField,{name:`data.progress`,type:`string`,id:`param-data-progress`,children:[`Task progress as a percentage string, such as `,_jsx(_components.code,{children:`100%`}),`.`]}),_jsx(ResponseField,{name:`data.request_id`,type:`string`,id:`param-data-request-id`,children:`AnyFast request trace ID.`}),_jsx(ResponseField,{name:`data.data`,type:`object`,id:`param-data-data`,children:`Raw upstream response data.`}),_jsx(ResponseField,{name:`data.data.output`,type:`object`,id:`param-data-data-output`,children:`Raw upstream task output.`}),_jsx(ResponseField,{name:`data.data.output.end_time`,type:`string`,id:`param-data-data-output-end-time`,children:`Upstream task completion time. Present after successful completion.`}),_jsx(ResponseField,{name:`data.data.output.orig_prompt`,type:`string`,id:`param-data-data-output-orig-prompt`,children:`Prompt received by the upstream service. Present after successful completion.`}),_jsx(ResponseField,{name:`data.data.output.scheduled_time`,type:`string`,id:`param-data-data-output-scheduled-time`,children:`Upstream task scheduling time. Appears once processing begins and can be omitted while the task is queued.`}),_jsx(ResponseField,{name:`data.data.output.submit_time`,type:`string`,id:`param-data-data-output-submit-time`,children:`Upstream task submission time.`}),_jsx(ResponseField,{name:`data.data.output.task_id`,type:`string`,id:`param-data-data-output-task-id`,children:`Upstream task ID.`}),_jsx(ResponseField,{name:`data.data.output.task_status`,type:`string`,id:`param-data-data-output-task-status`,children:`Upstream task status.`}),_jsx(ResponseField,{name:`data.data.output.video_url`,type:`string`,id:`param-data-data-output-video-url`,children:`Generated-video URL in the raw upstream output. Present after successful completion.`}),_jsx(ResponseField,{name:`data.data.request_id`,type:`string`,id:`param-data-data-request-id`,children:`Upstream request trace ID.`}),_jsx(ResponseField,{name:`data.data.usage`,type:`object`,id:`param-data-data-usage`,children:`Upstream video usage details. Present after successful completion and omitted while the task is queued or processing.`}),_jsx(ResponseField,{name:`data.data.usage.SR`,type:`integer`,id:`param-data-data-usage-sr`,children:`Upstream output resolution value.`}),_jsx(ResponseField,{name:`data.data.usage.duration`,type:`integer`,id:`param-data-data-usage-duration`,children:`Generated duration in seconds.`}),_jsx(ResponseField,{name:`data.data.usage.fps`,type:`integer`,id:`param-data-data-usage-fps`,children:`Generated video frame rate.`}),_jsx(ResponseField,{name:`data.data.usage.input_video_duration`,type:`number`,id:`param-data-data-usage-input-video-duration`,children:`Total input-video duration in seconds.`}),_jsx(ResponseField,{name:`data.data.usage.output_video_duration`,type:`number`,id:`param-data-data-usage-output-video-duration`,children:`Output-video duration in seconds.`}),_jsx(ResponseField,{name:`data.data.usage.ratio`,type:`string`,id:`param-data-data-usage-ratio`,children:`Generated video aspect ratio.`}),_jsx(ResponseField,{name:`data.data.usage.video_count`,type:`integer`,id:`param-data-data-usage-video-count`,children:`Number of generated videos.`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`media-limits`,children:`Media limits`}),`\n`,_jsx(Heading,{level:`3`,id:`images`,children:`Images`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Roles: `,_jsx(_components.code,{children:`first_frame`}),`, `,_jsx(_components.code,{children:`last_frame`}),`, and `,_jsx(_components.code,{children:`reference_image`}),`.`]}),`\n`,_jsx(_components.li,{children:`Formats: JPEG, JPG, PNG without an alpha channel, BMP, or WEBP.`}),`\n`,_jsx(_components.li,{children:`Each side must be 240–8,000 px, the aspect ratio must not exceed 8:1, and each image must be no larger than 20 MB.`}),`\n`,_jsx(_components.li,{children:`Images accept a public HTTP or HTTPS URL or a Base64 data URI. Supply at most one first frame, one last frame, or 10 reference images.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`videos`,children:`Videos`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Role: `,_jsx(_components.code,{children:`reference_video`}),`; up to five clips with no more than 15 seconds total.`]}),`\n`,_jsx(_components.li,{children:`Formats: MP4 or MOV. Each clip must be 1–15 seconds, each side must be 240–4,096 px, the aspect ratio must not exceed 8:1, and each file must be no larger than 100 MB.`}),`\n`,_jsx(_components.li,{children:`Videos require a public HTTP or HTTPS URL.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`audio`,children:`Audio`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Role: `,_jsx(_components.code,{children:`reference_audio`}),`; up to five clips with no more than 15 seconds total.`]}),`\n`,_jsx(_components.li,{children:`Formats: WAV or MP3. Each clip must be 1–15 seconds and no larger than 15 MB.`}),`\n`,_jsx(_components.li,{children:`Audio requires a public HTTP or HTTPS URL.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`files-and-webpages`,children:`Files and webpages`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file`}),` supports DOCX, DOC, XLSX, XLS, PPTX, PPT, PDF, TXT, KEY, PAGES, NUMBERS, and MD files up to 100 MB.`]}),`\n`,_jsx(_components.li,{children:`PDF, DOCX, DOC, PPTX, PPT, KEY, and PAGES inputs support up to 50 pages.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`link`}),` accepts a public HTTP or HTTPS webpage that does not require login.`]}),`\n`,_jsxs(_components.li,{children:[`Supply at most one `,_jsx(_components.code,{children:`file`}),` or one `,_jsx(_components.code,{children:`link`}),`; they are mutually exclusive.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`reference_image`}),`, `,_jsx(_components.code,{children:`reference_video`}),`, `,_jsx(_components.code,{children:`reference_audio`}),`, `,_jsx(_components.code,{children:`file`}),`, and `,_jsx(_components.code,{children:`link`}),` cannot be combined with `,_jsx(_components.code,{children:`first_frame`}),` or `,_jsx(_components.code,{children:`last_frame`}),` in the same request.`]})}),`\n`,_jsxs(_components.p,{children:[`Sources: `,_jsx(_components.a,{href:`https://www.alibabacloud.com/help/en/model-studio/wan3-0-video-prime`,children:`Alibaba Cloud Wan3.0 Video Prime model page`}),` and `,_jsx(_components.a,{href:`https://www.alibabacloud.com/help/en/model-studio/wan3-video-generation-api-reference`,children:`Wan3.0 video generation API reference`}),`.`]})]})}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":"wan3.0-video-prime","description":"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.","tag":"NEW","href":"/api-reference/model-api/alibaba/wan3.0-video-prime"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create task","slug":"create-task","depth":2,"children":[],"tabId":"text-to-video"},{"title":"Request headers","slug":"request-headers","depth":2,"children":[],"tabId":"text-to-video"},{"title":"Request body","slug":"request-body","depth":2,"children":[],"tabId":"text-to-video"},{"title":"Create response","slug":"create-response","depth":2,"children":[],"tabId":"text-to-video"},{"title":"Create task","slug":"create-task-2","depth":2,"children":[],"tabId":"first-frame-video"},{"title":"Request headers","slug":"request-headers-2","depth":2,"children":[],"tabId":"first-frame-video"},{"title":"Request body","slug":"request-body-2","depth":2,"children":[],"tabId":"first-frame-video"},{"title":"Create response","slug":"create-response-2","depth":2,"children":[],"tabId":"first-frame-video"},{"title":"Create task","slug":"create-task-3","depth":2,"children":[],"tabId":"first-and-last-frames"},{"title":"Request headers","slug":"request-headers-3","depth":2,"children":[],"tabId":"first-and-last-frames"},{"title":"Request body","slug":"request-body-3","depth":2,"children":[],"tabId":"first-and-last-frames"},{"title":"Create response","slug":"create-response-3","depth":2,"children":[],"tabId":"first-and-last-frames"},{"title":"Create task","slug":"create-task-4","depth":2,"children":[],"tabId":"multimodal-reference"},{"title":"Request headers","slug":"request-headers-4","depth":2,"children":[],"tabId":"multimodal-reference"},{"title":"Request body","slug":"request-body-4","depth":2,"children":[],"tabId":"multimodal-reference"},{"title":"Create response","slug":"create-response-4","depth":2,"children":[],"tabId":"multimodal-reference"},{"title":"Create task","slug":"create-task-5","depth":2,"children":[],"tabId":"file-or-webpage-reference"},{"title":"Request headers","slug":"request-headers-5","depth":2,"children":[],"tabId":"file-or-webpage-reference"},{"title":"Request body","slug":"request-body-5","depth":2,"children":[],"tabId":"file-or-webpage-reference"},{"title":"Create response","slug":"create-response-5","depth":2,"children":[],"tabId":"file-or-webpage-reference"},{"title":"Query task by ID","slug":"query-task-by-id","depth":2,"children":[],"tabId":"query-task"},{"title":"Request headers","slug":"request-headers-6","depth":2,"children":[],"tabId":"query-task"},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[],"tabId":"query-task"},{"title":"Query response","slug":"query-response","depth":2,"children":[],"tabId":"query-task"},{"title":"Media limits","slug":"media-limits","depth":2,"children":[{"title":"Images","slug":"images","depth":3,"children":[]},{"title":"Videos","slug":"videos","depth":3,"children":[]},{"title":"Audio","slug":"audio","depth":3,"children":[]},{"title":"Files and webpages","slug":"files-and-webpages","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/13108701256/732cc469d132ece5/public/feedback.js","/_mintlify/custom/13108701256/77e35c9cec00c64f/workers/docs-feedback/src/index.js"],"subdomain":"13108701256","siteName":"AnyFast","title":"wan3.0-video-prime - AnyFast","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/model-api/alibaba/wan3.0-video-prime","matchLevel":0},"zh":{"href":"/zh/api-reference/model-api/alibaba/wan3.0-video-prime","matchLevel":1}}},"lastModified":"2026-11-13T01:49:24.170Z","originalFileLocation":"api-reference/model-api/alibaba/wan3.0-video-prime.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=\"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AnyFast\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"wan3.0-video-prime - AnyFast\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AnyFast Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\">\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=\"wan3.0-video-prime - AnyFast\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\">\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/13108701256/gXJe3s6yIozLssx1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AnyFast\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D28D9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/model-api/alibaba/wan3.0-video-prime.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.anyfast.ai/zh/api-reference/model-api/alibaba/wan3.0-video-prime\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anyfast.ai/#organization\",\"name\":\"AnyFast\",\"url\":\"https://docs.anyfast.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/light.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=dd4b307fc5a359cdfeed37fcd3015842\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anyfast.ai#website\",\"name\":\"AnyFast\",\"url\":\"https://docs.anyfast.ai\",\"publisher\":{\"@id\":\"https://docs.anyfast.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime#webpage\",\"url\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime\",\"name\":\"wan3.0-video-prime\",\"description\":\"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.\",\"dateModified\":\"2026-11-13T01:49:24.170Z\",\"isPartOf\":{\"@id\":\"https://docs.anyfast.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Model APIs\",\"item\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/qwen3.8-max\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alibaba\",\"item\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/qwen3.8-max\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Video generation\",\"item\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/happyhorse-1.1\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"wan3.0-video-prime\",\"item\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime#article\",\"headline\":\"wan3.0-video-prime\",\"name\":\"wan3.0-video-prime\",\"description\":\"Create and query accelerated Wan3.0 Video Prime tasks for text, frame-guided, multimodal, file, and webpage workflows.\",\"url\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/wan3.0-video-prime#webpage\"},\"image\":\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\",\"dateModified\":\"2026-11-13T01:49:24.170Z\",\"publisher\":{\"@id\":\"https://docs.anyfast.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anyfast.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AnyFast\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AnyFast\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/model-api/alibaba/wan3.0-video-prime.md","siteName":"AnyFast","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.anyfast.ai"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Model Introduction","pages":[{"title":"Model Introduction","href":"/guides/model-api/alibaba/qwen3.8-max"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"}]},{"group":"Native Compatible Endpoints","pages":[{"group":"OpenAI","pages":[{"title":"Chat Completions","openapi":"api-reference/endpoints/openapi/openai/openapi.yaml POST /v1/chat/completions","href":"/api-reference/endpoints/openai"}]},{"group":"Anthropic Claude","pages":[{"title":"Create Message","openapi":"api-reference/endpoints/openapi/anthropic/openapi.yaml POST /v1/messages","href":"/api-reference/endpoints/anthropic"}]},{"group":"Google Gemini","pages":[{"title":"Generate Content","openapi":"api-reference/endpoints/openapi/gemini-native/openapi.yaml POST /v1beta/models/{model}:generateContent","href":"/api-reference/endpoints/gemini-native"},{"title":"Chat Completions","openapi":"api-reference/endpoints/openapi/gemini-chat/openapi.yaml POST /v1/chat/completions","href":"/api-reference/endpoints/gemini-chat"}]},{"group":"ByteDance Doubao","pages":[{"title":"Chat Completions","openapi":"api-reference/endpoints/openapi/doubao/openapi.yaml POST /v1/chat/completions","href":"/api-reference/endpoints/doubao"},{"title":"Create Response","openapi":"api-reference/endpoints/openapi/doubao-responses/openapi.yaml POST /v1/responses","href":"/api-reference/endpoints/doubao-responses"}]}]},{"group":"Model APIs","pages":[{"group":"Alibaba","icon":"/images/providers/alibaba-cloud.svg","pages":[{"group":"Text \u0026 multimodal","expanded":false,"pages":[{"title":"qwen3.8-max","openapi":"api-reference/model-api/alibaba/openapi/qwen3.8-max/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.8-max"},{"title":"qwen3.8-flash","openapi":"api-reference/model-api/alibaba/openapi/qwen3.8-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.8-flash"},{"title":"qwen3.7-max","openapi":"api-reference/model-api/alibaba/openapi/qwen3.7-max/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.7-max"},{"title":"qwen3.7-max-preview","openapi":"api-reference/model-api/alibaba/openapi/qwen3.7-max-preview/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.7-max-preview"},{"title":"qwen3.7-plus","openapi":"api-reference/model-api/alibaba/openapi/qwen3.7-plus/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.7-plus"},{"title":"qwen3.6-plus","openapi":"api-reference/model-api/alibaba/openapi/qwen3.6-plus/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.6-plus"},{"title":"qwen3.6-flash","openapi":"api-reference/model-api/alibaba/openapi/qwen3.6-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.6-flash"},{"title":"qwen3.5-397b-a17b","openapi":"api-reference/model-api/alibaba/openapi/qwen3.5-397b-a17b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.5-397b-a17b"},{"title":"qwen3-coder-next","openapi":"api-reference/model-api/alibaba/openapi/qwen3-coder-next/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-coder-next"},{"title":"qwen3-coder","openapi":"api-reference/model-api/alibaba/openapi/qwen3-coder/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-coder"},{"title":"qwen3-next-80b-a3b-instruct","openapi":"api-reference/model-api/alibaba/openapi/qwen3-next-80b-a3b-instruct/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-next-80b-a3b-instruct"},{"title":"qwen3-next-80b-a3b-thinking","openapi":"api-reference/model-api/alibaba/openapi/qwen3-next-80b-a3b-thinking/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-next-80b-a3b-thinking"},{"title":"qwen3-235b-a22b-instruct-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-235b-a22b-instruct-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-235b-a22b-instruct-2507"},{"title":"qwen3-235b-a22b-thinking-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-235b-a22b-thinking-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-235b-a22b-thinking-2507"},{"title":"qwen3-235b-a22b","openapi":"api-reference/model-api/alibaba/openapi/qwen3-235b-a22b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-235b-a22b"},{"title":"qwen3-30b-a3b-instruct-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-30b-a3b-instruct-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-30b-a3b-instruct-2507"},{"title":"qwen3-30b-a3b-thinking-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-30b-a3b-thinking-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-30b-a3b-thinking-2507"},{"title":"qwen3-32b","openapi":"api-reference/model-api/alibaba/openapi/qwen3-32b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-32b"},{"title":"qwen3-14b","openapi":"api-reference/model-api/alibaba/openapi/qwen3-14b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-14b"},{"title":"qwen3-vl-235b-a22b-instruct","openapi":"api-reference/model-api/alibaba/openapi/qwen3-vl-235b-a22b-instruct/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-vl-235b-a22b-instruct"},{"title":"qwen3-vl-235b-a22b-thinking","openapi":"api-reference/model-api/alibaba/openapi/qwen3-vl-235b-a22b-thinking/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-vl-235b-a22b-thinking"}]},{"group":"Image generation","expanded":false,"pages":[{"title":"qwen-image-plus","openapi":"api-reference/model-api/alibaba/openapi/qwen-image-plus/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/alibaba/qwen-image-plus"},{"title":"Wan2.7 Image / Pro","openapi":"api-reference/model-api/alibaba/openapi/wan2.7-image/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/alibaba/wan2.7-image"},{"title":"wan2.6-t2i","openapi":"api-reference/model-api/alibaba/openapi/wan2.6-t2i/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/alibaba/wan2.6-t2i"}]},{"group":"Video generation","expanded":false,"pages":[{"title":"happyhorse-1.1","href":"/api-reference/model-api/alibaba/happyhorse-1.1"},{"title":"happyhorse-1.0","href":"/api-reference/model-api/alibaba/happyhorse-1.0"},{"title":"happyhorse-task-query","openapi":"api-reference/model-api/alibaba/openapi/happyhorse-task-query/openapi.yaml GET /v1/video/generations/{task_id}","description":"Retrieve the status and result of a HappyHorse video generation task by its ID.","href":"/api-reference/model-api/alibaba/happyhorse-task-query"},{"title":"wan3.0-video-prime","tag":"NEW","href":"/api-reference/model-api/alibaba/wan3.0-video-prime"},{"title":"wan3.0-video","description":"Create and query Wan3.0 text, frame-guided, multimodal reference, file, and webpage video tasks.","href":"/api-reference/model-api/alibaba/wan3.0-video"},{"title":"Wan2.7","href":"/api-reference/model-api/alibaba/wan2.7"},{"title":"Wan2.2 A14B","href":"/api-reference/model-api/alibaba/wan2.2-a14b"},{"title":"wan2-task-query","openapi":"api-reference/model-api/alibaba/openapi/wan2-task-query/openapi.yaml GET /v1/video/generations/{task_id}","href":"/api-reference/model-api/alibaba/wan2-task-query"}]}]},{"group":"Anthropic","icon":"/images/providers/anthropic.svg","pages":[{"title":"claude-opus-5-5","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-5-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-5-5"},{"title":"claude-fable-5-2","openapi":"api-reference/model-api/anthropic/openapi/claude-fable-5-2/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-fable-5-2"},{"title":"claude-fable-5-1","openapi":"api-reference/model-api/anthropic/openapi/claude-fable-5-1/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-fable-5-1"},{"title":"claude-fable-5","openapi":"api-reference/model-api/anthropic/openapi/claude-fable-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-fable-5"},{"title":"claude-opus-5","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-5"},{"title":"claude-opus-4-8","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-8/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-8"},{"title":"claude-opus-4-7","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-7/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-7"},{"title":"claude-opus-4-6","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-6/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-6"},{"title":"claude-opus-4-6-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-6-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-6-thinking"},{"title":"claude-sonnet-5-5","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-5-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-5-5"},{"title":"claude-sonnet-5","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-5"},{"title":"claude-sonnet-4-6","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-6/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-6"},{"title":"claude-sonnet-4-6-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-6-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-6-thinking"},{"title":"claude-opus-4-5-20251101","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-5-20251101/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-5-20251101"},{"title":"claude-opus-4-5-20251101-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-5-20251101-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-5-20251101-thinking"},{"title":"claude-sonnet-4-5-20250929","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-5-20250929/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-5-20250929"},{"title":"claude-sonnet-4-5-20250929-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-5-20250929-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-5-20250929-thinking"},{"title":"claude-haiku-5-5","openapi":"api-reference/model-api/anthropic/openapi/claude-haiku-5-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-haiku-5-5"},{"title":"claude-haiku-4-5-20251001","openapi":"api-reference/model-api/anthropic/openapi/claude-haiku-4-5-20251001/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-haiku-4-5-20251001"},{"title":"claude-haiku-4-5-20251001-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-haiku-4-5-20251001-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-haiku-4-5-20251001-thinking"},{"title":"claude-opus-4-20250514","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-20250514/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-20250514"}]},{"group":"Black Forest Labs","icon":"/images/providers/bfl.svg","pages":[{"title":"flux-1.1-pro","openapi":"api-reference/model-api/blackforestlabs/openapi/flux-1-1-pro/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/blackforestlabs/flux-1-1-pro"},{"title":"flux-1-kontext-pro","openapi":"api-reference/model-api/blackforestlabs/openapi/flux-1-kontext-pro/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/blackforestlabs/flux-1-kontext-pro"},{"title":"flux-1-kontext-pro-edit","openapi":"api-reference/model-api/blackforestlabs/openapi/flux-1-kontext-pro-edit/openapi.yaml POST /v1/images/edits","href":"/api-reference/model-api/blackforestlabs/flux-1-kontext-pro-edit"}]},{"group":"ByteDance","icon":"/images/providers/bytedance.svg","pages":[{"title":"Seedance Task Query","openapi":"api-reference/model-api/bytedance/openapi/seedance-task-query/openapi.yaml GET /v1/video/generations/{id}","href":"/api-reference/model-api/bytedance/seedance-task-query"},{"group":"Asset Management","pages":[{"title":"Create Asset Group","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-group/openapi.yaml POST /volc/asset/CreateAssetGroup","href":"/api-reference/model-api/bytedance/volc-asset-create-group"},{"title":"Create Image Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-image/openapi.yaml POST /volc/asset/CreateAsset","href":"/api-reference/model-api/bytedance/volc-asset-create-image"},{"title":"Create Video Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-video/openapi.yaml POST /volc/asset/CreateAsset","href":"/api-reference/model-api/bytedance/volc-asset-create-video"},{"title":"Create Audio Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-audio/openapi.yaml POST /volc/asset/CreateAsset","href":"/api-reference/model-api/bytedance/volc-asset-create-audio"},{"title":"List Asset Groups","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-list-groups/openapi.yaml POST /volc/asset/ListAssetGroups","href":"/api-reference/model-api/bytedance/volc-asset-list-groups"},{"title":"List Assets","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-list-assets/openapi.yaml POST /volc/asset/ListAssets","href":"/api-reference/model-api/bytedance/volc-asset-list-assets"},{"title":"Get Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-get-asset/openapi.yaml POST /volc/asset/GetAsset","href":"/api-reference/model-api/bytedance/volc-asset-get-asset"},{"title":"Update Asset Group","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-update-group/openapi.yaml POST /volc/asset/UpdateAssetGroup","href":"/api-reference/model-api/bytedance/volc-asset-update-group"},{"title":"Update Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-update-asset/openapi.yaml POST /volc/asset/UpdateAsset","href":"/api-reference/model-api/bytedance/volc-asset-update-asset"},{"title":"Delete Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-delete-asset/openapi.yaml POST /volc/asset/DeleteAsset","href":"/api-reference/model-api/bytedance/volc-asset-delete-asset"},{"title":"Delete Asset Group","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-delete-group/openapi.yaml POST /volc/asset/DeleteAssetGroup","href":"/api-reference/model-api/bytedance/volc-asset-delete-group"}]},{"title":"seedance-2.5","tag":"NEW","href":"/api-reference/model-api/bytedance/seedance-2-5"},{"title":"seedance-2.5-flash","tag":"NEW","href":"/api-reference/model-api/bytedance/seedance-2-5-flash"},{"title":"seedance-2.0-mini","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0-mini/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0-mini"},{"title":"seedance-2.0-ultra","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0-ultra/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0-ultra"},{"title":"seedance-2.0-fast","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0-fast/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0-fast"},{"title":"seedance-2.0","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0"},{"title":"doubao-seed-2.1-pro","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.1-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.1-pro"},{"title":"doubao-seed-2.1-turbo","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.1-turbo/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.1-turbo"},{"title":"doubao-seed-evolving","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-evolving/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-evolving"},{"title":"doubao-seed-2.0-pro","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-pro"},{"title":"doubao-seed-2.0-code","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-code/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-code"},{"title":"doubao-seed-2.0-lite","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-lite/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-lite"},{"title":"doubao-seed-2.0-mini","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-mini"},{"title":"doubao-seed-1.6","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-1-6-251015/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-1-6-251015"},{"title":"seedream-5.5","href":"/api-reference/model-api/bytedance/seedream-5-5"},{"title":"seedream-5.0-pro","href":"/api-reference/model-api/bytedance/doubao-seedream-5-0-pro-260628"},{"title":"seedream-5.0-flash","href":"/api-reference/model-api/bytedance/doubao-seedream-5-0-flash-260915"},{"title":"seedream-5.0-lite","href":"/api-reference/model-api/bytedance/seedream-5-0-lite-260128"},{"title":"seedream-5.0","href":"/api-reference/model-api/bytedance/doubao-seedream-5-0-260128"},{"title":"seedream-4.5","href":"/api-reference/model-api/bytedance/doubao-seedream-4-5-251128"},{"title":"seedream-4.0","href":"/api-reference/model-api/bytedance/doubao-seedream-4-0-250828"},{"title":"seedream-3.0-t2i","openapi":"api-reference/model-api/bytedance/openapi/doubao-seedream-3-0-t2i-250415/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/bytedance/doubao-seedream-3-0-t2i-250415"}]},{"group":"DeepSeek","icon":"/images/providers/deepseek.svg","pages":[{"title":"deepseek-v4.1-flash-1017","tag":"NEW","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-1-flash-1017/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-1-flash-1017"},{"title":"deepseek-v4.1-flash","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-1-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-1-flash"},{"title":"deepseek-v4-flash","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-flash"},{"title":"deepseek-v4-pro","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-pro"},{"title":"deepseek-v3-2-exp","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3-2-exp/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v3-2-exp"},{"title":"deepseek-v3-1-terminus","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3-1-terminus/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v3-1-terminus"},{"title":"deepseek-v3-1","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3-1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v3-1"},{"title":"deepseek-v3","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v3"}]},{"group":"Google","icon":"/images/providers/google.svg","pages":[{"title":"gemini-4-hydrogen","tag":"NEW","href":"/api-reference/model-api/google/gemini-4-hydrogen"},{"title":"gemini-4-argon","tag":"NEW","href":"/api-reference/model-api/google/gemini-4-argon"},{"title":"gemini-nano-banana-2.1","tag":"NEW","openapi":"api-reference/model-api/google/openapi/gemini-nano-banana-2-1/openapi.yaml POST /v1beta/models/gemini-nano-banana-2.1:generateContent","href":"/api-reference/model-api/google/gemini-nano-banana-2-1"},{"title":"gemini-nano-banana-2.1-stream","openapi":"api-reference/model-api/google/openapi/gemini-nano-banana-2-1-stream/openapi.yaml POST /v1beta/models/gemini-nano-banana-2.1:streamGenerateContent","href":"/api-reference/model-api/google/gemini-nano-banana-2-1-stream"},{"title":"gemini-3.8-flash","tag":"NEW","href":"/api-reference/model-api/google/gemini-3.8-flash"},{"title":"gemini-3.7-flash","openapi":"api-reference/model-api/google/openapi/gemini-3.7-flash/openapi.yaml POST /v1beta/models/gemini-3.7-flash:generateContent","href":"/api-reference/model-api/google/gemini-3.7-flash"},{"title":"gemini-3.6-flash","openapi":"api-reference/model-api/google/openapi/gemini-3.6-flash/openapi.yaml POST /v1beta/models/gemini-3.6-flash:generateContent","href":"/api-reference/model-api/google/gemini-3.6-flash"},{"title":"gemini-3.5-flash-lite","openapi":"api-reference/model-api/google/openapi/gemini-3.5-flash-lite/openapi.yaml POST /v1beta/models/gemini-3.5-flash-lite:generateContent","href":"/api-reference/model-api/google/gemini-3.5-flash-lite"},{"title":"gemini-3.5-flash","openapi":"api-reference/model-api/google/openapi/gemini-3.5-flash/openapi.yaml POST /v1beta/models/gemini-3.5-flash:generateContent","href":"/api-reference/model-api/google/gemini-3.5-flash"},{"title":"gemini-3.1-flash-image","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-image/openapi.yaml POST /v1beta/models/gemini-3.1-flash-image:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-image"},{"title":"gemini-3.1-flash-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-image-stream/openapi.yaml POST /v1beta/models/gemini-3.1-flash-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-image-stream"},{"title":"gemini-3.1-flash-lite-image","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-lite-image/openapi.yaml POST /v1beta/models/gemini-3.1-flash-lite-image:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-lite-image"},{"title":"gemini-3.1-flash-lite-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-lite-image-stream/openapi.yaml POST /v1beta/models/gemini-3.1-flash-lite-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-lite-image-stream"},{"title":"gemini-3.1-flash-image-preview-c","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-image-preview-c/openapi.yaml POST /v1beta/models/gemini-3.1-flash-image-preview-c:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-image-preview-c"},{"title":"gemini-3.1-pro-preview","openapi":"api-reference/model-api/google/openapi/gemini-3.1-pro-preview/openapi.yaml POST /v1beta/models/gemini-3.1-pro-preview:generateContent","href":"/api-reference/model-api/google/gemini-3.1-pro-preview"},{"title":"gemini-3.1-flash-lite-preview","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-lite-preview/openapi.yaml POST /v1beta/models/gemini-3.1-flash-lite-preview:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-lite-preview"},{"title":"gemini-3-pro-preview","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-preview/openapi.yaml POST /v1beta/models/gemini-3-pro-preview:generateContent","href":"/api-reference/model-api/google/gemini-3-pro-preview"},{"title":"gemini-3-pro-preview-stream","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-preview-stream/openapi.yaml POST /v1beta/models/gemini-3-pro-preview:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3-pro-preview-stream"},{"title":"gemini-3-pro-image","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-image/openapi.yaml POST /v1beta/models/gemini-3-pro-image:generateContent","href":"/api-reference/model-api/google/gemini-3-pro-image"},{"title":"gemini-3-pro-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-image-stream/openapi.yaml POST /v1beta/models/gemini-3-pro-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3-pro-image-stream"},{"title":"gemini-3-pro-image-preview-c","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-image-preview-c/openapi.yaml POST /v1beta/models/gemini-3-pro-image-preview-c:generateContent","href":"/api-reference/model-api/google/gemini-3-pro-image-preview-c"},{"title":"gemini-3-flash-preview","openapi":"api-reference/model-api/google/openapi/gemini-3-flash-preview/openapi.yaml POST /v1beta/models/gemini-3-flash-preview:generateContent","href":"/api-reference/model-api/google/gemini-3-flash-preview"},{"title":"gemini-2.5-pro","openapi":"api-reference/model-api/google/openapi/gemini-2-5-pro/openapi.yaml POST /v1beta/models/gemini-2.5-pro:generateContent","href":"/api-reference/model-api/google/gemini-2-5-pro"},{"title":"gemini-2.5-pro-stream","openapi":"api-reference/model-api/google/openapi/gemini-2-5-pro-stream/openapi.yaml POST /v1beta/models/gemini-2.5-pro:streamGenerateContent","href":"/api-reference/model-api/google/gemini-2-5-pro-stream"},{"title":"gemini-2.5-flash","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash/openapi.yaml POST /v1beta/models/gemini-2.5-flash:generateContent","href":"/api-reference/model-api/google/gemini-2-5-flash"},{"title":"gemini-2.5-flash-image","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash-image/openapi.yaml POST /v1beta/models/gemini-2.5-flash-image:generateContent","href":"/api-reference/model-api/google/gemini-2-5-flash-image"},{"title":"gemini-2.5-flash-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash-image-stream/openapi.yaml POST /v1beta/models/gemini-2.5-flash-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-2-5-flash-image-stream"},{"title":"gemini-2.5-flash-lite","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash-lite/openapi.yaml POST /v1beta/models/gemini-2.5-flash-lite:generateContent","href":"/api-reference/model-api/google/gemini-2.5-flash-lite"},{"title":"gemini-2.0-flash","openapi":"api-reference/model-api/google/openapi/gemini-2-0-flash/openapi.yaml POST /v1beta/models/gemini-2.0-flash:generateContent","href":"/api-reference/model-api/google/gemini-2-0-flash"}]},{"group":"Kling","icon":"https://unpkg.com/@lobehub/icons-static-svg@latest/icons/kling-color.svg","pages":[{"title":"Kling 4.0","href":"/api-reference/model-api/kling/kling-4.0"},{"title":"Kling 3.0 Turbo","href":"/api-reference/model-api/kling/kling-3.0-turbo"},{"title":"Kling 3.0","href":"/api-reference/model-api/kling/kling-3.0"},{"title":"Kling 3.0 Omni","href":"/api-reference/model-api/kling/kling-3.0-omni"},{"title":"Kling O1","href":"/api-reference/model-api/kling/kling-o1"},{"title":"Kling 2.6","href":"/api-reference/model-api/kling/kling-2.6"},{"title":"Kling 2.5-turbo","href":"/api-reference/model-api/kling/kling-2.5-turbo"},{"group":"Element Management","root":{"title":"Element Management","href":"/api-reference/model-api/kling/kling-element-management"},"pages":[{"title":"kling-element-create","openapi":"api-reference/model-api/kling/openapi/kling-element-create/openapi.yaml POST /kling/v2/general/advanced-custom-elements","href":"/api-reference/model-api/kling/kling-element-create"},{"title":"kling-element-query","openapi":"api-reference/model-api/kling/openapi/kling-element-query/openapi.yaml GET /kling/v2/general/advanced-custom-elements/{task_id}","href":"/api-reference/model-api/kling/kling-element-query"},{"title":"kling-element-preset-list","openapi":"api-reference/model-api/kling/openapi/kling-element-preset-list/openapi.yaml GET /kling/v1/general/advanced-presets-elements","href":"/api-reference/model-api/kling/kling-element-preset-list"}]},{"title":"Voice Management","href":"/api-reference/model-api/kling/kling-voice-management"},{"title":"Kling Digital Human","tag":"NEW","href":"/api-reference/model-api/kling/kling-digital-human"},{"title":"Kling Lip Sync","href":"/api-reference/model-api/kling/kling-lip-sync"},{"title":"Kling Identify Face","openapi":"api-reference/model-api/kling/openapi/kling-identify-face/openapi.yaml POST /kling/v1/videos/identify-face","href":"/api-reference/model-api/kling/kling-identify-face"}]},{"group":"MiniMax","icon":"/images/providers/minimax.svg","pages":[{"title":"MiniMax-H3","href":"/api-reference/model-api/minimax/minimax-h3"},{"title":"minimax-m3","openapi":"api-reference/model-api/minimax/openapi/minimax-m3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m3"},{"title":"minimax-m2.7","openapi":"api-reference/model-api/minimax/openapi/minimax-m2.7/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m2.7"},{"title":"minimax-m2.5","openapi":"api-reference/model-api/minimax/openapi/minimax-m2.5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m2.5"},{"title":"minimax-m2.1","openapi":"api-reference/model-api/minimax/openapi/minimax-m2.1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m2.1"}]},{"group":"MoonShot","icon":"/images/providers/moonshot.svg","pages":[{"title":"kimi-k3.1-pro / kimi-k3.1-pro-highspeed","tag":"NEW","openapi":"api-reference/model-api/moonshot/openapi/kimi-k3-1-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k3-1-pro"},{"title":"kimi-k3","openapi":"api-reference/model-api/moonshot/openapi/kimi-k3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k3"},{"title":"kimi-k2.6","openapi":"api-reference/model-api/moonshot/openapi/kimi-k2-6/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k2-6"},{"title":"kimi-k2.5","openapi":"api-reference/model-api/moonshot/openapi/kimi-k2-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k2-5"}]},{"group":"OpenAI","icon":"/images/providers/openai.svg","pages":[{"title":"gpt-6.2-astra","tag":"NEW","href":"/api-reference/model-api/openai/gpt-6.2-astra"},{"title":"gpt-6.2-sol","tag":"NEW","href":"/api-reference/model-api/openai/gpt-6.2-sol"},{"title":"gpt-6-astra","href":"/api-reference/model-api/openai/gpt-6-astra"},{"title":"gpt-6.1-sol","openapi":"api-reference/model-api/openai/openapi/gpt-6.1-sol/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6.1-sol"},{"title":"gpt-6.1-terra","openapi":"api-reference/model-api/openai/openapi/gpt-6.1-terra/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6.1-terra"},{"title":"gpt-6-sol","openapi":"api-reference/model-api/openai/openapi/gpt-6-sol/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6-sol"},{"title":"gpt-6-luna","openapi":"api-reference/model-api/openai/openapi/gpt-6-luna/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6-luna"},{"title":"gpt-5.6","openapi":"api-reference/model-api/openai/openapi/gpt-5-6/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6"},{"title":"gpt-5.6-sol","openapi":"api-reference/model-api/openai/openapi/gpt-5-6-sol/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6-sol"},{"title":"gpt-5.6-terra","openapi":"api-reference/model-api/openai/openapi/gpt-5-6-terra/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6-terra"},{"title":"gpt-5.6-luna","openapi":"api-reference/model-api/openai/openapi/gpt-5-6-luna/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6-luna"},{"title":"gpt-5.5","openapi":"api-reference/model-api/openai/openapi/gpt-5-5/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-5"},{"title":"gpt-5.4","openapi":"api-reference/model-api/openai/openapi/gpt-5-4/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-4"},{"title":"gpt-5.4-mini","openapi":"api-reference/model-api/openai/openapi/gpt-5-4-mini/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-4-mini"},{"title":"gpt-5.3-codex","openapi":"api-reference/model-api/openai/openapi/gpt-5-3-codex/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-3-codex"},{"title":"gpt-5.2","openapi":"api-reference/model-api/openai/openapi/gpt-5-2/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2"},{"title":"gpt-5.2-chat","openapi":"api-reference/model-api/openai/openapi/gpt-5-2-chat/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2-chat"},{"title":"gpt-5.2-chat-latest","openapi":"api-reference/model-api/openai/openapi/gpt-5-2-chat-latest/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2-chat-latest"},{"title":"gpt-5.2-codex","openapi":"api-reference/model-api/openai/openapi/gpt-5-2-codex/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2-codex"},{"title":"gpt-5.1","openapi":"api-reference/model-api/openai/openapi/gpt-5-1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1"},{"title":"gpt-5.1-chat","openapi":"api-reference/model-api/openai/openapi/gpt-5-1-chat/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1-chat"},{"title":"gpt-5.1-chat-latest","openapi":"api-reference/model-api/openai/openapi/gpt-5-1-chat-latest/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1-chat-latest"},{"title":"gpt-5.1-codex-mini","openapi":"api-reference/model-api/openai/openapi/gpt-5-1-codex-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1-codex-mini"},{"title":"gpt-5","openapi":"api-reference/model-api/openai/openapi/gpt-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5"},{"title":"gpt-5-chat-latest","openapi":"api-reference/model-api/openai/openapi/gpt-5-chat-latest/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-chat-latest"},{"title":"gpt-5-pro","openapi":"api-reference/model-api/openai/openapi/gpt-5-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-pro"},{"title":"gpt-5-codex","openapi":"api-reference/model-api/openai/openapi/gpt-5-codex/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-codex"},{"title":"gpt-5-codex-high","openapi":"api-reference/model-api/openai/openapi/gpt-5-codex-high/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-codex-high"},{"title":"gpt-5-codex-low","openapi":"api-reference/model-api/openai/openapi/gpt-5-codex-low/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-codex-low"},{"title":"gpt-5-mini","openapi":"api-reference/model-api/openai/openapi/gpt-5-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-mini"},{"title":"gpt-5-nano","openapi":"api-reference/model-api/openai/openapi/gpt-5-nano/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-nano"},{"title":"gpt-4o","openapi":"api-reference/model-api/openai/openapi/gpt-4o/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4o"},{"title":"gpt-4o-mini","openapi":"api-reference/model-api/openai/openapi/gpt-4o-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4o-mini"},{"title":"gpt-4.1","openapi":"api-reference/model-api/openai/openapi/gpt-4-1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4-1"},{"title":"gpt-4","openapi":"api-reference/model-api/openai/openapi/gpt-4/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4"},{"title":"GPT Image 2.6","tag":"NEW","href":"/api-reference/model-api/openai/gpt-image-2-6"},{"title":"GPT Image 2.5","href":"/api-reference/model-api/openai/gpt-image-2-5"},{"title":"GPT Image 2","href":"/api-reference/model-api/openai/gpt-image-2"},{"title":"gpt-image-2-c","openapi":"api-reference/model-api/openai/openapi/gpt-image-2-c/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/openai/gpt-image-2-c"},{"title":"gpt-image-2-c-edit","openapi":"api-reference/model-api/openai/openapi/gpt-image-2-c-edit/openapi.yaml POST /v1/images/edits","href":"/api-reference/model-api/openai/gpt-image-2-c-edit"},{"title":"gpt-image-1.5","openapi":"api-reference/model-api/openai/openapi/gpt-image-1-5/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/openai/gpt-image-1-5"},{"title":"gpt-image-1","openapi":"api-reference/model-api/openai/openapi/gpt-image-1/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/openai/gpt-image-1"}]},{"group":"xAI","icon":"/images/providers/xai.svg","pages":[{"title":"grok-4.7","tag":"NEW","openapi":"api-reference/model-api/xai/openapi/grok-4-7/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/xai/grok-4-7"},{"title":"grok-4.6","openapi":"api-reference/model-api/xai/openapi/grok-4-6/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-6"},{"title":"grok-4.5","openapi":"api-reference/model-api/xai/openapi/grok-4-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-5"},{"title":"grok-4.3","openapi":"api-reference/model-api/xai/openapi/grok-4-3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-3"},{"title":"grok-4-1-fast-reasoning","openapi":"api-reference/model-api/xai/openapi/grok-4-1-fast-reasoning/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-1-fast-reasoning"},{"title":"grok-4-1-fast-non-reasoning","openapi":"api-reference/model-api/xai/openapi/grok-4-1-fast-non-reasoning/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-1-fast-non-reasoning"}]},{"group":"Zhipu","icon":"/images/providers/zhipu.svg","pages":[{"title":"glm-5.3","tag":"NEW","openapi":"api-reference/model-api/zhipu/openapi/glm-5.3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5.3"},{"title":"glm-5.2","openapi":"api-reference/model-api/zhipu/openapi/glm-5.2/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5.2"},{"title":"glm-5.1","openapi":"api-reference/model-api/zhipu/openapi/glm-5.1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5.1"},{"title":"glm-5","openapi":"api-reference/model-api/zhipu/openapi/glm-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5"},{"title":"glm-4-7","openapi":"api-reference/model-api/zhipu/openapi/glm-4.7/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-4.7"},{"title":"glm-4.5","openapi":"api-reference/model-api/zhipu/openapi/glm-4.5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-4.5"}]}]}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/guides/usecases/use-anyfast-in-claude-code"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/model-api/alibaba/wan3.0-video-prime"}]}]},"basePath":"","title":"wan3.0-video-prime - AnyFast","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}