Generate AI videos quickly using Wan 2.2 Fast with auto-calculated frames optimized for speed. Supports 3-5 second videos.
Model
Parameters
| Parameter | Type | Required | Description |
|---|
prompt | string | Yes | Text description of the video |
image_url | string | Yes | Reference image URL |
duration | integer | No | 3 or 5 seconds (default: 3) |
motion_id | string | No | Motion preset ID |
seed | integer | No | Seed for reproducibility |
Frames are auto-calculated and cannot be customized. Use Wan 2.2 (non-fast) for custom frame control.
Example
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "wan-ai/wan-2.2-fast",
"input": {
"prompt": "Person waving hello",
"image_url": "https://example.com/person.jpg",
"duration": 3
}
}'
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "pending"
}
}
Pricing
| Duration | Price |
|---|
| 3s | $0.20 |
| 5s | $0.28 |