alibaba/wan-2.2-animate/character-animation7.95 积分起 /秒

Wan 2.2 Animate 让角色图里的人物做出参考视频里的动作。输出和驱动视频一样长,最长 30 秒,480p 或 720p,按实际交付的秒数付费。

在 POST /jobs/createTask 里把模型名写成 alibaba/wan-2.2-animate/character-animation 即可调用,7.95 积分/秒起(US$0.08)。新账户送 30 积分,可以先在 Playground 里免费试。

  • 动作控制
  • 最高 720p

这份指南暂时只有英文。 →

请求参数

参数必填说明
animation_mode否animate drives the character in the image with the motion of the driving video; replace swaps the person in the driving video for the one in the image. animate · replace · 默认值: animate
image_url是作为起点的那张图。
prompt否Optional description of the motion, used to guide animation style and content.
resolution否输出尺寸。越大越清晰,价格也越高。 480p · 720p · 默认值: 720p
seed否用同一个数字,结果就能复现。 ≥ 0 · ≤ 2147483647
video_url是要处理的视频。

价格

价格以积分计,和网站上用的是同一种积分(1 积分 = $0.01)。任务受理时先冻结积分,完成后按实际费用结算;失败的任务会退还。

选项积分 /秒≈ 美元
resolution 480p7.95US$0.08
resolution 720p16.5US$0.17

想在运行前知道确切金额,把同样的请求体发到 POST /jobs/quote 即可。

API 快速上手

三步调用 Wan 2.2 Animate API

  1. 创建 API 密钥. 登录 PopNow,在 API 控制台创建密钥。密钥以 sk-popnow- 开头,和网站共用同一份积分。
  2. 发送请求. 向 POST /jobs/createTask 发请求,model 填 alibaba/wan-2.2-animate/character-animation,input 按参数表填写。响应会立刻返回任务 ID。
  3. 取回结果. 用任务 ID 轮询 GET /jobs/recordInfo,或者传 callBackUrl,结果会推送到这个地址。任务成功后下载输出链接。
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "alibaba/wan-2.2-animate/character-animation",
  "input": {
    "animation_mode": "animate",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
    "resolution": "720p"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

请把提示词和链接换成你自己的。API 页签里有响应、轮询和回调的参考。

Wan 2.2 Animate API 常见问题

Wan 2.2 Animate API 怎么收费?

Wan 2.2 Animate:7.95 积分(US$0.08)/秒。各选项价格:480p 7.95 积分/秒、720p 16.5 积分/秒。积分和网站通用(1 积分 = $0.01),新账号赠送 30 积分,失败的任务会退还。

Wan 2.2 Animate 在 API 里的调用名是什么?

在 POST /jobs/createTask 的 model 字段里填 动作控制用 alibaba/wan-2.2-animate/character-animation。

Wan 2.2 Animate API 有哪些限制?

分辨率:480p · 720p;提示词长度(字符):2,000;单个上传上限:90 MB。超出这些限制的请求会在扣费之前被拒绝。

不写代码能试 Wan 2.2 Animate 吗?

可以。Playground 用你的 PopNow 积分运行 Wan 2.2 Animate,不需要 API 密钥,每次运行都会给出对应的代码。

全部 Wan 模型

Kling 3.0 动作控制能做同样的事,最高 1080p,成品最精致。

关于 Wan 2.2 Animate 的更多内容