Overview
Wan 2.6 Video is an Alibaba video model for text-to-video, image-to-video, and reference-guided generation. Use this page when you are ready to call the API after trying the model in the APIXO playground.Endpoint and authentication
Base URL:
All requests require your APIXO API key:
Copy-paste async quickstart
This minimal request submits a text-to-video task and returns ataskId.
taskId; you need it to poll for the final result.
Poll for result
resultJson after state becomes success:
Request body
Text-to-video
Image-to-video-flash
Reference-to-video
image-to-video or reference-to-video and omit sound.
Parameters
string
default:"async"
required
Result delivery mode. Use
async for polling with statusTask, or callback for webhook delivery.string
Required when
request_type is callback. Must be a public callback URL that can receive the final task payload. See Webhooks.object
required
Wan 2.6 Video input parameters.
Response format
Submit task response
POST /generateTask/wan-2-6-video returns a task ID when the task is accepted:
integer
API status code.
200 means the task was accepted.string
Human-readable status message.
string
Unique task identifier used with the status endpoint.
Status response fields
string
Unique task identifier.
string
Current task state:
pending, processing, success, or failed.string
JSON string containing generated video URLs in
resultUrls. Present when state is success.string
Machine-readable failure code. Present when
state is failed.string
Human-readable failure message. Present when
state is failed.integer
Task creation timestamp in Unix milliseconds.
integer
Task completion timestamp in Unix milliseconds. Present after completion.
integer
Processing duration in milliseconds. Present after completion when provider timing is available.
Webhook callback mode
Use callback mode when your backend should receive the final result automatically instead of polling.Billing
Wan 2.6 Video is billed per second. Total cost isduration * unitPrice.
Standard (non-flash) modes:
Flash modes:
For current route and market comparison pricing, see Pricing.
Latency and polling
Wan 2.6 Video tasks are asynchronous. The backend does not provide a fixed public latency SLA; actual latency varies by mode, duration, resolution, prompt complexity, media fetch speed, and provider queue load.
Rate limits and concurrency can vary by account, API key, and route. If you receive
429, slow down requests and retry with backoff. For account-level details, see System APIs.
Errors and troubleshooting
HTTP errors
Task failure codes
failCode is route-dependent and may come from mapped third-party model failures. Common values include:
Parameter troubleshooting
promptis required and must be non-empty for all modes.image-to-video-flashandimage-to-videorequire exactly oneimage_urlsitem.reference-to-video-flashandreference-to-videorequirereference_urlswith1-5items.soundis valid only for flash modes.durationdefaults to5, butreferencemodes only allow up to10.- In flash modes, when
sound=false, optional audio input is ignored.