Sign in

Create image variation

documented

Create variations of a given image.

POST /images/variationsImagesno 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/variations" \
  -X POST \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: multipart/form-data" \
  -F "image=@{{$image_path}};type=image/jpeg" \
  -F "n={{$n}}" \
  -F "size={{$size}}" \
  -F "response_format={{$response_format}}"
Create image variation · OpenAI · OpenIntegrations