vertex-gemini
Nano Banana (Gemini 2.5 Flash Image)
gemini-2.5-flash-image
Gemini 2.5 Flash Image, a.k.a. "Nano Banana," is now generally available. It is a state of the art image generation model with contextual understanding. It is capable of image generation, edits, and multi-turn conversations.
Total Context0
PricingIn $0.30 · Img $2.50 /M
Providers for Nano Banana (Gemini 2.5 Flash Image)
AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
vertex-gemini
Total Context0
PricingPriced by generation parameters
Sample code and API for Nano Banana (Gemini 2.5 Flash Image)
AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.
Choose an operation and language that match this model.
Image GenerationAnyInt async media
Create a generation task, then poll its status for artifacts.
/v1/images/generations# 1. Create a generation task and save its ID.
TASK_ID=$(curl 'https://api.anyint.ai/v1/images/generations' \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-d '{
"model": "gemini-2.5-flash-image",
"prompt": "Describe a calm futuristic city at sunrise.",
"size": "1024x1024"
}' | jq -r '.task.id')
# 2. Poll until task.status is completed or failed.
curl 'https://api.anyint.ai/v1/async-tasks/'"$TASK_ID" \
-H "Authorization: Bearer <YOUR_API_KEY>"Popular Models
Explore the most popular AI models, covering text generation, coding, image processing and more
Kimi K3Kimi K3 supports Text, Image, Video input and Text output through OpenAI.Claude Opus 5Claude Opus 5 supports Text, File input and Text output through OpenAI.Suno V5Suno V5 supports Text input and Audio output through OpenAI.Veo 3.1 FastVeo 3.1 Fast supports Text, Image input and Video output through OpenAI.Veo 3.1Veo 3.1 supports Text, Image input and Video output through OpenAI.Gemini 3 Pro ImageGemini 3 Pro Image supports Text, Image input and Text, Image output through OpenAI, Gemini.Gemini 3.1 Flash ImageGemini 3.1 Flash Image supports Text, Image, Video, File input and Text, Image output through OpenAI, Gemini.MiniMax M2.5MiniMax M2.5 supports Text input and Text output through OpenAI.MiniMax M2.1MiniMax M2.1 supports Text input and Text output through OpenAI.Gemini 3.1 Flash LiteGemini 3.1 Flash Lite supports Text, Image, Video, Audio, File input and Text output through OpenAI, Gemini.