The LemonData API is OpenAI-compatible, which means you can use the official OpenAI SDK with just a base URL change. We also support native Anthropic and Gemini request formats.
About the Interactive Playground: The playground on this documentation site is for demonstration purposes only and does not support entering API keys. To test the API, please use:
cURL - Copy the example commands and replace sk-your-api-key with your actual key
Image task status path for task-based image responses
Some image models may return results inline, some may return task-based responses, and some may behave either way depending on the routed provider path. If the create response includes poll_url, follow it exactly.
For new clients, prefer /v1/tasks/{id} and follow the poll_url returned by create responses. Keep /v1/videos/generations/{id} only for backward compatibility.
For new clients, prefer the returned poll_url first. If you need a fixed task-status endpoint, use /v1/tasks/{id}; keep /v1/music/generations/{id} for music-specific compatibility paths.
For new clients, prefer the returned poll_url first. If you need a fixed task-status endpoint, use /v1/tasks/{id}; keep /v1/3d/generations/{id} for 3D-specific compatibility paths.