Edit images
Edits one or more reference images using a text prompt and uploads the results to S3. Reference image keys must belong to the calling user’s S3 folder or the session’s images prefix — the backend enforces this with a prefix check. An optional mask image key may be provided for inpainting. The chosen model must support editing (supports_edit: true in config.litellm.yaml).
Authorizations
Organisation API key. Format: sk_<secret>/<keyname> — the secret portion, a literal slash, and the human-readable key name. The header exulu-api-key is accepted as an alias. A Bearer prefix is tolerated and stripped. Keys with an agent scope are only valid for the scoped agent instance.
Body
Image-generation model that supports editing.
S3 keys of the source images. Must belong to the session or calling user's prefix.
1Optional S3 key of a mask image for inpainting.
x >= 1