Text summarization API
Paste up to 20,000 characters and get a summary back in the number of sentences you ask for, as a paragraph or bullets. Runs on an open language model at the edge, so there is no per-token pricing to reason about: one call is one call.
Request
curl -X POST https://api.dokaz.net/v1/text/summarize \
-H "content-type: application/json" \
-d '{"text":"Cloudflare Workers let you run code at the edge without managing servers. D1 is a serverless SQLite database. Workers AI runs open models on Cloudflare GPUs, billed in neurons, with a free daily allowance.","sentences":2}'
The response includes the summary and the model that produced it.
Try it live — this runs against the free tier from your browser.
Pricing
100 calls a day are free with no key. Need more? Starter is $9/month for 10,000 calls across every product, key issued instantly.
Questions
Is my text stored?
No. It is sent to the model and discarded; only aggregate call counts are kept.