Skip to main content
POST
  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 Image to Video animates a still image into a 3–15 second video at up to 4K. Add a second image as the last frame to control where the shot ends. 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/image-to-video — Image-to-video with Gemini Omni 1.2 Flash from a first frame or first and last frames, 360p to 4K.

Features

  • First frame, or first and last frames, via image_urls.
  • Any whole-second duration from 3 to 15 seconds (3 to 10 with a last frame).
  • Four resolutions: 360p, 720p, 1080p, 4k.
  • Landscape (16:9) or portrait (9:16) framing.

Input modes

  • First frame: one URL in image_urls; duration 3–15 seconds.
  • First and last frames: two URLs in image_urls, first frame then last frame; duration 3–10 seconds.

Required parameters

  • prompt (string): Motion and scene direction, 1–20,000 characters after trimming.
  • image_urls (string[]): 1–2 public HTTP(S) image URLs.

Optional parameters

  • duration (integer): Output length, 3–15 seconds (3–10 with a last frame). 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

  • First and last frames: a sepia rehearsal photo blooms into full color as the trio plays, 5 seconds, 720p (result).
  • First frame: a diver sweeps a flashlight across an amphora inside a sunken hull, 5 seconds, 720p (result).

Notes

  • With two images, a duration above 10 returns 400.
  • 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/image-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