Wan 3 API · REST · 秒単位の課金

Wan 3 API:テキスト・画像・リファレンスから動画

Wan 3.0・Wan 3.0 Prime・Wan 2.7 を 1 つの REST エンドポイントで。プロンプト、最初のフレーム、またはリファレンス画像・クリップ・音声を送ると、最長 30 秒の音声付き MP4 が返ります。クレジットで秒単位の支払い、失敗時は自動返金。

  • 無料クレジットでテスト
  • サブスク不要
  • コールバックと冪等性
  • 失敗時は自動返金
curl -X POST "https://api.wan3api.org/v1/videos/generations" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "wan-3",
  "prompt": "A red fox runs through fresh snow at sunrise, slow motion, cinematic",
  "duration": 5,
  "resolution": "480P",
  "aspect_ratio": "16:9"
}'

プレイグラウンドで試す

同じモデル、同じ料金。ここで設定を調整し、対応する API リクエストをコピーできます。

0/5000

この設定の API リクエスト

curl -X POST "https://api.wan3api.org/v1/videos/generations" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "wan-3",
  "prompt": "Describe the video you want",
  "duration": 5,
  "resolution": "480P",
  "aspect_ratio": "16:9"
}'

Wan 3.0 で作った動画

このサイトで実際に生成した動画と、そのままのプロンプトです。出発点にどうぞ。

  • “A red paper boat drifts down a rain-soaked city gutter at dusk, neon reflections ripple on the water, the camera follows low and close, soft rain and distant traffic”

    テキスト · Wan 3.0 · 720P · 5s

    このプロンプトを使う
  • “Handheld walk through a crowded night market in Taipei, steam rising from food stalls, a vendor flips skewers and smiles at the camera, sizzling grills and chatter”

    テキスト · Wan 3.0 · 1080P · 5s

    このプロンプトを使う
  • “A teenage skater carves down an empty sunset street, the camera tracks beside her at board height, wheels rumbling on asphalt, warm lens flare”

    テキスト · Wan 3.0 · 720P · 5s

    このプロンプトを使う
  • “Top-down macro of a barista pouring latte art, milk folding into a rosetta, slow motion, quiet café ambience and a spoon clinking”

    テキスト · Wan 3.0 Prime · 720P · 5s

    このプロンプトを使う
  • “Drone shot gliding low over a turquoise glacier lake at sunrise, mist drifting across the water, a slow rise reveals snow peaks, deep wind and ambient strings”

    テキスト · Wan 3.0 · 480P · 10s

    このプロンプトを使う

本番運用のために

モデルのエンドポイントを直接使うなら自作が必要な部分です。

  • 非同期タスク

    送信は約 1 秒でタスク ID を返します。ポーリングかコールバックで受け取り、接続を何分も保つ必要はありません。

  • コールバック

    callback_url を渡せば、完了したタスクを再試行付きでサーバーに POST します。

  • 安全な再試行

    Idempotency-Key ヘッダーで、再送しても最初のタスクが返り二重生成されません。

  • 自動返金

    ブロック・タイムアウト・失敗した生成のクレジットは、問い合わせ不要で戻ります。

  • 切れないリンク

    出力は当社のストレージにコピーされ、プロバイダーのリンクが切れても video_url は使えます。

  • キーとログ

    アカウントごとに名前付きキーを複数作成、即時無効化、全リクエストのステータスと費用をログで確認。

Wan 3.0、Prime、Wan 2.7 のどれ?

ほとんどの動画は Wan 3.0、仕上げは Prime、1080P を最安で作るなら Wan 2.7。

Wan 3.0Wan 3.0 PrimeWan 2.7
解像度480P、720P、1080P480P、720P、1080P720P、1080P
長さ2〜30 秒2〜30 秒2〜15 秒
入力テキスト、フレーム、参考素材テキスト、フレーム、参考素材テキスト、最初(と最後)のフレーム
待ち時間の目安1〜3 分1〜3 分1〜3 分
料金3 クレジット/秒から5 クレジット/秒から6 クレジット/秒から

秒単位で支払う

300 クレジットで $9.99。Wan 3.0 480P は 1 秒 3 クレジット、5 秒の動画は 15 クレジットです。

スターター

$9.99

300 クレジット · 買い切り

  • Wan 3.0 480P で約 100 秒
  • Wan 3.0 Prime 1080P で約 17 秒
  • 5 秒の動画で $0.50

クリエイター

いちばん人気

$29.99

1000 クレジット · 買い切り

  • Wan 3.0 480P で約 333 秒
  • Wan 3.0 Prime 1080P で約 58 秒
  • 5 秒の動画で $0.45

スタジオ

16% お得

$69.99

2500 クレジット · 買い切り

  • Wan 3.0 480P で約 833 秒
  • Wan 3.0 Prime 1080P で約 147 秒
  • 5 秒の動画で $0.42

Wan 3.0

2〜30 秒

アリババの最新 Wan モデル。2〜30 秒・480P〜1080P で、音声も同時に生成します。ほとんどの動画はこれで十分です。

解像度1 秒あたり5 秒の動画
480P3 クレジット$0.50
720P6 クレジット$1.00
1080P11 クレジット$1.83

参考動画は出力と同じく秒単位で課金されます。参考画像は無料です。

Wan 3.0 Prime

2〜30 秒

Wan 3.0 の上位版。入力と制限は同じです。仕上げの生成に。

解像度1 秒あたり5 秒の動画
480P5 クレジット$0.83
720P9 クレジット$1.50
1080P17 クレジット$2.83

参考動画は出力と同じく秒単位で課金されます。参考画像は無料です。

Wan 2.7

2〜15 秒

前世代のモデル。720P または 1080P、2〜15 秒、プロンプトか最初のフレームから。参考素材モードはありません。

解像度1 秒あたり5 秒の動画
720P6 クレジット$1.00
1080P9 クレジット$1.50

テキストと画像モードのみで、参考素材はアップロードできません。

買い切りパック · クレジットに期限なし · 失敗したら自動で返還

料金の詳細

ドキュメントで料金の詳細を見る

API よくある質問

·

今日の午後には動画生成を組み込める

キーを作り、cURL をコピーすれば、数分で最初の MP4 が手に入ります。