Takes a video (up to 24 MB) and returns the part between start_seconds and end_s
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://medien.halowerk.com/v1/video-trim
| Category | Image and media |
|---|---|
| Provider host | medien.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-31 | valid payment request | 402 | $0.006 | 1051 ms |
Example input (from the provider)
{
"body": {
"end_seconds": 36,
"fade_seconds": 0.5,
"source": {
"url": "https://medien.halowerk.com/beispiel/vortrag.mp4"
},
"start_seconds": 21
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"end_seconds": {
"maximum": 36000,
"minimum": 0.1,
"type": "number"
},
"fade_seconds": {
"default": 0,
"maximum": 3,
"minimum": 0,
"type": "number"
},
"max_width": {
"default": 1280,
"maximum": 1920,
"minimum": 160,
"type": "integer"
},
"source": {
"additionalProperties": false,
"properties": {
"content_base64": {
"maxLength": 12000000,
"type": "string"
},
"filename": {
"maxLength": 260,
"type": "string"
},
"url": {
"maxLength": 2048,
"type": "string"
}
},
"type": "object"
},
"start_seconds": {
"maximum": 36000,
"minimum": 0,
"type": "number"
}
},
"required": [
"source",
"start_seconds",
"end_seconds"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}