Skip to main content

Try nano-banana in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: nano-banana nano-banana is an image generation model (sometimes referred to as Gemini 2.5 Flash Image) that excels in efficient on-device image synthesis, high prompt adherence, and advanced text rendering within images. It is designed for both speed and quality, enabling image generation at native 1024x1024 resolution while maintaining consistent quality across various aspect ratios and device types. The model’s main strengths are its ability to process and generate photorealistic images with accurate text integration, its efficiency on mobile and cloud hardware, and its strong semantic understanding of prompts. It reliably interprets and renders complex scenes, textual elements, and styles, outperforming previous diffusion models in prompt adherence and visual coherence, especially for applications requiring accurate text in images and mobile deployment. Some other noteworthy features of nano-banana include mask-free inpainting (editing image regions with natural language rather than pixel masks), layout-aware outpainting (extending images while preserving perspective and lighting), and high style transfer consistency, making it suitable for professional branding, creative workflows, and mobile-first applications.
MetricValue
Parameter Count450 million (base); up to 8 billion (enterprise scaling)
Mixture of ExpertsNo
Context LengthUnknown
MultilingualYes (supports text rendering in multiple languages)
Quantized*Yes
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
See the image editing reference for more details.
curl -X POST https://hub.oxen.ai/api/ai/images/edit \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "nano-banana",
  "prompt": "Generate an ox standing in the middle of a snow storm, standing on a long windy road. Zoomed out. Cinematic."
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/nano-banana

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"Generate an ox standing in the middle of a snow storm, standing on a long windy road. Zoomed out. Cinematic."Text description of what you want to generate, or the instruction on how to edit the given image.

Optional parameters

FieldTypeDefaultDescription
input_imagearray<string>Input images to transform or use as reference (supports multiple image urls)
aspect_ratiostring"1:1"Aspect ratio for the generated image One of: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3.