Skip to content

Video Generation

POST/v1/run

Generate videos using AI models. Video generation is asynchronous — you submit a request and poll for results.

Request body

stringmodelrequired

Model name (e.g. kling/v2, wan/2.1)

stringpromptrequired

Text description of the video

Optional<number>duration

Video duration in seconds

Optional<string>image_url

Reference image for image-to-video

Optional<string>webhook_url

Public HTTPS callback URL for this async task only