API Reference
Async Tasks API
Image, video, and other high-latency models use a unified task interface. Submitting a task returns its status; video tasks require polling, while some image tasks return the result immediately.
Submit
POST /v1/tasksCreate a task; video returns running, some images return succeeded immediately.
Query
GET /v1/tasks/{id}Retrieve task status, progress, output, and errors.
List
GET /v1/tasksList the most recent tasks for the current API key user.