alibaba/wan-animate
Wan-Animate generates an animated video from an input image and a driving video, transferring motion onto the image subject.
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-animateInput Schema
5 parameters · 2 required · 3 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | Input image (URL or Base64-encoded string). Maximum file size is 50 MB. |
video | string | Required | Input driving video URL. Maximum file size is 200 MB. |
seed | integer | Optional | Random seed. Omit for an auto-generated seed. |
prompt | string | Optional | Optional text prompt to guide animation style and content. |
resolution | string | Optional | Output video resolution. · Options: 480p, 720p · Default: "720p" 480p720p |
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-animate",
"resolution": "720p",
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Wan-Animate
Wan-Animate generates an animated video by transferring motion from a driving video onto a subject in an input image. Supports 480p and 720p output at 5-second or 8-second durations.
Highlights
Motion transfer — Drives animation using a reference video, applying consistent motion patterns onto the input image subject.
Image + driving video input — Combines a still image and a driving video to produce a seamlessly animated result.
Dual resolution support — 480p for cost-efficient output and 720p for higher-quality results.
Flexible durations — Choose 5-second or 8-second clips to match your content format.
Pricing
| Resolution | Price |
|---|---|
| 480p | $0.053 / second |
| 720p | $0.110 / second |
A 5-second 480p clip costs $0.265; a 5-second 720p clip costs $0.55.
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| Animating portraits with dance or gesture motion | Prompt-guided animation without driving video (use Wan 2.2 Exp0622) |
| Fashion and product showcase animations | Premium 1080p output (use Wan 2.7 Exp0622) |
| Social media short-form video content | Native audio generation |
| Character motion transfer for creative projects | Static image generation |
Technical Specs
| Spec | Value |
|---|---|
| Input | Image (URL or Base64, max 50 MB) + driving video (URL) |
| Output | MP4 animated video |
| Resolution | 480p, 720p |
| Duration | 5s, 8s |
| Execution | Async (submit → poll for result) |

