Estimate Tool
aimage.estimateEstimate the cost of image, chat, transcription, or speech jobs with a chosen model and controls before queuing to confirm budget.
Instructions
Estimate the cost of a number of images (or chat/transcription/speech) with a given model and controls before queuing a job.
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": {
"model": "<model>"
},
"name": "aimage.estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | e.g. 1024x1024 | |
| count | No | Number of images (default 1) | |
| model | Yes | Model id from aimage.models | |
| action | No | image (default), upscale, chat, transcribe or speak | |
| quality | No | e.g. low, medium, high | |
| background | No | e.g. transparent | |
| aspect_ratio | No | e.g. 16:9 |