# Halowerk Media FFmpeg Trim Plan Generator

> Halowerk Media FFmpeg Trim Plan Generator is a paid API for AI agents from medien.halowerk.com, paid per call via x402, $0.031/call, status unknown (last checked 2026-10-21).

Generates path-free FFmpeg filter expressions for trimming speaker turns from a transcript-backed audio source, reusing an existing qualified transcript-package request.

## Facts

- Endpoint: POST https://medien.halowerk.com/v1/baumarkt/media/ffmpeg-trim-plan?utm_source=zero.xyz
- Price: $0.031/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-media-ffmpeg-trim-plan-generator-d144f4b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VLmNbzRU1qEd8y-ouq4JD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-media-ffmpeg-trim-plan-generator-d144f4b5 -d '<json body>'
```

Example prompt: Using the existing transcript package request I already have, generate FFmpeg filter expressions that will trim out each speaker turn so I can cut the audio file without needing file paths — just give me the filter plan I can apply locally.

## When to prefer this

Choose this endpoint when you already have a qualified transcript-package request from Halowerk/Deepgram and need deterministic, path-free FFmpeg filter expressions computed from its speaker turn timestamps — without re-running transcription or performing acoustic voice activity detection. Ideal for media pipelines that handle FFmpeg execution locally and only need the computed trim plan.

## Known failure modes

- Motor/base computation failure causes the article to fail before settlement — no charge applied
- Invalid or non-existent transcript-package request ID returns an error
- Transcript package with no usable speaker turn data results in empty or error response
- Payment of 0.031 USDC not satisfied causes request rejection under x402 protocol
- Malformed request body returns JSON error response

## How this service works

Produce path-free FFmpeg filter expressions for source-backed speaker turns. Reuses exactly one existing qualified transcript-package request. Source audio leaves the server for the existing Deepgram processor; existing provider disclosure and cost/margin retained. Deterministic timestamps/text processing only; no acoustic VAD, speaker identity or specialist accuracy claims. Base motor quote plus0.001USDC; article fails before settlement if the motor fails.

## Output

A JSON response containing path-free FFmpeg filter expressions derived from speaker turn timestamps and text in the reused transcript package. Includes computed trim points and filter graph segments per speaker turn, suitable for direct use in FFmpeg commands without server-side file path references.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "source": {
   "type": "object",
   "oneOf": [
    {
     "required": [
      "url"
     ]
    },
    {
     "required": [
      "content_base64"
     ]
    }
   ],
   "properties": {
    "url": {
     "type": "string",
     "pattern": "^https?://",
     "maxLength": 2048
    },
    "filename": {
     "type": "string",
     "maxLength": 260
    },
    "content_base64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 4
    }
   },
   "additionalProperties": false
  },
  "language": {
   "enum": [
    "de",
    "en",
    "es",
    "fr",
    "it",
    "nl",
    "pt",
    "multi"
   ],
   "type": "string"
  },
  "duration_minutes": {
   "type": "integer",
   "maximum": 30,
   "minimum": 1
  },
  "confidence_threshold": {
   "type": "number",
   "maximum": 1,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-media-ffmpeg-trim-plan-generator-d144f4b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from medien.halowerk.com](https://www.zero.xyz/host/medien.halowerk.com/llms.txt)
