Skip to main content
POST
t5-small: Responses
The instructions field is not needed for this model. Send only the text to summarize and read the summary from the response’s output text. Inputs are truncated at 512 tokens, so chunk anything longer, or reach for llama-3.1-8b-instruct-fast when the whole document has to land in one pass.
Google’s T5-small introduced the text-to-text paradigm that changed how the industry thinks about NLP. At 60M parameters, it’s the most versatile encoder-decoder model in its class, pre-trained on the Colossal Clean Crawled Corpus (C4) and fine-tunable for virtually any text task with minimal data. Its encoder-decoder architecture makes it especially strong at tasks that require both understanding and generation, like summarization and rewriting. A proven workhorse that’s been battle-tested across millions of production deployments.
References: Model cardLicenseTermsPrivacy

Authorizations

x-api-key
string
header
required

Headers

x-project-id
string

Optional project identifier. Scopes the request to a specific project when provided.

Body

application/json
model
string
default:t5-small
required

Model identifier (fixed for this playground). Use request examples to change use cases.

Allowed value: "t5-small"
Example:

"t5-small"

input
string<textarea>
required

The text to summarize, as a plain string. Inputs are truncated at 512 tokens.

Required string length: 1 - 131072

Response

Success

The response is of type object.