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 initial image generation request.
If the create response included
poll_url, prefer calling that exact URL for polling. Some image tasks may surface a poll_url under /v1/tasks/{id} instead of the image-specific status path.You can also poll public image task IDs such as ldtask_... at /v1/images/{id}. This compatibility alias uses the same authorization, ownership checks, billing headers, terminal snapshots, and response shape as /v1/images/generations/{id}.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
Unix timestamp of creation.
The task identifier.
Task status:
pending, processing, completed, or failed.Array of generated images (populated when
status is completed).Each object contains:url(string): URL of the generated imagerevised_prompt(string): The prompt used for generation
Error message (only present when
status is failed).