Skip to content

Images

POST /api/image/generate runs an image workflow on one of your GPUs.

Terminal window
curl -X POST <your-api-url>/api/image/generate \
-H "Content-Type: application/json" \
-d '{
"workflow": "<workflow-id>",
"prompt": "walking through a rainy neon street",
"provider": "<provider-id>",
"width": 1024,
"height": 1024
}'

You get a prompt_id back. Generation is asynchronous — the job is queued and tracked. Check on it with GET /api/jobs/<prompt_id>.