# Nano Banana 2 > Google's fast image generation model built on Gemini 3.1 Flash Image. High-efficiency counterpart to Nano Banana Pro with conversational editing, multi-image fusion, character consistency, and Google Search grounding. - **Provider**: replicate - **Model ID**: google/nano-banana-2 - **Category**: image_generation - **Credits**: 290 per request - **Pricing Type**: input_based ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `image_input` (array, optional): Input images to transform or use as reference (supports up to 14 images) (Default: `[]`) - `aspect_ratio` (string, optional): Aspect ratio of the generated image (Default: `1:1`; Options: `match_input_image`, `1:1`, `1:4`, `1:8`, `2:3`, `3:2`, `3:4`, `4:1`, `4:3`, `4:5`, `5:4`, `8:1`, `9:16`, `16:9`, `21:9`) - `output_format` (string, optional): Format of the output image (Default: `jpg`; Options: `png`, `jpg`) - `image_search` (boolean, optional): Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically. (Default: `False`) - `google_search` (boolean, optional): Use Google Web Search grounding to generate images based on real-time information (Default: `False`) - `prompt` (string, **required**): A text description of the image you want to generate - `resolution` (string, optional): Resolution of the generated image. Higher resolutions take longer to generate. (Default: `1K`; Options: `1K`, `2K`, `4K`) ## Example Request ```json { "model": "google/nano-banana-2", "input": { "image_input": [], "aspect_ratio": "1:1", "output_format": "jpg", "prompt": "a golden retriever puppy playing in autumn leaves, warm sunlight", "resolution": "1K" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags image-generation, text-to-image, image-editing, typography, multilingual, gemini, google, character-consistency, multi-image-fusion, conversational-editing, google-search, synthid ## Documentation https://replicate.com/google/nano-banana-2