Zum Inhalt
HALOWERK

Medienwerk

waveform image

Takes an audio or video file (up to 24 MB) and returns its waveform as a PNG image with chosen width, height, wave colour and background colour, mono or one lane per channel, optionally on a logarithmic scale that makes quiet speech visible. Rendered locally with ffmpeg; the image comes back inline as base64 along with duration and size. Nothing leaves this machine. Fixed price per call.

POST https://medien.halowerk.com/v1/waveform-image

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJaThe recording. Either url or content_base64.
widthintegerNein
heightintegerNein
colorstringNein
backgroundstringNein
split_channelsbooleanNein
log_scalebooleanNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source"
  ],
  "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
        }
      }
    },
    "width": {
      "type": "integer",
      "minimum": 100,
      "maximum": 4000,
      "default": 1200
    },
    "height": {
      "type": "integer",
      "minimum": 40,
      "maximum": 1000,
      "default": 200
    },
    "color": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "default": "#3b82f6"
    },
    "background": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "default": "#ffffff"
    },
    "split_channels": {
      "type": "boolean",
      "default": false
    },
    "log_scale": {
      "type": "boolean",
      "default": false
    }
  }
}

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 →