Price a voice-over
quote_voiceoverUse this when the user wants Deepnia to make a voice-over reading the given text with a chosen voice: gets its exact price in Deepnia credits before anything is created. Nothing is charged. Show the price to the user; once they accept, call create_voiceover with the quote_id and credits it returns: that call makes the voice-over (a quote alone creates nothing).
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": {
"text": "<text>",
"voice_id": "<voice_id>"
},
"name": "quote_voiceover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The exact words to read. | |
| model | No | Voice-over model id. Default: Deepnia's default. | |
| speed | No | Reading speed, where the model takes one (settings.speed). Default: 1. | |
| language | No | The language to read in, where the model takes one (settings.languages in list_creation_options). Default: auto. | |
| voice_id | Yes | Voice id from list_creation_options (type voiceover, same model). | |
| stability | No | Voice stability, where the model takes one (settings.stability). Default: 0.5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| type | Yes | ||
| model | Yes | ||
| credits | Yes | ||
| quote_id | Yes | ||
| can_create | Yes | ||
| expires_at | Yes | ||
| available_credits | Yes |