---
title: Text Summarization API
slug: summarize-text-api
url: https://apyhub.com/dosvak/service/summarize-text-api
provider: Dosvak LLC
categories: [Artificial Intelligence, Smart Generation]
tags: [text-summarization, nlp, content-analysis, llm, document-processing]
auth: api_key
---

# Text Summarization API

Summarize a text block and get the summary, length metrics, and compression ratio. Useful for articles, notes, and review workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Summarizes a single text block by sending the input text to the selected summarization… | 100 |

## About

## What it does
Text Summarizer turns a single block of text into a shorter summary. Send text in the `body.text` field and get back the generated `summary` along with `model`, `input_length`, `summary_length`, and `compression_ratio`.

Use it when you need to condense long articles, support tickets, research notes, or meeting transcripts into something faster to review. The request accepts optional controls for `model` (`bart` or `pegasus`), `num_beams`, `max_length`, and `min_length`, so you can tune the tradeoff between brevity and detail.

The response is structured for downstream automation. `input_length` and `summary_length` help you measure how aggressively the text was shortened, while `compression_ratio` gives you a simple signal for reporting or quality checks. Keep the input between 50 and 16,384 characters and use the summary in search, classification, or human review workflows.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/summarize-text-api
