Skip to main content
POST
/
api
/
v3
/
google
/
nano-banana
/
edit
gemini-2.5-flash-image-preview (multi image mode)
curl --request POST \
  --url https://api.example.com/api/v3/google/nano-banana/edit
Gemini’s nano banana for the multi image mode API.
curl -X POST "https://gptproto.com/api/v3/google/nano-banana/edit" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "output_format": "png",
  "enable_sync_mode": false,
  "enable_base64_output": false,
  "images": [
    "https://mgszhhytxjyitifbalro.supabase.co/storage/v1/object/public/chat-attachments/uploads/guakmauqtr.png",
    "https://mgszhhytxjyitifbalro.supabase.co/storage/v1/object/public/chat-attachments/uploads/3ox9ikxbcxc.jpeg"
  ]
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
output_formatstring❌ NopngOutput Format parameter
enable_sync_modeboolean❌ NofalseEnable Sync Mode parameter
enable_base64_outputboolean❌ NofalseEnable Base64 Output parameter
imagesarray❌ No["https://mgszhhytxjyitifbalro.supabase.co/storage/v1/object/public/chat-attachments/uploads/guakmauqtr.png", "https://mgszhhytxjyitifbalro.supabase.co/storage/v1/object/public/chat-attachments/uploads/3ox9ikxbcxc.jpeg"]Images parameter