Media and Speech Processing
audio / speech
Text to speech API, OpenAI-compatible: POST /v1/audio/speech with model, input and voice (alloy, ash, coral, echo, fable, nova, onyx, sage, shimmer and more) returns the speech audio bytes, MP3 by default or opus, aac, flac, wav, pcm, like OpenAI tts-1. Convert text to speech with natural Deepgram Aura-2 voices, speed 0.25-4.0, up to 4096 characters. 0.02 USDC per started 250 characters; swap the base URL of any OpenAI audio speech client.
POST https://medien.halowerk.com/v1/audio/speechInputs
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | No | 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 | string | Yes | The text to generate audio for. At most 4096 characters. |
| voice | string | No | 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 | string | No | Audio format. pcm is raw 24 kHz 16-bit little-endian mono without header, like OpenAI. |
| speed | number | No | Playback speed 0.25-4.0, pitch preserved (ffmpeg atempo). |
| instructions | string | No | Accepted for compatibility with gpt-4o-mini-tts clients; not applied. |
| stream_format | string | No | Accepted for compatibility; only complete audio is returned. |
Show full input schema
{
"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."
}
}
}Published input example
{
"model": "tts-1",
"input": "Your order has shipped and will arrive on Thursday.",
"voice": "alloy",
"response_format": "mp3"
}Result & documentation
Show published result schema
{
"$ref": "https://medien.halowerk.com/v1/audio/speech/schema#/outputSchema"
}Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.
More endpoints in this hub
- Media and Speech Processing0.03 USDC · variable
ad detect
POSThttps://medien.halowerk.com/v1/ad-detectFinds sponsor reads, self-promotion and cross-promotion in a podcast episode of up to two hours with sentence-exact times, sponsor names and discount codes, and optionally returns the episode with those segments cut out plus an edit list. P
- Media and Speech Processing0.004 USDC · variable
audio concat
POSThttps://medien.halowerk.com/v1/audio-concatJoins 2 to 10 audio files in order into one, with a pause or a crossfade between parts and optional common loudness, and reports where each part starts in the result. Takes 2 to 10 audio or video files (each up to 24 MB, together up to 60 m
- Media and Speech Processing0.01 USDC
audio confidence review
POSThttps://medien.halowerk.com/v1/audio-confidence-reviewReturn the least confident recognized passages with exact listening timestamps. Only audio_url is required. Duration is measured locally and capped at20seconds before Deepgram EU processing; training opt-out sent on every request. Failed wo