Documentation Index
Fetch the complete documentation index at: https://docs.qingbo.dev/llms.txt
Use this file to discover all available pages before exploring further.
Task Lifecycle
Task States
| State | Description |
|---|---|
queued | Task submitted and waiting to be processed |
processing | Generation in progress; progress is available |
completed | Generation succeeded; results are ready |
failed | Generation failed; check the error field |
cancelled | Cancelled by the user; quota has been refunded |
Submit a Task
Poll for Status
Synchronous Wait Mode
If you’d rather not poll manually, use/v1/tasks/sync:
- Task completes within the timeout → result is returned directly
- Timeout exceeded → returns a
poll_urlso you can continue polling
Webhook Callbacks
Setcallback_url when submitting a task and QWave API will push the result to your endpoint when the task finishes:
Cancel a Task
Onlyqueued tasks can be cancelled. Cancellation automatically refunds the quota:
Image and video URLs in task results have a limited lifetime — download and store them promptly.