Gemini Omni Flash 参照画像から動画生成 API

google/gemini-omni-flash/reference-to-video

Gemini Omni Flash 参照画像から動画生成は、1枚以上の参照画像とテキストのプロンプトから、音声が同期した短い AI 動画を生成します。視覚的な一貫性を保ちながら、提供された参照内容に従ってガイド付きのマルチモーダル動画生成を行います。すぐに使える REST 推論 API、高性能、コールドスタートなし、手頃な価格。

サンプル

Gemini Omni Flash 参照画像から動画生成 API example 1

パラメータ

名前既定制約説明
images *画像image_uploadvideo/* · 1–4 items動画に反映する参照画像の URL。
prompt *プロンプトtextarea≤ 5000 chars動画内容を説明するテキストのプロンプトです。<IMAGE_REF_0> のようなタグで画像を参照できます。
aspect_ratioアスペクト比select16:916:9 | 9:16生成される動画のアスペクト比。
duration長さselect83 | 4 | 5 | 6 | 7 | 8 | 9 | 10生成される動画の長さ(秒)。

API

統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/google/gemini-omni-flash/reference-to-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "images": "https://example.com/input.jpg",
    "prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
    "aspect_ratio": "16:9",
    "duration": 8
  }
}'

# 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/google/gemini-omni-flash/reference-to-video",
    headers=HEADERS,
    json={
        "input": {
            "images": "https://example.com/input.jpg",
            "prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
            "aspect_ratio": "16:9",
            "duration": 8
        }
    },
)
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/google/gemini-omni-flash/reference-to-video", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "images": "https://example.com/input.jpg",
      "prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
      "aspect_ratio": "16:9",
      "duration": 8
    }
  }),
});
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);

ドキュメント

Gemini Omni Flash Reference to Video API

参照画像から、同期音声付きの短尺動画を高速かつ安定して生成できるモデルです。

Gemini Omni Flash Reference to Video は、1枚または複数枚の参照画像とテキストのプロンプトから、同期音声付きの短尺動画を生成する画像から動画への AI モデルです。被写体の見た目やスタイルの一貫性を重視する用途に適しており、コールドスタートなし、安定した性能、導入しやすい価格設定が特長です。

🚀 主な特長

  • 参照画像ベースの動画生成:1枚または複数枚の参照画像を使って、被写体、スタイル、レイアウト、画面構成を誘導できます。
  • 高いビジュアル一貫性:人物、商品、オブジェクト、ブランド表現など、見た目の整合性を保ちたいケースに適しています。
  • 同期音声を同時生成:動画とあわせて音声も生成できるため、短尺コンテンツをより完成形に近い形で作成できます。
  • プロンプトによる動きの制御:シーン展開、被写体の動作、カメラワーク、テンポ、音声の方向性を自然言語で指定できます。
  • シンプルなアスペクト比指定16:9 の横向きと 9:16 の縦向きに対応し、主要な配信面に合わせやすい構成です。
  • コールドスタートなし:応答性が高く、検証用途から本番運用まで扱いやすいモデルです。

🛠️ 技術仕様

項目内容
モデル名Gemini Omni Flash Reference to Video API
モデル IDgoogle/gemini-omni-flash/reference-to-video
タスク種別画像から動画
モデルアーキテクチャ参照画像誘導型のマルチモーダル動画生成モデル
入力1枚以上の参照画像 URL + プロンプト
出力同期音声付き動画
対応アスペクト比16:99:16
デフォルトのアスペクト比16:9
長さの範囲3〜10秒
デフォルトの長さ8秒
音声機能あり(同期音声生成)
プロンプト制御シーン、動き、カメラ挙動、テンポ、音声演出
参照画像の指定方法プロンプト内で <IMAGE_REF_0> のようなタグを使用可能
レイテンシ特性コールドスタートなし、応答性の高いオンライン生成向け
出力形式短尺動画クリップ

サンプルプロンプト

  1. The character in <IMAGE_REF_0> walks through a neon-lit street at night, slow forward camera push, subtle fabric movement in the wind, cinematic pacing, with ambient city audio.
  2. Using <IMAGE_REF_0> and <IMAGE_REF_1> as references, create a product showcase video in a clean studio setting, slow rotation of the subject, gentle orbit camera movement, with minimal futuristic sound design.
  3. Follow the visual style of <IMAGE_REF_0> and generate a vertical video where the subject turns, smiles, and waves to the camera, with soft background blur, upbeat pacing, and natural environmental audio.

💰 価格

項目価格
基本料金$0.16 / 秒
3秒動画$0.48
5秒動画$0.80
8秒動画$1.28
10秒動画$1.60

💡 主なユースケース

  • EC・商品マーケティング:商品画像から、広告・LP・SNS向けの短尺プロモーション動画を素早く作成できます。
  • キャラクター・IP コンテンツ制作:人物やバーチャルキャラクターの見た目を保ちながら、短い動画クリップを生成できます。
  • SNS向け短尺動画制作:横向き・縦向きの両方に対応し、配信先に応じた素材制作に適しています。
  • 企画検証・プリビズ:本制作前に、動き、演出、映像トーン、音の方向性を素早く試せます。

🔗 関連モデル

  • Google Gemini Omni Flash Image To Video:より汎用的な画像から動画の生成ワークフローに適したモデルです。
  • Google Gemini Omni Flash Text To Video:参照画像なしで、プロンプトのみから動画を生成したい場合に適しています。

関連モデル

xAI Grok Imagine Video v1.5 参照画像から動画
Reference to VideoX Ai

xAI Grok Imagine Video v1.5 参照画像から動画

プロンプトと1-7枚の参照画像から1-15秒の動画を生成します。480pと720pに対応しています。

$0.840 / 1 回
MiniMax H3 参照画像から動画生成
Reference to VideoMinimax

MiniMax H3 参照画像から動画生成

MiniMax H3 Reference to Video は、自然言語のプロンプトと画像・動画・音声を含むマルチモーダルな参照情報から、一貫性のある 2K 動画を生成します。被写体の一貫性、モーション、タイミング、ビジュアルスタイル、シーンの連続性をコントロールできます。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格で利用できます。

$0.650 / 1 回
Seedance 2.0 Mini 参照生成動画
Reference to VideoDoubao

Seedance 2.0 Mini 参照生成動画

Seedance 2.0 Mini Reference-to-Video(リファレンス画像指定動画生成)は、ByteDance(バイトダンス)が開発した、シネマティックなマルチショット動画の作成に最適な、高速かつ低コストな動画生成モデルです。参考画像とテキストプロンプトを高度に融合させ、ストーリー性豊かな動画セグメントを生成します。AIによる柔軟なカメラワーク制御に対応しているだけでなく、異なるシーン間でのキャラクターの同一性を維持するという課題もクリアしています。480Pから4Kまでのマルチ解像度出力、4〜15秒の動画長、そして自由なアスペクト比をサポート。すぐに使えるREST推論APIが提供されており、コールドスタートなしの圧倒的なパフォーマンスを圧倒的なコストパフォーマンスで実現します。

$0.380 / 1 回
Seedance 2.5 参照画像/動画から動画生成
Reference to VideoDoubao

Seedance 2.5 参照画像/動画から動画生成

Seedance 2.5の「リファレンス動画生成」機能は、ビジュアルの統一性を保つ究極のソリューションです。参考素材からアートスタイル、ライティング、構図の意図を正確に抽出。新しく生成される動画に完璧に融合させ、シリーズ作品を通して一貫した世界観を維持します。

$0.700 / 1 回
Seedance 2.0 Fast reference-to-video
Reference to VideoDoubao

Seedance 2.0 Fast reference-to-video

Seedance 2.0 Fast(Video-Edit)は、自然言語のプロンプトに基づいて入力動画をより高速かつ低コストで編集できます。ByteDance Seed の統合マルチモーダルアーキテクチャを基盤とし、被写体の同一性、構図、動きを保ちながら、指示に応じてライティング、スタイル、天候、環境、特定の要素を書き換えます。すぐに使える REST API、優れたパフォーマンス、コールドスタートなし、手頃な価格に対応しています。

$0.720 / 1 回