Price a video before making clips
estimate_costSays how many credits create_video would spend on a link with the same settings, and whether the account has enough. Reads only the link's title and length; spends nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link to the source video. | |
| clips | No | How many clips to make. Defaults to 6. | |
| captions | No | Burn captions into the clips. Defaults to true. | |
| template | No | Name of one of the account's templates (see list_templates) to apply its style. | |
| translate_to | No | Language code to translate the captions into, e.g. "es". Leave out to keep the original language. | |
| clip_length_seconds | No | Longest a clip may run, in seconds. Defaults to 180. |