Nano Banana 2
Nano Banana 2 (officially known as Gemini 3.1 Flash Image) is Google’s upgraded AI image generation and editing model that brings advanced visual creation capabilities to a broad audience. It generates detailed, expressive images from text and image prompts with sharp details, richer lighting, and improved adherence to complex instructions. Nano Banana 2 also supports multi-object and multi-character consistency, accurate text rendering within images, and flexible resolution control up to 4K. It is now integrated across Google’s AI platforms including the Gemini app, Search AI Mode, and other Gemini-powered services.
Complete technical specification for integration
Ready-to-use code snippets for common workflows
Neon Food-Truck Poster
A premium commercial poster for a futuristic night market food truck parked under glowing neon signs in a rainy street, cinematic composition, ultra-detailed stainless steel truck, colorful steam rising from gourmet ramen bowls, diverse crowd in stylish streetwear, reflections on wet pavement, vibrant magenta and cyan lighting, crisp depth, dramatic perspective. Include a large illuminated menu board on the truck with clearly readable text: 'MIDNIGHT RAMEN', 'OPEN LATE', 'TONKOTSU', 'SPICY MISO', 'VEGAN SHOYU'. Add a small hanging sign that reads 'TOKYO LANE'. High-end food photography styling mixed with cyberpunk atmosphere, sharp details, expressive lighting, clean typography, no gibberish text.
{
"taskType": "imageInference",
"taskUUID": "16830039-18a1-48fc-b10a-3f40efdf519a",
"model": "google:4@3",
"positivePrompt": "A premium commercial poster for a futuristic night market food truck parked under glowing neon signs in a rainy street, cinematic composition, ultra-detailed stainless steel truck, colorful steam rising from gourmet ramen bowls, diverse crowd in stylish streetwear, reflections on wet pavement, vibrant magenta and cyan lighting, crisp depth, dramatic perspective. Include a large illuminated menu board on the truck with clearly readable text: 'MIDNIGHT RAMEN', 'OPEN LATE', 'TONKOTSU', 'SPICY MISO', 'VEGAN SHOYU'. Add a small hanging sign that reads 'TOKYO LANE'. High-end food photography styling mixed with cyberpunk atmosphere, sharp details, expressive lighting, clean typography, no gibberish text.",
"width": 1264,
"height": 848,
"settings": {
"temperature": 0.72,
"topP": 0.9,
"thinking": "HIGH"
},
"providerSettings": {
"google": {
"safetyTolerance": "off"
}
}
}{
"taskType": "imageInference",
"taskUUID": "16830039-18a1-48fc-b10a-3f40efdf519a",
"imageUUID": "a92e81cb-5e64-4bda-b378-0028ca847637",
"imageURL": "https://im.runware.ai/image/os/a13d12/ws/2/ii/a92e81cb-5e64-4bda-b378-0028ca847637.jpg",
"seed": 1465087545,
"cost": 0.06895
}Grounded Travel Poster
A premium editorial travel poster for Kyoto, Japan in peak spring season, featuring a serene canal lined with cherry blossoms, traditional wooden machiya houses, warm lantern light, distant temple rooftops, and stylish contemporary typography reading 'KYOTO' with smaller subtitle text 'Spring City Guide'. Elegant magazine-cover composition, ultra-detailed petals, cinematic golden-hour lighting, realistic water reflections, balanced negative space for layout, refined color grading, crisp legible text, sophisticated tourism campaign aesthetic.
{
"taskType": "imageInference",
"taskUUID": "9b064579-dc1a-4667-8c05-3da9bbf98d89",
"model": "google:4@3",
"positivePrompt": "A premium editorial travel poster for Kyoto, Japan in peak spring season, featuring a serene canal lined with cherry blossoms, traditional wooden machiya houses, warm lantern light, distant temple rooftops, and stylish contemporary typography reading 'KYOTO' with smaller subtitle text 'Spring City Guide'. Elegant magazine-cover composition, ultra-detailed petals, cinematic golden-hour lighting, realistic water reflections, balanced negative space for layout, refined color grading, crisp legible text, sophisticated tourism campaign aesthetic.",
"width": 1264,
"height": 848,
"settings": {
"temperature": 0.72,
"topP": 0.95,
"thinking": "HIGH"
},
"providerSettings": {
"google": {
"webSearch": true,
"safetyTolerance": "off"
}
}
}{
"taskType": "imageInference",
"taskUUID": "9b064579-dc1a-4667-8c05-3da9bbf98d89",
"imageUUID": "2d578240-50ca-4bc2-9f48-d6027c04b30f",
"imageURL": "https://im.runware.ai/image/os/a22d05/ws/2/ii/2d578240-50ca-4bc2-9f48-d6027c04b30f.jpg",
"seed": 538258016,
"cost": 0.06895
}Tri-Reference Fashion Collage
Create a luxury fashion editorial composition that merges the subject from reference image 1, the jewelry styling motifs from reference image 2, and the architectural environment from reference image 3. Show the model standing confidently in the modern interior, wearing an elegant ivory tailored outfit accented with bold layered gold jewelry. Preserve a premium magazine aesthetic, refined pose, cinematic sunlight, crisp textile detail, realistic skin texture, balanced shadows, and sophisticated color harmony. Add a subtle high-end cover-shoot feeling with strong composition and excellent material realism.
{
"taskType": "imageInference",
"taskUUID": "ad37991f-9336-4899-96d1-a1ce6584843b",
"model": "google:4@3",
"positivePrompt": "Create a luxury fashion editorial composition that merges the subject from reference image 1, the jewelry styling motifs from reference image 2, and the architectural environment from reference image 3. Show the model standing confidently in the modern interior, wearing an elegant ivory tailored outfit accented with bold layered gold jewelry. Preserve a premium magazine aesthetic, refined pose, cinematic sunlight, crisp textile detail, realistic skin texture, balanced shadows, and sophisticated color harmony. Add a subtle high-end cover-shoot feeling with strong composition and excellent material realism.",
"width": 1264,
"height": 848,
"settings": {
"temperature": 0.72,
"topP": 0.95,
"thinking": "HIGH"
},
"providerSettings": {
"google": {
"safetyTolerance": "off"
}
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/75aefcce-72ed-4724-938d-5ee8e4aa7135.jpg",
"https://assets.runware.ai/assets/inputs/126c9bf9-6190-448a-a23b-d454ca664c45.jpg",
"https://assets.runware.ai/assets/inputs/63051915-2949-4583-abd2-03d7d59312ce.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "ad37991f-9336-4899-96d1-a1ce6584843b",
"imageUUID": "0cd975bc-cc0f-4b35-acaf-4af962f6451e",
"imageURL": "https://im.runware.ai/image/os/a23d05/ws/2/ii/0cd975bc-cc0f-4b35-acaf-4af962f6451e.jpg",
"seed": 705629215,
"cost": 0.06979
}Retro Arcade Poster
A bold retro-futurist arcade poster for a fictional game called 'NEON DRIFT'. A chrome magenta sports hovercar races through a glowing synthwave city at night, giant holographic billboards, electric rain, teal and pink reflections on the street, dramatic cinematic perspective, dense atmosphere, razor-sharp details, expressive lighting, polished poster composition. Include crisp readable title text at the top: 'NEON DRIFT'. Include smaller subtitle text at the bottom: 'MIDNIGHT CIRCUIT CHAMPIONSHIP'. High contrast, premium graphic design, vibrant colors, clean typography, ultra-detailed, visually striking.
{
"taskType": "imageInference",
"taskUUID": "f61cb15d-3d7f-40d8-a5ab-bdc8ad3361a5",
"model": "google:4@3",
"positivePrompt": "A bold retro-futurist arcade poster for a fictional game called 'NEON DRIFT'. A chrome magenta sports hovercar races through a glowing synthwave city at night, giant holographic billboards, electric rain, teal and pink reflections on the street, dramatic cinematic perspective, dense atmosphere, razor-sharp details, expressive lighting, polished poster composition. Include crisp readable title text at the top: 'NEON DRIFT'. Include smaller subtitle text at the bottom: 'MIDNIGHT CIRCUIT CHAMPIONSHIP'. High contrast, premium graphic design, vibrant colors, clean typography, ultra-detailed, visually striking.",
"width": 1264,
"height": 848,
"settings": {
"thinking": "HIGH",
"temperature": 0.82,
"topP": 0.95,
"systemPrompt": "Generate a highly polished image that prioritizes instruction following, coherent composition, accurate embedded text rendering, and rich cinematic lighting."
},
"providerSettings": {
"google": {
"imageSearch": false,
"webSearch": false,
"safetyTolerance": "off"
}
}
}{
"taskType": "imageInference",
"taskUUID": "f61cb15d-3d7f-40d8-a5ab-bdc8ad3361a5",
"imageUUID": "360d09c1-6934-42dc-a7bd-b5b0ccbd0858",
"imageURL": "https://im.runware.ai/image/os/a24d12/ws/2/ii/360d09c1-6934-42dc-a7bd-b5b0ccbd0858.jpg",
"seed": 1466209441,
"cost": 0.06895
}