{"slug":"medien-halowerk-com-v1-text-to-speech-cf8bd0","title":"Text to speech","host":"medien.halowerk.com","method":"POST","resource":"https://medien.halowerk.com/v1/text-to-speech","category":"image","description":"Text to speech: convert text to natural-sounding audio and generate speech audio from text, returned as base64 MP3 (or WAV, Opus, FLAC, linear16) with media type and duration. Text to speech API for up to 10,000 characters per call, over a hundred natural voices (Deepgram Aura) across languages and ","price_listed":0.08,"price_asked":0.08,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":980,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"encoding":"mp3","text":"Your order has shipped and will arrive on Thursday. Reply to this message if you need to change the delivery address.","voice":"aura-2-thalia-en"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"encoding":{"default":"mp3","description":"Audio format of the result.","enum":["mp3","wav","opus","flac","linear16"],"type":"string"},"include_audio":{"default":true,"description":"Return the audio base64. Off returns only the figures — useful for checking the price and length first.","type":"boolean"},"text":{"description":"The text to speak. At most 10000 characters per call.","maxLength":10000,"minLength":1,"type":"string"},"voice":{"default":"aura-2-thalia-en","description":"Provider voice name, e.g. aura-2-thalia-en, aura-2-agathe-fr. Checked against the provider catalogue before the request is sent. Aura-1 voices are billed at half the Aura-2 rate.","maxLength":60,"type":"string"}},"required":["text"],"type":"object"},"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":{"audio":{"properties":{"bytes":{"type":"integer"},"channels":{"type":"integer"},"content_base64":{"type":"string"},"duration_seconds":{"type":"number"},"encoding":{"type":"string"},"media_type":{"type":"string"},"sample_rate":{"type":"integer"}},"type":"object"},"billing":{"properties":{"billed_units":{"type":"integer"},"characters":{"type":"integer"},"generation":{"type":"string"},"price_usdc":{"type":"number"},"unit_price_usdc":{"type":"number"}},"type":"object"},"text":{"properties":{"characters":{"type":"integer"},"characters_billed_by_provider":{"type":"integer"}},"type":"object"},"voice":{"properties":{"accent":{"type":"string"},"catalogue_size":{"type":"integer"},"generation":{"type":"string"},"name":{"type":"string"},"validated_against_catalogue":{"type":"boolean"}},"type":"object"}},"required":["audio","voice","text","billing"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.08,"price_match":true,"latency_ms":980,"error":null}],"description_full":"Text to speech: convert text to natural-sounding audio and generate speech audio from text, returned as base64 MP3 (or WAV, Opus, FLAC, linear16) with media type and duration. Text to speech API for up to 10,000 characters per call, over a hundred natural voices (Deepgram Aura) across languages and accents. 0.08 USDC per started 1,000 characters with Aura-2 voices, half that with Aura-1. Same engine as /v1/tts.","last_updated":"2026-11-26T10:13:31.397Z","schemes":["exact"]}