Loading model…正在加载模型详情…
Loading model…正在加载模型详情…
Turn a written scene into video with Wan 2.7, which Alibaba’s Tongyi Lab describes as handling detailed scene prompts.
Your result appears here
Wan 2.7 Video is a video generation family from Alibaba’s Tongyi Lab. Alibaba’s Tongyi Lab presents its text-to-video model as a way to turn detailed scene descriptions into moving images for social content, advertising and creative prototypes.
UniRoute currently offers the text-to-video variant. Write a prompt, choose a resolution and duration option, and review the quote before submitting a generation task.
Wan 2.7 follows Wan 2.6. Alibaba’s Tongyi Lab emphasizes more control over scenes and motion; the callable variant on this page generates video from text with a choice of resolution and duration.
What you can do with Wan 2.7 Video through UniRoute today.
Describe the scene, subject, movement and camera direction in words, then choose an output option to turn your shot idea into a clip.
Other Wan 2.7 modes (image-to-video, reference-to-video and video editing) and their image, video and audio inputs are not available on UniRoute yet.
The variants you can call, with their options and prices.
| Variant | Model ID | Modes | Inputs | Output | Price |
|---|---|---|---|---|---|
| Wan 2.7 Text to Video | wan/2-7-text-to-video | Text to video | Text prompt and a size option | Resolution: 720p, 1080p; Duration: 5s, 10s | $0.50 to $1.50 per request |
Priced per request. The option you choose sets the price.
| Wan 2.7 Text to Video | |
|---|---|
| 720p · 5s | $0.50 |
| 720p · 10s | $1.00 |
| 1080p · 5s | $0.75 |
| 1080p · 10s | $1.50 |
Rounded to the cent; the live quote in the workspace shows the exact amount. Prices updated 2026-11-08.
Pay as you go from a single USD wallet balance. You see the quote before each request.
Call Wan 2.7 Video from your own code with the media API.
# Requires bash, curl and jq. Set API_KEY to your own unified UniRoute Key.set -euo pipefail: "${API_KEY:?Set API_KEY first}"BASE='https://api.uniroute.app/v1/media'MODEL='wan/2-7-text-to-video'OPTION='720p:5'PROMPT='A calm sunrise over a mountain lake'curl -fsS --max-time 60 "$BASE/catalog" -H "Authorization: Bearer $API_KEY" | jq -e '.data.models'BODY=$(jq -n --arg model "$MODEL" --arg option "$OPTION" --arg prompt "$PROMPT" '{model:$model,option:$option,prompt:$prompt}')QUOTE_BODY=$(printf '%s' "$BODY" | jq '{model,option}')QUOTE=$(curl -fsS --max-time 60 "$BASE/quote" -H "Authorization: Bearer $API_KEY" -H 'Content-Type: application/json' -d "$QUOTE_BODY")CAP=$(printf '%s' "$QUOTE" | jq -er '.data.quoted_usd')BODY=$(printf '%s' "$BODY" | jq --arg cap "$CAP" '. + {max_cost_usd:$cap}')IDEMPOTENCY="example-$(date +%s)-$$"create() { curl -fsS --max-time 60 "$BASE/tasks" -H "Authorization: Bearer $API_KEY" -H "Idempotency-Key: $IDEMPOTENCY" -H 'Content-Type: application/json' -d "$BODY"; }TASK_ID=$(create | jq -er '.data.task_id')# The same request and idempotency key must return the original task without charging again.REPLAY_ID=$(create | jq -er '.data.task_id')[ "$TASK_ID" = "$REPLAY_ID" ]for attempt in $(seq 1 120); do TASK=$(curl -fsS --max-time 60 "$BASE/tasks/$TASK_ID" -H "Authorization: Bearer $API_KEY") printf '%s' "$TASK" | jq -e '.data | {task_id,status,billing}' if printf '%s' "$TASK" | jq -e '.data.status == "success" and .data.billing.state == "charged"' >/dev/null; then index=0 while IFS= read -r url; do index=$((index+1)) curl -fL --max-time 120 "$url" -o "$TASK_ID-$index.bin" done < <(printf '%s' "$TASK" | jq -er '.data.urls[].url') break fi if printf '%s' "$TASK" | jq -e '.data.status == "failed" and .data.billing.state == "released"' >/dev/null; then exit 1; fi if [ "$attempt" = 120 ]; then echo "Polling limit reached. Keep task ID $TASK_ID and query it later; do not create a new task." >&2 exit 1 fi sleep 5donecurl -fsS --max-time 60 "$BASE/tasks?limit=20" -H "Authorization: Bearer $API_KEY" | jq -e '.data'# Check this task and the caller Key in Console usage; billing.charged_usd is the actual USD charge.| Name | In | Description |
|---|---|---|
model | Body | Model ID to run. |
option | Body | One of the options offered for the model: 720p:5, 720p:10, 1080p:5, 1080p:10. |
prompt | Body | Text prompt describing what to generate. |
max_cost_usd | Body | Maximum cost in USD for this task, taken from the quote. |
Idempotency-Key | Header | A unique key per task, so a repeated request returns the original task instead of charging again. |
Typical ways to put Wan 2.7 Video to work.
Describe a product scene or advertising idea and generate a moving draft to discuss before committing to a production direction.
Explore different openings, settings and camera movements from written prompts for your next social post.
Translate a shot description into a video draft to judge framing, action and pacing before a shoot.
Use the API to quote a request, create a generation task and retrieve the result when it is ready.
Common questions about Wan 2.7 Video.
Wan 2.7 Video is Alibaba Tongyi Lab’s video generation family. On UniRoute, the text-to-video variant turns a written prompt into a clip from this page or through the API.
The callable variant accepts a text prompt and a resolution and duration option. The API section lists the current request parameters.
From $0.50 / clip. Each request is priced for the whole clip at your selected output option. See the Pricing section for the full table, with prices updated 2026-11-08.
Alibaba’s Tongyi Lab highlights additional scene and motion controls. Compare the callable options on each family’s page when choosing a model for your workflow.
Use the media API to request a quote, create a task with an Idempotency-Key and a maximum cost, then poll its status until the result is ready. The API section includes an example.
No. Generation is paid from your wallet balance. You can open the workspace and review the price without paying, create an account to see a live quote for your exact settings, and you are charged only for requests that are accepted.