Edit images based on text prompts using Gemini Nano-Banana Pro model
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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..."
1 - 10 elementsAspect ratio of the edited image
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)
1K, 2K Task created successfully