API docs / Video models
Gemini Omni 1.1 Flash (Edit video) API
Apply a natural-language change to an existing clip while preserving the rest of the shot.
- Model id
google/gemini-omni-flash/v1.1/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/v1.1/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/v1.1/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. Up to 20000 characters |
source_videorequired | array of URLs | URL of the video to edit. Up to 1 files · Accepts video/* |
resolution | string | The resolution of the edited video. Default: One of: 360p, 720p, 1080p, 4k |