Estimate price and limits (free)
estimateFree, never charges, works without a key. Without steps: the credits one operation would cost (operation caption, transcribe, burn, preview, translate, shorts, trim, dub or preview {mode:'sample'}) from durationSeconds, or from mediaUrl/fileId with a key; e.g. {operation: "caption", durationSeconds: 8} = 2 credits, the hosted sample. With steps: prices a whole pipeline of 1-10 steps, checks every limit before you pay (limitViolations with a fix for each), suggests free alternatives and, with a key, says whether the balance covers it. 1 credit = 1 cent. Call it before any paid tool when the cost matters; to run the job you need a key (create_key, free).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Ordered pipeline, 1-10 steps: [{op: caption|transcribe|translate|burn|shorts|trim|preview|dub|preview {mode:'sample'}, ...op options}]. | |
| fileId | No | Uploaded file id; its duration is read when durationSeconds is not given (needs a key). | |
| source | No | What you know about the input: {durationSeconds, bytes, via: url|upload, transcriptCues, mediaUrl}. Used to price and check limits. | |
| mediaUrl | No | Public media link; its duration is probed when durationSeconds is not given (needs a key). | |
| operation | No | Default caption (caption_video). | caption |
| sourceUrl | No | Same as mediaUrl (the caption_video name). | |
| voiceTier | No | dub only. | |
| translateTo | No | caption only: include translation in the price. | |
| hasTranscript | No | true when you already have a transcript (subtitles or transcriptionJobId): transcription is not priced. | |
| hasTranslation | No | true when you already have the translated captions: translation is not priced. | |
| targetLanguage | No | dub only. Checked against the supported voices. | |
| durationSeconds | No | Media length in seconds. Enough on its own: no key or media needed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Total number of items (paginated lists). | |
| result | No | The value, when the tool returns something other than an object. | |
| hasMore | No | true when more items are available (paginated lists). | |
| nextCursor | No | Pass as cursor for the next page (paginated lists). |