Skip to content
alpharouter

Docs

Video

Generate short video from text or an image. Processing takes a while, so it runs asynchronously.

Async processing

POST creates a job and returns a job id. Poll status with GET, or register a webhook.

StepMethodPath
Create jobPOST/videos/generations
Check statusGET/videos/generations/{id}
CancelPOST/videos/generations/{id}/cancel

Key parameters

duration is in seconds and the ceiling differs per model. resolution and fps also only accept values the model supports.

Billing

Video bills per second. Failed jobs are not billed, but work completed before a cancellation is.