Docs
Image Edits
Pass-through endpoint for upstream image editing models.
Endpoint
http
1POST /v1/images/edits2Content-Type: application/json or multipart/form-dataMultipart request example
bash
1curl -X POST "$UNI_API_BASE_URL/images/edits" \2 -H "Authorization: Bearer $UNI_API_KEY" \3 -F model=gpt-image-2 \4 -F prompt="Make the product render brighter" \5 -F [email protected]Pass-through behavior
Uni API forwards the original request body and compatible headers upstream, then returns the upstream status, body, and response type. JSON and multipart form-data requests are supported.