Wan2.6
Wan2.6 Flash Video Generation
Generate videos using Alibaba Cloud Wan2.6 Flash model — faster image-to-video and reference video generation
POST
- Alibaba Cloud Wanxiang Flash (accelerated) video generation model
- Supports two modes: Image-to-Video and Reference Video (r2v)
- Text-only generation is not supported — you must provide an image or reference video URLs
- Supports 720p/1080p resolution; audio on/off option affects billing
- Faster generation speed — ideal for quick previews and iteration
Routing Logic
The server automatically selects the upstream model based on your request parameters:| Parameters Provided | Upstream Mode |
|---|---|
metadata.reference_urls (video URLs) | Reference Video Flash (r2v-flash) |
image_urls (image) | Image-to-Video Flash (i2v-flash) |
prompt only | ❌ Returns error |
Authentication
All endpoints require Bearer Token authenticationGet your API Key from the API Key Management PageAdd to request header:
Request Parameters
Video generation model name, fixed as
wan2.6-flashReference image URL array for image-to-video mode (only supports 1 image)Required if
metadata.reference_urls is not provided⚠️ URL format only (base64 no longer supported)- Publicly accessible image URL (http:// or https://)
- You can use the Upload Image API to upload local images and get URLs
["https://example.com/image.jpg"]Video content description (optional)Describe the expected motion or style to guide the modelExample:
"The person comes alive and smiles at the camera"Video resolutionAvailable values:
720p- Standard definition1080p- High definition (default)
1080pDifferent resolutions have different prices — refer to the model marketplace for details.Video duration (seconds)Supported values:
5, 10, 15Default: 5Whether to generate audio in the video
true- Generate video with audio (default)false- Generate silent video
trueAdd an Alibaba Cloud watermark to the generated video
Extended parameters
Audio vs Silent Pricing
| Mode | 720p Unit Price | 1080p Unit Price |
|---|---|---|
With audio (audio: true) | ¥0.3 / second | ¥0.5 / second |
Silent (audio: false) | ¥0.15 / second | ¥0.25 / second |
Response
Unique task identifier for status queries
Object type, always
generation.taskModel name used
Task status
queued- Queued for processingin_progress- Processingcompleted- Successfully completedfailed- Failed
Task progress percentage (0-100)
Task creation timestamp (Unix timestamp)
Task metadata
Usage Scenarios
Scenario 1: Image-to-Video (with audio)
Scenario 2: Image-to-Video (silent, lower cost)
Scenario 3: Reference Video (r2v-flash)
Querying Task ResultsVideo generation is an asynchronous task. After submission, a
task_id is returned. Use the Get Task Status interface to query generation progress and results.