# BookFold BookFold is an MPP-paid API for summarizing PDF and EPUB books. Base URL: https://bookfold.vercel.app OpenAPI: https://bookfold.vercel.app/openapi.json ## Flow 1. POST /v1/uploads with fileName, sizeBytes, and optional contentType. 2. Use the returned upload.clientToken to upload the file with PUT. 3. POST /v1/quotes with uploadId and detail. 4. POST /v1/jobs with quoteId. 5. If the server returns 402, pay the MPP challenge and retry the same POST /v1/jobs request. 6. Poll GET /v1/jobs/{jobId} until the status is succeeded or failed. ## Notes - Supported input: PDF and EPUB - Max upload size: 50 MB - Quote TTL: about 15 minutes - Scanned or image-only PDFs are not supported - DRM-protected EPUBs are rejected - The quote is the pricing source for POST /v1/jobs; the live 402 challenge is final ## Public docs - Homepage: https://bookfold.vercel.app/ - llms.txt: https://bookfold.vercel.app/llms.txt