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 相關內容