Loading model…正在加载模型详情…
Loading model…正在加载模型详情…
用阿里巴巴的 Wan2.7 Image 根据文字生成图片,探索创意画面和含文字的视觉设计。


Transform the food photo by replacing the marked ingredients with sliced red chili pieces in the corresponding positions, while keeping the same bowl, composition, steam, lighting, camera angle, background, texture, and overall realism. Preserve the hot freshly cooked look, keep the melted topping and chopped green onions intact, and make the result look like a natural plated dish photo with the red chili integrated convincingly.

Ultra close-up winter portrait of a woman’s face, centered symmetrical composition, blue eyes, natural freckles, slightly red nose and cheeks from the cold, subtle under-eye shadows, wearing a blue hooded winter jacket with snow crystals and frost on the hood and cheeks, soft overcast daylight, highly detailed skin texture, realistic pores, cinematic cold tones, sharp focus, photorealistic

A young Japanese woman in a beige kimono crouches next to a white cat on a stone path before a traditional shrine, framed by stone lanterns, direct eye contact, relaxed smile, balanced front-facing composition, quiet temple setting, soft daylight, vintage sepia color grading, photorealistic, highly detailed
Wan2.7 Image 是阿里巴巴的图片模型系列。阿里巴巴介绍称,它将图片生成与编辑结合在一起,注重文字呈现和创作控制。
在 UniRoute 上,标准版和 Pro 版都通过文字提示词与宽高比选项生成图片。标准版的单次请求费用更低;阿里巴巴将 Pro 版定位为更注重画质的选择。你可以在这里比较可用选项和报价后再决定。
Wan2.7 Image 与 Wan2.7 Image Pro 属于同一图片系列的不同版本。本页提供 UniRoute 当前支持的生成选项,具体可用设置请看规格表。
目前通过 UniRoute 使用 Wan2.7 Image 可以做什么。
描述图片的主体、风格、构图以及需要呈现的文字,选择可用规格,查看报价后再运行。
Wan2.7 Image 的其他模式与控制项(图片编辑、参考图、思考模式和调色板输入)暂未在 UniRoute 开放。
可调用的版本,以及各自的选项和价格。
| 版本 | 模型 ID | 模式 | 输入 | 输出 | 价格 |
|---|---|---|---|---|---|
| Wan2.7 Image 标准版 | wan/2-7-image | 文生图 | 文字提示词和宽高比选项 | 宽高比:1:1、16:9、9:16 | $0.03 / 次请求 |
| Wan2.7 Image Pro | wan/2-7-image-pro | 文生图 | 文字提示词和宽高比选项 | 宽高比:1:1、16:9、9:16 | $0.08 / 次请求 |
按请求计价,所选规格决定价格。
| Wan2.7 Image 标准版 | |
|---|---|
| 1:1 | $0.03 |
| 16:9 | $0.03 |
| 9:16 | $0.03 |
| Wan2.7 Image Pro | |
|---|---|
| 1:1 | $0.08 |
| 16:9 | $0.08 |
| 9:16 | $0.08 |
金额四舍五入到分;工作区中的实时报价显示精确金额。价格更新于 2026-11-08。
按用量计费,统一使用一个美元钱包余额。每次请求前都会先看到报价。
用媒体 API 在你自己的代码里调用 Wan2.7 Image。
# 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-image'OPTION='1:1'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 | 请求体 | 该模型提供的规格之一:1:1, 16:9, 9:16。 |
prompt | 请求体 | 描述要生成内容的文字提示词。 |
max_cost_usd | 请求体 | 本次任务的最高费用(美元),取自报价。 |
Idempotency-Key | 请求头 | 每个任务唯一的键;重复请求会返回原任务,不会重复扣费。 |
Wan2.7 Image 的常见用法。
根据文字需求起草活动画面,用相同的提示词比较标准版与 Pro 版。
描述人物的面部、造型和氛围,探索头像或角色概念。
在提示词中写清所需文字与构图,尝试海报和讲解类版式。
关于 Wan2.7 Image 的常见问题。
Wan2.7 Image 是阿里巴巴的图片模型系列。阿里巴巴介绍称,它将图片生成与编辑结合在一起,注重文字呈现和创作控制。
阿里巴巴将标准版定位于日常创作,将 Pro 版定位于要求更高的视觉任务。在 UniRoute 上,两者都接受文字提示词与宽高比选项,各有对应的请求价格。
两个版本都可以选择宽高比。UniRoute 暂未为这一系列开放独立的分辨率、思考模式或调色板设置。
$0.03 起 / 张。每次请求按所选版本和规格报价。完整请求价格见“价格”一节(价格更新于 2026-11-08)。
暂时不可以。UniRoute 当前的工作区接受文字提示词和上方列出的目录规格,本页所列版本尚未开放参考图片输入。
使用媒体 API:先对所选模型和规格请求报价,再带上 Idempotency-Key 和最高费用创建任务,然后轮询任务直到结果就绪。“API”一节给出了完整示例和参数说明。
没有。生成费用从你的钱包余额中扣除。你可以直接打开工作区查看价格,注册账号后可看到针对当前设置的实时报价,只有被接受的请求才会计费。