Skip to content
HALOWERK

Media and Speech Processing

speech to text

Speech to text API: transcribe an audio file or video file to text with word-level timestamps, detected language, paragraphs and utterances. Audio transcription from a public URL or base64 upload (MP3, WAV, M4A, AAC, OGG, Opus, FLAC, MP4, WebM). Deepgram Nova-3 recognition with a confidence report that names the weakest passages by timestamp. 0.02 USDC per started audio minute, up to 30 minutes per call. Not charged when the audio cannot be read.

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

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
sourceobjectYesThe recording. Either url or content_base64.
duration_minutesintegerYesLength of the recording in started minutes — this is what you are billed for. A longer file is refused with its real length and nothing is charged; a shorter one costs what you declared, and the answer says how much less it would have been.
languagestringNoBCP-47 code such as de, en, es. "multi" enables multilingual recognition and is billed at the provider's higher rate. Omit to let the recogniser detect the language.
confidence_thresholdnumberNoWords below this confidence are listed separately as the passages worth checking.
include_wordsbooleanNoReturn every word with its timestamp. Off returns only the text, paragraphs and utterances.
Show full input schema
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes"
  ],
  "additionalProperties": false,
  "properties": {
    "source": {
      "type": "object",
      "additionalProperties": false,
      "description": "The recording. Either url or content_base64.",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048,
          "description": "Public http(s) URL of the audio or video file."
        },
        "content_base64": {
          "type": "string",
          "maxLength": 12000000,
          "description": "The file inline, base64. Larger files must come by url."
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30,
      "description": "Length of the recording in started minutes — this is what you are billed for. A longer file is refused with its real length and nothing is charged; a shorter one costs what you declared, and the answer says how much less it would have been."
    },
    "language": {
      "type": "string",
      "maxLength": 12,
      "description": "BCP-47 code such as de, en, es. \"multi\" enables multilingual recognition and is billed at the provider's higher rate. Omit to let the recogniser detect the language."
    },
    "confidence_threshold": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "default": 0.7,
      "description": "Words below this confidence are listed separately as the passages worth checking."
    },
    "include_words": {
      "type": "boolean",
      "default": true,
      "description": "Return every word with its timestamp. Off returns only the text, paragraphs and utterances."
    }
  }
}

Open original schema

Published input example

{
  "source": {
    "url": "https://medien.halowerk.com/beispiel/notiz.mp3"
  },
  "duration_minutes": 1,
  "language": "de",
  "confidence_threshold": 0.7
}

Result & documentation

Show published result schema
{
  "$ref": "https://medien.halowerk.com/v1/speech-to-text/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 →