Text summary API

Long text in. Short truth out.

Quill reads reports, tickets and transcripts, and sends back a summary that points at the lines it came from.

$ npm i @quill-api/client
Command: curl api.quill.example/v1/summaries with length short and the file minutes.txt. Response: 200 OK, the board approved the Leeds depot lease and put the fleet vote off to March.

What it does

Four dials, no prompt engineering

You describe the shape of the answer. Quill does the reading, and shows its working.

Length you can count

Ask for one sentence, three bullets or a paragraph. The summary stops where you said it would.

Receipts for every line

Each sentence carries the page and lines it was drawn from, so a reader can check it in one click.

Bullets or prose

Switch format with one field. Same facts, shaped for a ticket queue or an email.

Streams as it reads

Long files do not make you wait for the end. The first sentence arrives while the last page is still being read.

How a request moves

Three passes, one reply

  1. Split

    Your text is cut at its natural joints: headings, speakers, paragraphs.

  2. Rank

    Each part is scored against the length you asked for, and the weak parts drop out.

  3. Write

    The summary is drafted, then every sentence is matched back to its lines.

Endpoints

Six routes. Turn one over.

Every tile shows the route on the front and a sample reply on the back. Click a tile, or flip the whole board.

Quickstart

Your first summary in three steps

  1. Install the clientOne small package, no peer dependencies.
  2. Set your keyExport it as QUILL_KEY. A sandbox key works with sample text only.
  3. Send some textPass a string or a file. Read the summary and its citations from the reply.
summarize.mjs
import { Quill } from "@quill-api/client";

const quill = new Quill({ key: process.env.QUILL_KEY });

const result = await quill.summarize({
  text: minutes,
  length: "short",
  cite: true,
});

console.log(result.summary);
reply200 OK
{
  "summary": "Board approved the Leeds depot lease and put the fleet vote off to March.",
  "cites": ["p2:l14-19", "p5:l3-8"]
}

Sandbox access

Ask for a key, start in a minute

  • Sandbox keys work on sample text, so nothing private leaves your machine.
  • No card needed. Production keys come later, on a plan you pick.
  • This is a demo page: the form sends nothing and stores nothing.

Demo only. No account is created.