Sign in

Create image edit

documented

Edit an image based on a prompt and optional image inputs.

POST /images/editsImagesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.openai.com/v1/images/edits" \
  -X POST \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Accept: application/json" \
  -F "image=@{{$image_file}}" \
  -F "mask=@{{$mask_file}}" \
  -F "prompt={{$prompt}}" \
  -F "n={{$n}}" \
  -F "size={{$size}}" \
  -F "response_format={{$response_format}}" \
  -F "user={{$user}}"
Create image edit · OpenAI · OpenIntegrations