Skip to main content
POST
Submit Gemini Omni 1.2 Flash Reference to Video Task
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.
Gemini Omni 1.2 Flash Reference to Video generates a 3–15 second video guided by reference images and reference videos, so a character, product or place carries into a new scene. Describe in the prompt how each reference should appear. Gemini Omni 1.2 Flash is part of Google’s Gemini Omni video lineup. Vidgo exposes it as four model IDs: Text to Video, Image to Video, Reference to Video and Video Edit.

Models

  • google/gemini-omni-1.2-flash/reference-to-video — Reference-to-video with Gemini Omni 1.2 Flash from up to 10 images and 3 videos, 360p to 4K.

Features

  • Up to 10 reference images and 3 reference videos in one request.
  • Any whole-second duration from 3 to 15 seconds.
  • Four resolutions: 360p, 720p, 1080p, 4k.
  • Landscape (16:9) or portrait (9:16) framing.

Required parameters

  • prompt (string): Scene description, 1–20,000 characters after trimming.
  • At least one of reference_image_urls or reference_video_urls.

Optional parameters

  • reference_image_urls (string[]): Up to 10 public HTTP(S) image URLs.
  • reference_video_urls (string[]): Up to 3 public HTTP(S) video URLs, each up to 15 seconds.
  • duration (integer): Output length, 3–15 seconds. Default 8.
  • resolution (string): 360p, 720p, 1080p or 4k. Default 720p.
  • aspect_ratio (string): 16:9 or 9:16. Default 16:9.

Output

The finished task returns one MP4 video in the files array of Query Task Status and the callback payload.

Examples

  • Character and location references: the sound recordist from the first image kneels by a steaming mineral pool on the plain from the second image, 5 seconds, 720p, 16:9 (result).

Notes

  • Reference videos (MP4, MOV or WebM, up to 100 MB each) are downloaded and measured at submission; each runs up to 15 seconds and must contain a video track.
  • Empty strings and empty arrays count as omitted, so the default applies.
  • Put model and callback_url at the request root, next to input. input accepts the fields listed above; other fields return 400.
  • Credits are reserved at submission and equal the output duration times the per-second rate of the chosen resolution. A failed task is refunded in full. See the pricing page for current rates.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

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

input
object
required
callback_url
string<uri>

Optional webhook URL for completion or failure notifications.

Example:

"https://your-domain.com/callback"

Response

Task submission result. A task ID identifies asynchronous work; generation may still be running.

code
integer
required
Example:

200

data
object
required