Nano Banana
Входной тир семейства Google: самая доступная генерация изображений в 1K. Диалоговое редактирование и слияние референсов — для объёма и быстрых черновиков.
Стоимость
2 токенов
ИзображениеПровайдер: Google
Запустить генерацию
curl -X POST https://api.givon.ai/api/v1/generations \
-H "Authorization: Bearer $GIVON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"image","model":"nano-banana","input":{"prompt":"студийный портрет рыжего корги, мягкий свет","aspectRatio":"9:16","imageSize":"1K","sourceImage":"asset://asset_...","referenceAssetUris":["asset://asset_..."]}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
prompt* promptImage description. | string | — | string |
aspectRatio aspectRatio | string | 9:16 | 9:16, 16:9, 1:1, 4:3, 3:4, 2:3, 3:2, 21:9 |
imageSize imageSize | string | 1K | 1K |
Source image sourceImageAsset used as the source image for image editing. | string | — | image · asset, https, data |
Mask image maskImageOptional mask image for region editing. Requires sourceImage. | string | — | image · asset, https, data |
Reference images referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs. | array | — | image · до 10 · asset, https, data |
prompt*
promptImage description.
- Тип
- string
- По умолчанию
- —
- Допустимо
- string
aspectRatio
aspectRatio- Тип
- string
- По умолчанию
- 9:16
- Допустимо
- 9:16, 16:9, 1:1, 4:3, 3:4, 2:3, 3:2, 21:9
imageSize
imageSize- Тип
- string
- По умолчанию
- 1K
- Допустимо
- 1K
Source image
sourceImageAsset used as the source image for image editing.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
Mask image
maskImageOptional mask image for region editing. Requires sourceImage.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
Reference images
referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs.
- Тип
- array
- По умолчанию
- —
- Допустимо
- image · до 10 · asset, https, data
Стоимость
2 токеновВозможности
Режимы
text_to_imageimage_editimage_referenceСлоты ассетов
sourceImage:imagemaskImage:imagereferenceAssetUris:image[]<=10Запустить Nano Banana
Получи API-ключ — и этот же запрос заработает для любой модели каталога.