summarize_content
AI-powered content summarization with configurable length, format, and key point extraction. Perfect for condensing articles, research notes, and long-form content into digestible summaries.
Use Cases
Article Summarization
Create concise summaries of news articles, blog posts, and research papers
Research Notes
Extract key insights from academic papers and technical documentation
Content Curation
Generate summaries for newsletters, social media, or content aggregation
Meeting Notes
Condense transcripts into actionable summaries with key takeaways
Email Digests
Create brief overviews of long email threads or communications
Documentation TL;DR
Generate quick overviews of technical documentation for developers
Endpoint
/api/v1/tools/summarize_content
Parameters
Name | Type | Required | Default | Description |
---|---|---|---|---|
text | string | Required | - | The text content to summarize (max 50,000 characters) Example: The quick brown fox jumps over the lazy dog... |
options | object | Optional | - | Summarization options Example: {"length": "medium", "format": "bullets", "includeKeyPoints": true} |
options.length | string | Optional | medium | Desired summary length: "short" (1-2 sentences), "medium" (1 paragraph), "long" (2-3 paragraphs) Example: medium |
options.format | string | Optional | paragraph | Output format: "paragraph" or "bullets" Example: bullets |
options.includeKeyPoints | boolean | Optional | true | Whether to extract key points separately Example: true |
Request Examples
Response Example
{ "success": true, "data": { "summary": "• AI is transforming technology interaction through voice assistants and recommendation systems\n• Machine learning algorithms process large datasets to identify patterns and make predictions\n• AI integration is expanding across industries from healthcare to finance", "keyPoints": [ "AI transforming human-technology interaction", "Voice assistants and recommendation systems are key applications", "Machine learning enables pattern recognition and prediction", "Growing integration across multiple industries" ], "wordCount": 42, "originalLength": 856, "compressionRatio": 0.95 }, "credits_used": 4, "credits_remaining": 996, "processing_time": 1250}
data.summary
The condensed summary in the requested format (bullets or paragraph)data.keyPoints
Array of extracted key points from the contentdata.wordCount
Number of words in the generated summarydata.originalLength
Character count of the original textdata.compressionRatio
How much the content was compressed (0-1, higher = more compressed)credits_used
Credits deducted for this request (4 per summary)processing_time
AI processing time in millisecondsError Handling
Text Too Long (400 Bad Request)
The text exceeds the maximum length of 50,000 characters. Split the content into smaller chunks.
Empty Text (400 Bad Request)
The text parameter is required and cannot be empty. Provide at least 100 characters.
Invalid Options (400 Bad Request)
Invalid summarization options. Check that length is "short", "medium", or "long", and format is "paragraph" or "bullets".
Insufficient Credits (402 Payment Required)
Your account doesn't have enough credits (need 4). Purchase more credits or upgrade your plan.
Rate Limit Exceeded (429 Too Many Requests)
You've exceeded your plan's rate limit. Wait a moment or upgrade your plan for higher limits.
Credit Cost
Free Plan: 1,000 credits/month = 250 summaries
Hobby Plan: 5,000 credits/month = 1,250 summaries ($19/mo)
Professional Plan: 50,000 credits/month = 12,500 summaries ($99/mo)
Business Plan: 250,000 credits/month = 62,500 summaries ($399/mo)