Documentation Index
Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Use this endpoint for unified async polling across task types such as video, image, music, and 3D generation. If a create response includespoll_url, call that exact path. Some image models may return task-based responses under either an image-specific status path or /v1/tasks/{id}.
Path Parameters
The task ID returned by the create request.
Response
Canonical async task identifier.
Async task identifier alias.
Preferred polling URL when the create response supplies one.
Task status such as
pending, processing, completed, or failed. Cancelled tasks are represented as failed with cancelled: true.true when a queued async task was cancelled before execution.Cancellation marker. Present as
cancelled when cancellation succeeds.For completed image tasks, generated image results are returned here. Image tasks return URLs in
data[].url.Progress percentage when available.
Result asset URL when the task completes and produces a video.
Single video payload with
url, duration, width, and height when available.Multiple video payloads when more than one output is available.
Error message when the task fails.
Creation timestamp when available.
Last update timestamp when available.
Model used by the task when available.
Error Behavior
If the task no longer exists, has expired, or cannot be resolved through the public async-task contract, LemonData returns:Examples
Python
JavaScript