Skip to content
Fourohtwo

Media tools

rengi.dev/v1/media-tools/video-to-gif

Media tools: Video to a good-looking GIF or animated WebP: a palette built from the clip itself, your choice of part, frame rate and width, and an optional size cap the tool hits by itself (for Discord, GitHub READMEs, Slack). Full schema: https://rengi.dev/v1/media-tools/schema

BaseSolanaAnswering
POSThttps://rengi.dev/v1/media-tools/video-to-gif

Uptime100% of 2 checks 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://rengi.dev/v1/media-tools/video-to-gif", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"duration":2,"fps":10,"start":0.5,"videoUrl":"https://rengi.dev/samples/clip.mp4","width":240}),
});
console.log(await res.json());

Example input

{
  "duration": 2,
  "fps": 10,
  "start": 0.5,
  "videoUrl": "https://rengi.dev/samples/clip.mp4",
  "width": 240
}

More from Rengi ForgeProvider status