Edit or extend an existing image from a text prompt using image editing models. Accepts multipart/form-data (for file uploads) or application/json (with image references as base64 data URLs or file IDs).
Edit or extend an existing image from a text prompt using OpenAI compatible image editing models through Requesty’s routing.Documentation Index
Fetch the complete documentation index at: https://docs.requesty.ai/llms.txt
Use this file to discover all available pages before exploring further.
multipart/form-data (the OpenAI SDK default for file uploads) and application/json (with image references as base64 data URLs or file IDs).
azure/openai/gpt-image-1 OpenAI’s GPT Image 1 model via Azureazure/openai/gpt-image-1.5 OpenAI’s GPT Image 1.5 model via Azuremask image to restrict edits to a specific region. Transparent pixels in the mask are the area that will be regenerated.
background parameter together with output_format=png (or webp) to produce edits with transparent backgrounds:
200 Success400 Bad Request (invalid parameters)401 Unauthorized (invalid API key)413 Payload Too Large (uploaded images exceed the size limit)429 Rate Limited500 Internal Server Errorclient.images.edit() method directly.API key for authentication
The model to use for image editing
"azure/openai/gpt-image-1"
A text description of the desired edit
One or more image files to edit. Repeat the image[] field to upload multiple images (up to 16 for GPT image models).
Output size. Defaults to auto.
auto, 1024x1024, 1536x1024, 1024x1536 Image quality. Defaults to auto.
auto, high, medium, low Optional mask image file. Transparent pixels mark the area that will be regenerated.