Gemini Omni 1.2 Flash
For scenes with automatically generated sound: create from text or images, edit an existing video up to 15 seconds, or extend one by 3–10 seconds. Creation supports 3–15 seconds; first-and-last-frame generation is limited to 10 seconds. Version 1.1 remains separate.
Cost
from 12 tokens
Try Gemini Omni 1.2 Flash in Givon AI
Open a working project for regular creation, or use Playground to inspect the model parameters.
Use through API
Request fields, constraints, and ready-to-use examples for developers. The user workflow starts above.
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
-H "Authorization: Bearer $GIVON_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"video","model":"gemini-omni-1.2-flash","input":{"prompt":"cinematic drone shot over a city at night","mode":"create","aspectRatio":"9:16","resolution":"360p","duration":3,"referenceAssetUris":["asset://asset_..."]}}'Input fields
* required| Field | Type | Default | Allowed |
|---|---|---|---|
mode mode | string | create | create, edit, extend |
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | up to 20000 chars |
aspectRatio aspectRatio | string | 9:16 | 16:9, 9:16 |
resolution resolution | string | 360p | 360p, 720p, 1080p, 4k |
duration duration | number | 3 | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 |
Start image startImageAsset input for the startImage slot. | string | — | image · asset, https, data |
End image endImageAsset input for the endImage slot. | string | — | image · asset, https, data |
Reference images referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs. The item limit applies to physical references after repeated owned asset identities and identities already bound to video slots are excluded. URL entries remain distinct; every supplied item is validated. | array | — | image · up to 7 · asset, https, data |
mode- Type
- string
- Default
- create
- Allowed
- create, edit, extend
promptGeneration prompt describing the scene, action and direction.
- Type
- string
- Default
- —
- Allowed
- up to 20000 chars
aspectRatio- Type
- string
- Default
- 9:16
- Allowed
- 16:9, 9:16
resolution- Type
- string
- Default
- 360p
- Allowed
- 360p, 720p, 1080p, 4k
duration- Type
- number
- Default
- 3
- Allowed
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
startImageAsset input for the startImage slot.
- Type
- string
- Default
- —
- Allowed
- image · asset, https, data
endImageAsset input for the endImage slot.
- Type
- string
- Default
- —
- Allowed
- image · asset, https, data
referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs. The item limit applies to physical references after repeated owned asset identities and identities already bound to video slots are excluded. URL entries remain distinct; every supplied item is validated.
- Type
- array
- Default
- —
- Allowed
- image · up to 7 · asset, https, data
Cost
from 12 tokensThe variant is selected automatically from request fields, so you do not need to send it.
Capabilities
text_to_videoimage_to_videofirst_last_frame_to_videovideo_editvideo_extendtext_image_to_videostartImage:imageendImage:imagereferenceAssetUris:image[]<=7