Gemini Omni Flash 1.2 is Google's multimodal video model. This endpoint edits an existing video of up to 15 seconds from a natural-language instruction, applying the requested change while keeping the rest of the scene unchanged. Output resolution is selectable from 360p, 720p, 1080p, or 4K.
URL of the video to edit. Must be at most 15 seconds long.
resolution
stringenum: 360p, 720p, 1080p, 4k
The resolution of the edited video.
duration
integer
The duration of the generated video, in seconds. At most 10 seconds when an end image is provided.
image_url
string
URL of the first frame to animate.
aspect_ratio
stringenum: 16:9, 9:16
The aspect ratio of the generated video.
end_image_url
—
Optional URL of the end frame. When provided, the model interpolates between the two images in their listed order and the duration is capped at 10 seconds.