
AIテキストから画像生成ツール
主要AI画像モデル、柔軟な設定、高速なブラウザベースのワークフローで、プロンプトから洗練された画像を作成できます。
Vidu Q3 参照素材から動画生成 APIを無料でお試しください。最大4枚の参照画像、1080p出力、任意のサウンド、柔軟な再生時間、シード制御に対応します。
// Step 1: Submit generation request
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'viduq3-reference-to-video',
prompt: 'Keep the character from image one and the jacket details from image two while walking through a rainy city',
resolution: '1080p',
duration: 8,
aspect_ratio: '9:16',
images: [
'https://example.com/character-reference.jpg',
'https://example.com/outfit-reference.jpg'
],
sound: true,
seed: 42
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
// Placeholder numbering is 1-based and follows the images array order:
// <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<image_3>>> = images[2]
const mediaReferenceResponse = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'viduq3-reference-to-video',
prompt: 'Keep the character from <<<image_1>>> wearing the coat from <<<image_2>>> while entering the rainy city shown in <<<image_3>>>, then return to a close-up of <<<image_1>>>',
resolution: '1080p',
duration: 8,
aspect_ratio: '9:16',
images: [
'https://example.com/character-reference.jpg',
'https://example.com/coat-reference.jpg',
'https://example.com/rainy-city-reference.jpg'
],
sound: true,
seed: 42
})
});
const { data: mediaReferenceData } = await mediaReferenceResponse.json();
const mediaReferenceTaskId = mediaReferenceData.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/video/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.videos[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
# Step 1: Submit generation request
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'viduq3-reference-to-video',
'prompt': 'Keep the character from image one and the jacket details from image two while walking through a rainy city',
'resolution': '1080p',
'duration': 8,
'aspect_ratio': '9:16',
'images': [
'https://example.com/character-reference.jpg',
'https://example.com/outfit-reference.jpg'
],
'sound': True,
'seed': 42
}
)
result = response.json()
task_id = result['data']['task_id']
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based and follows the images array order:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<image_3>>> = images[2]
media_reference_response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'viduq3-reference-to-video',
'prompt': 'Keep the character from <<<image_1>>> wearing the coat from <<<image_2>>> while entering the rainy city shown in <<<image_3>>>, then return to a close-up of <<<image_1>>>',
'resolution': '1080p',
'duration': 8,
'aspect_ratio': '9:16',
'images': [
'https://example.com/character-reference.jpg',
'https://example.com/coat-reference.jpg',
'https://example.com/rainy-city-reference.jpg'
],
'sound': True,
'seed': 42
}
)
media_reference_result = media_reference_response.json()
media_reference_task_id = media_reference_result['data']['task_id']
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/video/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['videos'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
# Step 1: Submit generation request
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "viduq3-reference-to-video",
"prompt": "Keep the character from image one and the jacket details from image two while walking through a rainy city",
"resolution": "1080p",
"duration": 8,
"aspect_ratio": "9:16",
"images": [
"https://example.com/character-reference.jpg",
"https://example.com/outfit-reference.jpg"
],
"sound": true,
"seed": 42
}'
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based and follows the images array order:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<image_3>>> = images[2]
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "viduq3-reference-to-video",
"prompt": "Keep the character from <<<image_1>>> wearing the coat from <<<image_2>>> while entering the rainy city shown in <<<image_3>>>, then return to a close-up of <<<image_1>>>",
"resolution": "1080p",
"duration": 8,
"aspect_ratio": "9:16",
"images": [
"https://example.com/character-reference.jpg",
"https://example.com/coat-reference.jpg",
"https://example.com/rainy-city-reference.jpg"
],
"sound": true,
"seed": 42
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/video/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
| パラメータ | 料金 | 元の料金 | 割引 |
|---|
Vidu Q3 Reference-to-Video API は、一貫したキャラクター、オブジェクト、シーンを必要とする開発者やクリエイティブチームに、 実運用対応の AI 動画生成を提供します。この Reference-to-Video API 連携は、1 つ以上の参照画像を使用して 被写体のアイデンティティを固定しながら、同期されたネイティブ音声付きの一貫したマルチショット動画を生成します。Vidu の 新世代 Q3 モデルを基盤とし、インテリジェントなカメラ切り替え、ショット間の高い一貫性、柔軟な出力 制御を組み合わせ、Flaq AI 上でスケーラブルなストーリーテリングのワークフローを実現します。
注意 プロンプトと参照画像が Vidu のコンテンツ安全ガイドラインに準拠していることを確認してください。エラーが 発生した場合は、入力に制限対象のコンテンツがないか確認し、調整してから再試行してください。
Vidu Q3 Reference-to-Video と Vidu Q3 Image-to-Video の比較 Vidu Q3 Image-to-Video は開始画像をアニメーション化します。Vidu Q3 Reference-to-Video は複数の被写体参照を使用して、より多彩なマルチショットの 物語生成でもアイデンティティと連続性を維持します。
Vidu Q3 Reference-to-Video と Vidu Q3 Turbo Reference-to-Video の比較 Vidu Q3 Turbo は最高の速度とコスト 効率を優先します。Vidu Q3 はカメラ位置が変わっても高い一貫性を維持し、物語、ブランド、 キャラクターのワークフローに適したバランスのよい制作品質に重点を置いています。
Vidu Q3 Reference-to-Video と Seedance V2.0 Reference-to-Video の比較 Seedance V2.0 は幅広い混合モダリティの 参照入力に対応します。Vidu Q3 は複数画像による被写体の基準付け、インテリジェントなカメラ切り替え、 ネイティブな会話、効果音、音楽の緊密な同期を特長としています。
Vidu Q3 Reference-to-Video と Wan 2.7 Reference-to-Video の比較 Wan 2.7 は画像、動画、任意の音声を組み合わせた 参照素材に対応します。Vidu Q3 は効率的な複数画像の一貫性、ネイティブな音声付き動画出力、カメラの切り替えを通した 一貫したストーリーテリングを重視しています。
Vidu Q3 Reference-to-Video と Kling Video O3 Reference-to-Video の比較 Kling Video O3 は参照素材に基づく強力な 動きとシーンの推論を提供します。Vidu Q3 は複数画像による被写体の一貫性、ネイティブな多言語音声、インテリジェントな ショット切り替えにより、完全な音声付き動画ストーリーを生成します。
ブラウザで画像と動画のクイックワークフロー向けAI制作ツールを複数試し、成功したアイデアをFlaq AIの本番対応モデルAPIで拡張できます。Flaq AIはすべてのモデルに統合APIレイヤーを提供し、ワークフローを簡単に利用・拡張できます。