Sign in

Create image

documented

Generate images from text prompts.

POST /images/generationsImagesno 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/generations" \
  -X POST \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "OpenAI-Organization: {{OPENAI_ORG_ID}}" \
  -d '{"model": "gpt-image-1", "prompt": "{{$prompt}}", "n": {{$n}}, "size": "{{$size}}", "response_format": "{{$response_format}}", "user": "{{$user}}"}'
Create image · OpenAI · OpenIntegrations