# GEDX402 BART Text Summarizer

> GEDX402 BART Text Summarizer is a paid API for AI agents from ged-x402-embed.jvalamis.workers.dev, paid per call via x402, $0.013/call, status unknown (last checked 2026-09-15).

Summarizes long-form text using the BART model, paid per-call with USDC via x402 — no API keys required.

## Facts

- Endpoint: GET https://ged-x402-embed.jvalamis.workers.dev/v1/summarize/bart
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-bart-text-summarizer-86faee60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-UeN3JupIcW-NTd4pMrJc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gedx402-bart-text-summarizer-86faee60
```

Example prompt: Can you summarize this article for me in no more than 150 words? Here's the text: [paste of a 2,000-word news article about climate change policy in 2024]

## When to prefer this

Choose this endpoint when you need keyless, pay-per-use text summarization using the BART model, especially when you want to pay with USDC on Base, Polygon, Arbitrum, World, or Solana via x402 without setting up API credentials. Ideal for agents that handle one-off summarization tasks and prefer crypto micropayments over subscription-based API keys.

## Known failure modes

- Input text missing or empty — endpoint returns an error
- max_length value is invalid (e.g. negative or non-integer) — may return a 400 error
- Payment in USDC not fulfilled — returns HTTP 402 Payment Required before processing
- Text too long for model context window — may return a 500 or truncation error
- Network timeout on the Cloudflare Workers edge — returns a timeout error

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object containing a 'summary' field with a concise, condensed version of the input text, trimmed to the requested maximum length if specified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "max_length": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": "Concise summary."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-bart-text-summarizer-86faee60/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-embed.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-embed.jvalamis.workers.dev/llms.txt)
