Credits a job will use
estimate_creditsTells how many Klipa credits a tool will use for a video of a given length, the user's current balance, and whether the job is allowed. On the Free and Plus plans every tool uses credits except the link downloader; Pro and Studio include the tools without AI (compress, convert, cut, resize…) and use credits only for AI tools.
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": {
"tool": "<tool>",
"duration_seconds": "<duration_seconds>"
},
"name": "estimate_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | The Klipa tool to estimate | |
| duration_seconds | Yes | Length of the video in seconds |