Wan 2.7 Text to Video

alibaba/wan/2.7/text-to-video

Alibaba Wan 2.7 text-to-video model with cinematic visuals, native audio generation, and configurable duration 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. Allowed values: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
The URL of an audio file to guide video generation.
The aspect ratio of the generated video. Allowed values: 16:9, 9:16, 1:1, 4:3, 3:4.
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.7/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
#14 of 33
Elo
1022 ±17
Gap to #1
−121

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. #9Gemini Omni Flash 1.1GoogleOn SandBase1067±17
  2. #10Agnes-Video-2.5Sapiens AI1054±17
  3. #11Grok Imagine Video 1.5SpaceXAIOn SandBase1034±17
  4. #12HappyHorse-1.0Alibaba-ATHOn SandBase1032±17
  5. #13HappyHorse-1.1Alibaba-ATHOn SandBase1032±17
  6. #14Wan2.7-260612AlibabaThis model1022±17
  7. #15MAGI-2 PreviewSand.ai1008±16
  8. #16Kling 3.0 1080p (Pro)KlingAIOn SandBase1000
  9. #17PixVerse V6PixVerse993±17
  10. #18Kling 3.0 Omni 1080p (Pro)KlingAIOn SandBase982±17

API README

Wan 2.7 Text to Video

Write a scene and get back a 2–15 second clip with optional driving audio. Wan 2.7 improves motion smoothness and scene fidelity over 2.6 and keeps camera instructions more faithfully.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 50,000 characters.
duration2–155Output length in seconds.
audioaudio URL—Optional WAV/MP3 URL that drives speech or rhythm in the clip.
aspect_ratio16:9 / 9:16 / 1:1 / 4:3 / 3:416: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, the same as Alibaba's list price.

Output720p1080p
2s$0.20$0.30
5s (default)$0.50$0.75
10s$1.00$1.50
15s$1.50$2.25

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.

A young woman sits by a rain-streaked café window, slowly turns toward the camera and smiles; slow push-in, warm interior light, soft rain on the glass.

Limits

  • Text only; to start from your own picture use alibaba/wan/2.7/image-to-video.

Also on SandBase

Other Wan 2.7 endpoints: alibaba/wan/2.7/image-to-video, alibaba/wan/2.7/reference-to-video, alibaba/wan/2.7/video-edit, alibaba/wan/2.7/video-extend, alibaba/wan/3.0/video (newer, up to 30s).

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.7/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.7/text-to-video",
  "prompt": "A young woman sitting by a rain-streaked window in a café, slowly turning to look at the camera with a gentle smile, warm interior lighting",
  "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 / runMar 28, 2026
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.7 Text to Video through SandBase?

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