Medienwerk
doc translate
Takes a document as text, a public URL or inline base64 — PDF, DOCX, ODT, HTML and Markdown are read — and returns it translated into the target language. Structure is the point: heading levels, indentation, blank lines, list markers, the number of table columns, placeholders such as double-brace tokens or printf specifiers, URLs, e-mail addresses, file names and fenced code blocks are meant to come through untouched. Rather than assert that, the endpoint measures it.
POST https://medien.halowerk.com/v1/doc-translateEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| text | string | Nein | The document directly. Cheapest and clearest — its length is what you are billed for. |
| source | object | Nein | Alternative to text: the document as a file. |
| target_language | string | Ja | Target language as a BCP-47 code. |
| source_language | string | Nein | Source language. "auto" lets the model detect it. |
| document_chars | integer | Nein | Only needed when the document arrives by url or content_base64: its length in characters, which is what you are billed for. |
| formality | string | Nein | Register of address where the target language distinguishes it. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"target_language"
],
"additionalProperties": false,
"properties": {
"text": {
"type": "string",
"maxLength": 24000,
"description": "The document directly. Cheapest and clearest — its length is what you are billed for."
},
"source": {
"type": "object",
"additionalProperties": false,
"description": "Alternative to text: the document as a file.",
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"description": "Public http(s) URL of a PDF, DOCX, ODT, HTML or text file."
},
"content_base64": {
"type": "string",
"maxLength": 12000000,
"description": "The file inline, base64."
},
"filename": {
"type": "string",
"maxLength": 260
},
"format": {
"type": "string",
"enum": [
"auto",
"pdf",
"docx",
"odt",
"html",
"markdown",
"rtf",
"text"
],
"default": "auto"
}
}
},
"target_language": {
"type": "string",
"enum": [
"de",
"en",
"fr",
"es",
"it",
"nl",
"pt",
"pl",
"cs",
"da",
"sv",
"no",
"fi",
"tr",
"ro",
"hu",
"el"
],
"description": "Target language as a BCP-47 code."
},
"source_language": {
"type": "string",
"enum": [
"auto",
"de",
"en",
"fr",
"es",
"it",
"nl",
"pt",
"pl",
"cs",
"da",
"sv",
"no",
"fi",
"tr",
"ro",
"hu",
"el"
],
"default": "auto",
"description": "Source language. \"auto\" lets the model detect it."
},
"document_chars": {
"type": "integer",
"minimum": 1,
"maximum": 24000,
"description": "Only needed when the document arrives by url or content_base64: its length in characters, which is what you are billed for."
},
"formality": {
"type": "string",
"enum": [
"neutral",
"formal",
"informal"
],
"default": "neutral",
"description": "Register of address where the target language distinguishes it."
}
}
}Veröffentlichtes Eingabebeispiel
{
"text": "# Wartungsvertrag\n\n| Leistung | Frist |\n|---|---|\n| Stoerungsannahme | 4 Stunden |\n| Entstoerung | 24 Stunden |\n\nAnsprechpartner: {{kontakt}}",
"target_language": "en",
"formality": "formal"
}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
- Medienwerk0,03 USDC · variabel
ad detect
POSThttps://medien.halowerk.com/v1/ad-detectTakes a podcast episode of up to 120 minutes and returns its advertising segments: paid sponsor reads, self-promotion (newsletter, Patreon, merchandise) and cross-promotion of other shows, each with start and end on sentence boundaries, the
- Medienwerk0,004 USDC · variabel
audio concat
POSThttps://medien.halowerk.com/v1/audio-concatTakes 2 to 10 audio or video files (each up to 24 MB, together up to 60 minutes) and joins their audio in the given order. Between parts either a pause of chosen length or a crossfade is placed; optionally every part is brought to a common
- Medienwerk0,002 USDC · variabel
audio convert
POSThttps://medien.halowerk.com/v1/audio-convertTakes an audio or video file and returns the audio in the requested format — MP3, Opus, Ogg Vorbis, AAC in M4A, WAV or FLAC — with selectable bitrate for lossy formats, sample rate and mono or stereo. Only the first audio stream is converte