v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
images

Create Image

OpenAI-compatible image generation endpoint.

Authentication modes:

  • Master key + user field: Use specified user (must exist)
  • API key + user field: Use specified user (must exist)
  • API key without user field: Use the shared "default" user
post/v1/images/generations

Request body

modelstring required
ninteger nullable
promptstring required
qualitystring nullable
response_formatstring nullable
sizestring nullable
stylestring nullable
userstring nullable

Response

Successful Response

{"stackTrail":"paths:/v1/images/generations:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}