estimate_cost
Get an approximate cost for generating an image based on prompt, provider, quality, and size without actually generating it. Compare prices across providers to make an informed decision.
Instructions
Estimate the cost of generating an image without generating it.
Runs the same provider auto-selection as generate_image (unless you
pin a provider) and looks up an approximate price from a local pricing
table. Useful for comparing providers/qualities before committing.
The figure is a ballpark — real cost depends on live provider pricing and, for OpenAI, actual image output tokens.
Args: params: Prompt plus optional provider/quality/size/n.
Returns: A formatted cost estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |