Docs/API reference
Create API key

Images

Generate images from a text prompt.

POST /v1/images/generations
{
  "model": "automatic",
  "prompt": "A product hero on a clean background",
  "size": "1024x1024"
}

Extended options (editing, references): POST /api/v1/ai/images with the same secret key.