Image Edit
cURL
curl --request POST \ --url https://api.example.com/v1/images/edits
curl -X POST "https://gptproto.com/v1/images/edits" \ -H "Authorization: YOUR_API_KEY" \ -F "image=@/path/to/your/image.png" \ -F "prompt=Transform this image into a watercolor painting" \ -F "mask=@/path/to/your/mask.png" \ -F "model=gpt-4o-image-vip" \ -F "n=1"
{ "error": { "message": "Invalid signature", "type": "401" } }
image
prompt
mask
model
gpt-4o-image-vip
n
1