Gemini Omni 1.2 Flash
Видео со звуком: создание и редактирование до 15 секунд, продолжение на 3–10 секунд. Первый и последний кадр — до 10 секунд. Версия 1.1 остаётся отдельной моделью.
Стоимость
от 12 токенов
Попробовать Gemini Omni 1.2 Flash в Givon AI
Открой рабочий проект для обычной генерации или Playground, чтобы проверить точные параметры модели.
Использовать через API
Поля запроса, ограничения и готовые примеры для разработчиков. Пользовательский запуск находится выше.
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":"кинематографичный пролёт дрона над ночным городом","mode":"create","aspectRatio":"9:16","resolution":"360p","duration":3,"referenceAssetUris":["asset://asset_..."]}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
mode mode | string | create | create, edit, extend |
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | до 20000 симв. |
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 · до 7 · asset, https, data |
mode- Тип
- string
- По умолчанию
- create
- Допустимо
- create, edit, extend
promptGeneration prompt describing the scene, action and direction.
- Тип
- string
- По умолчанию
- —
- Допустимо
- до 20000 симв.
aspectRatio- Тип
- string
- По умолчанию
- 9:16
- Допустимо
- 16:9, 9:16
resolution- Тип
- string
- По умолчанию
- 360p
- Допустимо
- 360p, 720p, 1080p, 4k
duration- Тип
- number
- По умолчанию
- 3
- Допустимо
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
startImageAsset input for the startImage slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
endImageAsset input for the endImage slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- 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.
- Тип
- array
- По умолчанию
- —
- Допустимо
- image · до 7 · asset, https, data
Стоимость
от 12 токеновВариант подбирается по полям запроса автоматически — указывать его не нужно.
Возможности
text_to_videoimage_to_videofirst_last_frame_to_videovideo_editvideo_extendtext_image_to_videostartImage:imageendImage:imagereferenceAssetUris:image[]<=7