Images
Edit image
Edits an image using multipart image uploads, JSON image URLs, or the official JSON images array for supported GPT Image models.
post/v1/images/edits
Request
- Base URL: https://api.tokenlab.sh
- URL: https://api.tokenlab.sh/v1/images/edits
- Auth: HTTP bearer
Headers
X-TokenLab-Delivery-Policy'auto' | 'verified' | 'official'
Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Verified first and may switch once to Official only before output, request acceptance, or persistent resource creation.
Request body
Response
Edited image response
Example response
{
"media_retention": {
"days": 30
}
}Changes
No recorded changes to this operation across all 1 revision of this API.