Zum Inhalt
HALOWERK

Medienwerk

dub

Takes an audio or video file of up to 10 minutes and returns a dubbed audio track in the target language. The speech is transcribed with timestamps and split into blocks; each block is translated on its own and spoken by a Deepgram voice of the target language, then placed at the start time of the original block. A spoken block that is longer than its slot is sped up to at most 1.6x, and any remaining overhang is reported per block. The original can keep running quietly underneath.

POST https://medien.halowerk.com/v1/dub

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJaThe recording. Either url or content_base64.
duration_minutesintegerJaLength in started minutes — this is what you are billed for.
target_languagestringJa
source_languagestringNeinSpoken language (BCP-47). Omit to detect.
voicestringNeinDeepgram voice such as aura-2-julius-de. Omit for the first voice of the target language.
original_volumenumberNeinVolume of the original underneath; 0 removes it.
output_formatstringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes",
    "target_language"
  ],
  "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 file."
        },
        "content_base64": {
          "type": "string",
          "maxLength": 12000000,
          "description": "The file inline, base64. Larger files by url."
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "description": "Length in started minutes — this is what you are billed for."
    },
    "target_language": {
      "type": "string",
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "it",
        "nl",
        "ja"
      ]
    },
    "source_language": {
      "type": "string",
      "maxLength": 12,
      "description": "Spoken language (BCP-47). Omit to detect."
    },
    "voice": {
      "type": "string",
      "maxLength": 60,
      "description": "Deepgram voice such as aura-2-julius-de. Omit for the first voice of the target language."
    },
    "original_volume": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "default": 0.12,
      "description": "Volume of the original underneath; 0 removes it."
    },
    "output_format": {
      "type": "string",
      "enum": [
        "opus",
        "mp3",
        "wav",
        "flac"
      ],
      "default": "mp3"
    }
  }
}

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 →