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

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

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
71516450bdbeafc41df33ad538bc8cc6a90f80038a563b1260531c02d694f4fd
Version Created
February 27, 2026
Run on Replicate →