Gemini Omni 1.2 Flash · Video Generation
gemini-omni-1.2-flashGenerate and edit video with Gemini Omni 1.2 Flash · Video Generation from Vertex AI through one Spiral API key. Generates a 3 to 15 second video from a text prompt, first and last frames, or reference images and videos, with Gemini Omni 1.2. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
About $1.788598 per run at the default inputs for 60 seconds of input. $15.60 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 1 hour
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 200 MB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
input required | JSON | — | The prompt: a text, or content parts (images, videos, then the text prompt). Existing contents input remains supported. |
response_format | JSON | — | |
generation_config | JSON | — | Configuration parameters for the model 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": "vertex",
"model": "gemini-omni-1.2-flash",
"input": {
"input": "<input>"
}
}'Frequently asked questions
How much does Gemini Omni 1.2 Flash · Video Generation cost?
About $1.788598 per run at the default inputs for 60 seconds of input. $15.60 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Gemini Omni 1.2 Flash · Video Generation through an API?
Send `POST /v1/runs` with `"provider": "vertex"`, `"model": "gemini-omni-1.2-flash"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Vertex AI to use Gemini Omni 1.2 Flash · Video Generation?
No. Spiral runs it on its own Vertex AI account and charges your Spiral balance.
Can my AI agent use Gemini Omni 1.2 Flash · Video Generation?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.