API docs / Video models
Gemini Omni 1.1 Flash (Text to video) API
Generate a complete shot with synchronized native audio from a written brief.
- Model id
google/gemini-omni-flash/v1.1/text-to-video- Provider
- Output
- Video
- Price
- From 84 credits per run, the same as on voor.ai. Options such as length or resolution can change it.
Request
POST https://voor.ai/v1/generations with "model": "google/gemini-omni-flash/v1.1/text-to-video". 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/text-to-video",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light"
},
"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 | The text prompt describing the video you want to generate. Up to 20000 characters |
aspect_ratio | string | The aspect ratio of the generated video. Default: One of: 16:9, 9:16 |
resolution | string | The resolution of the generated video. Default: One of: 360p, 720p, 1080p, 4k |
duration_seconds | number | The duration of the generated video, in seconds. Default: Min 3 · Max 10 |