80trust / 100
Ai Summarize
by x402-seller-0ay3.onrender.com in AI models & inference
x402 APIPassing, checked 37 min ago
Summarize text (article, transcript, report) into a given number of sentences, via Claude Haiku 4.5. Preserves the source text's language. JSON body: {text: string (max 8000 chars), max_sentences?: integer 1-10 (default 3)}.
POST https://x402-seller-0ay3.onrender.com/api/ai/summarize
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 106 ms typical, 168 ms slowest 5%
- Last check
- 37 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402-seller-0ay3.onrender.com/api/ai/summarize" \
-H "content-type: application/json" \
-d '{"max_sentences":3,"text":"Long article text..."}'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%2Fx402-seller-0ay3.onrender.com%2Fapi%2Fai%2Fsummarize
const res = await pay("https://x402-seller-0ay3.onrender.com/api/ai/summarize", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_sentences":3,"text":"Long article text..."}),
});
console.log(await res.json());Example input
{
"max_sentences": 3,
"text": "Long article text..."
}Example output
{
"sentence_limit": 3,
"summary": "Concise summary here."
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 37 min ago | Passed | 402 | 162 ms | $0.01 |
| 4 h ago | Passed | 402 | 156 ms | $0.01 |
| 8 h ago | Passed | 402 | 98 ms | $0.01 |
| 11 h ago | Passed | 402 | 126 ms | $0.01 |
| 15 h ago | Passed | 402 | 103 ms | $0.01 |
| 19 h ago | Passed | 402 | 106 ms | $0.01 |
| 23 h ago | Passed | 402 | 174 ms | $0.01 |
| 26 h ago | Passed | 402 | 90 ms | $0.01 |
| 29 h ago | Passed | 402 | 168 ms | $0.01 |
| 35 h ago | Passed | 402 | 56 ms | $0.01 |