Wan 2.5 Text to Video

alibaba/wan/2.5/text-to-video

Wan 2.5 is Alibaba's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

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

Try the model

Playground

Open playground
Input
The text prompt for video generation. Supports Chinese and English, max 800 characters.
The aspect ratio of the generated image. Allowed values: 16:9, 9:16, 1:1, 4:3, 3:4.
URL of the audio to use as the background music. Must be publicly accessible. Limit handling: If the audio duration exceeds the duration value (5 or 10 seconds), the audio is truncated to the first 5 or 10 seconds, and the rest is discarded. If the audio is shorter than the video, the remaining part of the video will be silent. For example, if the audio is 3 seconds long and the video duration is 5 seconds, the first 3 seconds of the output video will have sound, and the last 2 seconds will be silent. - Format: WAV, MP3. - Duration: 3 to 30 s. - File size: Up to 15 MB.
Video resolution tier Allowed values: 480p, 720p, 1080p.
Duration of the generated video in seconds. Choose between 5 or 10 seconds. Allowed values: 5, 10.
Random seed for reproducibility. If None, a random seed is chosen.
OutputExample

Examples

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

Model card

Specifications

Pricing

Base price
$0.50 / 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/2.5/text-to-video
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Wan 2.5 Text to Video

Wan 2.5 text-to-video: a 5 or 10 second clip from a written scene, with optional driving audio. Newer Wan versions are listed below.

Fields

FieldTypeDefaultNotes
promptstring, required—Text instruction.
aspect_ratio16:9 / 9:16 / 1:1 / 4:3 / 3:416:9Output frame shape.
audioaudio URL—Optional WAV/MP3 URL that drives speech or rhythm.
resolution480p / 720p / 1080p720pSets the per-second rate.
duration5 / 105Output length in seconds.
seedintegerrandomFix it to compare prompt changes.

Billing

You pay for output seconds: $0.05 at 480p, $0.10 at 720p, and $0.15 at 1080p.

Output480p720p1080p
5s (default)$0.25$0.50$0.75
10s$0.50$1.00$1.50

Failed runs are not charged.

Prompting

  • Describe the shot in order: subject, action, setting, camera move, light, and sound.
  • Give camera timing explicitly, e.g. “holds for two seconds, then pushes in slowly”.

Limits

  • Durations are 5 or 10 seconds only.

Also on SandBase

Other Wan 2.5 endpoints: alibaba/wan/2.5/image-to-video, alibaba/wan/2.5/text-to-image, alibaba/wan/2.5/image-to-image, alibaba/wan/2.7/text-to-video (newer).

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/2.5/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/2.5/text-to-video",
  "prompt": "The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character.",
  "duration": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9"
}
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 / runSep 24, 2025
AlibabaVideo$1.40 / runOct 4, 2026
AlibabaVideo$2.80 / runOct 4, 2026
AlibabaVideo$1.00 / runOct 4, 2026
AlibabaVideo$2.00 / runOct 4, 2026
AlibabaVideo$0.70 / runAug 24, 2026

Questions

FAQ

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

Create a SandBase API key, then send requests with the model ID "alibaba/wan/2.5/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 2.5 Text to Video and the other models in the catalog; you do not need to sign up with Alibaba separately.