Image
Edit Image
Edit existing images using inpainting or variation
POST
Modify an image based on a text prompt. You can perform inpainting (if a mask is provided) or generate variations of the input image.
Headers
Your Apollo AI API key.
Body Parameters
The text description of the desired edit or variation.
Base64 encoded string of the source image.
Base64 encoded string of the mask image (for inpainting). White pixels indicate areas to modify. If omitted, the request is treated as an image variation.
The dimensions of the generated image. Supported values: “1024x1024”, “512x512”.
The number of variation images to generate.
Response
Timestamp of generation.
Array of objects containing the image data.