Zum Inhalt
HALOWERK

Audiowerk

speech duration

Counts syllables rather than words, because word length differs between languages far more than syllable duration does — a German compound and its four-word English equivalent take about the same time to say and would give wildly different word counts. On top of the syllable count come three corrections that a plain rate multiplication misses: digits are counted at the length they are spoken rather than written, since a year is four characters and five syllables; letter-by-letter acronyms.

POST https://audio.halowerk.com/speech-duration

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
textstringJaThe text to be spoken.
languagestringNeinLanguage of the text. Decides which syllable rules apply.
deliverystringNeinDelivery style. Each carries its own syllables per second.
syllables_per_secondnumberNeinOwn rate, only with delivery=custom.
sentence_pause_msintegerNeinPause added at a full stop, question mark or exclamation mark.
comma_pause_msintegerNeinPause added at a comma, semicolon, colon or dash.
paragraph_pause_msintegerNeinPause added at a blank line.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "text"
  ],
  "additionalProperties": false,
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40000,
      "description": "The text to be spoken."
    },
    "language": {
      "type": "string",
      "enum": [
        "de",
        "en",
        "fr",
        "es",
        "it",
        "nl",
        "pt"
      ],
      "default": "en",
      "description": "Language of the text. Decides which syllable rules apply."
    },
    "delivery": {
      "type": "string",
      "enum": [
        "slow",
        "narration",
        "conversational",
        "brisk",
        "custom"
      ],
      "default": "narration",
      "description": "Delivery style. Each carries its own syllables per second."
    },
    "syllables_per_second": {
      "type": "number",
      "minimum": 1,
      "maximum": 12,
      "description": "Own rate, only with delivery=custom."
    },
    "sentence_pause_ms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 3000,
      "default": 600,
      "description": "Pause added at a full stop, question mark or exclamation mark."
    },
    "comma_pause_ms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1500,
      "default": 200,
      "description": "Pause added at a comma, semicolon, colon or dash."
    },
    "paragraph_pause_ms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5000,
      "default": 900,
      "description": "Pause added at a blank line."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "text": "beispiel",
  "language": "en",
  "delivery": "narration",
  "sentence_pause_ms": 600,
  "comma_pause_ms": 200,
  "paragraph_pause_ms": 900
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →