Skip to content
HALOWERK

Media and Speech Processing

text to speech

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.

POST https://medien.halowerk.com/v1/text-to-speech

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYesThe text to speak. At most 10000 characters per call.
voicestringNoProvider 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.
encodingstringNoAudio format of the result.
include_audiobooleanNoReturn the audio base64. Off returns only the figures — useful for checking the price and length first.
Show full input schema
{
  "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."
    }
  }
}

Open original schema

Published input example

{
  "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"
}

Result & documentation

Show published result schema
{
  "$ref": "https://medien.halowerk.com/v1/text-to-speech/schema#/outputSchema"
}

Open published result example

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →