{"service":"HALOWERK medienwerk","endpoint":"/v1/audio/speech","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["input"],"additionalProperties":false,"properties":{"model":{"type":"string","maxLength":64,"default":"tts-1","description":"Accepted for OpenAI compatibility (tts-1, tts-1-hd, gpt-4o-mini-tts). All map to Deepgram Aura-2; the voice decides the provider model."},"input":{"type":"string","minLength":1,"maxLength":4096,"description":"The text to generate audio for. At most 4096 characters."},"voice":{"type":"string","minLength":1,"maxLength":60,"default":"alloy","description":"OpenAI voice name (alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse, marin, cedar) or a Deepgram voice such as aura-2-thalia-en or aura-2-agathe-fr."},"response_format":{"type":"string","enum":["mp3","opus","aac","flac","wav","pcm"],"default":"mp3","description":"Audio format. pcm is raw 24 kHz 16-bit little-endian mono without header, like OpenAI."},"speed":{"type":"number","minimum":0.25,"maximum":4,"default":1,"description":"Playback speed 0.25-4.0, pitch preserved (ffmpeg atempo)."},"instructions":{"type":"string","maxLength":4096,"description":"Accepted for compatibility with gpt-4o-mini-tts clients; not applied."},"stream_format":{"type":"string","enum":["audio"],"description":"Accepted for compatibility; only complete audio is returned."}}},"requestExample":{"model":"tts-1","input":"Your order has shipped and will arrive on Thursday.","voice":"alloy","response_format":"mp3"},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["input"],"additionalProperties":false,"properties":{"model":{"type":"string","maxLength":64,"default":"tts-1","description":"Accepted for OpenAI compatibility (tts-1, tts-1-hd, gpt-4o-mini-tts). All map to Deepgram Aura-2; the voice decides the provider model."},"input":{"type":"string","minLength":1,"maxLength":4096,"description":"The text to generate audio for. At most 4096 characters."},"voice":{"type":"string","minLength":1,"maxLength":60,"default":"alloy","description":"OpenAI voice name (alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse, marin, cedar) or a Deepgram voice such as aura-2-thalia-en or aura-2-agathe-fr."},"response_format":{"type":"string","enum":["mp3","opus","aac","flac","wav","pcm"],"default":"mp3","description":"Audio format. pcm is raw 24 kHz 16-bit little-endian mono without header, like OpenAI."},"speed":{"type":"number","minimum":0.25,"maximum":4,"default":1,"description":"Playback speed 0.25-4.0, pitch preserved (ffmpeg atempo)."},"instructions":{"type":"string","maxLength":4096,"description":"Accepted for compatibility with gpt-4o-mini-tts clients; not applied."},"stream_format":{"type":"string","enum":["audio"],"description":"Accepted for compatibility; only complete audio is returned."}}},"requestExample":{"model":"tts-1","input":"Your order has shipped and will arrive on Thursday.","voice":"alloy","response_format":"mp3"}}],"outputSchema":{"type":"object","properties":{"content_type":{"type":"string"},"body":{"type":"string"},"headers":{"type":"object","properties":{"X-Voice":{"type":"string"},"X-Provider-Voice":{"type":"string"},"X-Audio-Format":{"type":"string"},"X-Characters":{"type":"string"},"X-Price-USDC":{"type":"string"},"X-Machine-Generated":{"type":"string"}}}}},"outputExample":{"content_type":"audio/mpeg","body":"raw MP3 audio bytes (not JSON), measured 30.11.2026: 25344 bytes, 4.2 s for 62 characters","headers":{"X-Voice":"alloy","X-Provider-Voice":"aura-2-thalia-en","X-Audio-Format":"mp3","X-Characters":"62","X-Price-USDC":"0.02","X-Machine-Generated":"true"}},"tags":["text-to-speech","tts","openai-compatible","speech-synthesis","audio-speech"]}