Change a voiceover line
update_speechUse this when someone wants to change the words, translation, language or voice of one voiceover line. Returns the updated line. A real change re-synthesizes its audio with the project's voice provider, spending synthesis credits and replacing the old audio; identical values change nothing. Not for project-wide pronunciation fixes.
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": {
"speechId": "<speechId>"
},
"name": "update_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New words to speak, up to 5000 characters | |
| voice | No | New voice id for this line | |
| language | No | New language code, e.g. en or pt-BR | |
| speechId | Yes | Voiceover line to edit | |
| translatedText | No | New translation spoken instead of the source text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speech | Yes | ||
| status | Yes | ||
| resynthesized | Yes | True when the change re-synthesized the audio and spent synthesis credits |