77trust / 100

Shotstack Render

by ContentRewardsAI in News & content

x402 APIPassing, checked 57 min ago

Queue a production video render at $0.10/min USDC (billed by the second, rounded to $0.001). Same Edit JSON as staging (https://shotstack.io/docs/api/). Poll status; POST /shotstack/frames for stills at $0.002 each.

POST https://www.extendcontent.com/api/agent/shotstack/render

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
375 ms typical, 413 ms slowest 5%
Last check
57 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://www.extendcontent.com/api/agent/shotstack/render" \
  -H "content-type: application/json" \
  -d '{"duration_seconds":60,"edit":{"output":{"format":"mp4"},"timeline":{"tracks":[]}}}'
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%2Fwww.extendcontent.com%2Fapi%2Fagent%2Fshotstack%2Frender
const res = await pay("https://www.extendcontent.com/api/agent/shotstack/render", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"duration_seconds":60,"edit":{"output":{"format":"mp4"},"timeline":{"tracks":[]}}}),
});
console.log(await res.json());

Example input

{
  "duration_seconds": 60,
  "edit": {
    "output": {
      "format": "mp4"
    },
    "timeline": {
      "tracks": []
    }
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
57 min agoPassed402327 ms$0.1
4 h agoPassed402307 ms$0.1
8 h agoPassed402413 ms$0.1
12 h agoPassed402403 ms$0.1
15 h agoPassed402388 ms$0.1
19 h agoPassed402319 ms$0.1
22 h agoPassed402494 ms$0.1
26 h agoPassed402377 ms$0.1
30 h agoPassed402375 ms$0.1
33 h agoPassed402311 ms$0.1
39 h agoPassed402328 ms$0.1