ai_speech
Text to speech (GET) — Turn text into spoken MP3 audio with one GET: text= (max 1500 characters), optional lang= en | es | fr | zh | ja | ko (default en). Returns the audio/mpeg body directly - save it or play it. Same engine as POST /v1/audio/speech (MeloTTS). Price: $0.008 USDC (Base, via 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": "ai_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Your order has shipped and will arrive on Tuesday. |