Skip to main content

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.

Poll this endpoint to check the status of your 3D model generation task.
If the create response included poll_url, prefer calling that exact URL for polling. /v1/tasks/{id} is the canonical fixed status endpoint for 3D jobs, and id / task_id should be treated as the same async task identity.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.

Path Parameters

id
string
required
The 3D generation task ID.

Response

id
string
Task ID.
task_id
string
Async task identifier alias when provided.
poll_url
string
Preferred polling URL when the create response supplies one.
status
string
Task status: pending, processing, completed, or failed.
progress
integer
Progress percentage (0-100).
model_url
string
URL to download the 3D model file (when completed).
glb_url
string
URL to download the GLB format model (when available).
fbx_url
string
URL to download the FBX format model (when available).
error
string
Error message (when failed).
curl "https://api.lemondata.cc/v1/tasks/ldtask_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
  -H "Authorization: Bearer sk-your-api-key"
{
  "id": "ldtask_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "task_id": "ldtask_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "poll_url": "/v1/tasks/ldtask_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "status": "completed",
  "model_url": "https://cdn.example.com/3d/abc123.glb",
  "glb_url": "https://cdn.example.com/3d/abc123.glb",
  "fbx_url": "https://cdn.example.com/3d/abc123.fbx"
}