Estimate Google Flow credits
flow_estimate_costEstimates the credits a Google Flow generation will use before generating and lists the current model's allowed video lengths, resolutions, and formats without spending credits.
Instructions
Shows how many credits a generation will use BEFORE generating (Flow's own 'Generating will use N credits'), plus the live options for the current model: allowed video length range, resolutions and formats. Configures Flow's settings panel but never submits, so it spends no credits.
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 |
|---|---|---|---|
| model | No | Optional model name as shown in Flow (e.g. 'Veo 3.1 - Fast', 'Veo 3.1 - Quality', 'Nano Banana Pro'). Omit to keep Flow's current default. | |
| media_type | No | video | |
| resolution | No | Video resolution as offered by Flow, e.g. '720p' or '360p' (cheaper). Omit to keep Flow's current setting. | |
| aspect_ratio | No | ||
| outputs_count | No | ||
| duration_seconds | No | Video length in seconds. Flow's allowed range depends on the model (e.g. Omni 1.2 Flash: 3-15 s) and is checked live; omit to keep Flow's current length. |