Medienwerk
video trim
Takes a video (up to 24 MB) and returns the part between start_seconds and end_seconds, at most 180 seconds, as MP4 with H.264 and AAC. The clip is re-encoded, so it starts exactly at the requested time rather than at the previous keyframe. Optional maximum width and short video and audio fades at both ends. If the end lies beyond the video, the clip ends with the video and this is reported. Output inline as base64, max 24 MB. Runs locally with ffmpeg. Fixed price per call.
POST https://medien.halowerk.com/v1/video-trimEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| source | object | Ja | |
| start_seconds | number | Ja | |
| end_seconds | number | Ja | |
| max_width | integer | Nein | |
| fade_seconds | number | Nein |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"source",
"start_seconds",
"end_seconds"
],
"additionalProperties": false,
"properties": {
"source": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"maxLength": 2048
},
"content_base64": {
"type": "string",
"maxLength": 12000000
},
"filename": {
"type": "string",
"maxLength": 260
}
}
},
"start_seconds": {
"type": "number",
"minimum": 0,
"maximum": 36000
},
"end_seconds": {
"type": "number",
"minimum": 0.1,
"maximum": 36000
},
"max_width": {
"type": "integer",
"minimum": 160,
"maximum": 1920,
"default": 1280
},
"fade_seconds": {
"type": "number",
"minimum": 0,
"maximum": 3,
"default": 0
}
}
}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