{"slug":"agentsvc-io-api-v1-proxy-tts-59d4a8","title":"Convert text to natural speech audio (MP3, WAV or OGG) with neural Piper voices","host":"agentsvc.io","method":"POST","resource":"https://agentsvc.io/api/v1/proxy/tts","category":"image","description":"Convert text to natural speech audio (MP3, WAV or OGG) with neural Piper voices: en-female, en-male (US English) and de-male (German); all voices public domain or CC0, so the audio can be used commercially. Params: text (required, max 2000 characters), voice (default en-female, or picked from langua","price_listed":0.04,"price_asked":0.04,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":890,"reported_calls_30d":10,"reported_payers_30d":3,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text":"Hello from agentsvc. Your report is ready.","voice":"en-female"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"format":{"default":"mp3","enum":["mp3","wav","ogg"],"type":"string"},"language":{"enum":["en","de"],"type":"string"},"speed":{"default":1,"maximum":2,"minimum":0.5,"type":"number"},"text":{"type":"string"},"voice":{"enum":["en-female","en-male","de-male"],"type":"string"}},"required":["text"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"audio_base64":{"type":"string"},"characters":{"type":"integer"},"duration_seconds":{"type":"number"},"format":{"type":"string"},"gender":{"type":"string"},"language":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer"},"voice":{"type":"string"},"voice_license":{"type":"string"}},"required":["format","duration_seconds","audio_base64"],"type":"object"},"success":{"type":"boolean"}},"required":["success","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.04,"price_match":true,"latency_ms":890,"error":null}],"description_full":"Convert text to natural speech audio (MP3, WAV or OGG) with neural Piper voices: en-female, en-male (US English) and de-male (German); all voices public domain or CC0, so the audio can be used commercially. Params: text (required, max 2000 characters), voice (default en-female, or picked from language), language (en or de), speed (0.5 to 2, default 1), format (mp3 default, wav, ogg). Returns audio_base64 and duration.","last_updated":"2026-10-10T09:09:29.414Z","schemes":["exact"]}