# Nano Banana 2 > Gemini 3.1 Flash with image generation capabilities. High-efficiency image generation model with support for text rendering, reference images, search grounding, and thinking mode. The efficient counterpart to Gemini 3 Pro Image. ## Quick Reference - Model ID: gemini-3.1-flash-image-preview - Creator: Google - Status: active - Family: gemini-3.1-flash - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Context Window: 1048576 tokens - Max Input Images: 14 - Max Output Tokens: 65536 - Input Modalities: text, image, audio, video, file - Output Modalities: text, image - Capabilities: function_calling, structured_output, batch, streaming, system_prompt, tool_use, grounding, thinking, code_execution, json_mode - 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-3.1-flash-image-preview?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"). Modes: Text to Image, Image Edit - `aspect_ratio` (string): Aspect ratio of the output image (e.g. "16:9", "1:1"). Modes: Text to Image, Image Edit - `resolution` (string): Output resolution tier (e.g. "1K", "4K"). Values: auto, 0.5K, 1K, 2K, 4K. 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 - `enable_web_search` (boolean): Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.. Modes: Image Edit, Text to Image. Only available via fal - `google_search` (boolean): Use Google Web Search grounding to generate images based on real-time information (e.g. weather, sports scores, recent events).. Modes: Text to Image, Image Edit. Only available via replicate - `image_search` (boolean): Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically.. Modes: Text to Image, Image Edit. Only available via replicate - `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 and ignore any intermediate images generated by the model. This may affect generation quality.. Modes: Image Edit, Text to Image. 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: Image Edit, Text to Image. 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: Image Edit, Text to Image. Only available via fal - `thinking_level` (string): When set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable.. Values: high, minimal. Modes: Image Edit, Text to Image. Only available via fal ## Model Identifiers - Primary Slug: gemini-3.1-flash-image-preview - Aliases: gemini-3.1-flash-image - Alternative Names: Nano Banana 2 ## Dates - Released: February 2026 ## Tags multimodal, image-generation, fast ## Available Providers ### Vertex AI - Config Key: vertex/gemini-3.1-flash-image-preview - Provider Model ID: gemini-3.1-flash-image-preview - Regions: global - Pricing: $0.250/M input tokens, $1.50/M output tokens, $0.045/image, $0.067/image, $0.101/image, $0.151/image, $0.125/M input tokens, $0.750/M output tokens, $0.022/image, $0.034/image, $0.050/image, $0.076/image - Note: $0.045 per output image at 512px (0.5K) (747 tokens) - Note: $0.067 per output image at 1024x1024px (1K) (1120 tokens) - Note: $0.101 per output image at 2048x2048px (2K) (1680 tokens) - Note: $0.151 per output image at 4096x4096px (4K) (2520 tokens) - Source: https://cloud.google.com/vertex-ai/generative-ai/pricing ### fal.ai - Config Key: fal/gemini-3.1-flash-image-preview-edit - Provider Model ID: fal-ai/nano-banana-2/edit - Pricing: $0.060/image, $0.080/image, $0.120/image, $0.160/image - Note: $0.08 per image at 1K (standard rate) - Note: 0.5K outputs charged at 0.75x ($0.06) - Note: 2K outputs charged at 1.5x ($0.12) - Note: 4K outputs charged at 2x ($0.16) - Note: Web search adds $0.015 per request - Source: https://fal.ai/models/fal-ai/nano-banana-2 ### fal.ai - Config Key: fal/gemini-3.1-flash-image-preview - Provider Model ID: fal-ai/nano-banana-2 - Pricing: $0.060/image, $0.080/image, $0.120/image, $0.160/image - Note: $0.08 per image at 1K (standard rate) - Note: 0.5K outputs charged at 0.75x ($0.06) - Note: 2K outputs charged at 1.5x ($0.12) - Note: 4K outputs charged at 2x ($0.16) - Note: Web search adds $0.015 per request - Source: https://fal.ai/models/fal-ai/nano-banana-2 ### Replicate - Config Key: replicate/gemini-3.1-flash-image-preview - Provider Model ID: google/nano-banana-2 - Pricing: $0.067/image, $0.101/image, $0.151/image - Note: $0.067 per output image at 1K - Note: $0.101 per output image at 2K - Note: $0.151 per output image at 4K - Source: https://replicate.com/google/nano-banana-2 ### Gemini API - Config Key: gemini/gemini-3.1-flash-image-preview - Provider Model ID: gemini-3.1-flash-image-preview - Regions: global - Pricing: $0.250/M input tokens, $1.50/M output tokens, $0.045/image, $0.067/image, $0.101/image, $0.151/image, $0.125/M input tokens, $0.750/M output tokens, $0.022/image, $0.034/image, $0.050/image, $0.076/image - Note: $0.045 per output image at 512px (0.5K) (747 tokens) - Note: $0.067 per output image at 1024x1024px (1K) (1120 tokens) - Note: $0.101 per output image at 2048x2048px (2K) (1680 tokens) - Note: $0.151 per output image at 4096x4096px (4K) (2520 tokens) - Source: https://ai.google.dev/gemini-api/docs/pricing#gemini-3.1-flash-image-preview ## Performance Metrics Provider performance over the last 30 days. ### gemini - Median Generation Time (p50): 26026ms - 95th Percentile Generation Time (p95): 45077ms - Average Generation Time: 28125ms - Success Rate: 83.5% - Total Requests: 1413 - Time to First Byte (p50): 24380ms - Time to First Byte (p95): 40012ms ### replicate - Median Generation Time (p50): 31830ms - 95th Percentile Generation Time (p95): 55872ms - Average Generation Time: 33715ms - Success Rate: 36.0% - Total Requests: 236 - Time to First Byte (p50): 31830ms - Time to First Byte (p95): 56323ms ### vertex - Median Generation Time (p50): 43888ms - 95th Percentile Generation Time (p95): 101504ms - Average Generation Time: 48443ms - Success Rate: 56.5% - Total Requests: 559 - Time to First Byte (p50): 42858ms - Time to First Byte (p95): 100665ms ### fal - Median Generation Time (p50): 45725ms - 95th Percentile Generation Time (p95): 92378ms - Average Generation Time: 47416ms - Success Rate: 92.3% - Total Requests: 285 - Time to First Byte (p50): 45725ms - Time to First Byte (p95): 92439ms ## Arena Benchmarks ### Studio Ghibli Anime Style - Elo: 1306 - Record: 12W / 3L / 1T (16 battles) - Rank: #1 of 14 ### Over-the-top cartoon caricature - Elo: 1297 - Record: 11W / 4L / 1T (16 battles) - Rank: #1 of 13 ### Fantasy Warrior - Elo: 1281 - Record: 9W / 2L / 2T (13 battles) - Rank: #1 of 21 ### Man and Car in California - Elo: 1261 - Record: 28W / 27L / 4T (59 battles) - Rank: #6 of 13 ### Modern Clean Menu - Elo: 1258 - Record: 16W / 2L / 0T (18 battles) - Rank: #3 of 19 ### Bald man challenge - Elo: 1255 - Record: 17W / 2L / 0T (19 battles) - Rank: #2 of 15 ### Vintage Cafe Logo - Elo: 1236 - Record: 15W / 1L / 0T (16 battles) - Rank: #2 of 21 ### Neutral Expression to Genuine Smile - Elo: 1221 - Record: 10W / 0L / 1T (11 battles) - Rank: #7 of 14 ### Adorable Baby Animals in Sunny Meadow - Elo: 1220 - Record: 10W / 1L / 1T (12 battles) - Rank: #4 of 25 ### Isometric Miniature Diorama Scenes - Elo: 1218 - Record: 5W / 4L / 1T (10 battles) - Rank: #8 of 21 ### Geometric Composition - Elo: 1209 - Record: 10W / 1L / 0T (11 battles) - Rank: #5 of 22 ### Night Sky Transformation - Elo: 1204 - Record: 5W / 3L / 2T (10 battles) - Rank: #6 of 16 ### Apollo 11: Journey to Tranquility - Elo: 1176 - Record: 10W / 5L / 0T (15 battles) - Rank: #8 of 19 ### Candid Street Photography - Elo: 1147 - Record: 5W / 3L / 0T (8 battles) - Rank: #17 of 24 ## Use Cases & Category Performance ### Anime (Image Editing) - Rank: #1 of 14 - Elo: 1247 - Record: 12W / 3L / 1T (16 battles) - Win Rate: 75.0% ### Portrait (Text-to-Image) - Rank: #1 of 21 - Elo: 1256 - Record: 9W / 2L / 2T (13 battles) - Win Rate: 69.2% ### Portrait (Image Editing) - Rank: #1 of 15 - Elo: 1281 - Record: 27W / 2L / 1T (30 battles) - Win Rate: 90.0% ### Product, Branding & Commercial (Text-to-Image) - Rank: #1 of 21 - Elo: 1256 - Record: 15W / 1L / 0T (16 battles) - Win Rate: 93.8% ### Text Rendering (Text-to-Image) - Rank: #3 of 23 - Elo: 1278 - Record: 41W / 8L / 0T (49 battles) - Win Rate: 83.7% ### Photorealism (Image Editing) - Rank: #4 of 16 - Elo: 1249 - Record: 60W / 32L / 7T (99 battles) - Win Rate: 60.6% ### Photorealism (Text-to-Image) - Rank: #12 of 23 - Elo: 1192 - Record: 5W / 3L / 0T (8 battles) - Win Rate: 62.5% ## Image Gallery 19 images available for this model. Browse all at https://lumenfall.ai/models/google/gemini-3.1-flash-image-preview/gallery ### Curated Examples - [A breathtaking, hyper-realistic wide shot of a celestial forge floating amidst a swirling nebula ...](https://assets.lumenfall.ai/y7xTUwD5isEguYMMtxIejoYckVALLUdR0ciMsSSFFbw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/aesfbvss1je5plemji1ep8iksfzl@jpeg) - [A wide-angle cinematic shot of a high-end, minimalist photography studio where a sleek, professio...](https://assets.lumenfall.ai/AADD8Jii17ukYT97xP9nKmBC_tJ9o61Jo0bipYxXKhg/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/kt1dnsnka88hh6ho1pesyj4y08yl@jpeg) - [A cinematic wide shot of an ornate, sun-drenched European conservatory library, where lush tropic...](https://assets.lumenfall.ai/50Jh7wZ1pzqbn7h1JX1ukUP9FtTykFYGl6JaEBQy14Q/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/nipcwtprmdiphuchvflssg1sc1f4@jpeg) - [Cinematic wide shot of a master carpenter's sun-drenched workshop, dust motes dancing in shafts o...](https://assets.lumenfall.ai/mPcayxpxay_Y0_2Pm5wbAKnHvJPNdrCN0JiOT_6SYuM/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/uwotpkvgztwiaqv11lf4zzmh403t@jpeg) - [A sun-drenched, cozy ceramic studio with hand-painted pottery on wooden shelves. In the center, a...](https://assets.lumenfall.ai/Pc_lH4PepAreX3bml4H9Mozf4dcjCH-nhPN9dhsNeUs/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/u9u47q9rbai96qppkhq4ewe3vl9r@jpeg) ### Arena Competition Results - [Studio Ghibli Anime Style](https://assets.lumenfall.ai/1X8SovUopNZQIf69a-85sqzmVR1qjIpTZmAduaTmBpA/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/n4cks4y7na8ttmzd8xop5abmq0xa@jpeg): #1 of 14 (Elo 1306) - [Over-the-top cartoon caricature](https://assets.lumenfall.ai/pJ_RuycwwZPfyanDGo01NCpNV-kILjQBiXr3gqsAErg/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/e0y052faox8xjjcn5abu5iw82ate@jpeg): #1 of 13 (Elo 1297) - [Fantasy Warrior](https://assets.lumenfall.ai/JXjy-x9Ofx2onmvfzWH1id4k-NkwzvHt2-35KCE8cws/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/z3lwpgf9dsghj2oy3syw7qgan5d8@jpeg): #1 of 21 (Elo 1281) - [Man and Car in California](https://assets.lumenfall.ai/DZRVv8kAxdcLf3OjPxRcq_q1GWBQOhy8sAzpmd2C5xc/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/zud95yc2s2cmg4b9xfhl8ijpbm9w@jpeg): #6 of 13 (Elo 1261) - [Modern Clean Menu](https://assets.lumenfall.ai/mYivEGWDZxPPfJmhW_czjCTzbijqBzcWq3QTIJOHcZI/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/m73tzvkspmqkk405sw9dqw48kw0h@jpeg): #3 of 19 (Elo 1258) - [Bald man challenge](https://assets.lumenfall.ai/1oF-9CNh8xa5eN_UVxlbbe5vAew2mL7_OIpPds2HR3o/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/hndablr1q6okdxytrt325velmsen@jpeg): #2 of 15 (Elo 1255) - [Vintage Cafe Logo](https://assets.lumenfall.ai/PRP5ADO4YIYIc75HbFHK3sQAHkyIBkdyxfG6b043Ri0/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/sctaw6d1ybn8jlzjfonas7yinsqc@jpeg): #2 of 21 (Elo 1236) - [Neutral Expression to Genuine Smile](https://assets.lumenfall.ai/XsFUVAx7CvUHxCwF-Mlcpbd3bI2ytB6Ru8qXVo0yk2Y/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/qeewq4ptimgsd0hlcnn3sjn70t81@jpeg): #7 of 14 (Elo 1221) - [Adorable Baby Animals in Sunny Meadow](https://assets.lumenfall.ai/YsrWSXeyZWwSELIVgZxvEMx4jCV26otdhQ6t-1qj5gM/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/x0k4959utyrftxnfnf8hpbxqy8ha@jpeg): #4 of 25 (Elo 1220) - [Isometric Miniature Diorama Scenes](https://assets.lumenfall.ai/BePnwPvMI2ApIXMaIz23XON8JFng_4OCJcN_rvRlwqk/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/gpnx87amtgwsjfiw7tmcu80jxknp@jpeg): #8 of 21 (Elo 1218) - [Geometric Composition](https://assets.lumenfall.ai/UqlZgeBBwKuWU2Y5qjeHXqbyaxXHBgl5Z6qZQVtSyLw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/apuln6zfttwroie5ysrv1zxejx7s@jpeg): #5 of 22 (Elo 1209) - [Night Sky Transformation](https://assets.lumenfall.ai/WXVKMg1yTZO9mQjotgCQto4AsQ47faSkMAyadbm21Ys/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/nthbeccewso7sb5swbcjm3r3ra8k@jpeg): #6 of 16 (Elo 1204) - [Apollo 11: Journey to Tranquility](https://assets.lumenfall.ai/MfWSp2ARm9p0UiIpYceKTuWLHyc6SK9YacZeC2zbYhM/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/dn6efn498rzjd0uv7yk5ed2wxv3t@jpeg): #8 of 19 (Elo 1176) - [Candid Street Photography](https://assets.lumenfall.ai/DYZGJG_PSUjxAs_2TSbbZ0Q4O2MWucwiZoNEOa7Me0I/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/2si77q4e3lg0sfery5gh2p21gapp@jpeg): #17 of 24 (Elo 1147) ## Example Prompt The following prompt was used to generate an example image in our playground: A sun-drenched, cozy ceramic studio with hand-painted pottery on wooden shelves. In the center, a focused artisan shapes a clay vase on a spinning wheel. Outside the large window, a capybara rests peacefully in the tall garden grass. ## 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-3.1-flash-image-preview", "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-3.1-flash-image-preview', 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-3.1-flash-image-preview", 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-3.1-flash-image-preview" \ -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-3.1-flash-image-preview', 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-3.1-flash-image-preview", 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 Nano Banana 2 (slug: `gemini-3.1-flash-image-preview`) is a high-efficiency multimodal model developed by Google that bridges the gap between reasoning and visual synthesis. As the streamlined counterpart to the Gemini 3 Pro Image, it provides a unified interface for complex text generation and fast image creation. It is distinctive for its "Thinking Mode," allowing the model to perform internal reasoning cycles before generating an image or structured text response. ## Strengths * **High-Efficiency Generation:** Optimized for speed and low latency, making it suitable for real-time applications where rapid image iteration is required. * **Complex Text Rendering:** Excels at incorporating legible, accurate typography within generated images, a common failure point for many diffusion-based models. * **Deep Reasoning Integration:** Features a native thinking mode that allows the model to process complex prompts, spatial relationships, and logical constraints before producing visual or textual output. * **Grounding and Tool Use:** Supports search grounding and code execution, enabling the model to verify facts or perform calculations prior to generating content. * **Reference Image Support:** Capable of using existing images as structural or stylistic guides to maintain consistency across generated assets. ## Limitations * **Efficiency vs. Fidelity:** While fast, it may lack the extreme aesthetic refinement and intricate textural detail found in the larger Gemini 3 Pro Image model. * **Preview Status:** As a preview release, the model may exhibit occasional inconsistencies in following highly nuanced stylistic prompts compared to more mature, production-stable versions. * **Context Overhead:** The use of internal reasoning (Thinking Mode) can increase processing time for simple tasks where a direct generation would have sufficed. ## Technical Background Part of the Gemini 3.1 Flash family, this model utilizes a multimodal transformer architecture trained for both discriminative and generative tasks. It integrates a latent diffusion-based image generation head directly into the language model pipeline, allowing for seamless transitions between modalities. By employing a "distilled" training approach, Google has optimized the model for high throughput while retaining the core reasoning capabilities of the Gemini 3.1 architecture. ## Best For Nano Banana 2 is ideal for building interactive design tools, rapid prototyping of social media assets, and automated content pipelines where both text and imagery are required. Its support for structured output and JSON mode makes it an excellent choice for developers needing to programmatically control visual attributes. You can experiment with these multimodal features and integrate them into your workflow through Lumenfall’s unified API and playground. ## Frequently Asked Questions ### How much does Nano Banana 2 cost? Nano Banana 2 starts at $0.0225 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### What can Nano Banana 2 do? Nano Banana 2 supports Function calling, Structured output, Batch, Streaming, System prompt, Tool use, Grounding, Thinking, Code execution, and Json mode. It accepts text, image, audio, video, and file input and produces text and image output. ### How do I use Nano Banana 2 via API? You can use Nano Banana 2 through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "gemini-3.1-flash-image-preview". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Nano Banana 2? Nano Banana 2 is available through Vertex AI, fal.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-3.1-flash-image-preview - About: https://lumenfall.ai/models/google/gemini-3.1-flash-image-preview/about - Providers, Pricing & Performance: https://lumenfall.ai/models/google/gemini-3.1-flash-image-preview/providers - API Reference: https://lumenfall.ai/models/google/gemini-3.1-flash-image-preview/api - Benchmarks: https://lumenfall.ai/models/google/gemini-3.1-flash-image-preview/benchmarks - Use Cases: https://lumenfall.ai/models/google/gemini-3.1-flash-image-preview/use-cases - Gallery: https://lumenfall.ai/models/google/gemini-3.1-flash-image-preview/gallery - Playground: https://lumenfall.ai/playground?model=gemini-3.1-flash-image-preview - API Documentation: https://docs.lumenfall.ai