Wan 2.6 Text to Video

alibaba/wan/2.6/text-to-video

Alibaba Wan 2.6 text-to-video model with cinematic visuals, configurable duration (5 or 10 seconds) and resolution.

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 to generate a video from.
The duration of the generated video in seconds. Valid values are 5 and 10. Allowed values: 5, 10.
The URL of an audio file to guide video generation.
The aspect ratio of the generated video. Allowed values: 1:1, 4:3, 3:4, 16:9, 9:16.
The resolution of the video to generate. Allowed values: 720p, 1080p.
Random seed (0-2147483647) for reproducible results. Omit for a random seed.
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.6/text-to-video
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Wan 2.6 Text to Video

Generate a 5 or 10 second clip from a written scene, with optional driving audio. For longer clips and better motion, Wan 2.7 is the newer option.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 50,000 characters.
duration5 / 105Output length in seconds.
audioaudio URL—Optional WAV/MP3 URL that drives speech or rhythm.
aspect_ratio1:1 / 4:3 / 3:4 / 16:9 / 9:1616:9Output frame shape.
resolution720p / 1080p720pSets the per-second rate.
seedintegerrandomFix it to compare prompt changes.

Billing

You pay for output seconds: $0.10 at 720p and $0.15 at 1080p, Alibaba's list price.

Output720p1080p
5s (default)$0.50$0.75
10s$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”.
  • Put spoken lines in quotes and say who speaks them.

Limits

  • Durations are 5 or 10 seconds only.

Also on SandBase

Other Wan 2.6 endpoints: alibaba/wan/2.6/image-to-video, alibaba/wan/2.6/reference-to-video, alibaba/wan/2.6/flash/image-to-video, alibaba/wan/2.6/flash/reference-to-video, alibaba/wan/2.6/text-to-image, alibaba/wan/2.6/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.6/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.6/text-to-video",
  "prompt": "Rim light, low contrast, medium close-up, daylight, left-weighted composition, clean single-person shot, warm tones, soft light, sunny day, side light, daytime. A young girl sits in a field of tall grass, with two fluffy little donkeys standing behind her. The girl is about eleven or twelve, wearing a simple floral dress, hair in two braids, with an innocent smile. She sits cross-legged, gently playing with wildflowers beside her. The donkeys are sturdy with perked ears, curiously looking toward the camera. Sunlight bathes the field, creating a warm and natural atmosphere.",
  "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 / runDec 16, 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.6 Text to Video through SandBase?

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