google/nano-banana-2 📝❓🖼️✓ → 🖼️

⭐ Official ▶️ 14.8M runs 📅 Nov 2025 ⚙️ Cog 0.21.0 🔗 GitHub
image-editing image-to-image text-to-image

Performance

24.8sTypical run time
14.8MTotal runs

About

Google's fast image generation model with conversational editing, multi-image fusion, and character consistency

Example Output

Prompt:

"An isometric 3D miniature diorama of a cozy Japanese ramen shop at night. Warm light spills from the entrance. Tiny detailed figures sit at the counter. Steam rises from bowls of ramen. Rain puddles reflect neon signs on the street. Tilt-shift photography effect."

Output

Example output

Performance Metrics

24.81s Prediction Time
24.82s Total Time
All Input Parameters
{
  "prompt": "An isometric 3D miniature diorama of a cozy Japanese ramen shop at night. Warm light spills from the entrance. Tiny detailed figures sit at the counter. Steam rises from bowls of ramen. Rain puddles reflect neon signs on the street. Tilt-shift photography effect.",
  "aspect_ratio": "1:1"
}
Input Parameters
prompt (required) Type: string
A text description of the image you want to generate
resolution Default: 1K
Resolution of the generated image. Higher resolutions take longer to generate.
image_input Type: arrayDefault:
Input images to transform or use as reference (supports up to 14 images)
aspect_ratio Default: match_input_image
Aspect ratio of the generated image
image_search Type: booleanDefault: false
Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically.
google_search Type: booleanDefault: false
Use Google Web Search grounding to generate images based on real-time information (e.g. weather, sports scores, recent events).
output_format Default: jpg
Format of the output image
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Sid 61egkqv1v9rmt0cwkbxbzw766w
Generating image with Gemini Flash...
Tokens: 2130
Generated image in 24.77 seconds
Version Details
Version ID
402c3da8f79427a67715983c7e97ba0a1f909fd0ae445b1041357c7718016946
Version Created
June 19, 2026
Run on Replicate →