Summarize long-form text into concise summaries using Llama 3.1. Configurable maximum summary length. Powered by Cloudflare Workers AI.
Summarize text. Body: {"text": "...", "max_length": 200}
Request schema
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call "https://proxy.apihub.io/text-summarizer/ai/summarize" \
-d '{"text":"Long article body to summarize...","max_length":200}'Or call the proxy directly (curl / any HTTP client):
curl -X POST https://proxy.apihub.io/text-summarizer/ai/summarize \
-H "Authorization: Bearer ahk_your_key" \
-H "Content-Type: application/json" \
-d '{"text":"Long article body to summarize...","max_length":200}'
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Text Summarizer.