Skip to content
Alibabavideo

Wan 3.0 API

Alibaba's Wan 3.0 covers the widest range of lengths, from short inserts to 30-second takes, with native sound and a first frame.

Pricing

per second of video
ResolutionPer second
480plowest$0.06
720pdefault$0.12
1080p$0.235
  • Charged once, and only when the clip succeeds. A failed job costs $0.00: its hold is released in full.
  • The exact price is known before the run: the Studio shows it before you click Generate, and the API returns it as reserved_usd when it accepts the job.
  • Billed on the seconds you ask for. Sound on or off, the same price.

Estimate

Per clip
5 s × $0.12 / s$0.60

Charged once per clip, only on success.

Request

POST https://frameport.ai/v1/videos/generations

# 1. Submit: the price is held on your balance (reserved_usd)
curl https://frameport.ai/v1/videos/generations \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan-3",
    "prompt": "A slow walk through a night market as lanterns flicker on, handheld, crowd murmur and sizzling food",
    "duration": 5,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "audio": true
  }'

# 2. Poll with the id it returns, until "succeeded" or "failed"
curl https://frameport.ai/v1/videos/generations/$GENERATION_ID \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY"

# 3. Download outputs[0].url once it has succeeded (a signed link, no key needed)
curl -L "$OUTPUT_URL" -o out.mp4

Set FRAMEPORT_API_KEY to your key. Full reference in the video docs.

Options

Tasks
  • Text to video
  • Image to video
Resolutions
  • 480p
  • 720p
  • 1080p
Durations
2 to 30 seconds
Aspect ratios
  • 16:9
  • 4:3
  • 1:1
  • 3:4
  • 9:16
Audio
On or off, same price
Input pictures
First frame
Seed
Supported
Negative prompt
Not supported
Prompt
Up to 2,400 characters
Output
A video file, signed link valid about an hour
Billing unit
Per second of video
Model id
wan-3

Wan 3.0 API parameters

FieldValuesNotes
model"wan-3"Required.
prompttext, up to 2,400 charactersRequired: the subject, the action, the camera and the sound.
duration2 to 30 seconds5 when left out. A value off the grid is refused before anything is held.
resolution480p, 720p and 1080p720p when left out. A second costs 480p $0.06, 720p $0.12, 1080p $0.235.
aspect_ratio16:9, 4:3, 1:1, 3:4, 9:1616:9 when left out.
audiotrue or falsetrue when left out. Sound costs nothing extra.
reference_images1 pictureThe first frame: an https URL or a base64 data URI.
seed0 to 2147483647The same seed and request give a similar take again.

Wan 3.0 request bodies, one per mode

Send each body to POST https://frameport.ai/v1/videos/generations with Authorization: Bearer $FRAMEPORT_API_KEY, then poll GET /v1/videos/generations/{id}. Pictures are https URLs or base64 data URIs. Each card shows the price that body holds.

Text to video · $0.60
{
  "model": "wan-3",
  "prompt": "A slow walk through a night market as lanterns flicker on, handheld, crowd murmur and sizzling food",
  "duration": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "audio": true
}
Image to video · $0.60
{
  "model": "wan-3",
  "prompt": "The scene in the picture comes to life: slow push-in, leaves moving in the wind",
  "duration": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "audio": true,
  "reference_images": [
    "https://example.com/first-frame.jpg"
  ]
}

What Wan 3.0 is good at

  • Long takes: a walk-and-talk or a slow reveal as one continuous shot, up to 30 seconds.
  • Native sound rendered with the picture.
  • A first frame to animate a still, and a seed to keep a take you like.

When another model fits better

How to prompt Wan 3.0

  1. 01For long takes, write the action in order, beginning, middle and end, so the clip has somewhere to go.
  2. 02Lines in quotes after the speaker: the model voices them with the picture.
  3. 03Draft at a low resolution, render the keeper higher.

Sample prompt

“A slow walk through a night market as lanterns flicker on, handheld, crowd murmur and sizzling food”

About the Wan 3.0 API

How much does the Wan 3.0 API cost?

Wan 3.0 is billed per second of video: $0.06 at 480p, $0.12 at 720p and $0.235 at 1080p. A 5-second clip at 720p costs $0.60. You are charged once, only when the clip succeeds.

How do I call Wan 3.0 from code?

Send POST /v1/videos/generations with "model": "wan-3" and a prompt, your API key as a Bearer token. The answer is a generation with an id: poll GET /v1/videos/generations/{id} until its status is succeeded, then download outputs[0].url.

What happens if a Wan 3.0 generation fails?

Nothing is charged. The price is held on your balance when the job starts and released in full if it fails: cost_usd stays at 0.

How long can a Wan 3.0 clip be?

2 to 30 seconds. Set duration in seconds: a length off the grid is refused before anything is held.

Can Wan 3.0 start from an image?

Yes: send the picture as the first item of reference_images and it becomes the first frame.

Do I need a subscription?

No. You top up a prepaid balance in dollars, from $10, and it never expires. Every model runs on the same balance and the same API key.

Compare with similar models

For agents: this page in Markdown at /models/wan-3.md, every model in /models.json, and the site in /llms.txt.

Call Wan 3.0 with one key.

Your API key is free. Top up from $10 when you are ready.