{"uid":"cap_by9_Hxu36D6M8hqhFNAN0","slug":"text-summarizer-agent-877e0b2d","name":"Text Summarizer Agent","description":"Summarize and compress text, Markdown, or JSON into a structured summary. Output as prose, bullets, headline, or TLDR, with optional exact target word count. Built for agent and document pipelines.","url":"https://api.aidress.ai/pay/agent_web_production_78e17_up_railway_app","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"Text, Markdown, or JSON string to summarize. Max 100KB."},"format":{"enum":["prose","bullets","headline","tldr"],"type":"string","description":"Output format. Default: prose"},"length":{"enum":["brief","medium","detailed"],"type":"string","description":"Length preset. Ignored when target_words is set. Default: medium"},"explain":{"type":"boolean","description":"Include notes on what was omitted. Default: false"},"input_type":{"enum":["text","markdown","json"],"type":"string","description":"How to interpret the input. Default: text"},"target_words":{"type":"integer","maximum":500,"minimum":1,"description":"Exact target word count (1–500). Overrides length preset."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v3diC_FICSxUyhg-R6-tI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes and compresses text, Markdown, or JSON into structured output in prose, bullets, headline, or TLDR format with optional exact word count targeting","exampleAgentPrompt":"Can you summarize this markdown article into bullet points in about 80 words, and let me know what got left out? Here's the text: [paste content here]","exampleUseCases":[{"title":"Executive briefing from long report","prompt":"Take this 5-page supply chain report and give me a prose summary in about 150 words — just the key takeaways, no fluff, and note anything important that got cut."},{"title":"Quick TLDR for social sharing","prompt":"Summarize this blog post as a TLDR in around 30 words so I can post it as a tweet caption — keep it punchy."},{"title":"Compress JSON data for agent handoff","prompt":"I have this JSON payload from our analytics pipeline — can you condense it into a brief bullet-point summary with 5 bullets max so I can pass it downstream to another agent?"}],"resultDescription":"Returns a structured summary of the input content in the requested format (prose, bullets, headline, or TLDR). When target_words is specified, the summary aims for that exact word count (1–500); otherwise it follows the brief/medium/detailed length preset. If explain is true, the response also includes notes describing what was omitted from the original content.","failureModes":["Input exceeds 100KB limit — request rejected","Invalid format enum value — defaults may not apply as expected","target_words out of range (must be 1–500) — validation error","Empty or malformed input string — may return empty or error response","JSON input_type mismatch with non-JSON input — may produce garbled output","Payment failure via x402 protocol — 402 response, no summary returned"],"whenToPreferThis":"Choose this endpoint when you need to compress or distill text, Markdown, or JSON content into a concise, structured summary within an agent or document pipeline. It is particularly well-suited when you need fine-grained control over output format (prose vs bullets vs headline vs TLDR) or need to hit an exact word count target. Prefer it over general-purpose LLM calls when you want a lightweight, pay-per-call summarization step that handles multiple input types natively and can annotate omissions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:47.825Z","isFirstParty":false}