alibaba/wan/2.6/image-to-video
Alibaba Wan 2.6 image-to-video model transforming still images into video. Supports first-frame-to-video only.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runalibaba/wan/2.6/image-to-videoInput Schema
6 parameters · 2 required · 4 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | The URL of the starting image for video generation (first-frame-to-video only). |
prompt | string | Required | The text prompt to generate a video from. · Min length: 3 · Max length: 50000 · Default: "Realistic style, a small black cat curiously gazes up at the sky. The camera gradually rises from eye level, ending with an overhead angle capturing its curious eyes." |
audio | string | Optional | The URL of an audio file to guide video generation. |
duration | integer | Optional | The duration of the generated video in seconds. Valid values are 5 and 10. · Options: 5, 10 · Default: 5 510 |
resolution | string | Optional | The resolution of the video to generate. · Options: 720p, 1080p · Default: "720p" 720p1080p |
aspect_ratio | string | Optional | The aspect ratio of the generated video. · Options: 1:1, 4:3, 3:4, 16:9, 9:16 1:14:33:416:99:16 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "alibaba/wan/2.6/image-to-video",
"image": "https://static.sandbase.ai/samples/image-to-video/i2v-black-cat-sky-img0.png",
"prompt": "Realistic style, a small black cat curiously gazes up at the sky. The camera gradually rises from eye level, ending with an overhead angle capturing its curious eyes.",
"duration": 5,
"resolution": "720p"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Wan 2.6 Image to Video
Wan 2.6 Image to Video is the Wan 2.6 workflow for image-anchored animation. It models visual appearance and time together so the route’s written direction, source imagery, speech, masks, or structural conditions influence one coherent result rather than a collection of disconnected frames or a generic endpoint response.
Choose this exact route when the available assets and deliverable specifically call for image-anchored animation. Identify every subject and source, state the desired action or transformation, then describe camera behavior, pacing, environment, lighting, atmosphere, and preservation requirements; local schema fields handle resolution, duration, seed, and delivery separately from the creative brief.
Highlights
- 2.6 Reference-frame animation. Uses the supplied still as the visual foundation for motion.
- 2.6 Subject identity retention. Keeps important appearance cues recognizable as the scene develops.
- 2.6 Natural temporal movement. Creates coherent subject and environmental dynamics across frames.
- 2.6 Prompt-directed cinematography. Interprets action, camera movement, pacing, lighting, and atmosphere.
Pricing
| Configuration | Billing unit | Price |
|---|---|---|
| 5 seconds | 720p | $0.500 |
| 5 seconds | 1080p | $0.750 |
| 10 seconds | 720p | $1.000 |
| 10 seconds | 1080p | $1.500 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The project needs this exact image-to-video workflow | The intended task belongs to a different media route |
| Available source media matches every required field | Required assets or usage rights are unavailable |
| The brief can define subject, action, camera, and style | Output must be deterministic at frame or pixel level |
| Supported duration, resolution, and framing fit delivery | Final placement requires unsupported specifications |
| An asynchronous generation job fits production | A live or frame-synchronous response is mandatory |
Prompt Guide
Describe the result as a shot or design brief: identify subjects and references, state the action or transformation, specify environment and composition, then add camera behavior, lighting, pacing, style, sound, and preservation constraints where relevant. Use exact reference identifiers exposed by the local schema.
{
"prompt": "Realistic style, a small black cat curiously gazes up at the sky. The camera gradually rises from eye level, ending with an overhead angle capturing its curious eyes.",
"image": "https://example.com/reference.jpg",
"audio": "example",
"duration": 5,
"resolution": "720p"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | alibaba/wan/2.6/image-to-video |
| Input fields | audio (string)<br>image (string)<br>prompt (string)<br>duration (integer; 5, 10)<br>resolution (string; 720p, 1080p)<br>aspect_ratio (string; 1:1, 4:3, 3:4, 16:9, 9:16) |
| Required input | prompt, image |
| Output fields | url, content_type |
| Execution | Asynchronous job |
Related Models
alibaba/wan/2.6/image-to-video/flash— Compare this concrete local family route.alibaba/wan/2.6— Compare this concrete local family route.alibaba/wan/2.6/edit— Compare this concrete local family route.

