speak
speakText to speech. Send up to 2000 characters and a language (en, es, fr, zh, jp, kr); get a natural-sounding WAV recording back. Costs $0.005 USDC per call (x402).
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": "speak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | es | fr | zh | jp | kr (default en) | |
| text | Yes |