Video generation API · Google

Gemini Omni 1.2 API

Call Gemini Omni 1.2 by Google from your own code with one GluonArt API key. OpenAI-compatible requests, from 120 credits per clip, paid from a credit balance with no subscription.

Gemini Omni 1.2 API example

Copy, set GLUONART_API_KEY, run.

Start, poll and download · curl
curl https://api.gluonart.com/v1/videos \
  -H "Authorization: Bearer $GLUONART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-omni-1.2-flash",
    "prompt": "Waves rolling onto a black sand beach at sunset",
    "seconds": 5,
    "size": "1280x720"
  }'

# Poll until "status" is "completed" (polling is free)
curl https://api.gluonart.com/v1/videos/VIDEO_ID -H "Authorization: Bearer $GLUONART_API_KEY"

# Download the MP4
curl -o video.mp4 https://api.gluonart.com/v1/videos/VIDEO_ID/content -H "Authorization: Bearer $GLUONART_API_KEY"

Parameters and price

Live values from the GluonArt catalogue. 1,000 credits = $1.

Model id
gemini-omni-1.2-flash
Price
120 credits ($0.12) for 4s at 360p, up to 3,900 credits for 15s at 4K
Endpoint
POST /v1/videos, then poll GET /v1/videos/{id}
seconds
4, 5, 6, 8, 10, 12, 15
size
640x360, 360x640, 1280x720, 720x1280, 1920x1080, 1080x1920, 3840x2160, 2160x3840
audio
Always on
Start frame (image)
Optional

Questions

How much does the Gemini Omni 1.2 API cost?

120 credits ($0.12) for 4s at 360p, up to 3,900 credits for 15s at 4K. You pay from a prepaid credit balance (1,000 credits = $1), with no subscription and no monthly minimum. Credits never expire.

Can I use the OpenAI SDK with Gemini Omni 1.2?

Yes. Set the base URL to https://api.gluonart.com/v1, use your GluonArt API key, and pass "gemini-omni-1.2-flash" as the model. Videos use the same start, poll and download flow as OpenAI's videos API.

Do I need a separate account with Google?

No. One GluonArt API key and one credit balance cover Gemini Omni 1.2 and every other image and video model on the API.

What happens if a video fails?

The price is charged when the video starts and refunded automatically if it fails. The status turns to failed and the error says why.

Other video model APIs

All models and prices: GluonArt API for developers.

Start building with Gemini Omni 1.2

Create a key in your dashboard and start calling the API. You pay only for what you generate.

Get an API key