Asynchronous generation API
Definition
An API that accepts a media request, returns a durable task ID, and completes outside the original HTTP request.
Implementation note
Persist the task ID before polling or waiting for a webhook. Queued and running are active; succeeded, failed and expired are terminal. Accepted tasks cannot be canceled.
Related page →