78trust / 100

Media Gif

by Relaystation GIF in News & content

x402 APIPassing, checked 1 h ago

$0.0005/MB. Turn a video segment into a palette-optimized animated GIF — share-ready loops. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

POST https://api.relaystation.ai/v1/media/gif

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
149 ms typical, 544 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.relaystation.ai/v1/media/gif" \
  -H "content-type: application/json" \
  -d '{"duration":0.1,"file":{},"fps":1,"start":0,"width":16}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.relaystation.ai%2Fv1%2Fmedia%2Fgif
const res = await pay("https://api.relaystation.ai/v1/media/gif", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"duration":0.1,"file":{},"fps":1,"start":0,"width":16}),
});
console.log(await res.json());

Example input

{
  "duration": 0.1,
  "file": {},
  "fps": 1,
  "start": 0,
  "width": 16
}

Example output

{
  "ok": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402544 ms$0.01
4 h agoPassed402472 ms$0.01
9 h agoPassed402334 ms$0.01
12 h agoPassed402147 ms$0.01
15 h agoPassed402124 ms$0.01
20 h agoPassed402149 ms$0.01
23 h agoPassed402140 ms$0.01
28 h agoPassed402819 ms$0.01