About Nano Banana 2
Nano Banana 2 is Google's Gemini Flash image model. It generates images from a text prompt, or edits one or more reference images when you pass them in, with strong prompt adherence and legible text rendering.
Ready to build with Nano Banana 2?
Try Nano Banana 2 in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
bash
curl -sSf -X POST https://hub.oxen.ai/api/ai/images/edit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "nano-banana-2",
"prompt": "A cat sitting on a chair",
"aspect_ratio": "16:9",
"resolution": "2K",
"google_search": false,
"thinking_level": "minimal"
}'