← All models
Google · Language + Video model
Gemini Omni 1.2 Flash
google/gemini-omni-1.2-flash- Language
- Video
Try in ChatOpens a new chat with this model. Each answer is billed to your balance.
Gemini Omni 1.2 Flash is Google's native multimodal video generation and editing model, the successor to Gemini Omni 1.1 Flash. It generates clips up to 15 seconds long with native...
As a language model
Specifications
- Context window
- 131,072 tokens
- Max output
- 65,536 tokens
- Input
- text, image, video
- Output
- text, video
- Reasoning effort
- high, low (always on)
- Tokenizer
- Gemini
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- max_tokens
- reasoning
- reasoning_effort
- seed
- temperature
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"google/gemini-omni-1.2-flash","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'As a video model
Specifications
- Durations
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 s
- Resolutions
- 720p, 1080p, 4K, 360p
- Aspect ratios
- 16:9, 9:16
- Sizes
- 1280x720, 720x1280, 1920x1080, 1080x1920, 3840x2160, 2160x3840, 640x360, 360x640
- Start from an image
- first frame, last frame
- Edit a video
- no
- Audio
- native, on by default
- Seed
- supported
Use it
POST /api/v1/videos · MCP generate_video · get_video · full reference
# 1. submit (202 with id, token, poll_url)
curl https://omnirail.org/api/v1/videos \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"google/gemini-omni-1.2-flash","prompt":"a paper boat drifting down a rainy street, slow dolly in","duration":3,"resolution":"720p","aspect_ratio":"16:9","generate_audio":false}'
# 2. poll every ~30 s until status is "completed"
curl https://omnirail.org/api/v1/videos/$JOB_ID -H "Authorization: Bearer $OMNIRAIL_KEY"