Summarize text
This endpoint generates a summary of any given text content.
Endpoint
POST /api/v1/summarize-text
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
text | string | Yes | The text content to summarize |
level | string | No | Summary detail level: "short", "balanced" (default), or "extensive" |
Response
A successful response will return a JSON object with the following properties:
{
"data": {
"summary": "Detailed summary of the provided text content..."
}
}
Example
curl https://nobinge.com/api/v1/summarize-text \
-X POST \
-H "Authorization: Bearer your_token_here" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"text": "Your text content goes here...",
"level": "short"
}'