⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
curl --request POST \
--url https://modelslab.com/api/v1/workflows/{workflow_id}/runExecutes a workflow with the provided parameters.
curl --request POST \
--url https://modelslab.com/api/v1/workflows/{workflow_id}/runWorkflow execution is asynchronous - you’ll receive an execution ID that you can use to poll for results.Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
{
"prompt": "A beautiful sunset over mountains",
"negative_prompt": "blurry, low quality",
"width": 1024,
"height": 1024
}
{
"status": "success",
"message": "Workflow execution started.",
"execution_id": 12345,
"workflow_id": "uuid-string",
"status_url": "https://modelslab.com/api/v1/workflows/uuid-string/runs/12345",
"webhook_url": "https://your-webhook.com/callback"
}
404 Not Found - Workflow not found or API not enabled422 Unprocessable Entity - Validation failed (missing required parameters)429 Too Many Requests - Rate limit exceededWas this page helpful?