Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

nano-banana-3-flash is Google’s gemini-3.1-flash-image-preview — the preview-tier successor to nano-banana. Same edit-mode contract (image-in + prompt → image-out), same flat $0.046 pricing, sharper output. Routed to Vertex’s global region (the regional us-central1 host 404s for this preview model — Kyma handles the routing automatically). Tagged preview — Google may rename the underlying model id at GA. Kyma will swap the provider id transparently; your endpoint_id stays nano-banana-3-flash.

Specs

FieldValue
Model IDnano-banana-3-flash
CreatorGoogle
BackendVertex AI (gemini-3.1-flash-image-preview, global region only)
Best forBleeding-edge image edit + gen, newer quality
Edit modeYes — pass image_url to enable
Release stagePreview
Pricing modeFlat per image (1K tier default)
Default latency~5–10s
OutputBlob-hosted URL (Vercel CDN)

Pricing

VariantProvider costKyma list
nano-banana-3-flash$0.034$0.046
Same flat pricing as the stable nano-banana. Vertex’s image size control isn’t honored today — every call returns ~1K output regardless. Will switch to per-quality tiering when Vertex ships size control.

Compared to nano-banana stable

Strengthnano-banana-3-flashnano-banana
Edit-mode quality★★★★★ (sharper)★★★★
Stabilitypreviewstable
Costidenticalidentical
Latencyidenticalidentical

Use this when

  • You want the freshest Google image model and can absorb preview-tier risk (model id may change at GA).
  • Edit-mode output quality matters more than stability.

Pick something else when

  • You need a production SLA → use nano-banana until 3-flash promotes to stable.
  • See nano-banana for the rest of the decision tree.

Example

curl -X POST https://kymaapi.com/v1/images/generations \
  -H "Authorization: Bearer $KYMA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-3-flash",
    "prompt": "Change the season in this photo from summer to winter",
    "image_url": "https://example.com/summer-photo.jpg",
    "n": 1
  }'
Async endpoint — poll GET /v1/jobs/{id} until succeeded.