GooglePaidOperational
Nano Banana 2
API model name: nano-banana-2
Nano Banana 2 is Google's image generation model, served on the Api.Airforce unified API. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Resolutions: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
Specifications
- Provider
- Type
- image generation model
What is Nano Banana 2 used for?
- Image generation — marketing visuals, concept art, product shots and illustrations.
Related models
Gemini 2.5 FlashGoogle · $0.40 / 1MGemini 2.5 ProGoogle · $0.70 / 1MGemini 3 FlashGoogle · $0.40 / 1MGemini 3 ProGoogle · $0.90 / 1MGemini 3.1 Flash LiteGoogle · $0.14 / 1MGemini 3.1 ProGoogle · $1.00 / 1MGemini 3.1 Pro Preview CustomtoolsGoogle · $1.77 / 1MGemini 3.5 FlashGoogle · $1.20 / 1MGemma3 270mGoogle · FreeImagen 3Google · FreeImagen 4Google · FreeNano Banana FlashGoogle · $20.00 / 1M
Nano Banana 2 — frequently asked questions
- How much does Nano Banana 2 cost?
- Nano Banana 2 is billed per generation rather than per token. See the pricing page for the current rate.
- What can Nano Banana 2 do?
- Nano Banana 2 is Google's image generation model, accessible through the Api.Airforce API.
- Is Nano Banana 2 free to use?
- Nano Banana 2 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Nano Banana 2 via the API?
- Nano Banana 2 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID nano-banana-2 with your Api.Airforce API key.
- Who makes Nano Banana 2?
- Nano Banana 2 is Google's image generation model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Nano Banana 2 via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass nano-banana-2 as the model.
cURL
curl https://api.airforce/v1/images/generations \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-2",
"prompt": "a red panda coding"
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
img = client.images.generate(model="nano-banana-2", prompt="a red panda coding")
print(img.data[0].url)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const img = await client.images.generate({ model: "nano-banana-2", prompt: "a red panda coding" });
console.log(img.data[0].url);