Gemini Omni Flash
Мультимодальная модель Google: собирает ролик из текста, изображений и видео и правит готовый клип в диалоге. Бери, когда надо трансформировать снятое или смешать разные входы, а не снять кадр с нуля как Veo. Синхронный звук, до 4K.
Стоимость
от 20 токенов
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-video","input":{"prompt":"кинематографичный пролёт дрона над ночным городом","aspectRatio":"9:16","resolution":"720p","duration":4,"referenceAssetUris":["asset://asset_..."]}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | до 5000 симв. |
aspectRatio aspectRatio | string | 9:16 | 16:9, 9:16 |
resolution resolution | string | 720p | 720p, 1080p, 4k |
duration duration | number | 4 | 4, 6, 8, 10 |
Start image startImageAsset input for the startImage slot. | string | — | image · asset, https, data |
Source video sourceVideoAsset input for the sourceVideo slot. | string | — | video · asset, https, data |
Reference images referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs. | array | — | image · до 7 · asset, https, data |
promptGeneration prompt describing the scene, action and direction.
- Тип
- string
- По умолчанию
- —
- Допустимо
- до 5000 симв.
aspectRatio- Тип
- string
- По умолчанию
- 9:16
- Допустимо
- 16:9, 9:16
resolution- Тип
- string
- По умолчанию
- 720p
- Допустимо
- 720p, 1080p, 4k
duration- Тип
- number
- По умолчанию
- 4
- Допустимо
- 4, 6, 8, 10
startImageAsset input for the startImage slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
sourceVideoAsset input for the sourceVideo slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs.
- Тип
- array
- По умолчанию
- —
- Допустимо
- image · до 7 · asset, https, data
Стоимость
от 20 токеновВариант подбирается по полям запроса автоматически — указывать его не нужно.
Возможности
video_edittext_image_to_videoimage_to_videotext_to_videostartImage:imagesourceVideo:videoreferenceAssetUris:image[]<=7Запустить Gemini Omni Flash
Получи API-ключ — и этот же запрос заработает для любой модели каталога.