voice.compile
Preview what voice.generate would speak for a voice placeholder — text, voice, model and cost. Free.
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>",
"placeholderId": "<placeholderId>"
},
"name": "voice.compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The words to speak. Defaults to the clip's prompt, then the scene's voice prompt | |
| model | No | eleven-multilingual-v2 (default), eleven-v3 (most expressive) or eleven-flash-v2.5 (cheapest) | |
| voiceId | No | ElevenLabs voice (voice.list). Defaults to characterId's voice, then a narrator voice | |
| projectId | Yes | ||
| characterId | No | Speak in this character's voice | |
| placeholderId | Yes | A voice placeholder on an audio track (timeline.add_placeholder with kind voice) |