reference_video_urls and an edit instruction. The edited window can be up to 15 seconds long (1.1 allowed 10), and edits are billed like generations, by the length of the edited window. The request body is the same as Gemini Omni Flash 1.1 Video Edit.
Try it in the browser: Gemini Omni Flash 1.2 API page.
Model
Parameters
Billing
An edit costs the same as a generation of the same length at the same resolution. The length is the edited window (start_frame to end_frame), rounded up to whole seconds, with a 3 second minimum. Editing 7.2 seconds at 720p costs the same as generating an 8 second 720p clip. See current rates on the pricing page.
Limits
Character References
Each character must be an object withimage_urls. Even one-image characters must use an array. Add a preset voice or a tuned custom_voice per character.
*
image_urls must contain at least one URL.
Example — Edit Part of a Clip
Prompt References
Rejected Combinations
Response
Volume discounts are available for almost all models. Reach out at contact@unifically.com to discuss custom pricing.