Gemini Omni 1.2 Flash
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…
- Generation price
- Queue time
- median latency
- Completion
- median duration
01Routes
02Capabilities
- Input
- text · image · video
- Output
- video
- Context
- —
- Max output
- —
VisionSeeded sampling
Supported parameters (8)
aspect_ratiodurationframe_imagesgenerate_audioinput_referencesresolutionseedsize
03Quick start
Call it with your RProuter key
Send JSON to /v1/videos with this model ID. The example below uses parameters this model supports.
curl "$RPROUTER_BASE_URL/videos" \
-H "Authorization: Bearer $RPROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model":"google/gemini-omni-1.2-flash","prompt":"Waves rolling onto a beach at golden hour","duration":5,"resolution":"720p","aspect_ratio":"16:9","generate_audio":true,"callback_url":"https://your-app.example/hooks/rprouter"}'04Example request and response
Request
POST /v1/videos
Authorization: Bearer YOUR_RPROUTER_KEY
{
"model": "google/gemini-omni-1.2-flash",
"prompt": "Waves rolling onto a beach at golden hour",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"callback_url": "https://your-app.example/hooks/rprouter"
}Response
202 Accepted
{
"id": "6f1c2a9e-4b7d-4e21-9a8f-2c5d1e7b3a40",
"polling_url": "https://rprouter.ai/v1/jobs/6f1c2a9e-4b7d-4e21-9a8f-2c5d1e7b3a40",
"status": "pending",
"generation_id": "b0e4f7d2-91c3-4a6e-8d15-7f2a9c3e5b18"
}Polling the job
GET /v1/jobs/6f1c2a9e-4b7d-4e21-9a8f-2c5d1e7b3a40
Authorization: Bearer YOUR_RPROUTER_KEY
200 OK
{
"id": "6f1c2a9e-4b7d-4e21-9a8f-2c5d1e7b3a40",
"kind": "video",
"model": "google/gemini-omni-1.2-flash",
"polling_url": "https://rprouter.ai/v1/jobs/6f1c2a9e-4b7d-4e21-9a8f-2c5d1e7b3a40",
"status": "completed",
"generation_id": "b0e4f7d2-91c3-4a6e-8d15-7f2a9c3e5b18",
"created_at": 1794700000,
"unsigned_urls": [
"https://rprouter.ai/v1/jobs/6f1c2a9e-4b7d-4e21-9a8f-2c5d1e7b3a40/content?index=0"
],
"urls": [
"https://rprouter.ai/v1/media/6f1c2a9e-4b7d-4e21-9a8f-2c5d1e7b3a40.0.1794786400.9f2c…"
],
"expires_at": 1794786400,
"usage": {
"cost": 0.4
}
}