API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Wan 3.0 Text to Video

15% OFFalibaba/wan/3.0/text-to-video

Wan 3.0 by Alibaba turns a text prompt into a video of up to 30 seconds at 30fps, with native dialogue, music, and sound effects.

Base price
$0.42$0.50USD / run
Execution
async
Model type
video
Input fields
6
Production route

Try the model

Playground

Open playground
Input
Text prompt for the generated video.
Output duration in seconds (2-30), or `auto` to let the model pick a length from the prompt and inputs. `auto` is pre-authorized at 30 seconds and billed on the actual output length. Allowed values: auto, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30.
Output aspect ratio. Defaults to 16:9. Allowed values: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16.
Output video resolution tier. Allowed values: 480p, 720p, 1080p.
Generate a synchronized audio track. Pricing is the same either way.
Random seed (0-2147483647) for reproducible results. Omit for a random seed; the same seed may still produce slightly different results. Range: 0 to 2147483647.
15% OFF
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.42 / run

Context & modalities

Input
Schema-defined
Output
video

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/wan/3.0/text-to-video
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Text to Video
Rank
#1 of 32
Elo
1134 ±19
Gap to #1
Leader

Text-to-video arena (silent): people pick the better of two clips from the same prompt, without seeing the model names; audio is not judged.

  1. #1Wan 3.0AlibabaThis model1134±19
  2. #2MiniMax H3 (768p)MiniMaxOn SandBase1121±19
  3. #3MiniMax H3 MaxFalOn SandBase1117±18
  4. #4Dreamina Seedance 2.5ByteDance SeedOn SandBase1105±19
  5. #5FLUX 3Black Forest Labs1095±19
  6. #6Dreamina Seedance 2.0ByteDance SeedOn SandBase1084±19
  7. #7SkyReels V4Skywork AI1083±19
  8. #8Gemini Omni Flash 1.1GoogleOn SandBase1072±18
  9. #9Agnes-Video-2.5Sapiens AI1053±19
  10. #10HappyHorse-1.1Alibaba-ATHOn SandBase1041±18

API README

Wan 3.0 Text to Video

Write a scene and get back a 2–30 second, 30fps clip with matching dialogue, music, and sound effects. No images or reference media are needed.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 5,000 characters.
duration2–30 or auto5auto lets the model pick the length.
resolution480p / 720p / 1080p720pSets the per-second rate.
aspect_ratioadaptive / 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16adaptiveadaptive follows the prompt and inputs.
generate_audiobooleantrueNative dialogue, music, and effects. Same price on or off.
seedinteger 0–2147483647randomFix it to compare prompt changes.

Billing

You pay for output seconds only: $0.05 at 480p, $0.10 at 720p, $0.20 at 1080p. Input images, audio, and video are not metered.

OutputBilled480p720p1080p
2s2s$0.10$0.20$0.40
5s (default)5s$0.25$0.50$1.00
10s10s$0.50$1.00$2.00
30s30s$1.50$3.00$6.00

With duration: "auto" the run is pre-authorized at 30 seconds, then settled on the length that was actually generated. Failed runs are not charged. Output files are copied to SandBase storage and the returned URL stays valid for 7 days; download anything you need to keep.

Prompting

  • Cover subject, action, setting, camera, light, and sound in one or two sentences each.
  • Spell out camera timing, e.g. “holds for two seconds, then cranes up over the rooftops”.
  • Quote dialogue and say who speaks it.

At night a kitten trots along a wet rooftop; neon signs flicker across the city behind it. Low tracking shot that rises as it leaps a gap, soft rain and distant traffic.

Limits

  • This endpoint accepts no media inputs. To animate a picture use image-to-video; to steer with references use reference-to-video.

Also on SandBase

Other Wan 3.0 endpoints: alibaba/wan/3.0/video (all modes in one schema), alibaba/wan/3.0/image-to-video, alibaba/wan/3.0/reference-to-video, alibaba/wan/3.0/video-edit, alibaba/wan/3.0/video-extend.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
alibaba/wan/3.0/text-to-video
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/wan/3.0/text-to-video",
  "prompt": "A red panda walking through a bamboo forest at sunrise",
  "duration": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "generate_audio": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
AlibabaVideo$0.50 / runAug 24, 2026
AlibabaVideo$1.40 / runOct 4, 2026
AlibabaVideo$0.70 / runOct 4, 2026
AlibabaVideo$1.00 / runOct 4, 2026
AlibabaVideo$0.50 / runOct 4, 2026
AlibabaVideo$0.70 / runAug 24, 2026

Questions

FAQ

How do I call Alibaba Wan 3.0 Text to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/wan/3.0/text-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Wan 3.0 Text to Video and the other models in the catalog; you do not need to sign up with Alibaba separately.