estimate_cost
Estimate image generation cost by specifying quality and number of outputs. Know your expense before committing to the request.
Instructions
Estimate the cost of an image generation before executing. Cost: $0.18
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": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | Generation quality level | standard |
| num_outputs | No | Number of images to generate |