Plan a job
planFree, works without a key, never charges. Price a whole pipeline before running it and check it against the limits. steps: ordered ops (caption = the one-call caption_video, with optional translateTo; transcribe, translate, burn with renderer server|client, shorts with count/minSeconds/maxSeconds/reframe (face|center, same price), trim with keepSeconds, preview, dub with targetLanguage/voiceTier/sourceLanguage). A transcribe step is added automatically when a later step needs a transcript (set hasTranscript if you already have one), and a translate step before dub (set hasTranslation if you have the target-language lines). An unsupported dub language or voice tier shows up in limitViolations. source: durationSeconds, bytes, via (upload|url), transcriptCues, or mediaUrl (only a HEAD request reads its size; nothing is downloaded). Returns steps with credits, totalCredits, totalUsd, freeAlternatives (client burn is free), feasible, and limitViolations [{code, limit, actual, unit, message, hint}]. With a key it also returns your balance and whether it is enough. Paid tools return limit_exceeded with the same violations before charging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| source | No | ||
| hasTranscript | No | ||
| hasTranslation | No |