Learn how to integrate Nano Banana AI's AI image editing capabilities into your applications
Nano Banana AI API provides powerful AI-driven image editing capabilities through a simple REST interface. Get your API key from your account dashboard and start editing images with natural language prompts.
https://api.nanobanana.ai/v1All API requests require authentication using an API key. Include your API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY/editEdit an image using natural language prompts.
{
"image": "https://example.com/image.jpg",
"prompt": "Change background to beach sunset",
"strength": 0.8,
"format": "png"
}/batchEdit multiple images in a single request.
{
"images": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
],
"prompt": "Make all images have a consistent style",
"strength": 0.7
}Optimized for common edit sizes and workloads
API key authentication with monitoring and access controls
Submit multiple edits with clear request structures
Deliver edited assets to users worldwide
{
"success": true,
"edited_images": [
{
"url": "https://cdn.nanobanana.ai/edited/abc123.png",
"format": "png",
"width": 1024,
"height": 1024
}
],
"credits_used": 1,
"credits_remaining": 999
}We offer official SDKs in multiple languages to make integration even easier: