flow_estimate_cost
Estimate image or video generation costs before running a job, including model, resolution, size, count, and duration, so you can plan budgets without generating content.
Instructions
Estimate the cost of a generation before running it (nothing is generated).
Args: kind: 'image' or 'video'. model: Image model alias/id (ignored for video). count: Number of images. image_size: '1K', '2K' or '4K'. duration_seconds: Video length. resolution: '360p', '720p', '1080p' or '4k'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "flow_estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | video | |
| count | No | ||
| model | No | ||
| image_size | No | 1K | |
| resolution | No | 720p | |
| duration_seconds | No |