logo
RunComfy
  • ComfyUI
  • TrainerNew
  • Models
  • API
  • Pricing
discord logo
MODELS
Explore
All Models
LIBRARY
Generations
MODEL APIS
API Docs
API Keys
ACCOUNT
Usage

Nano Banana 2 Text-to-Image: Fast Prompt-to-Image Generation with Aspect Ratio & Safety Controls | RunComfy

google/nano-banana-2/text-to-image

Generate high-quality images from text prompts with Nano Banana 2, with practical controls for aspect ratio and resolution.

The prompt for image editing.
The aspect ratio of the generated image.
The resolution of the image to generate.
Idle
The rate is $0.063 per image for 1K. 0.5K is $0.041, 2K is $0.10, and 4K is $0.13.

Introduction to Nano Banana 2

Nano Banana 2 is a fast model designed for quick iteration and clean prompt-following. It turns short or detailed prompts into high-quality images while exposing practical controls you can rely on in production workflows—aspect ratio and resolution.

Ideal for: rapid concept exploration | marketing creative drafts | social images and thumbnails | batch variation generation

Nano Banana 2#


Nano Banana 2 (Gemini 3.1 Flash Image) is Google DeepMind’s Flash-tier image generation model designed for high-speed, instruction-following visual creation with strong typography rendering and real-world knowledge integration.


Nano Banana 2 text to image converts a single text prompt into a still image per request, with flexible resolution tiers from 0.5K to 4K. It is optimized for fast iteration, predictable framing, and production-ready outputs suitable for marketing visuals, product mockups, social media assets, and storyboards.


Outputs: still images (1 per request).


Highlights of Nano Banana 2#

  • Flash-fast generation: Designed for rapid draft → refine loops and low-latency production.
  • Flexible resolution tiers: Generate at 0.5K, 1K, 2K, or 4K depending on workflow stage (draft vs. final).
  • Smart aspect ratio handling: Preserve original proportions with "auto" or explicitly control framing.
  • Strong typography rendering: Produces legible in-image text and structured layouts.

Nano Banana 2 Parameters#

The following controls are exposed for Nano Banana 2 Text-to-Image.


ParameterRequiredTypeDefaultRange / OptionsDescription
prompt*Yes (*)string (str)A cinematic close-up portrait of an American woman standing under neon lights in rainy Tokyo...—Text prompt describing subject, scene, lighting, style, and composition. Be clear and structured for best results.
aspect_ratioNostringautoauto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16Output framing. "auto" preserves natural composition; select a ratio for specific layout needs.
resolutionNostring1K0.5K, 1K, 2K, 4KTarget resolution. Higher tiers increase detail and cost.

Resolution & Generation Strategy#

  • 0.5K–1K: Ideal for fast drafts and layout testing.
  • 2K: Balanced detail and performance for social and marketing visuals.
  • 4K: Production-ready high-detail outputs for print or hero banners.

Use lower resolution during ideation, then upscale to higher resolution once composition is finalized.


How to Use Nano Banana 2#

1) Write a structured prompt: Subject → action → environment → style → camera/lighting.

2) Set aspect_ratio to match your final deliverable (or keep "auto" for natural framing).

3) Choose resolution based on draft vs. production needs.

4) Generate and review composition, lighting, and typography.

5) Iterate by adjusting small variables (pose, color, mood) rather than rewriting the entire prompt.


Prompting Best Practices#

  • Lead with the primary subject and action.
  • Specify camera perspective and lighting explicitly for cinematic control.
  • Keep typography instructions precise (include exact wording and placement).
  • Avoid contradictory style directions.

Official Resources#

  • Gemini API image generation docs: https://ai.google.dev/gemini-api/docs/image-generation
  • Build with Nano Banana 2: https://blog.google/innovation-and-ai/technology/developers-tools/build-with-nano-banana-2/
  • Gemini image generation overview: https://gemini.google/overview/image-generation/

Related Models

nano-banana-2-lite/edit

Fast, low-cost prompt-based image editing at a fixed 1K resolution.

chrono-edit/lora

AI-driven editor for coherent image transformations with natural realism and precise control.

seedream-4-5/edit-sequential

Create consistent visual stories with advanced image editing and multi-scene control.

qwen-edit-2509/multi-image-edit-plus

Advanced image editing model for detailed, consistent visual creation and precise design workflows.

flux-2/pro/text-to-image

Create reliable, studio-grade visuals with precise color and layout control.

flux-2/dev/text-to-image

Flux 2 dev is an open-weight model for precise visual creation, color control, and consistent style rendering. Generate images at just $0.013 each.

Frequently Asked Questions

What is Nano Banana 2 text-to-image best for?

Nano Banana 2 text-to-image is designed for fast iteration and consistent prompt-following. It’s a great fit for rapid concept exploration, marketing drafts, thumbnails, and generating multiple variations quickly.

What aspect ratios are supported in Nano Banana 2 text-to-image?

Nano Banana 2 text-to-image supports common aspect ratios including 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, and 9:16. Choose the ratio that matches your target layout (banner, square post, story, etc.).

What does enhance_prompt do?

If enabled, enhance_prompt tries to expand or refine your prompt to improve descriptiveness and coherence. If you prefer precise control, keep it off and write explicit constraints (subject, style, lighting, composition) yourself.

Follow us
  • LinkedIn
  • Facebook
  • Instagram
  • Twitter
Support
  • Discord
  • Email
  • System Status
  • Affiliate
Video Models
  • Wan 3.0 Reference To Video
  • LTX 2.5 Pro
  • Wan 3.0
  • Wan 2.6 Flash
  • MiniMax H3 Open Image to Video
  • Happy Horse 1.1 reference to video
  • View All Models →
Image Models
  • seedream 4.0
  • Seedream 5.0 Pro Image Edit
  • Flux 2 Flash Edit
  • Nano Banana Pro
  • Qwen Image Edit 2511 LoRA
  • Flux 2 Pro
  • View All Models →
Legal
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
RunComfy
Copyright 2026 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Examples of Nano Banana 2