Skip to main content
Nano Banana 2.1 supports text-to-image generation and reference-image editing with 1K, 2K, and 4K output. Use up to 14 reference images. Thinking supports MINIMAL, MEDIUM (default), and HIGH through providerOptions.google.generationConfig.thinkingConfig.thinkingLevel. The image endpoint accepts text and reference images. Video input, search grounding, and multi-turn editing are not exposed by this endpoint. Seed, temperature, topP, topK, and logprobs are not supported. Output images use the standard 24-hour URL retention.

Model ID

Pass this exact public ID in the top-level model field.

Supported modes

  • image_generation
  • image_edit

Inputs

  • Text
  • Image

Outputs

  • Image
  • Text

Capabilities

  • Not specified

Additional capabilities

  • Text-to-image
  • Image editing
  • Reference images
  • Up to 4K output

Technical details

Generated images are returned as public HTTPS URLs only. Each URL is retained for 24 hours; copy the image to storage you control before it expires.
Availability and final customer prices can change. Check the Dashboard model catalog before production use.
See the API reference overview for authentication, request conventions, and response schemas.