# Text Summarizer API (Llama 3.1 8B)

> Text Summarizer API (Llama 3.1 8B) is a paid API for AI agents from dominion-data.x402-evm-math.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Summarizes arbitrary text into a faithful, concise summary within a specified maximum word count using Llama 3.1 8B inference.

## Facts

- Endpoint: POST https://dominion-data.x402-evm-math.workers.dev/ai/summarize?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-summarizer-api-llama-3-1-8b-038ca10d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Az-RelZb6Aduudn4k7h3m

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 text-summarizer-api-llama-3-1-8b-038ca10d -d '<json body>'
```

Example prompt: Can you summarize the following article into no more than 80 words? [paste article text here]

## When to prefer this

Choose this endpoint when you need a quick, faithful extractive-style summary of a text document with a controlled word budget, especially in agentic pipelines that need pay-per-call pricing without subscription overhead. Prefer it over general chat completions when summarization is the specific task and you want a purpose-built prompt rather than crafting your own. Not ideal for structured data extraction or multi-document synthesis.

## Known failure modes

- Input text too long for model context window — may truncate or error
- max_words not respected precisely — model may overshoot by a few words
- Vague or incoherent input text may produce a low-quality or incomplete summary
- Payment failure via x402 protocol returns 402 status before processing
- Empty or missing body field returns a validation error

## How this service works

Summarize API, summarizer LLM: text summarization, send text and max_words, get a faithful short summary. Llama 3.1 8B inference included.

## Output

A short, faithful plain-text summary of the input content, condensed to approximately the requested maximum word count. The summary preserves the key meaning and main points of the original text without hallucinating new information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-summarizer-api-llama-3-1-8b-038ca10d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dominion-data.x402-evm-math.workers.dev](https://www.zero.xyz/host/dominion-data.x402-evm-math.workers.dev/llms.txt)
