✦ Book of Answers Generator

Settings

Used by claude-opus-5 for the voice contract and front matter · ANTHROPIC_API_KEY is set in the environment and wins over this field.

Used by gemini-3.5-flash (flash) / gemini-3.1-pro-preview (pro) to write the answers · GEMINI_API_KEY is set in the environment and wins over this field.

API

Every screen here has a JSON equivalent, and finished books expose a divination endpoint you can build an app on:

GET  /api/health
GET  /api/traditions
POST /api/books/generate      {"title":"...","tradition":"tarot","num_answers":200}
GET  /api/books/status/<job_id>
GET  /api/books/stream/<job_id>    (SSE)
GET  /api/books/<id>/entries
GET  /api/books/<id>/ask           ← opens the book at random
GET  /api/books/<id>/download?format=pdf|docx|epub