Estimate video generation cost
estimate_video_costEstimate the USD cost of generating AI video across providers (fal.ai, Runway, Google Veo, Kling, Luma, Higgsfield). Returns estimates sorted cheapest-first, each with provenance (source_url), freshness (verified_at), and a confidence level. Credit-economy providers are normalized to USD. Clip-length limits are handled by assuming stitched generations (noted per estimate).
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": {
"duration_seconds": "<duration_seconds>"
},
"name": "estimate_video_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Generation mode; omit for any | |
| count | No | Number of videos (default 1) | |
| resolution | No | Required output resolution; omit for any | |
| require_audio | No | Only include models with native audio support | |
| duration_seconds | Yes | Length of the video to generate, in seconds |