Estimate cost
estimate_costWhat a video or image would cost in credits, and whether the balance covers it. Spends nothing.
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": {
"prompt": "<prompt>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Quality tier: quick (cheapest), great (best value, default), cinema (most realistic). Or give `model` instead. | |
| type | No | Default video. | |
| model | No | A model id from list_models, instead of a tier. | |
| sound | No | Videos: sound on or off, where the model has a switch. | |
| prompt | Yes | What to make, in plain words. @handles use the person's saved characters. | |
| duration | No | Seconds (videos). | |
| num_images | No | Images per request (images). | |
| resolution | No | e.g. "720p" or "1080p" for videos, "2K" for images. Defaults to the tier's. | |
| with_image | No | Price it as if a start image were attached. | |
| aspect_ratio | No | Aspect ratio, e.g. "16:9", "9:16" (vertical, for Reels and TikTok) or "1:1". |