Quote a generation
quotePrice a generate_image, generate_video, generate_speech or generate_sound call without spending anything. The number returned is exactly what the matching call will charge.
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": {
"media": "<media>"
},
"name": "quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ||
| media | Yes | ||
| sound | No | ||
| video | No | ||
| speech | No |