A project's speech as a file
get_speech_fileA link to speech the project already has, as one mp3: the blocks named, in the project's order and with its silences between them. For handing the speech to something that wants a file — a player, a download, another service — without exporting the project. A block that still has no speech is made first, using characters from the user's balance. The link needs no key of its own and lasts 30 days, which every fetch of it starts again.
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>",
"blockIds": "<blockIds>"
},
"name": "get_speech_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockIds | Yes | The voiceover blocks the file is of, in any order | |
| projectId | Yes | A project id from list_projects or create_project |