Create a Gemini Omni 1.2 Flash video
Generate, edit and extend videos with Gemini Omni 1.2 Flash.
Submit video generation, editing or extension tasks asynchronously, with support for text and Base64 image and video input.
/v1beta/interactionsAuthorization
bearerAuth Use an API Key from the current platform.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Create a video or submit an editing turn. This page covers ordinary JSON requests and inline video delivery.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Get the generated result
Submission returns an interaction ID. Use Retrieve video to check the status and result. If creation times out, do not immediately resubmit, as this may generate another video.
For continuous editing, store the interaction and pass previous_interaction_id in the next request. Input media uses raw Base64; no prior upload to Google file services is needed.