Create a voiceover line
create_speechUse this when someone wants new narration or voiceover in a project. Returns the new line's id, language, voice and audio URL. Without url the audio is synthesized from the text with the project's voice provider, spending the organization's synthesis credits; with url it records audio you already have. Not for fixing an existing line.
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": {
"projectId": "<projectId>",
"text": "<text>",
"language": "<language>"
},
"name": "create_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https URL of audio you already produced. Supplying it records the segment without synthesizing anything. | |
| text | Yes | Words to speak, up to 5000 characters | |
| voice | No | Optional voice id; defaults to the project's default voice | |
| language | Yes | Language code of the narration, e.g. en or pt-BR | |
| projectId | Yes | Project the voiceover line belongs to | |
| translatedText | No | Optional translation spoken instead of the source text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speech | Yes | ||
| status | Yes | ||
| synthesized | Yes | True when audio was synthesized and synthesis credits were spent; false when a url was recorded |