Wan API
動画 APIWan API は、テキストから動画、画像から動画、動画から動画、動画編集、アニメーション、参照から動画まで、複数の AI 動画ワークフローを 1 つの本番導線にまとめます。
Wan 2.7 では 720p と 1080p の生成を扱えます。製品やキャンペーンで必要な入力に合わせて、テキスト、画像、動画、参照素材の各モードを切り替えられます。
最低コスト $0.04/s
480P: 8 クレジット/秒 - テキスト/画像から動画 - 出力秒数 × 8
720P: 16 クレジット/秒 - テキスト/画像から動画 - 出力秒数 × 16
1080P: 32 クレジット/秒 - テキスト/画像から動画 - 出力秒数 × 32
USD 見積もりは最適な年額プランの $0.005/クレジットで計算しています。最終的な課金は選択した Wan モデル、解像度、長さ、入力タイプに従います。
主要リクエストフィールド
プロンプト、入力メディア、解像度、アスペクト比、長さ、callback、生成オプションをモデル別 payload で指定します。
{
"model": "wan/3-0-video",
"input": {
"prompt": "Under the moonlight, a little cat is running on the roof. In the distance, the neon lights are flashing, giving a cinematic feel. The camera movement is smooth.",
"resolution": "480P",
"aspect_ratio": "adaptive",
"duration": 5,
"audio": true
}
}Wan 3.0 Video で生成
Playground、リクエスト例、入力フィールド、料金は選択中のモデルタイプに連動します。
API 詳細ドキュメントを見るエンドポイント、認証、タスクのポーリング、payload の詳細を確認できます。 /models/wan.md
promptstringText prompt, supporting both Chinese and English. Up to 20,000 characters; excess characters will be truncated automatically. Required for text-to-video generation; for other modes, it is recommended to provide it together with media. In reference mode, use Image1/Video1/Audio1 to reference the provided media.first_frame_urlstringURL of the first-frame image. Up to 1 image, used strictly as the first frame of the video. Used for first-frame-to-video / first-and-last-frame-to-video generation. Cannot be provided together with `reference_*_urls`.last_frame_urlstringURL of the last-frame image. Used with first_frame_url for first-and-last-frame generation; the same image limits apply.reference_image_urlsarrayReference images for the all-purpose reference mode, with up to 10 images. Correspond to Image1, Image2, … in the prompt according to array order. Specifications are the same as `first_frame_url`. Cannot be provided together with the first-frame/last-frame parameters.reference_video_urlsarrayReference videos for the all-purpose reference mode, with up to 5 clips. Each clip must be 1–15 seconds, with a total duration ≤ 15 seconds. Correspond to Video1, Video2, … according to array order.reference_audio_urlsarrayReference audio for the all-purpose reference mode, with up to 5 clips. Each clip must be 1–15 seconds, with a total duration ≤ 15 seconds. Correspond to Audio1, Audio2, … according to array order. Formats: wav, mp3; ≤ 15MB. Audio should not be used alone as the only media input; pairing it with an image or video is still recommended.reference_file_urlsarrayFile-to-video generation. Up to 1 file. Cannot be provided together with `reference_link_urls`, or with the first-frame/last-frame parameters.reference_link_urlsarrayLink-to-video generation. Up to 1 publicly accessible webpage that does not require login. Cannot be provided together with `reference_file_urls`, or with the first-frame/last-frame parameters.resolutionenumOutput resolution. Default: **1080P**. (480P, 720P, 1080P)aspect_ratioenumOutput aspect ratio. `adaptive` (default) automatically selects the ratio based on the input media and intent. (adaptive, 16:9, 4:3, 1:1, 3:4, 9:16)durationnumberOutput video duration in seconds. Default: 5. Without video input, the range is [2, 30]. With reference videos: input video duration + output duration ≤ 30. Pass `-1` to use an intelligent duration determined by the model. This studio requires a fixed duration of 2–30 seconds so the price can be calculated before submission; automatic duration (-1) is disabled.audiobooleanWhether the output video includes an audio track. Default: true.seednumberRandom seed used to reproduce results. If omitted, a random seed will be used.Wan API が動画ワークフローに加える機能
Wan モデルを試し、フィールドを確認し、そのまま統合へ進める API ファーストの構成です。
テキストから動画
プロンプトから映画的なクリップを生成し、解像度、比率、長さ、ネガティブプロンプト、seed、prompt extension を制御できます。
画像から動画
静止画を短い動画に変換しながら、被写体、構図、ビジュアルスタイルを保ちやすくします。
動画編集ワークフロー
元動画と参照画像を使い、服装、物体、スタイル、動きを変更しながらシーン全体の一貫性を保てます。
参照から動画の制御
参照画像、参照動画、最初のフレーム、音声入力を組み合わせ、キャラクター、動き、タイミング、レイアウトを誘導できます。
Wan Playground から本番リクエストへ
Wan の出力品質を確認してから、アプリやコンテンツパイプラインへ接続できます。
1. Wan モードを選択
入力に合わせて、テキストから動画、画像から動画、動画編集、参照から動画、または旧 Wan ワークフローを選びます。
2. 生成を送信
API キー、モデル ID、プロンプト、メディア URL、解像度、長さ、比率、callback 設定を指定して呼び出します。
3. ポーリングして利用
タスク完了まで追跡し、生成された動画 URL をアプリ、キャンペーン、自動化に利用します。
Wan API で作れるもの
単発生成ではなく、複数の入力形式を扱う反復可能な AI 動画生成を製品に組み込めます。
実運用の Wan API ワークフロー向け
アカウント連動の実行
ユーザーはログイン後にジョブを送信し、既存の SdanceAI 生成フローでクレジットを消費します。
柔軟な入力メディア
Wan ワークフローは、プロンプトのみのリクエストに加え、画像、動画、最初のフレーム、参照素材、一部の音声入力にも対応します。
解像度ごとのコスト管理
まず 720p で素早く試し、方向性が固まったら 1080p でより鮮明な最終レンダーに進めます。
Wan API FAQ
Wan API は何に向いていますか?
テキストから動画、画像から動画、動画編集、動画から動画、アニメーション、参照ガイド生成など、複数の AI 動画ワークフローを 1 つの統合で扱いたいチームに向いています。
このページではどの Wan モデルを使えますか?
設定済みの Wan family に従い、Wan 2.7 の text-to-video、image-to-video、video edit、reference-to-video、Wan 2.6、Wan 2.5、Wan 2.2 のアニメーションモードを扱えます。
Text to Video と Image to Video の違いは?
Text to Video はプロンプトだけから生成します。Image to Video は元画像を使うため、入力の被写体、構図、スタイルを保ちやすくなります。
Wan 2.7 Reference to Video はいつ使うべきですか?
テキストだけでなく、参照画像、参照動画、最初のフレーム、音声入力でより強く制御したい場合に適しています。
Wan API は 1080p 出力に対応していますか?
このページの Wan 2.7 には 720p と 1080p の料金行があります。品質とコストに合わせて選択してください。
既存動画を編集できますか?
はい。元動画をプロンプトや参照素材で変更したい場合は、Wan 2.7 Video Edit または動画入力ワークフローを使用できます。
ネガティブプロンプトは使えますか?
対応する Wan のリクエスト schema には negative prompt フィールドがあり、ぼけ、歪み、低品質、不要なディテールを減らすために使えます。
統合前にどこで試せますか?
このページの Playground で、モデル、プロンプト、メディア URL、解像度、長さ、API payload を試せます。
コストはどう管理すべきですか?
プロンプト探索では低めの解像度と短めの動画から始め、方向性が固まってから 1080p や長い duration に進むのがおすすめです。
Wan API は商用プロジェクトで使えますか?
このページは本番動画ワークフロー向けに構成されています。商用利用前に、アカウントプラン、クレジット残高、モデル提供状況、適用されるコンテンツポリシーを確認してください。