gemini-omni-flash/editGeneration type:
video_to_videoEndpoint:
POST /api/asset_generator/
Pricing
10.5 credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.Quick start
The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files.Input parameters
Send these fields ininput_params.
string
required
A simple instruction describing the edit. Add “Keep everything else the same.” to preserve the rest of the scene. Voice editing is not supported.Minimum characters:
1.
Maximum characters: 2000.string
required
URL of the video to edit.
Complete JSON schema
Complete JSON schema
Response
The request returns the task withstatus: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.
