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.
Path Parameters
The task ID returned from the create video request. Treat
id and task_id as the same async identity.If a create response returns
poll_url, call that exact URL. When it points to /v1/tasks/{id}, treat that as the canonical fixed status endpoint.If the task no longer exists or can no longer be resolved through the public async-task contract, LemonData returns async_task_not_found with the message Task not found or no longer available.Response
Canonical async task identifier.
Async task identifier alias.
Preferred polling URL when the create response supplies one.
LemonData billing transaction ID when settlement already completed. This is the dashboard/accounting transaction identifier and is separate from the async
id / task_id.Task status:
pending, processing, completed, failed.Progress percentage (0-100).
URL of the generated video (when completed).
Single video payload with
url, duration, width, and height when available.Multiple video payloads when the upstream returns more than one output.
Error message (if failed).
Creation timestamp.
Last update timestamp.
Model used for the task.
Polling Best Practices
- Poll every 5-10 seconds
- Implement exponential backoff for long tasks
- Set a maximum timeout (e.g., 10 minutes)
- Handle
failedstatus gracefully