Medienwerk
audio trim
Takes an audio or video file (up to 24 MB) and returns the part between start_seconds and end_seconds as an audio file. The cut is sample-accurate because the excerpt is re-encoded rather than cut at the nearest frame. Optional fade-in and fade-out in seconds. If the end lies beyond the file, the excerpt ends with the file and this is reported. Output inline as base64, max 8 MB. Runs locally with ffmpeg; nothing leaves this machine. Fixed price per call.
POST https://medien.halowerk.com/v1/audio-trimEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| source | object | Ja | The recording. Either url or content_base64. |
| start_seconds | number | Ja | |
| end_seconds | number | Ja | |
| fade_in_seconds | number | Nein | |
| fade_out_seconds | number | Nein | |
| output_format | string | Nein |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"source",
"start_seconds",
"end_seconds"
],
"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
}
}
},
"start_seconds": {
"type": "number",
"minimum": 0,
"maximum": 7200
},
"end_seconds": {
"type": "number",
"minimum": 0.1,
"maximum": 7200
},
"fade_in_seconds": {
"type": "number",
"minimum": 0,
"maximum": 10,
"default": 0
},
"fade_out_seconds": {
"type": "number",
"minimum": 0,
"maximum": 10,
"default": 0
},
"output_format": {
"type": "string",
"enum": [
"opus",
"mp3",
"wav",
"flac"
],
"default": "mp3"
}
}
}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