Nano Banana
Входной тир семейства Google: самая доступная генерация изображений в 1K. Диалоговое редактирование и слияние референсов — для объёма и быстрых черновиков.
Coste
2 tokens
Probar Nano Banana 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":"image","model":"nano-banana","input":{"prompt":"retrato de estudio de un corgi pelirrojo, luz suave","aspectRatio":"9:16","imageSize":"1k","sourceImage":"asset://asset_...","referenceAssetUris":["asset://asset_..."]}}'Campos de entrada
* obligatorio| Campo | Tipo | Predeterminado | Permitido |
|---|---|---|---|
prompt* promptImage description. | string | — | hasta 20000 caracteres |
aspectRatio aspectRatio | string | 9:16 | 16:9, 1:1, 21:9, 2:3, 3:2, 3:4, 4:3, 9:16 |
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 · hasta 10 · asset, https, data |
promptImage description.
- Tipo
- string
- Predeterminado
- —
- Permitido
- hasta 20000 caracteres
aspectRatio- Tipo
- string
- Predeterminado
- 9:16
- Permitido
- 16:9, 1:1, 21:9, 2:3, 3:2, 3:4, 4:3, 9:16
imageSize- Tipo
- string
- Predeterminado
- 1k
- Permitido
- 1k
sourceImageAsset used as the source image for image editing.
- Tipo
- string
- Predeterminado
- —
- Permitido
- image · asset, https, data
maskImageOptional mask image for region editing. Requires sourceImage.
- Tipo
- string
- Predeterminado
- —
- Permitido
- image · asset, https, data
referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs.
- Tipo
- array
- Predeterminado
- —
- Permitido
- image · hasta 10 · asset, https, data
Coste
2 tokensCapacidades
text_to_imageimage_editsourceImage:imagemaskImage:imagereferenceAssetUris:image[]<=10