estimate_video_cost
Validate settings and calculate the exact credit cost. Free; does not generate or reserve credits.
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": {
"model": "<model>",
"duration": "<duration>",
"resolution": "<resolution>"
},
"name": "estimate_video_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | No | ||
| model | Yes | Exact model id from list_video_models. | |
| duration | Yes | ||
| resolution | Yes |