images
Image Edit Api
Follows the OpenAI Images API spec: https://platform.openai.com/docs/api-reference/images/create
curl -s -D >(grep -i x-request-id >&2) -o >(jq -r '.data[0].b64_json' | base64 --decode > gift-basket.png) -X POST "http://localhost:4000/v1/images/edits" -H "Authorization: Bearer $LITELLM_MASTER_KEY" -F "model=gpt-image-1" -F "image[]=@soap.png" -F 'prompt=Create a studio ghibli image of this'
post/openai/deployments/{model}/images/edits
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/openai/deployments/{model}/images/edits
- Auth: API key in header x-litellm-api-key
Path parameters
modelstring nullable required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.