## Summarization

Summarization is the task of producing a shorter version of a document while preserving its important information. Some models can extract text from the original input, while other models can generate entirely new text.

{{{tips.linksToTaskPage.summarization}}}

### Recommended models

{{#each recommendedModels.summarization}}
- [{{this.id}}](https://huggingface.co/{{this.id}}): {{this.description}}
{{/each}}

{{{tips.listModelsLink.summarization}}}

### Using the API

{{{snippets.summarization}}}

### API specification

#### Request

{{{constants.specsHeaders}}}

{{{specs.summarization.input}}}

#### Response

{{{specs.summarization.output}}}
