Gemini Omni 1.2 Flash API
Generate 3–15 second videos with native audio from text, images and subject references. Interpolate first/last frames, edit a source video or extend it by up to 10 seconds. Output from 360p to upsampled 4K.
- Text to video
- Image to video
Starting at
$0.03
per second of output
Gemini Omni 1.2 Flash playground
Input
Describe the scene, motion, sound, or video edits.
First frame and optional last frame. Two frames limit duration to 10 seconds. Cannot be combined with referenceImageUrls or videoUrls.
Up to 10 subject reference images; prefer at most 6 for character consistency. Cannot be combined with imageUrls.
One source video, at most 15 seconds, to edit or extend. Editing preserves its length; duration is ignored. Source duration is checked before billing.
Runs are charged to your balance.
Output

Output will appear here.
Check the price and run the model. Your result will appear here; browser use does not need an API key.
Gemini Omni 1.2 Flash API pricing
| Option | Price per second |
|---|---|
| Resolution: 360p | $0.03 |
| Resolution: 720p | $0.09 |
| Resolution: 1080p | $0.136 |
| Resolution: 4k | $0.271 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gemini-omni-1.2-flash",6 "input": {7 "prompt": "A cinematic shot of a city at dusk",8 "duration": 10,9 "resolution": "720p",10 "aspectRatio": "16:9"11 }12 }'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Describe the scene, motion, sound, or video edits. |
imageUrls | string[] | No | — | First frame and optional last frame. Two frames limit duration to 10 seconds. Cannot be combined with referenceImageUrls or videoUrls. |
referenceImageUrls | string[] | No | — | Up to 10 subject reference images; prefer at most 6 for character consistency. Cannot be combined with imageUrls. |
videoUrls | string[] | No | — | One source video, at most 15 seconds, to edit or extend. Editing preserves its length; duration is ignored. Source duration is checked before billing. |
videoMode | string | No | — | Source-video operation. Extension adds 3–10 seconds and bills only the added segment. Requires videoUrls.One of: edit, extend |
duration | number | No | 10 | Whole output seconds (3–15), or added seconds for extension (3–10). Ignored when editing a source video. |
resolution | string | No | 720p | Output resolution; 1080p and 4K are upsampled.One of: 360p, 720p, 1080p, 4k |
aspectRatio | string | No | 16:9 | Output aspect ratioOne of: 16:9, 9:16 |
Frequently asked questions
How much does Gemini Omni 1.2 Flash cost?
Gemini Omni 1.2 Flash starts at $0.03 per second of output on API Stock. The final charge depends on the selected settings.
When was Gemini Omni 1.2 Flash released?
Gemini Omni 1.2 Flash was released on November 5, 2026 and is available through API Stock.
How do I get an API key for Gemini Omni 1.2 Flash?
Create an account and API key on API Stock, then fund your balance. The same key works with Gemini Omni 1.2 Flash and other catalog models.
How do I call the Gemini Omni 1.2 Flash API?
POST to https://api.api-stock.com/api/v1/generation/create with your API key and model "gemini-omni-1.2-flash". Use the returned task id for polling or receive a webhook.
What input parameters does Gemini Omni 1.2 Flash accept?
Gemini Omni 1.2 Flash accepts 8 input parameters, including the required field(s) prompt. See their types, defaults and allowed values above.
What happens if a Gemini Omni 1.2 Flash request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Gemini Omni 1.2 Flash with the same API key as other models?
Yes. Use your API Stock API key and balance for Gemini Omni 1.2 Flash and other catalog models.
Other Video models
- MiniMax H3MiniMax$0.016/ second
- Agnes Video 2.5Agnes AI$0.023/ second
- PixVerse V6PixVerse$0.024/ generation
- Seedance 2.0 MiniByteDance$0.025/ second
- Wan 3.0 VideoAlibaba$0.045/ second
- Seedance 2.0 FastByteDance$0.057/ second
- FLUX 3 VideoBlack Forest Labs$0.06/ second
- Kling 3.0 Motion ControlKling$0.065/ second
- Seedance 1.5 ProByteDance$0.065/ generation
Guides
- Text to videoWhich text-to-video model fits the shot you have in mind, prompts that actually work, and the full API run from create to finished file.8 min read
- Image to videoTurning a still into a shot — which model to animate it with, first and last frame control, motion transfer, and the prompts that keep the subject intact.7 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read
