71trust / 100

Voice Bank Runs

by hivemindos-paid-agent-gateway.hivemindos.workers.dev in News & content

x402 APIPassing, checked 2 h ago

Create a private writing voice from supplied guidance and generate a ready-to-use batch of 5-50 social posts from a campaign and business brief.

POST https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/voice-bank/runs

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
1.4 s typical, 1.8 s slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/voice-bank/runs" \
  -H "content-type: application/json" \
  -d '{"brief":{"beliefs":"Software will increasingly transact on behalf of users","offer":"Programmable payments for agents","pains":"Manual procurement blocks autonomous workflows","process":"Connect, set policy, and let the agent purchase","results":"Agents can buy services autonomously","story":"Built after repeatedly seeing capable agents stop at checkout"},"campaignPrompt":"Introduce our agent payments product to technical founders.","name":"Founder voice","postCount":5,"voiceDescription":"Direct, optimistic, concise, concrete, and conversational."}'
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%2Fhivemindos-paid-agent-gateway.hivemindos.workers.dev%2Fapi%2Fx402%2Fvoice-bank%2Fruns
const res = await pay("https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/voice-bank/runs", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"brief":{"beliefs":"Software will increasingly transact on behalf of users","offer":"Programmable payments for agents","pains":"Manual procurement blocks autonomous workflows","process":"Connect, set policy, and let the agent purchase","results":"Agents can buy services autonomously","story":"Built after repeatedly seeing capable agents stop at checkout"},"campaignPrompt":"Introduce our agent payments product to technical founders.","name":"Founder voice","postCount":5,"voiceDescription":"Direct, optimistic, concise, concrete, and conversational."}),
});
console.log(await res.json());

Example input

{
  "brief": {
    "beliefs": "Software will increasingly transact on behalf of users",
    "offer": "Programmable payments for agents",
    "pains": "Manual procurement blocks autonomous workflows",
    "process": "Connect, set policy, and let the agent purchase",
    "results": "Agents can buy services autonomously",
    "story": "Built after repeatedly seeing capable agents stop at checkout"
  },
  "campaignPrompt": "Introduce our agent payments product to technical founders.",
  "name": "Founder voice",
  "postCount": 5,
  "voiceDescription": "Direct, optimistic, concise, concrete, and conversational."
}

Example output

{
  "ok": true,
  "result": {
    "generation": {
      "postCount": 5,
      "status": "queued"
    }
  },
  "runId": "xcgen_..."
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed4021.8 s$0.29
6 h agoPassed4021.7 s$0.29
10 h agoPassed4021.5 s$0.29
13 h agoPassed4022.1 s$0.29
17 h agoPassed4021.4 s$0.29
20 h agoPassed4021.1 s$0.29
24 h agoPassed4021.4 s$0.29
28 h agoPassed402706 ms$0.29
31 h agoPassed402839 ms$0.29
36 h agoPassed402878 ms$0.29
39 h agoPassed4021.5 s$0.29
44 h agoPassed402768 ms$0.29