Gemini Omni 1.2 Flash
Видео со звуком: создание и редактирование до 15 секунд, продолжение на 3–10 секунд. Первый и последний кадр — до 10 секунд. Версия 1.1 остаётся отдельной моделью.
Coste
desde 12 tokens
Probar Gemini Omni 1.2 Flash en Givon AI
Abre un proyecto para crear de forma habitual o usa Playground para revisar los parámetros del modelo.
Usar mediante API
Campos, límites y ejemplos listos para desarrolladores. El flujo de usuario empieza arriba.
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":"toma cinematográfica de dron sobre una ciudad nocturna","mode":"create","aspectRatio":"9:16","resolution":"360p","duration":3,"referenceAssetUris":["asset://asset_..."]}}'Campos de entrada
* obligatorio| Campo | Tipo | Predeterminado | Permitido |
|---|---|---|---|
mode mode | string | create | create, edit, extend |
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | hasta 20000 caracteres |
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 · hasta 7 · asset, https, data |
mode- Tipo
- string
- Predeterminado
- create
- Permitido
- create, edit, extend
promptGeneration prompt describing the scene, action and direction.
- Tipo
- string
- Predeterminado
- —
- Permitido
- hasta 20000 caracteres
aspectRatio- Tipo
- string
- Predeterminado
- 9:16
- Permitido
- 16:9, 9:16
resolution- Tipo
- string
- Predeterminado
- 360p
- Permitido
- 360p, 720p, 1080p, 4k
duration- Tipo
- number
- Predeterminado
- 3
- Permitido
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
startImageAsset input for the startImage slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- image · asset, https, data
endImageAsset input for the endImage slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- 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.
- Tipo
- array
- Predeterminado
- —
- Permitido
- image · hasta 7 · asset, https, data
Coste
desde 12 tokensLa variante se selecciona automáticamente a partir de los campos de la petición; no necesitas enviarla.
Capacidades
text_to_videoimage_to_videofirst_last_frame_to_videovideo_editvideo_extendtext_image_to_videostartImage:imageendImage:imagereferenceAssetUris:image[]<=7