API docs / Video models
Gemini Omni Flash (Edit video) API
Edit an uploaded video with instructions.
- Model id
google/gemini-omni-flash/edit- Provider
- Output
- Video
- Price
- Depends on the options; the same as on voor.ai.
Request
POST https://voor.ai/v1/generations with "model": "google/gemini-omni-flash/edit". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.
curl https://voor.ai/v1/generations \
-H "Authorization: Bearer $VOOR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-flash/edit",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light",
"source_video": [
"https://example.com/input.png"
]
},
"callback_url": "https://example.com/webhooks/voor"
}'
# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
-H "Authorization: Bearer $VOOR_API_KEY"Input parameters
| Name | Type | Details |
|---|---|---|
promptrequired | string | A simple instruction describing the edit. Simple prompts work best; add "Keep everything else the same." to preserve the rest of the scene. Voice editing is not supported. Up to 20000 characters |
source_videorequired | array of URLs | URL of the video to edit. Note: editing uploaded videos is not available for users in the European Economic Area (EEA), Switzerland, and the United Kingdom. Up to 1 files · Accepts video/* |