estimate_cost
Calculate credit cost for dubbing a video based on length and tier, and verify if your current balance covers it.
Instructions
Estimate the credit cost of dubbing a video and check the credit balance.
Pricing is a flat 10 credits per minute for every tier (a tier only changes which features are available, not the price).
Args: minutes: Video length in minutes (0 < minutes <= 600). tier: "fast", "standard" or "professional".
Returns: JSON with credits, current balance and whether the balance is enough.
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": {
"minutes": "<minutes>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | standard | |
| minutes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |