Queue Submission
Endpoint: POST /queue
Submit generation jobs to the async queue.
Request Format
curl -X POST "https://async.render.weyl.ai/queue" \ -H "Authorization: Bearer $WEYL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "modality": "image", "family": "flux", "model": "schnell", "task": "t2i", "format": "1024", "prompt": "portrait in natural lighting" }'Response (202)
{ "id": "j_abc123", "status": "queued", "position": 5, "eta_seconds": 75}Queue Options
Priority
{ "priority": "normal", // low, normal, high "prompt": "..."}Webhook
{ "webhook": "https://myapp.com/callback", "prompt": "..."}Idempotency
{ "idempotency_key": "unique_key_123", "prompt": "..."}