Zum Inhalt
HALOWERK

Medienwerk

ad detect

Takes 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 advertiser and any discount code as spoken, and a verbatim evidence phrase that is checked against the transcript — a segment without verified evidence is reported but never cut. Product mentions in the conversation itself are not counted as ads. With.

POST https://medien.halowerk.com/v1/ad-detect

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJaThe recording. Either url or content_base64.
duration_minutesintegerJaLength in started minutes — this is what you are billed for.
languagestringNeinSpoken language (BCP-47). Omit to detect.
remove_adsbooleanNein
remove_kindsarrayNein
output_formatstringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes"
  ],
  "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
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 120,
      "description": "Length in started minutes — this is what you are billed for."
    },
    "language": {
      "type": "string",
      "maxLength": 12,
      "description": "Spoken language (BCP-47). Omit to detect."
    },
    "remove_ads": {
      "type": "boolean",
      "default": false
    },
    "remove_kinds": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "sponsor",
          "self_promo",
          "cross_promo"
        ]
      },
      "default": [
        "sponsor"
      ]
    },
    "output_format": {
      "type": "string",
      "enum": [
        "opus",
        "mp3"
      ],
      "default": "opus"
    }
  }
}

Originalschema öffnen

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

Alle Endpunkte dieses Hubs →