DocsAPIVideo

API

Video

Create a video generation job and follow it to completion.

Endpoints

Submit a job, then poll it by id. Edits and extensions take an existing result as their starting point.

Example
POST /v1/videos/generations
POST /v1/videos/edits
POST /v1/videos/extensions
GET  /v1/videos/{id}

Charged once, on submit

A generation is metered when the job is accepted, not while you poll it. Checking the status of a running job as often as you like does not charge for the same video twice.