Generate AI videos using Wan 2.2 Flash, a faster version of Wan 2.2. Produces silent video only. I2V supports 720p in addition to 480p and 1080p.
Model
Parameters
| Parameter | Type | Required | Description |
|---|
prompt | string | Yes | Text description of the video |
mode | string | No | t2v or i2v (default: t2v) |
start_image_url | string | No | First-frame image URL (required for i2v) |
negative_prompt | string | No | What to avoid in the video |
resolution | string | No | 480p, 720p (I2V only), or 1080p (default: 480p) |
duration | integer | No | Fixed at 5 seconds |
prompt_extend | boolean | No | Intelligent prompt rewriting (default: true) |
watermark | boolean | No | Add watermark (default: false) |
seed | integer | No | Seed for reproducibility |
Wan 2.2 Flash produces silent video only. 720p resolution is only available in I2V mode.
Example - Text-to-Video
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "alibaba/wan-2.2-flash",
"input": {
"prompt": "A bird taking flight from a tree branch",
"mode": "t2v",
"resolution": "1080p"
}
}'
Example - Image-to-Video
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "alibaba/wan-2.2-flash",
"input": {
"prompt": "A bird taking flight",
"mode": "i2v",
"start_image_url": "https://example.com/bird.jpg",
"resolution": "720p"
}
}'
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "pending"
}
}