composer_voice_line
Speaks one or more lines using exactly one provider voice_id or authorized like samples. No voice design. Several lines write out_1.wav, out_2.wav, ...; a single line writes out. Each line is checked against its text by transcription; a failed task lists the lines that missed. Returns task_id and credit cost.
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": {
"project_id": "<project_id>",
"text": "<text>",
"out": "<out>"
},
"name": "composer_voice_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Path relative to the project, e.g. gen/shot1.mp4. | |
| say | No | Pronunciations for names and brands, each "WORD=SPOKEN" (e.g. "Vrbo=Ver-bo"). The voice reads SPOKEN; captions and the voice check keep WORD. Write amounts as digits in text instead. | |
| lead | No | Seconds of silence before the line. | |
| like | No | Clean samples to clone: a character generated in this project, the user's own voice, or a voice they have the rights to use. | |
| seed | No | Random seed. An identical request (same seed) within 10 minutes returns the existing task. | |
| text | Yes | The lines to speak, one clip per line. | |
| describe | No | Removed; always rejected before charging. Use voice_id from composer_list_voices or authorized like samples. | |
| voice_id | No | Provider voice_id from composer_list_voices, not a record UUID. Use exactly one of voice_id or like. | |
| project_id | Yes | project_id from composer_project_create. |