Skip to content
Fourohtwo

Detect the structure of a book manuscript before typesetting it

qf-api.quietforge-studio.workers.dev/v1/typeset/outline

Detect the structure of a book manuscript before typesetting it: the chapter list our engine will use (numbered / unnumbered), words and scene breaks per chapter, paragraph count, characters the book font cannot print, and the warnings a full build would raise. Same parser as /v1/typeset, so what you see here is exactly how the book will be divided.

BaseAnswering
POSThttps://qf-api.quietforge-studio.workers.dev/v1/typeset/outline

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://qf-api.quietforge-studio.workers.dev/v1/typeset/outline", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"txt","manuscript":"Chapter One\n\nThe lamp on the landing had burned all night, and by morning the hallway smelled faintly of paraffin and toast. Nora stood at the window with her coat already on, counting the carts that passed the gate. Six, then seven. The eighth was late, and she knew before it turned the corner that it would be empty.\n\n* * *\n\nHer brother came down at nine, still),
});
console.log(await res.json());

Example input

{"format":"txt","manuscript":"Chapter One\n\nThe lamp on the landing had burned all night, and by morning the hallway smelled faintly of paraffin and toast. Nora stood at the window with her coat already on, counting the carts that passed the gate. Six, then seven. The eighth was late, and she knew before it turned the corner that it would be empty.\n\n* * *\n\nHer brother came down at nine, still