Skip to content
Fourohtwo

ton.halowerk.com/v1/audiogram-render

The audio window (up to 60 s, any audio file or the audio track of a video) drives an ffmpeg 6.1 showwaves waveform (mode cline, line, p2p or point, square-root amplitude scale, mono mix) in a band across the middle of the frame. Captions come as a cue list or as WebVTT/SRT text (cue times refer to the original audio and are shifted by start_s; markup tags are removed), are wrapped by measured tex

BaseAnswering
POSThttps://ton.halowerk.com/v1/audiogram-render

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ton.halowerk.com/v1/audiogram-render", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"audio_url":"https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg","captions":[{"end_s":2.5,"start_s":0,"text":"This is an audiogram."}],"duration_s":3,"fps":15,"title":"Example episode"}),
});
console.log(await res.json());

Example input

{
  "audio_url": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg",
  "captions": [
    {
      "end_s": 2.5,
      "start_s": 0,
      "text": "This is an audiogram."
    }
  ],
  "duration_s": 3,
  "fps": 15,
  "title": "Example episode"
}