estimate_credits
Estimate the credits a generation will cost, from the published per-model rates — BEFORE creating it. This is an estimate, not a charge; the exact amount is returned as credits_charged when you create the video. Use it with check_account to confirm the user can afford the request.
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": {
"mode": "<mode>"
},
"name": "estimate_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| model | No | Required for manual mode — a model id from list_models. | |
| api_key | No | Optional. Your vv_live_ API key, used only when this connection sends no Authorization header (e.g. the key from get_signup_status or verify_login_code). | |
| resolution | No | Manual mode — one of the model's resolutions. | |
| duration_seconds | No |