# Nano Banana > Gemini 2.5 Flash Image is optimized for image understanding and generation, offering a balance of price and performance with fast and efficient image generation and editing capabilities. ## Quick Reference - Model ID: gemini-2.5-flash-image - Creator: Google - Status: active - Family: gemini-2.5-flash-image - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Context Window: 32768 tokens - Max Output Images: 10 - Max Input Images: 3 - Max Output Tokens: 32768 - Input Modalities: text, image - Output Modalities: text, image - Capabilities: batch, system_prompt - Supported Modes: Text to Image, Image Edit ## API Parameters The compiled parameter schema for this model is available via the API: `GET /v1/models/gemini-2.5-flash-image?schema=true`. ### Core Parameters - `prompt` (string) — REQUIRED: Text prompt for image generation. Modes: Text to Image, Image Edit - `seed` (integer): Random seed for reproducibility. Modes: Text to Image, Image Edit ### Size & Layout - `size` (string): Image dimensions as WxH pixels (e.g. "1024x1024") or aspect ratio (e.g. "16:9"). Values: auto, 1563x670, 1365x768, 768x1365, 1254x836, 836x1254, 887x1182, 1024x1024, 1145x916, 916x1145, 1183x887. Modes: Text to Image, Image Edit - `aspect_ratio` (string): Aspect ratio of the output image (e.g. "16:9", "1:1"). Values: auto, 9:16, 2:3, 3:4, 4:5, 1:1, 5:4, 4:3, 3:2, 16:9, 21:9. Modes: Text to Image, Image Edit - `resolution` (string): Output resolution tier (e.g. "1K", "4K"). Values: auto, 1K. Modes: Text to Image, Image Edit ### Media Inputs - `image` (file) — REQUIRED: Input image(s) to edit. Modes: Image Edit ### Output & Format - `response_format` (string): How to return the image. Default: url. Values: url, b64_json. Modes: Text to Image, Image Edit - `output_format` (string): Output image format. Values: png, jpeg, gif, webp, avif. Modes: Text to Image, Image Edit - `output_compression` (integer): Compression level for lossy formats (JPEG, WebP, AVIF). Modes: Text to Image, Image Edit - `n` (integer): Number of images to generate. Default: 1. Modes: Text to Image, Image Edit ### Additional Parameters - `limit_generations` (boolean): Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.. Modes: Text to Image, Image Edit. Only available via fal - `safety_tolerance` (string): The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.. Values: 1, 2, 3, 4, 5, 6. Modes: Text to Image, Image Edit. Only available via fal - `sync_mode` (boolean): If `True`, the media will be returned as a data URI and the output data won't be available in the request history.. Modes: Text to Image, Image Edit. Only available via fal ## Model Identifiers - Primary Slug: gemini-2.5-flash-image - Aliases: gemini-2.5-flash-image-preview - Alternative Names: Nano Banana ## Dates - Released: October 2025 ## Tags image-generation, multimodal, fast ## Available Providers ### fal.ai - Config Key: fal/gemini-2.5-flash-image - Provider Model ID: fal-ai/gemini-25-flash-image - Pricing: $0.039/image - Source: https://fal.ai/models/fal-ai/gemini-25-flash-image/api ### Vertex AI - Config Key: vertex/gemini-2.5-flash-image - Provider Model ID: gemini-2.5-flash-image - Regions: global - Pricing: $0.300/M input tokens, $30.00/M output tokens (image), $0.150/M input tokens - Source: https://cloud.google.com/vertex-ai/generative-ai/pricing ### fal.ai - Config Key: fal/gemini-2.5-flash-image-edit - Provider Model ID: fal-ai/gemini-25-flash-image/edit - Pricing: $0.039/image - Source: https://fal.ai/models/fal-ai/gemini-25-flash-image/api ### Replicate - Config Key: replicate/gemini-2.5-flash-image - Provider Model ID: google/gemini-2.5-flash-image - Pricing: $0.039/image - Source: https://replicate.com/google/gemini-2.5-flash-image ### Gemini API - Config Key: gemini/gemini-2.5-flash-image - Provider Model ID: gemini-2.5-flash-image - Regions: global - Pricing: $0.300/M input tokens, $30.00/M output tokens (image), $0.150/M input tokens - Source: https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-flash-image ## Performance Metrics Provider performance over the last 30 days. ### gemini - Median Generation Time (p50): 6709ms - 95th Percentile Generation Time (p95): 8381ms - Average Generation Time: 6936ms - Success Rate: 100.0% - Total Requests: 17 - Time to First Byte (p50): 6136ms - Time to First Byte (p95): 7147ms ### fal - Median Generation Time (p50): 9209ms - 95th Percentile Generation Time (p95): 13597ms - Average Generation Time: 9899ms - Success Rate: 100.0% - Total Requests: 21 - Time to First Byte (p50): 8395ms - Time to First Byte (p95): 10335ms ## Arena Benchmarks ### Bald man challenge - Elo: 1301 - Record: 27W / 7L / 8T (42 battles) - Rank: #1 of 43 ### Neutral Expression to Genuine Smile - Elo: 1276 - Record: 36W / 11L / 6T (53 battles) - Rank: #2 of 14 ### Man and Car in California - Elo: 1264 - Record: 47W / 49L / 4T (100 battles) - Rank: #6 of 35 ### Heroic Super Hero Portrait - Elo: 1257 - Record: 16W / 14L / 5T (35 battles) - Rank: #2 of 21 ### Vintage Cafe Logo - Elo: 1248 - Record: 22W / 12L / 1T (35 battles) - Rank: #3 of 70 ### Apollo 11: Journey to Tranquility - Elo: 1209 - Record: 16W / 9L / 0T (25 battles) - Rank: #10 of 70 ### Golden Hour Stroll - Elo: 1209 - Record: 20W / 13L / 2T (35 battles) - Rank: #5 of 45 ### Geometric Composition - Elo: 1200 - Record: 11W / 16L / 11T (38 battles) - Rank: #18 of 70 ### Candid Street Photography - Elo: 1195 - Record: 13W / 9L / 0T (22 battles) - Rank: #15 of 68 ### Over-the-top cartoon caricature - Elo: 1193 - Record: 13W / 18L / 0T (31 battles) - Rank: #10 of 44 ### Victorian Greenhouse Oasis - Elo: 1181 - Record: 8W / 5L / 0T (13 battles) - Rank: #11 of 17 ### Chalkboard Menu - Elo: 1177 - Record: 4W / 3L / 0T (7 battles) - Rank: #6 of 69 ### Night Sky Transformation - Elo: 1174 - Record: 14W / 9L / 5T (28 battles) - Rank: #12 of 16 ### Isometric Miniature Diorama Scenes - Elo: 1169 - Record: 9W / 19L / 3T (31 battles) - Rank: #19 of 72 ### Modern Clean Menu - Elo: 1162 - Record: 17W / 18L / 2T (37 battles) - Rank: #18 of 69 ### Adorable Baby Animals in Sunny Meadow - Elo: 1154 - Record: 4W / 7L / 3T (14 battles) - Rank: #24 of 72 ### Intricate Floral Mandala - Elo: 1148 - Record: 6W / 8L / 3T (17 battles) - Rank: #11 of 15 ### The Capybara Taxi Driver - Elo: 1118 - Record: 2W / 3L / 2T (7 battles) - Rank: #22 of 69 ### Outfit Transfer Challenge - Elo: 1117 - Record: 3W / 2L / 0T (5 battles) - Rank: #7 of 33 ### The Halloween Invitation - Elo: 1113 - Record: 3W / 5L / 0T (8 battles) - Rank: #21 of 70 ### Magic Burger Explosion: Fiery Photorealism Challenge - Elo: 1110 - Record: 5W / 2L / 0T (7 battles) - Rank: #28 of 69 ### Studio Ghibli Anime Style - Elo: 1104 - Record: 3W / 30L / 1T (34 battles) - Rank: #14 of 46 ### Fantasy Warrior - Elo: 1077 - Record: 4W / 12L / 4T (20 battles) - Rank: #38 of 71 ### Fantasy Warrior - Elo: 1061 - Record: 1W / 2L / 1T (4 battles) - Rank: #11 of 14 ## Use Cases & Category Performance ### Lighting, Shadows & Materials (Image Editing) - Rank: #4 of 30 - Elo: 1250 - Record: 112W / 80L / 19T (211 battles) - Win Rate: 53.1% ### Photorealism (Image Editing) - Rank: #4 of 28 - Elo: 1247 - Record: 147W / 91L / 23T (261 battles) - Win Rate: 56.3% ### Portraits (Text-to-Image) - Rank: #4 of 29 - Elo: 1233 - Record: 5W / 14L / 5T (24 battles) - Win Rate: 20.8% ### Cartoon, Anime & Fantasy (Text-to-Image) - Rank: #4 of 29 - Elo: 1233 - Record: 5W / 14L / 5T (24 battles) - Win Rate: 20.8% ### Face & Identity (Image Editing) - Rank: #3 of 17 - Elo: 1241 - Record: 76W / 36L / 12T (124 battles) - Win Rate: 61.3% ### Preservation (Image Editing) - Rank: #6 of 33 - Elo: 1214 - Record: 150W / 130L / 20T (300 battles) - Win Rate: 50.0% ### Backgrounds & Scenes (Image Editing) - Rank: #4 of 16 - Elo: 1251 - Record: 61W / 58L / 9T (128 battles) - Win Rate: 47.7% ### Product, Branding & Commercial (Text-to-Image) - Rank: #13 of 61 - Elo: 1234 - Record: 67W / 49L / 3T (119 battles) - Win Rate: 56.3% ### Text Rendering (Text-to-Image) - Rank: #16 of 61 - Elo: 1229 - Record: 76W / 68L / 6T (150 battles) - Win Rate: 50.7% ### Adding & Editing Objects (Image Editing) - Rank: #6 of 19 - Elo: 1237 - Record: 50W / 51L / 5T (106 battles) - Win Rate: 47.2% ### Creativity (Text-to-Image) - Rank: #21 of 62 - Elo: 1219 - Record: 55W / 59L / 9T (123 battles) - Win Rate: 44.7% ### People & Poses (Image Editing) - Rank: #7 of 18 - Elo: 1210 - Record: 21W / 13L / 2T (36 battles) - Win Rate: 58.3% ### Prompt Adherence (Image Editing) - Rank: #9 of 24 - Elo: 1207 - Record: 17W / 20L / 1T (38 battles) - Win Rate: 44.7% ### 3D Imaging & Modeling (Text-to-Image) - Rank: #18 of 45 - Elo: 1203 - Record: 20W / 35L / 14T (69 battles) - Win Rate: 29.0% ### Prompt Adherence (Text-to-Image) - Rank: #26 of 61 - Elo: 1224 - Record: 68W / 77L / 21T (166 battles) - Win Rate: 41.0% ### Aesthetics (Text-to-Image) - Rank: #27 of 62 - Elo: 1224 - Record: 91W / 105L / 27T (223 battles) - Win Rate: 40.8% ### Photorealism (Text-to-Image) - Rank: #29 of 62 - Elo: 1184 - Record: 44W / 54L / 21T (119 battles) - Win Rate: 37.0% ### Aesthetics (Image Editing) - Rank: #10 of 17 - Elo: 1215 - Record: 70W / 92L / 7T (169 battles) - Win Rate: 41.4% ### Art (Text-to-Image) - Rank: #21 of 31 - Elo: 1126 - Record: 3W / 5L / 0T (8 battles) - Win Rate: 37.5% ### Artistic Restyling (Image Editing) - Rank: #14 of 15 - Elo: 1159 - Record: 16W / 48L / 1T (65 battles) - Win Rate: 24.6% ### Creativity (Image Editing) - Rank: #14 of 15 - Elo: 1159 - Record: 16W / 48L / 1T (65 battles) - Win Rate: 24.6% ## Image Gallery 28 images available for this model. Browse all at https://lumenfall.ai/models/google/gemini-2.5-flash-image/gallery ### Curated Examples - [Cinematic wide shot of a high-end, artisan glassblowing workshop. In the center, a master craftsm...](https://assets.lumenfall.ai/sRpvvrxTp_YnrYhs44KLnvFFvAhMT5TgCSDQmidJX3o/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/8bkbdt41on1tdtthmpgy55tq7u98@jpeg) - [Cinematic wide shot of an elderly artisan in a sun-drenched Mediterranean workshop, meticulously ...](https://assets.lumenfall.ai/aLuehZOOQO6vzDyiuaHrncJ5E-BK94t0qcO-ydFz9mc/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/3tmss3egvemh3k35pidljz6lth7o@jpeg) - [A macro photography shot of an antique mechanical watch movement, intricate brass gears and silve...](https://assets.lumenfall.ai/uJQbJDT6qmisY-2eY_uQgUvO-FtS9vKd3CDydNZ89jw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/127vm2yil9h8z4q3mlajucq9cjed@jpeg) - [A cozy ceramic studio bathed in morning sunlight, focusing on a half-finished clay vase on a pott...](https://assets.lumenfall.ai/U_t0dudarVINWyQd0xCvA84mCqA5dNSimWao6hd49Vg/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/txts9q23eley6phknjouva1eicls@jpeg) ### Arena Competition Results - [Bald man challenge](https://assets.lumenfall.ai/7do2ttexJtUWveEWaV0biQcwfY_Abs6yiUKaz2W_Kvs/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/b7zvgcy9nu9s583w86ukkafs013c@jpeg): #1 of 43 (Elo 1301) - [Neutral Expression to Genuine Smile](https://assets.lumenfall.ai/DJsnjwWduHaUhvjNB6iBcy9KZ6cNC-03L4DPyVAbTG4/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/2t0utaunpuvvb41bn2hkjjy896b4@jpeg): #2 of 14 (Elo 1276) - [Man and Car in California](https://assets.lumenfall.ai/cObqpoqEoZMXND0Ckt9ii75swpthnDOJ27ah1biNvMc/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/aay1x07aq04i9735q6a1l01hnai6@jpeg): #6 of 35 (Elo 1264) - [Heroic Super Hero Portrait](https://assets.lumenfall.ai/rAFOC2EHMJlkau0eJWpLuCTfHVJv3SbBjmJGYRDuRBk/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/frazri5jnxs8buis2959cady925l@jpeg): #2 of 21 (Elo 1257) - [Vintage Cafe Logo](https://assets.lumenfall.ai/pVX1XpOYCqy3N0NuGtHPm6WZLAXRKeaUNU3st5r7tu4/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/6qlyb9u99um3gwbailpckrwhrqgk@jpeg): #3 of 70 (Elo 1248) - [Apollo 11: Journey to Tranquility](https://assets.lumenfall.ai/lEoAepAhnzBwtxUUFOXqBbxrLoV5ggaByZqwRyF1WjU/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/rpz2t1x0zftifnm8j7jyw8mjx7jf@jpeg): #10 of 70 (Elo 1209) - [Golden Hour Stroll](https://assets.lumenfall.ai/vwNO-b9YrJ2Y8Hu6um8O832MkJO0DFTUfX2wuprE44M/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/ig0wcchm3tyx8kcklvfklbvmdtak@jpeg): #5 of 45 (Elo 1209) - [Geometric Composition](https://assets.lumenfall.ai/0HPBRl8BD4EMVkSbC2m70ViHosdkdxxLENL7gTTyUKM/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/q0lka95yl044a0lctddhdhheq2hi@jpeg): #18 of 70 (Elo 1200) - [Candid Street Photography](https://assets.lumenfall.ai/3kvUtmJturRhjVXhjQFyOap8strwNsyi6ho54KcYE4I/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/zw173pmkyvxr68cyat19sa8iursy@jpeg): #15 of 68 (Elo 1195) - [Over-the-top cartoon caricature](https://assets.lumenfall.ai/Z2yJAhLp7RMCpUZUq_29nbKMmNzbh4rhGl8Urv8k7G8/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/w4z1nujddleemeewm0azl4xa6yk3@jpeg): #10 of 44 (Elo 1193) - [Victorian Greenhouse Oasis](https://assets.lumenfall.ai/Wfaad_wChNlO0WQ7MCa-wqdeZTiQHCD5I1tevcQuNZM/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/b98e5iwdtkotooipusz2uts5ffi3@jpeg): #11 of 17 (Elo 1181) - [Chalkboard Menu](https://assets.lumenfall.ai/DLTrPheC4yEwHabg-_uCQdT6H73H8JxilZWB2VIzpuA/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/ilp8stx6p6zo7t29dh9via2knd9k@jpeg): #6 of 69 (Elo 1177) - [Night Sky Transformation](https://assets.lumenfall.ai/M4t2PCRfijtw96q-wnJQ-db4lnfVF7u2oah-5fRkCH0/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/hjucu50ezrhuqcix06zwslhb5gyw@jpeg): #12 of 16 (Elo 1174) - [Isometric Miniature Diorama Scenes](https://assets.lumenfall.ai/XbzdAHy6uWEiNJkg6dlIkwfGBVfhxhmpogOT4P4CNU0/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/avoixcxskb99e0e3x7pvkw57xdse@jpeg): #19 of 72 (Elo 1169) - [Modern Clean Menu](https://assets.lumenfall.ai/EQSDCTmzPo0H49hNk8FAjrrVJwwrIp2mQhk7gZ3MNnc/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/r8qm1oqnwtn0ms843k4kx4fpi5md@jpeg): #18 of 69 (Elo 1162) - [Adorable Baby Animals in Sunny Meadow](https://assets.lumenfall.ai/psflinNC8DFKmpksN6pDP7hDhBhBKErJHmmzDDLq-Nk/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/u99oqz2cfa1p9fksltqntb74k0l6@jpeg): #24 of 72 (Elo 1154) - [Intricate Floral Mandala](https://assets.lumenfall.ai/msURAm5YrZCQa8SWrz2II0ukUPxRkg43xFsbGz9bc9I/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/kosbf63lg9hnr6q14h060wied5kv@jpeg): #11 of 15 (Elo 1148) - [The Capybara Taxi Driver](https://assets.lumenfall.ai/AbMstzBIAV6h5VtdBSK45sTRH3ecQtsr27JwgWtv2Mg/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/roqe9ux9s0e5ro65bnv2xgcvshsb@jpeg): #22 of 69 (Elo 1118) - [Outfit Transfer Challenge](https://assets.lumenfall.ai/mSiLX8tUhct-2FZvpgccjPX92l32_TfDZKkB9ss0yEY/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/qv269udi0e7v22ezq6bw4zygjo7e@jpeg): #7 of 33 (Elo 1117) - [The Halloween Invitation](https://assets.lumenfall.ai/qKc0A11K874Y2sVroZjiANTat7lKsJ_T9fzbjvwgdiU/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/ihqtwri0whmo5ew70o37y8pwlgar@jpeg): #21 of 70 (Elo 1113) - [Magic Burger Explosion: Fiery Photorealism Challenge](https://assets.lumenfall.ai/GHuJMzHlJuOG_tKMLZ4hgj6B9bwQMDHAhTWCWb0I7TY/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/7x34j9abi49392zzibu50bvzu71q@jpeg): #28 of 69 (Elo 1110) - [Studio Ghibli Anime Style](https://assets.lumenfall.ai/182973STdESXvoH0a9Fl1alMRMzfHMeZuTTpO0lczqU/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/pfkl8hgc8uuurmaffwfodejynowh@jpeg): #14 of 46 (Elo 1104) - [Fantasy Warrior](https://assets.lumenfall.ai/aU1clCm9oT4jYhTVyhgDm2-cu8ZUa0XmQcSssIhgYs0/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/ub0ehl33ecj7kiznm2axphux1s19@jpeg): #38 of 71 (Elo 1077) - [Fantasy Warrior](https://assets.lumenfall.ai/Z1b0np7I5bnG9m6dxy3lxEGrg8V0eOUlYoiX21Cq2Pw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/l29ori6wmjlammls9epa7wvfylao@jpeg): #11 of 14 (Elo 1061) ## Example Prompt The following prompt was used to generate an example image in our playground: A cozy ceramic studio bathed in morning sunlight, focusing on a half-finished clay vase on a pottery wheel. In the soft-focus background, a small capybara sits patiently on a wooden stool, wearing a tiny blue bandana. Cinematic soft lighting. ## Code Examples ### Text to Image (/v1/images/generations) #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/generations \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gemini-2.5-flash-image", "prompt": "", "size": "1024x1024" }' # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.generate({ model: 'gemini-2.5-flash-image', prompt: '', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.generate( model="gemini-2.5-flash-image", prompt="", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ### Image Edit (/v1/images/edits) #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/edits \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -F "model=gemini-2.5-flash-image" \ -F "image=@source.png" \ -F "prompt=Add a starry night sky to this image" \ -F "size=1024x1024" # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; import fs from 'fs'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.edit({ model: 'gemini-2.5-flash-image', image: fs.createReadStream('source.png'), prompt: 'Add a starry night sky to this image', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.edit( model="gemini-2.5-flash-image", image=open("source.png", "rb"), prompt="Add a starry night sky to this image", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## About ## Overview Gemini 2.5 Flash Image is a multimodal model developed by Google designed for high-velocity image generation and visual reasoning. It functions as an efficient mid-tier option in the Gemini lineup, prioritizing low latency and cost-effectiveness while maintaining the ability to process both text and image inputs. This model is distinctive for its dual-purpose nature, acting as both an image generator and a visual analysis tool within a single architecture. ## Strengths * **Rapid Iterative Generation:** Optimized for speed, the model excels at "flash" generation cycles where low latency is required for real-time applications or high-volume batch processing. * **Instruction Following:** Strong adherence to system prompts allows for precise control over stylistic constraints and compositional requirements during the image creation process. * **Multimodal Reasoning:** Unlike pure-play diffusion models, it can ingest existing images as context to perform editing, variations, or descriptive analysis. * **Resource Efficiency:** Offers a significantly lower price point ($0.039 starting price) compared to larger-parameter models, making it viable for large-scale production deployments. ## Limitations * **Visual Complexity:** While fast, it may lack the intricate fine-detail rendering (such as complex micro-textures or hyper-realistic human anatomy) found in larger, "Pro" tier models. * **Compositional Nuance:** In very dense scenes with numerous specific spatial requirements, the model may occasionally prioritize speed over exact adherence to complex spatial arrangements. * **Niche Stylization:** Without specialized LoRA support or fine-tuning, it may struggle with highly specific or avant-garde artistic styles compared to dedicated community-driven generation models. ## Technical Background Released in October 2025, Gemini 2.5 Flash Image is built on the Gemini 2.x transformer-based architecture family. It utilizes a unified multimodal training approach that treats visual tokens and text tokens within the same latent space, enabling seamless transitions between understanding an input image and generating a visual response. The model is specifically tuned for distilled inference, reducing the computational overhead typically associated with large-scale vision-language models. ## Best For This model shines in scenarios requiring high-throughput asset generation, such as e-commerce product background variations, social media content scaling, and rapid prototyping for UI/UX concepts. It is also well-suited for applications that combine image analysis with immediate visual feedback, such as describing a scene and then modifying it based on user feedback. Nano Banana (Gemini 2.5 Flash Image) is available for testing and deployment through Lumenfall's unified API and interactive playground, allowing you to integrate its fast generational capabilities into your existing workflows alongside other models in the Gemini family. ## Frequently Asked Questions ### How much does Nano Banana cost? Nano Banana starts at $0.0387 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### What can Nano Banana do? Nano Banana supports Batch and System prompt. It accepts text and image input and produces text and image output. ### How do I use Nano Banana via API? You can use Nano Banana through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "gemini-2.5-flash-image". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Nano Banana? Nano Banana is available through fal.ai, Vertex AI, Replicate, and Gemini API on Lumenfall. Lumenfall automatically routes requests to the best available provider. ## Links - Model Page: https://lumenfall.ai/models/google/gemini-2.5-flash-image - About: https://lumenfall.ai/models/google/gemini-2.5-flash-image/about - Providers, Pricing & Performance: https://lumenfall.ai/models/google/gemini-2.5-flash-image/providers - API Reference: https://lumenfall.ai/models/google/gemini-2.5-flash-image/api - Benchmarks: https://lumenfall.ai/models/google/gemini-2.5-flash-image/benchmarks - Use Cases: https://lumenfall.ai/models/google/gemini-2.5-flash-image/use-cases - Gallery: https://lumenfall.ai/models/google/gemini-2.5-flash-image/gallery - Playground: https://lumenfall.ai/models/google/gemini-2.5-flash-image/playground - API Documentation: https://docs.lumenfall.ai