← Back to directory

Find ad insertion points in an episode: pre-roll, post-roll and mid-roll markers...

https://ton.halowerk.com/v1/ad-insertion-markers

Overview

Find ad insertion points in an episode: pre-roll, post-roll and mid-roll markers at measured silences and chapter boundaries, with spacing and edge rules.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider ton
Source bazaar
Indexed 2026-11-21 08:04:08

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "audio_url": "https://ton.halowerk.com/beispiel/ad-insertion-markers-audio.wav", "avoid_end_s": 1, "avoid_start_s": 1, "max_midrolls": 2, "min_spacing_s": 2 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Silence is a level criterion; quiet music beds or room tone above the threshold are not detected as silence.", "The service marks positions only; it does not judge content or insert audio." ], "result": { "analyser": "ffmpeg 6.1 silencedetect", "candidates": [ { "chapter": null, "decision": "chosen", "silence_s": 1.5, "source": "silence", "time_s": 3.75 }, { "chapter": null, "decision": "chosen", "silence_s": 0.8, "source": "silence", "time_s": 7.9 } ], "chapters_used": 0, "duration_s": 11.3, "markers": [ { "time_s": 0, "timecode": "00:00:00.000", "type": "preroll" }, { "chapter": null, "silence": { "duration_s": 1.5, "end_s": 4.5, "start_s": 3 }, "source": "silence", "time_s": 3.75, "timecode": "00:00:03.750", "type": "midroll" }, { "chapter": null, "silence": { "duration_s": 0.8, "end_s": 8.3, "start_s": 7.5 }, "source": "silence", "time_s": 7.9, "timecode": "00:00:07.900", "type": "midroll" }, { "time_s": 11.3, "timecode": "00:00:11.300", "type": "postroll" } ], "midrolls": 2, "settings": { "avoid_end_s": 1, "avoid_start_s": 1, "chapter_snap_s": 15, "max_midrolls": 2, "min_silence_s": 0.6, "min_spacing_s": 2, "silence_threshold_db": -45 }, "silences": [ { "end": 4.5, "start": 3 }, { "end": 8.3, "start": 7.5 } ], "source": { "bytes": 180844, "channels": 1, "codec": "pcm_s16le", "container": "wav", "duration_s": 11.3, "sample_rate": 8000, "sha256": "bc304df95674f09e62c3920c8f12bb2603b32a53931d5aba5e8f1e9fb634d17e" } }, "service": "ad-insertion-markers", "status": "success" }, "type": "json" }