YeeHooDevelopers
Developer Docs

Videos

Submit async video generation tasks and use polling plus webhook for reliable delivery.

Video generation follows the same async task model as images, but usually runs longer.

Typical flow

  1. Call /v1/generations and choose a video model through model
  2. Get a task_id
  3. Poll /v1/tasks/{task_id}
  4. Optionally receive terminal-state webhook notifications

Best practice

  • Expect longer runtimes than image jobs
  • Use webhook earlier for production workloads
  • Keep polling as a fallback even after webhook is enabled

Next

On this page