Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/timecode-convert

Converts up to 200 timecodes, frame counts or times between SMPTE HH:MM:SS:FF (non-drop), HH:MM:SS;FF (drop-frame, 29.97 and 59.94), frame numbers and exact rational seconds, for an agent editing video, captions or logs at a stated frame rate. Rates are integers, a rational like 30000/1001, or the named 23.976, 29.97, 59.94, 119.88; any other decimal is rejected, never rounded. Integer arithmetic

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/timecode-convert

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/timecode-convert", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"rate":"29.97","items":[{"timecode":"00:01:00;02"},{"frames":1800},{"timecode":"00:01:00;00"}]}),
});
console.log(await res.json());

Example input

{
  "rate": "29.97",
  "items": [
    {
      "timecode": "00:01:00;02"
    },
    {
      "frames": 1800
    },
    {
      "timecode": "00:01:00;00"
    }
  ]
}