Loading model…正在加载模型详情…
Loading model…正在加载模型详情…
用阿里巴巴的 Wan 2.6 将文字场景变成视频,通义万相介绍称,该模型侧重镜头衔接与人物一致性。
In a hyperrealistic ASMR video, a hand uses a knitted knife to slowly slice a burger made entirely of knitted wool. The satisfyingly crisp cut reveals a detailed cross-section of knitted meat, lettuce, and tomato slices. Captured in a close-up with a shallow depth of field, the scene is set against a stark, matte black surface. Cinematic lighting makes the surreal yarn textures shine with clear reflections. The focus is on the deliberate, satisfying motion and the unique, tactile materials.
A beaver walks around the kitchen of an apartment. He looks at the camera anxiously and says, "Where are my nuts?" The beaver finds a box of nuts on the table and says joyfully, "Here are my nuts!"
A massive, derelict interstellar freighter floats silently in the dusty rings of Saturn. On its dark, flickering bridge, a single red button blinks beside a cryptic warning: "Unknown life signal...". The style is suspenseful sci-fi horror, characterized by immense scale, deep shadows, and an atmosphere of isolated dread. The final shot pulls back, dwarfing the ominous vessel against the vast, silent void of space.
Wan 2.6 是阿里巴巴通义万相团队开发的视频生成模型。通义万相介绍称,它面向电影感叙事,重点改善场景衔接、人物一致性与运镜表现。
在 UniRoute 上,文生视频版本接受文字提示词,并提供组合分辨率与时长的输出规格。描述动作、环境和运镜方向,选好规格后即可查看报价并提交请求。
Wan 2.6 是 Wan 2.5 的后续版本。通义万相对 Wan 2.6 的介绍强调更连贯的场景、更稳定的人物,以及对运镜和节奏更好的控制。可以用同一份场景描述比较不同版本的输出,判断哪一款更适合当前项目。
目前通过 UniRoute 使用 Wan 2.6 可以做什么。
用文字描述一个场景或一组镜头,写清主体、动作、光线与运镜,再选择输出规格并提交提示词,生成视频。
Wan 2.6 的其他模式(图生视频、参考视频生成和 Flash 图生视频)暂未在 UniRoute 开放。
可调用的版本,以及各自的选项和价格。
| 版本 | 模型 ID | 模式 | 输入 | 输出 | 价格 |
|---|---|---|---|---|---|
| Wan 2.6 文生视频 | wan/2-6-text-to-video | 文生视频 | 文字提示词和尺寸选项 | 分辨率:720p、1080p;时长:5s、10s | $0.44 至 $1.31 / 次请求 |
按请求计价,所选规格决定价格。
| 规格 | 官方 API | UniRoute | 节省 |
|---|---|---|---|
| 720p · 5s | $0.50 | $0.4375 | 省 13% |
| 720p · 10s | $1.00 | $0.875 | 省 13% |
| 1080p · 5s | $0.75 | $0.65625 | 省 13% |
| 1080p · 10s | $1.50 | $1.3125 | 省 13% |
官方价格:www.alibabacloud.com
价格更新于 2026-11-08。
按用量计费,统一使用一个美元钱包余额。每次请求前都会先看到报价。
用媒体 API 在你自己的代码里调用 Wan 2.6。
# 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-6-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.| 名称 | 位置 | 说明 |
|---|---|---|
model | 请求体 | 要运行的模型 ID。 |
option | 请求体 | 该模型提供的规格之一:720p:5, 720p:10, 1080p:5, 1080p:10。 |
prompt | 请求体 | 描述要生成内容的文字提示词。 |
max_cost_usd | 请求体 | 本次任务的最高费用(美元),取自报价。 |
Idempotency-Key | 请求头 | 每个任务唯一的键;重复请求会返回原任务,不会重复扣费。 |
Wan 2.6 的常见用法。
将场景提纲转成动态画面,在完善故事前探索氛围、运镜方向与镜头衔接。
描述材质、光线和运动,制作产品揭晓或细节特写的创意草稿,为活动寻找视觉方向。
根据文字需求探索想象中的环境与电影场景,再围绕满意的视觉方向继续调整提示词。
通过 API 获取报价、创建视频生成任务,并轮询状态直到输出就绪。
关于 Wan 2.6 的常见问题。
Wan 2.6 是阿里巴巴通义万相团队开发的视频生成模型。在 UniRoute 上,你可以在本页或通过 API 将文字提示词变成视频。
当前可调用的 Wan 2.6 版本接受文字提示词和输出规格。规格将分辨率与时长组合在一起,具体选项见规格表与价格表。
写清主体、动作、环境、光线与运镜。如果需要一组镜头,请说明镜头顺序与转场方式,方便检查输出是否符合创作需求。
$0.44 起 / 条。每次请求按所选输出规格计价,完整价格表见“价格”一节(价格更新于 2026-11-08)。
先为模型与输出规格请求报价,再带上 Idempotency-Key 和最高费用创建任务,之后轮询任务状态并获取输出。本页“API”一节提供了请求示例。
没有。生成费用从你的钱包余额中扣除。你可以直接打开工作区查看价格,注册账号后可看到针对当前设置的实时报价,只有被接受的请求才会计费。