txt2speech
Convert text into natural-sounding speech audio using Puter AI, with selectable providers, voices, and languages. Returns audio as base64 data or a downloadable URL.
Instructions
Convert text to speech using Puter AI.
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": {
"text": "<text>"
},
"name": "txt2speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to convert to speech | |
| model | No | ||
| voice | No | ||
| engine | No | ||
| language | No | ||
| provider | No | ||
| test_mode | No | ||
| instructions | No | ||
| output_format | No | base64 |