Vidu Q4 Preview 参照から動画
vidu/q4-preview/reference-to-video
プロンプトから3〜16秒の動画を生成します。参照画像は最大15枚、参照音声は最大3件まで任意で指定でき、アスペクト比選択、音声生成、540p〜4kに対応します。
サンプル
パラメータ
| 名前 | 型 | 既定 | 制約 | 説明 |
|---|---|---|---|---|
| prompt *プロンプト | textarea | — | ≤ 5000 chars | 生成に使用するポジティブプロンプトです。 |
| images画像 | image_upload | — | image/* · 0–15 items | 参照画像のURL配列(最大15枚)。 |
| audios音声 | audio_upload_group | — | audio/* · 0–3 items | 生成に使用する任意の参照音声ファイルです。最大3件の参照音声に対応しています。 |
| aspect_ratioアスペクト比 | select | 16:9 | 16:9 | 9:16 | 1:1 | 3:4 | 4:3 | 生成されるコンテンツのアスペクト比です。 |
| resolution解像度 | select | 720p | 540p | 720p | 1080p | 2k | 4k | 生成されるコンテンツの解像度です。 |
| duration長さ | slider | 5 | 3 ~ 16 · step 1 | 生成されるコンテンツの長さ(秒)です。 |
| generate_audio音声を生成 | boolean | true | — | 音声を生成するかどうかです。 |
| seedシード値 | number | — | step 1 | 生成に使用するシード値です。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/vidu/q4-preview/reference-to-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Create a polished cinematic product video featuring the same matte black wireless headphones from the reference images on a clean studio set. Start with a slow rotating close-up that highlights the soft ear cushions and brushed metal details, then transition to a lifestyle shot of a young adult placing the headphones on while warm ambient light glows in the background. Keep the subject design fully consistent with the references, use smooth camera motion, realistic reflections, shallow depth of field, premium commercial styling, and subtle motion graphics for a modern brand ad.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/794a150611fc.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/1612d26e4530.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/87a14c8b9623.jpeg"
],
"audios": [],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"seed": 123456
}
}'
# 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/vidu/q4-preview/reference-to-video",
headers=HEADERS,
json={
"input": {
"prompt": "Create a polished cinematic product video featuring the same matte black wireless headphones from the reference images on a clean studio set. Start with a slow rotating close-up that highlights the soft ear cushions and brushed metal details, then transition to a lifestyle shot of a young adult placing the headphones on while warm ambient light glows in the background. Keep the subject design fully consistent with the references, use smooth camera motion, realistic reflections, shallow depth of field, premium commercial styling, and subtle motion graphics for a modern brand ad.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/794a150611fc.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/1612d26e4530.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/87a14c8b9623.jpeg"
],
"audios": [],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5,
"generate_audio": True,
"seed": 123456
}
},
)
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 1800s server-side.
deadline = time.time() + 1860
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/vidu/q4-preview/reference-to-video", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "Create a polished cinematic product video featuring the same matte black wireless headphones from the reference images on a clean studio set. Start with a slow rotating close-up that highlights the soft ear cushions and brushed metal details, then transition to a lifestyle shot of a young adult placing the headphones on while warm ambient light glows in the background. Keep the subject design fully consistent with the references, use smooth camera motion, realistic reflections, shallow depth of field, premium commercial styling, and subtle motion graphics for a modern brand ad.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/794a150611fc.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/1612d26e4530.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/87a14c8b9623.jpeg"
],
"audios": [],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"seed": 123456
}
}),
});
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 1800s server-side.
const deadline = Date.now() + 1860 * 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);ドキュメント
Vidu Q4 Preview 参照から動画
vidu/q4-preview/reference-to-video
プロンプトから3〜16秒の動画を生成します。参照画像は最大15枚、参照音声は最大3件まで任意で指定でき、アスペクト比選択、音声生成、540p〜4kに対応します。
パラメータ
| パラメータ | 型 | 必須 | 既定値 | 制限・説明 |
|---|---|---|---|---|
prompt | string | はい | — | max 5000 chars; 生成に使用するポジティブプロンプトです。 |
images | array | いいえ | — | 0–15 URLs; 参照画像のURL配列(最大15枚)。 |
audios | array | いいえ | — | 0–3 URLs; 生成に使用する任意の参照音声ファイルです。最大3件の参照音声に対応しています。 |
aspect_ratio | string | いいえ | "16:9" | 16:9, 9:16, 1:1, 3:4, 4:3; 生成されるコンテンツのアスペクト比です。 |
resolution | string | いいえ | "720p" | 540p, 720p, 1080p, 2k, 4k; 生成されるコンテンツの解像度です。 |
duration | integer | いいえ | 5 | 3–16; step 1; 生成されるコンテンツの長さ(秒)です。 |
generate_audio | boolean | いいえ | true | 音声を生成するかどうかです。 |
seed | integer | いいえ | — | 生成に使用するシード値です。0 または未入力の場合はランダムなシード値が使用されます。 |
必須項目は prompt のみです。images は0〜15件の画像URL、audios は0〜3件の音声URLを指定できます。両配列は省略または空配列にできます。seed=0 または省略でランダムシードを使用します。aspect_ratio の既定値は16:9です。このエンドポイントには enable_prompt_expansion はありません。
料金
| Resolution | USD / second | Credits / second | USD / 5 seconds |
|---|---|---|---|
| 540p | $0.045 | 4.5 | $0.225 |
| 720p | $0.095 | 9.5 | $0.475 |
| 1080p | $0.12 | 12 | $0.6 |
| 2k | $0.19 | 19 | $0.95 |
| 4k | $0.39 | 39 | $1.95 |
合計料金=解像度の単価 × duration。duration は3〜16秒の整数です。既定値は720p、5秒、音声生成ありで、合計 $0.475(47.5クレジット)です。料金に影響するのは解像度と長さのみで、音声生成、シード、対応する参照素材やプロンプト拡張の追加料金はありません。1米ドル=100クレジット。定価は WaveSpeed と同額、アカウント割引は別途適用されます。
API
curl -X POST https://www.namifusion.com/api/v1/marketplace/run/vidu/q4-preview/reference-to-video \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"input": {
"prompt": "Create a polished cinematic product video featuring the same matte black wireless headphones from the reference images on a clean studio set. Start with a slow rotating close-up that highlights the soft ear cushions and brushed metal details, then transition to a lifestyle shot of a young adult placing the headphones on while warm ambient light glows in the background. Keep the subject design fully consistent with the references, use smooth camera motion, realistic reflections, shallow depth of field, premium commercial styling, and subtle motion graphics for a modern brand ad.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/794a150611fc.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/1612d26e4530.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/09/87a14c8b9623.jpeg"
],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"seed": 123456
}
}'
curl 'https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID' \
-H "Authorization: Bearer $API_KEY"
送信応答の task_uuid で completed または failed までポーリングします。成功時の output.videos は動画URLの配列です。
関連モデル
xAI Grok Imagine Video v1.5 参照画像から動画
プロンプトと1-7枚の参照画像から1-15秒の動画を生成します。480pと720pに対応しています。
MiniMax H3 参照画像から動画生成
MiniMax H3 Reference to Video は、自然言語のプロンプトと画像・動画・音声を含むマルチモーダルな参照情報から、一貫性のある 2K 動画を生成します。被写体の一貫性、モーション、タイミング、ビジュアルスタイル、シーンの連続性をコントロールできます。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格で利用できます。
Gemini Omni Flash 参照画像から動画生成 API
Gemini Omni Flash 参照画像から動画生成は、1枚以上の参照画像とテキストのプロンプトから、音声が同期した短い AI 動画を生成します。視覚的な一貫性を保ちながら、提供された参照内容に従ってガイド付きのマルチモーダル動画生成を行います。すぐに使える REST 推論 API、高性能、コールドスタートなし、手頃な価格。
Seedance 2.0 Mini 参照生成動画
Seedance 2.0 Mini Reference-to-Video(リファレンス画像指定動画生成)は、ByteDance(バイトダンス)が開発した、シネマティックなマルチショット動画の作成に最適な、高速かつ低コストな動画生成モデルです。参考画像とテキストプロンプトを高度に融合させ、ストーリー性豊かな動画セグメントを生成します。AIによる柔軟なカメラワーク制御に対応しているだけでなく、異なるシーン間でのキャラクターの同一性を維持するという課題もクリアしています。480Pから4Kまでのマルチ解像度出力、4〜15秒の動画長、そして自由なアスペクト比をサポート。すぐに使えるREST推論APIが提供されており、コールドスタートなしの圧倒的なパフォーマンスを圧倒的なコストパフォーマンスで実現します。
Seedance 2.5 参照画像/動画から動画生成
Seedance 2.5の「リファレンス動画生成」機能は、ビジュアルの統一性を保つ究極のソリューションです。参考素材からアートスタイル、ライティング、構図の意図を正確に抽出。新しく生成される動画に完璧に融合させ、シリーズ作品を通して一貫した世界観を維持します。
Seedance 2.0 Fast reference-to-video
Seedance 2.0 Fast(Video-Edit)は、自然言語のプロンプトに基づいて入力動画をより高速かつ低コストで編集できます。ByteDance Seed の統合マルチモーダルアーキテクチャを基盤とし、被写体の同一性、構図、動きを保ちながら、指示に応じてライティング、スタイル、天候、環境、特定の要素を書き換えます。すぐに使える REST API、優れたパフォーマンス、コールドスタートなし、手頃な価格に対応しています。
Wan 2.6 Flash 参照から動画
参照画像や動画から2〜10秒の動画を生成。720P・1080Pと任意の音声生成に対応。