AI Utilities

AI SUMMARIZATION of anything — POST {text} (16,000 chars

AI SUMMARIZATION of anything — POST {text} (16,000 chars: transcripts, threads, logs), OR {url} (web page auto-scraped, or PDF/DOCX/CSV auto-extracted), OR {file_base64} for an uploaded PDF/DOCX/CSV/TXT up to 5 MB. Keeps every load-bearing fact, number, and decision. {style}: paragraph (default), bullets, or tldr; {max_words}: 10-300 (default 120); {focus} to steer ('action items'). Want key sentences with no AI? GET /api/summarize ($0.002).

Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/api/summarize-text

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/summarize-text
  • Auth: API key in header X-PAYMENT

Request body

textstring

Raw text to summarize, up to 16,000 characters (provide exactly one of text, url, file_base64)

urlstring

Public http(s) URL to fetch and summarize — an article/page (main content auto-extracted) or a PDF/DOCX/CSV document

file_base64string

Base64-encoded PDF, DOCX, CSV, or plain-text file, up to 5 MB decoded (data URI prefix ok)

filenamestring

Optional filename hint for file_base64 type detection, e.g. report.pdf

typestring

Optional parser override for url/file_base64: pdf, docx, or csv

stylestring

paragraph (default), bullets, or tldr

max_wordsnumber

summary length cap, 10-300 (default 120)

focusstring

Optional steer: what the summary should emphasize

Response

Success

summarystring
stylestring
sourcestring

text, url, or file

source_typestring

what was summarized: text, article, pdf, docx, or csv

titlestring
input_charsnumber
input_truncatedboolean

true if extracted content was cut to the summarization cap

modelstring
usageobject

Changes

No recorded changes to this operation across all 1 revision of this API.