{"service":"HALOWERK medienwerk","endpoint":"/v1/text-to-speech","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["text"],"additionalProperties":false,"properties":{"text":{"type":"string","minLength":1,"maxLength":10000,"description":"The text to speak. At most 10000 characters per call."},"voice":{"type":"string","maxLength":60,"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."},"encoding":{"type":"string","enum":["mp3","wav","opus","flac","linear16"],"default":"mp3","description":"Audio format of the result."},"include_audio":{"type":"boolean","default":true,"description":"Return the audio base64. Off returns only the figures — useful for checking the price and length first."}}},"requestExample":{"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","encoding":"mp3"},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["text"],"additionalProperties":false,"properties":{"text":{"type":"string","minLength":1,"maxLength":10000,"description":"The text to speak. At most 10000 characters per call."},"voice":{"type":"string","maxLength":60,"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."},"encoding":{"type":"string","enum":["mp3","wav","opus","flac","linear16"],"default":"mp3","description":"Audio format of the result."},"include_audio":{"type":"boolean","default":true,"description":"Return the audio base64. Off returns only the figures — useful for checking the price and length first."}}},"requestExample":{"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","encoding":"mp3"}}],"outputSchema":{"type":"object","properties":{"audio":{"type":"object","properties":{"media_type":{"type":"string"},"encoding":{"type":"string"},"bytes":{"type":"integer"},"content_base64":{"type":"string"},"duration_seconds":{"type":"number"},"sample_rate":{"type":"integer"},"channels":{"type":"integer"}}},"voice":{"type":"object","properties":{"name":{"type":"string"},"generation":{"type":"string"},"accent":{"type":"string"},"catalogue_size":{"type":"integer"},"validated_against_catalogue":{"type":"boolean"}}},"text":{"type":"object","properties":{"characters":{"type":"integer"},"characters_billed_by_provider":{"type":"integer"}}},"billing":{"type":"object","properties":{"billed_units":{"type":"integer"},"characters":{"type":"integer"},"unit_price_usdc":{"type":"number"},"generation":{"type":"string"},"price_usdc":{"type":"number"}}}},"required":["audio","voice","text","billing"]},"outputExample":{"audio":{"media_type":"audio/mpeg","encoding":"mp3","bytes":36576,"content_base64":"//NkxAAb+BpoNkjEAR1+5bQuBaQAEQAAw8PDw8AAAAARj/zD...","duration_seconds":6.096,"sample_rate":24000,"channels":1},"voice":{"name":"aura-2-thalia-en","generation":"aura-2","accent":"American","catalogue_size":103,"validated_against_catalogue":true},"text":{"characters":117,"characters_billed_by_provider":117},"billing":{"billed_units":1,"characters":117,"unit_price_usdc":0.08,"generation":"aura-2","price_usdc":0.08}},"tags":["text-to-speech","tts","tts-api","speech-synthesis","text-to-audio"]}