Loading capability…
Synthesize natural speech audio from text with a choice of ElevenLabs voice and model, via BlockRun.
Both commands call the selected provider directly.
curl -X POST '/routes/blockrun-elevenlabs/ai/text-to-speech' \
-H 'content-type: application/json' \
-d '{"input":"Hello from h402, the x402 capability store for agents.","model":"elevenlabs/flash-v2.5","voice":"sarah","response_format":"mp3"}'h402 call 'ai/text-to-speech' --provider 'blockrun-elevenlabs' --method POST --json '{"input":"Hello from h402, the x402 capability store for agents.","model":"elevenlabs/flash-v2.5","voice":"sarah","response_format":"mp3"}'Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.
inputstringrequiredText to synthesize into speech.
modelstringoptionaldefault elevenlabs/flash-v2.5ElevenLabs model.
voicestringoptionaldefault sarahVoice alias or ElevenLabs voice_id. Use Load live values for the full BlockRun voice list.
response_formatstringoptionaldefault mp3Audio container format.
speednumberoptional0.7–1.2Playback speed multiplier.
{
"input": "Hello from h402, the x402 capability store for agents.",
"model": "elevenlabs/flash-v2.5",
"voice": "sarah",
"response_format": "mp3"
}{ "data": { "created": 1784735412, "model": "elevenlabs/flash-v2.5", "data": [ { "url": "https://blockrun.ai/api/media/media/audios/2026/07/22/bcchmwYtwR7OVEc7hYqU-8af7ad38.mp3", "format": "mp3", "characters": 56, "credits": 28 } ] }, "h402": { "routeId": "ai/text-to-speech", "provider": "blockrun-elevenlabs", "selectedCandidateId": "ai/text-to-speech/blockrun-elevenlabs", "routing": "manual", "paidBy": "x402-exact" } }
Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.