Overview
Nano Banana is varg’s recommended default image model, powered by Google Gemini. It excels at both text-to-image generation and reference-based image editing. Two generations are available:Quick start
Capabilities
Text-to-image
Generate images from text descriptions:Image editing
Edit an existing image using a text prompt and reference image:Multi-image reference
Provide up to 14 reference images for complex editing:Nano Banana 2 (next-gen)
The Gen 2 model supports auto aspect ratio and web search capabilities:cURL
Parameters
string | { text: string, images: Image[] }
required
Text prompt for generation. For editing, provide
{ text, images } with reference images.string
default:"1:1"
Output aspect ratio. Supported:
21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16. Nano Banana 2 also supports "auto".array
Array of
{ url: string } objects for reference images (API). Up to 14 images for pro, up to 6 for Nano Banana 2.object
Supports
resolution ("1K", "2K", "4K" — default varies by model), safety_filter_level, web_search (Nano Banana 2 only).Pricing
The cheapest image generation with the best quality-to-cost ratio.
Tips
- Use Nano Banana as your default image model. At 5 credits, it’s the best value for text-to-image.
- Image editing is the killer feature. Generate a base image, then iteratively refine with
/edit. - Perfect for video reference frames. Generate an image with Nano Banana, then animate with Kling V3 or Seedance 2.
- Multi-image prompts let you combine characters, transfer styles, or composite scenes.
- 4K resolution is available via provider options for hero images that need maximum detail.
Related models
Flux
Alternative image generation. Flux Pro for highest quality.
Phota
Identity-preserving generation with profile-based control.
Grok Imagine Image
Cheapest image model at 3 credits.
Seedance 2
Animate your Nano Banana images with Seedance image-to-video.