Zum Inhalt
HALOWERK

Medienwerk

audio convert

Takes 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 converted; the content is not altered otherwise. Input and output are measured with ffprobe and both are reported, including size change. Output inline as base64, max 8 MB. Runs entirely on this machine; nothing is sent to third parties or stored. Billing per.

POST https://medien.halowerk.com/v1/audio-convert

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.
formatstringJa
bitrate_kbpsintegerNeinFor mp3, opus, ogg and aac.
sample_rateintegerNein
channelsintegerNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes",
    "format"
  ],
  "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": 60,
      "description": "Length in started minutes — this is what you are billed for."
    },
    "format": {
      "type": "string",
      "enum": [
        "mp3",
        "opus",
        "ogg",
        "aac",
        "wav",
        "flac"
      ]
    },
    "bitrate_kbps": {
      "type": "integer",
      "minimum": 16,
      "maximum": 320,
      "default": 128,
      "description": "For mp3, opus, ogg and aac."
    },
    "sample_rate": {
      "type": "integer",
      "enum": [
        8000,
        16000,
        22050,
        24000,
        32000,
        44100,
        48000
      ]
    },
    "channels": {
      "type": "integer",
      "enum": [
        1,
        2
      ]
    }
  }
}

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 →