Edit Image
Message
Edit Image
Uses gpt-image-1 to edit an images based on a given prompt. Note that the images must be
base64 encoded and all must have the same mime type.
POST
Edit Image
Documentation Index
Fetch the complete documentation index at: https://docs.trieve.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.
Body
application/json
JSON request payload to edit an image
The images to edit
The prompt describing the desired edit
The mime type of the uploaded image(s)
The number of images to generate (default: 1)
Required range:
x >= 0Available options:
low, medium, high Available options:
1024x1024, 1024x1536, 1536x1024 Response
A list of base64 encoded images
The URL of the generated image