Generate AI videos using Wan 2.6 with support for either image or video input, extended duration up to 15 seconds, multi-shot support, and audio generation.
Model
Parameters
| Parameter | Type | Required | Description |
|---|
prompt | string | Yes | Text description of the video |
image_urls | array | No | Reference image URLs (use this OR video_urls, not both) |
video_urls | array | No | Reference video URLs (use this OR image_urls, not both) |
resolution | string | No | 720p or 1080p (default: 720p) |
duration | integer | No | 5, 10, or 15 seconds (default: 5) |
negative_prompt | string | No | What to avoid in the video |
audio | boolean | No | Generate audio (default: false) |
seed | integer | No | Seed for reproducibility |
You can use either image_urls or video_urls, but not both in the same request.
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": "wan-ai/wan-2.6",
"input": {
"prompt": "Transform into cartoon style with smooth animation",
"image_urls": ["https://example.com/scene.jpg"],
"resolution": "1080p",
"duration": 10,
"negative_prompt": "blurry, distorted, low quality"
}
}'
Example - Video-to-Video
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.6",
"input": {
"prompt": "Add cinematic color grading and enhance motion",
"video_urls": ["https://example.com/input.mp4"],
"resolution": "1080p",
"duration": 15,
"audio": true
}
}'
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "pending"
}
}
Pricing
| Duration | Resolution | Price |
|---|
| 5s | 720p | $0.26 |
| 5s | 1080p | $0.40 |
| 10s | 720p | $0.50 |
| 10s | 1080p | $0.80 |
| 15s | 720p | $0.76 |
| 15s | 1080p | $1.20 |