Image To Image Price
image_to_image_priceEstimate image-to-image transformation cost by passing the same model, quality, and source image size the edit job will use. This prevents quotes that do not match the final charge.
Instructions
Calculate price for image-to-image transformation.
Pass the same parameters and source image(s) the edit call will use:
quality and the input size both change the charge on some models, so a
quote without them may not match the 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": {
"prompt": "<prompt>",
"model": "<model>"
},
"name": "image_to_image_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed the job will use | |
| image | No | Source image (URL, data URI or base64). Some models price by its size, so pass the one the job will use | |
| loras | No | LoRA adapters the job will use: [{'name': str, 'weight': float}] | |
| model | Yes | AI model name | |
| steps | No | Number of diffusion steps. Limits per model (see the model list) | |
| width | No | Output width the job will use. Limits per model (see the model list) | |
| height | No | Output height the job will use. Limits per model (see the model list) | |
| images | No | Several source images, as the job will send them. Mutually exclusive with 'image' | |
| prompt | Yes | Transformation description | |
| quality | No | Quality tier, e.g. 'low', 'medium', 'high'. Tiers differ sharply in price, so omitting it can misquote badly | |
| guidance_scale | No | Guidance the job will use. Defaults to the model's own value; limits per model (see the model list) | |
| negative_prompt | No | Things to exclude — quote it if the job will use it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||