Zum Inhalt
HALOWERK

Medienwerk

phone prompts

Takes up to 30 prompts, each with an id and its text (total up to 10,000 characters), and returns one audio file per prompt in telephone format: 8 kHz mono WAV in 16-bit PCM, G.711 A-law (Europe) or µ-law (North America), or MP3 for preview. Files are named after the ids so they can be dropped into a phone system. Short silence is added at start and end, as phone systems expect; the voice is selectable per language (English, German, Spanish, French, Italian, Dutch, Japanese). Speech by.

POST https://medien.halowerk.com/v1/phone-prompts

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
promptsarrayJa
languagestringJa
voicestringNein
formatstringNein
padding_secondsnumberNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "prompts",
    "language"
  ],
  "additionalProperties": false,
  "properties": {
    "prompts": {
      "type": "array",
      "minItems": 1,
      "maxItems": 30,
      "items": {
        "type": "object",
        "required": [
          "id",
          "text"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_-]{1,40}$"
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1500
          }
        }
      }
    },
    "language": {
      "type": "string",
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "it",
        "nl",
        "ja"
      ]
    },
    "voice": {
      "type": "string",
      "maxLength": 60
    },
    "format": {
      "type": "string",
      "enum": [
        "wav_8k",
        "ulaw",
        "alaw",
        "mp3"
      ],
      "default": "wav_8k"
    },
    "padding_seconds": {
      "type": "number",
      "minimum": 0,
      "maximum": 2,
      "default": 0.3
    }
  }
}

Originalschema öffnen

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 →