Video generation

Gemini Omni 1.2 Flash

Gemini Omni 1.2 Flash is Google’s multimodal model for video generation and visual content creation. It combines text, image, and video inputs with text and video outputs, helping developers build creative applications that work across multiple media formats.

360p, 720p, 1080p and 4K · 3–15 seconds · MP4 kept 24 hours

$0.024331Per second, from

Pricing

Price per second

360p · 640 × 360
$0.024331
720p · 1280 × 720
$0.072979
1080p · 1920 × 1080
$0.109469
4K · 3840 × 2160
$0.218938

Includes the 5% MiniRouter fee. The final charge uses the provider’s actual cost for the delivered video and stays within your reserved hold. MiniRouter absorbs any overrun. Failed jobs are free. Compare the cost of a complete clip across durations and settings.

Estimate your credit hold

Credit is reserved when the job starts. The final charge may be lower.

Estimated hold

$0.0973224

Your length plus 1 second at the per-second price, including the 5% fee. Unused credit is released.

Use the Videos API

Set MINIROUTER_KEY to your inference key. Each example starts a job, polls it and saves the MP4.

VIDEO_ID=$(curl --fail-with-body --retry 0 -sS https://api.minirouter.sh/v1/videos \
  -H "Authorization: Bearer $MINIROUTER_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
  "model": "google/gemini-omni-1.2-flash",
  "prompt": "A paper boat drifting down a rainy city street, cinematic.",
  "seconds": 3,
  "size": "640x360"
}' | jq -r .id)

until curl --fail-with-body -sS "https://api.minirouter.sh/v1/videos/$VIDEO_ID" \
  -H "Authorization: Bearer $MINIROUTER_KEY" \
  | jq -e '.status == "completed" or .status == "failed"' > /dev/null; do sleep 10; done

curl --fail-with-body -sS -o video.mp4 "https://api.minirouter.sh/v1/videos/$VIDEO_ID/content" \
  -H "Authorization: Bearer $MINIROUTER_KEY"

Retries are off, so a dropped connection cannot start a second job. The MP4 stays available for 24 hours after the job completes.

Operations

Supported operations

Start a job
POST /v1/videos
JSON or multipart fields: model, prompt, seconds, size. Prompts up to 2,000 characters.
Check status
GET /v1/videos/{id}
Poll until the status is completed or failed.
Download
GET /v1/videos/{id}/content
Streams the MP4 for 24 hours after the job completes.

Every model, one key.

Gemini Omni 1.2 Flash — API setup and current pricing · minirouter