gemini-omni-1.1-flash
gemini-omni-1.1-flash is a video tool from Gemini that runs in the background and returns video. Pay as you go, with one API key.
Pricing
$0.132 per second at 720p ($0.0439 at 360p, $0.198 at 1080p, $0.395 at 4K), with audio, for 3 to 10 s videos. Input: $1.95 per 1M tokens. Reasoning: $11.70 per 1M tokens.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 1 hour
- Longest run, end to end
- 218 minutes
- Largest inline input
- 1 MB
- Largest input file
- 500 MB
- Largest output
- 5 GB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
input | JSON | — | The prompt: a text, or content parts (images, videos, then the text prompt). Existing contents input remains supported. |
contents | JSON | — | Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like chat, this is a repeated field that contains the conversation history and the latest request. |
response_format | JSON | — | |
generationConfig | JSON | — | Legacy generation settings: only the ones Interactions take are accepted, sent as generation_config (maxOutputTokens as max_output_tokens, seed, thinkingConfig.thinkingLevel as thinking_level). Prefer generation_config. |
generation_config | JSON | — | Configuration parameters for the model interaction. |
systemInstruction | JSON | — | Legacy system instruction, text parts only: the parts' text is joined with newlines and sent as system_instruction. Prefer system_instruction. |
system_instruction | text | — | System instruction for the interaction. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "gemini",
"model": "gemini-omni-1.1-flash",
"input": {}
}'