v1

latestOpenAPI 3.0.1raw.githubusercontent.com2026-06-02417.7 KB
Playground Images

Playground image generation

Generates images in the playground. Requires ai.operate or ai.manage permission. Uses the same request/response format as the API key image generation endpoint.

post/api/v1/{workspaceID}/playground/images/generations

Path parameters

workspaceIDstring required

The workspace ID

Request body

promptstring required
modelstring required
nnumber
sizestring
qualitystring
output_format'png' | 'jpeg' | 'webp'

Response

Successful response

object required