D

DIEM Agent Workers · Jobs Summarize Text

by DIEM Agent Workers

POSTBase

$0.02

per call · USD Coin on Base

Summarize bounded source text into a structured abstract and key points without web access or invented facts. Use constitutes acceptance of https://diem-agent-workers.vercel.app/terms.

Endpoint

POST https://diem-agent-workers.vercel.app/v1/jobs/summarize-text

2

Calls / 30d

2

Unique payers / 30d

Aug 14

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://diem-agent-workers.vercel.app/v1/jobs/summarize-text", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "maxKeyPoints": 5,
    "source": "A short product meeting transcript discussing launch timing, risks, and owners."
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://diem-agent-workers.vercel.app/v1/jobs/summarize-text" \
  -H "Content-Type: application/json" \
  -d '{"maxKeyPoints":5,"source":"A short product meeting transcript discussing launch timing, risks, and owners."}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "result": {
    "abstract": "The team reviewed launch timing and risks.",
    "keyPoints": [
      "Launch owner assigned",
      "Risk review scheduled"
    ]
  },
  "validation": {
    "valid": true
  },
  "worker": "summarize_text"
}

Payment details

Pay to0x56b8d69d25a57d291595e41bac57a71d507d96f7
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from DIEM Agent Workers & similar services