Change the voice in a recording
change_voiceRe-voice a speech recording (up to 5 minutes) in a different preset voice: the words, pauses and emphasis stay, only the voice changes. Returns an MP3. Ask the user to confirm they may use the voice first, then set consent. Uses PopNow credits (from 5 credits per second with the default model). Call it once for the price, then again with max_credits after the user agrees.
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": {
"audio_url": "<audio_url>"
},
"name": "change_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | No | The new voice by name, for example Alicia, Brian or Charlotte. Leave empty for the default; a wrong name returns the full list. | |
| consent | No | Required. Set true only after the user confirms all of this: the voice is theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own. | |
| audio_url | Yes | The speech recording whose voice to change, up to 5 minutes (popnow:// or https link). | |
| max_credits | No | The most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. | |
| remove_background_noise | No | Set true to clean background noise from the recording before the voice is changed. |