Skip to content
Fourohtwo

api.aigentra.xyz/v1/ai/summarize

Summarize text (up to 6,000 characters) into a chosen number of sentences or bullet points, in the same language as the input (English, Indonesian and others), using an open Llama model. Returns the summary only; does not follow instructions found inside the text.

BaseAnswering
GEThttps://api.aigentra.xyz/v1/ai/summarize

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.aigentra.xyz/v1/ai/summarize?text=Paste+the+article+text+here+%28at+least+a+few+sentences%29.&style=paragraph&sentences=3");
console.log(await res.json());

Example input

{
  "text": "Paste the article text here (at least a few sentences).",
  "style": "paragraph",
  "sentences": "3"
}