Skip to main content
Video generation is asynchronous. You submit a job, poll for completion, then download the MP4 result.

Flow

Endpoints

Full Example

Parameters

Duration options vary by model. Some models use discrete choices (e.g., 5s or 10s), others support a continuous range.

Available Video Models

Models whose length follows their input

Kling Lip Sync, Kling Avatar v2 and Kling v3 Motion Control make a clip as long as the video or audio you send, so duration is ignored. When you submit, Runcrate fetches your input (audio up to 5 MB as MP3, WAV, M4A or AAC; video up to 20 MB as MP4 or MOV), measures how long it plays, and needs that clip’s cost free in your balance, with a second or so of margin. If the input can’t be measured, it needs the cost of the model’s longest clip (10 seconds, 5 minutes and 30 seconds of video). You’re charged only for your clip’s real length, and the rest is released when it finishes. Without enough free, the call is refused with 402 and an error that gives both amounts, with "code": "video_hold_unaffordable".

Job Statuses