SandBase is live — $1 in free credits on signupStart free ›

Google modelsvideo generation api

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

Gemini Omni Flash by Google - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.

Input
The text prompt describing the video. You can bind reference images to roles inline using tags like ``<IMAGE_REF_0>`` (see the Omni Flash prompt guide).

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

URLs of the reference images to incorporate into the video.
310
The duration of the generated video, in seconds. Range: 3 to 10.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Idle

Example output — click Run to generate your own

API README

Gemini Omni Flash Reference to Video

Gemini Omni Flash Reference to Video generates a video under the guidance of reference imagery and a required written brief. Unlike the single-image animation variant, its images field accepts a collection of visual references that can be incorporated into the requested scene.

Reference roles can be bound inside the prompt with tags such as <IMAGE_REF_0>, making the connection between written direction and supplied material explicit. The endpoint also offers ten aspect ratios and a three-to-ten-second duration range for shaping the final delivery.

Highlights

  • Multiple visual references in one request. Provide an array of image URLs when a video should draw on more than one piece of source material.
  • Inline reference binding. Use tags such as <IMAGE_REF_0> in the prompt to assign supplied images to specific roles in the video brief.
  • Reference-guided generation. The Gemini Omni Flash catalog explicitly documents reference media as guidance for video generation.
  • Delivery controls for different placements. Ten aspect ratios and a duration range of three to ten seconds cover broad framing and timing needs.

Pricing

  • Local price formula: params.duration * 0.13

Technical Specs

  • Model ID: google/gemini-omni-flash/reference-to-video
  • Request fields: aspect_ratio (string, optional, enum: 21:9/16:9/3:2/4:3/5:4/1:1/4:5/3:4 (10 values total)); duration (integer, optional, min 3, max 10); images (array, optional); prompt (string, required)
  • Required fields: prompt
  • Output fields: content_type (string, optional); url (string, required)
  • Execution mode: async

When to Use

  • Use this variant when several reference images need to inform the people, objects, styling, or other roles described in a video prompt.
  • Choose it when reference-guided generation also needs a defined duration and aspect ratio for the target channel.

Related Models

google/gemini-omni-flashGemini Omni Flash is Google's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.google/gemini-omni-flash/editGemini Omni Flash Edit by Google - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.google/gemini-omni-flash/image-to-videoGemini Omni Flash by Google - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.google/veo-2Veo 2 is Google's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.google/veo-2/image-to-videoVeo 2 by Google - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.google/veo-3Veo 3 is Google's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.google/veo-3/fastVeo 3 Fast by Google - generate cinematic videos from text descriptions with AI. Create high-quality video content with natural motion, camera control, and optional audio generation.google/veo-3/fast/image-to-videoVeo 3 Fast is Google's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.