latestOpenAPI 3.1.02026-08-236994571.1 MB
79928a3d37d3
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 sk-1234" -F "model=gpt-image-1" -F "image[]=@soap.png" -F 'prompt=Create a studio ghibli image of this'
post/v1/images/edits
Query parameters
modelstring nullable
Response
Successful Response
{"stackTrail":"paths:/v1/images/edits:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}