Image to Image Edit
Nano Banana Pro
π Nano Banana Pro Image Edit
Edit images based on text prompts using Gemini Nano-Banana Pro model
POST
Image to Image Edit
BetaDocumentation Index
Fetch the complete documentation index at: https://mulerun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Nano Banana Pro can restyle or surgically modify a reference image while maintaining global composition. Provide one or more images plus a short instructionβProβs upgraded diffusion backbone keeps lighting, textures, and edge fidelity intact.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Image to image edit request body
Text prompt for image editing
List of images to edit. Supports both image URLs and base64-encoded images (minimum 1, maximum 14). Base64 encoded image data is like "data:image/png;base64,iVBORw0KGgoAAAA..."
Required array length:
1 - 10 elementsAspect ratio of the edited image
Available options:
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 Output resolution preset (longest side in pixels)
Available options:
1K, 2K Response
202 - application/json
Task created successfully