Alibaba WAN 2.6
alibaba/wan-2.6/reference-to-video
Alibaba WAN 2.6 Reference-to-Video は、キャラクター、小道具、またはシーンの参照画像(単一または複数視点)から、新しいビデオショットを生成します。アイデンティティ、スタイル、レイアウトを忠実に再現しつつ、滑らかで一貫性のある動きを実現。即利用可能な REST 推理 API は、コールドスタートなしの最高性能を誇り、圧倒的なコストパフォーマンスを提供します。
サンプル
パラメータ
| 名前 | 型 | 既定 | 制約 | 説明 |
|---|---|---|---|---|
| prompt *プロンプト | textarea | — | ≤ 1500 chars | 生成のためのポジティブプロンプト。 |
| negative_promptネガティブプロンプト | textarea | — | ≤ 1500 chars | 生成のためのネガティブプロンプト。 |
| sizeサイズ | select | 1920*1080 | 1920*1080 | 1080*1920 | 1440*1440 | 1632*1248 | 1248*1632 | 1280*720 | 720*1280 | 960*960 | … | 生成されたメディアのサイズ(ピクセル単位、幅*高さ)。 |
| duration長さ | slider | 5 | 2 ~ 10 · step 1 | 生成されたメディアの長さ(秒)。 |
| shot_typeショットタイプ | select | single | single | multi | 生成するショットのタイプ。 |
| seedシード値 | number | — | ≥ 0 | 生成に使用するランダムシード。 |
出力フィールド
| フィールド | 型 | 説明 |
|---|---|---|
| videos | array<string> |
API
統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6/reference-to-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "character1 turns gently toward the camera with natural movement and a subtle smile. Smooth cinematic lighting.",
"negative_prompt": "Avoid dark or gloomy scenes, and ensure no elements of destruction or chaos are present.",
"size": "1920*1080",
"duration": 5,
"shot_type": "single",
"seed": 12345
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6/reference-to-video",
headers=HEADERS,
json={
"input": {
"prompt": "character1 turns gently toward the camera with natural movement and a subtle smile. Smooth cinematic lighting.",
"negative_prompt": "Avoid dark or gloomy scenes, and ensure no elements of destruction or chaos are present.",
"size": "1920*1080",
"duration": 5,
"shot_type": "single",
"seed": 12345
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6/reference-to-video", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "character1 turns gently toward the camera with natural movement and a subtle smile. Smooth cinematic lighting.",
"negative_prompt": "Avoid dark or gloomy scenes, and ensure no elements of destruction or chaos are present.",
"size": "1920*1080",
"duration": 5,
"shot_type": "single",
"seed": 12345
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);ドキュメント
Alibaba WAN 2.6
alibaba/wan-2.6/reference-to-video
Alibaba WAN 2.6 Reference-to-Video は、キャラクター、小道具、またはシーンの参照画像(単一または複数視点)から、新しいビデオショットを生成します。アイデンティティ、スタイル、レイアウトを忠実に再現しつつ、滑らかで一貫性のある動きを実現。即利用可能な REST 推理 API は、コールドスタートなしの最高性能を誇り、圧倒的なコストパフォーマンスを提供します。
パラメータ
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
reference_urls | array | true | — | 参照素材は合計1〜5件(画像最大5枚、動画最大3本)。配列順に character1、character2…に対応。参照画像は無料、参照動画は各動画の全長を生成時間に加算して課金します。; 1–5 URLs |
prompt | string | true | — | 生成のためのポジティブプロンプト。; max 1500 characters |
negative_prompt | string | false | — | 生成のためのネガティブプロンプト。; max 1500 characters |
size | string | false | "1920*1080" | 生成されたメディアのサイズ(ピクセル単位、幅高さ)。 19201080, 10801920, 14401440, 16321248, 12481632, 1280720, 7201280, 960960, 8321088, 1088*832 |
duration | integer | false | 5 | 生成されたメディアの長さ(秒)。 [2, 10]; integer |
shot_type | string | false | "single" | 生成するショットのタイプ。 single, multi |
seed | integer | false | — | 生成に使用するランダムシード。 |
料金
合計料金=秒単価×ceil(生成時間+全参照動画の全長の合計)。全時間を合計してから1回だけ秒単位で切り上げ、動画ごとには丸めません。参照画像は無料です。固定5秒の加算やAlibabaの参照時間切り詰めではなく、参照動画の全長で課金します。
| Resolution | USD/s |
|---|---|
| 720P | $0.10 |
| 1080P | $0.15 |
既定値は1080P・生成5秒です。画像のみを参照する場合の料金は $0.75 (75 credits).
例:10秒の参照動画1本と5秒の出力は15秒分を課金します。参照順はcharacter1、character2…に対応。1米ドル=100クレジット、アカウント割引は別途適用されます。
720P: 1280*720, 720*1280, 960*960, 1088*832, 832*1088.
1080P: 1920*1080, 1080*1920, 1440*1440, 1632*1248, 1248*1632.
API
curl -X POST https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6/reference-to-video \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"input": {
"size": "1920*1080",
"duration": 5,
"shot_type": "single",
"reference_urls": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/31/0d2b8fc70ea0.jpeg"
],
"prompt": "character1 turns gently toward the camera with natural movement and a subtle smile. Smooth cinematic lighting.",
"seed": 12345
}
}'
curl 'https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID' \
-H "Authorization: Bearer $API_KEY"
task_uuid で completed または failed までポーリングします。成功時の output.videos は動画URL文字列の配列です。
関連モデル
VT Lip Sync 口形同期
VT Lip Sync は、翻訳後の対象動画、翻訳後音声、翻訳後字幕タイミング、および元動画とその元字幕タイミングを使用して、翻訳後動画の口形を同期します。
Kling Omni Video O3
Kling Omni Video O3は、複数の視点からキャラクター、プロップ、またはシーンの参照を使用して創造的な動画を生成します。対象の特徴を抽出し、フレーム間でアイデンティティの一貫性を維持しながら新しい動画コンテンツを作成します。音声生成をサポート。すぐに使える REST API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Kling Omni Video O3
Kling Omni Video O3は、複数の視点からキャラクター、プロップ、またはシーンの参照を使用して創造的な動画を生成します。対象の特徴を抽出し、フレーム間でアイデンティティの一貫性を維持しながら新しい動画コンテンツを作成します。音声生成をサポート。すぐに使える REST API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Kling 3.0 Standard モーションコントロール
Kling 3.0 Standard モーションコントロールは、参照動画の動きを静止画像に転送してアニメーション化します。キャラクター画像とモーションクリップ(ダンス、アクション、ジェスチャー)をアップロードすると、モデルが動きを抽出して滑らかでリアルな動画を生成します。すぐに使用可能な REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
seedance-2-0 reference-to-video
Seedance 2.0の「リファレンス動画生成」機能は、ビジュアルの統一性を保つ究極のソリューションです。参考素材からアートスタイル、ライティング、構図の意図を正確に抽出。新しく生成される動画に完璧に融合させ、シリーズ作品を通して一貫した世界観を維持します。
black-forest-labs/flux-3/video-upscale 動画アップスケール
既定 creativity=1 は $0.79/秒から、creativity=0 は $0.55/秒。入力動画の長さを秒単位で切り上げて課金します。FLUX Video Upscale は、MP4 動画を高精細化し、元映像に忠実なディテール再現から創造的なディテール強調まで対応します。1.5x〜3x の拡大倍率を設定でき、動画修復、SNS コンテンツ、広告、制作ワークフローにおいて映像の鮮明さを向上させます。すぐに使える REST 推論 API、優れたパフォーマンス、コールドスタートなし、手頃な価格。
black-forest-labs/flux-3/video-extend-draft 動画延長
FLUX 3 Video Extend Draft は、必須の入力動画をもとに、プロンプトで次のシーンの動きを指定したドラフトクリップをすばやく生成します。同期した音声の生成は任意で、長さは 5〜20 秒から柔軟に選べるため、素早い反復作業に適しています。
black-forest-labs/flux-3/video-extend 動画延長
FLUX 3 Video Extend は、入力動画を新しい 5〜20 秒のクリップへ自然に延長し、プロンプトによって次の動き、カメラモーション、映像スタイル、動きの連続性、さらに必要に応じて同期した音声を制御できます。720P / 1080P 出力に対応。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格で利用できます。