Nano Banana
Entry tier in Google's image family: the most affordable 1K image generation. Dialog editing and reference blending make it useful for volume work and quick drafts.
Cost
2 tokens
ImageProvider: Google
Run generation
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":"studio portrait of a red corgi, soft light","aspectRatio":"9:16","imageSize":"1K","sourceImage":"asset://asset_...","referenceAssetUris":["asset://asset_..."]}}'Input fields
* required| Field | Type | Default | Allowed |
|---|---|---|---|
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 · up to 10 · asset, https, data |
prompt*
promptImage description.
- Type
- string
- Default
- —
- Allowed
- string
aspectRatio
aspectRatio- Type
- string
- Default
- 9:16
- Allowed
- 9:16, 16:9, 1:1, 4:3, 3:4, 2:3, 3:2, 21:9
imageSize
imageSize- Type
- string
- Default
- 1K
- Allowed
- 1K
Source image
sourceImageAsset used as the source image for image editing.
- Type
- string
- Default
- —
- Allowed
- image · asset, https, data
Mask image
maskImageOptional mask image for region editing. Requires sourceImage.
- Type
- string
- Default
- —
- Allowed
- image · asset, https, data
Reference images
referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs.
- Type
- array
- Default
- —
- Allowed
- image · up to 10 · asset, https, data
Cost
2 tokensCapabilities
Modes
text_to_imageimage_editimage_referenceAsset slots
sourceImage:imagemaskImage:imagereferenceAssetUris:image[]<=10Run Nano Banana
Get an API key and the same request shape will work across every model in the catalog.