Skip to content

Webhook Notifications ​

Models that expose callbacks can notify your HTTPS endpoint when task state changes. Use the exact callback field and event schema shown for the selected model.

  1. Respond with 2xx quickly and move slow work to a queue.
  2. Deduplicate events by task ID.
  3. Retrieve the task once more before consuming its final result.
  4. Validate any signature or verification data the selected model provides.

If the model does not expose a callback field, poll GET /v1/videos/{id} instead of guessing an undocumented parameter.

LAYSO AI API 文档