bookbind
v0.1.0EPUB and PDF ebook tools: merge, split, compress, convert, edit metadata, validate and covers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
merge_epub
Merge multiple EPUB files into a single ebook with table of contents and chapter dividers. Accepts 2+ base64-encoded EPUB files. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
files * | array | Array of base64-encoded EPUB files to merge (order preserved) |
author | string | Author for the merged EPUB (optional) |
dividers | boolean | Insert divider pages between books |
names | array | Original filenames, in the same order as files — the output is named after them ("A + B.epub", or "A + N more.epub" past two); without them it is merged.epub |
title | string | Title for the merged EPUB (optional) |
split_epub
Split an EPUB. With a chapter range (chapterStart and/or chapterEnd) the result is ONE base64-encoded EPUB of exactly those chapters, in order, with the book's metadata, a table of contents limited to them and the fonts and images they use. Without a range the result is a base64-encoded ZIP archive holding one EPUB per chapter. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only er…
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded EPUB file content |
chapterEnd | integer | Last chapter to include (inclusive, optional) |
chapterStart | integer | First chapter to include (1-indexed, optional). Giving either bound returns one EPUB of the range instead of a ZIP |
keepMetadata | boolean | Preserve the original author, publisher and description in the output |
name | string | Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name |
compress_epub
Compress an EPUB file to reduce its size. Can optionally strip unused assets (images, fonts not referenced by any chapter). Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded EPUB file content |
level | integer | Compression level (1=fastest, 9=smallest) |
name | string | Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name |
stripUnused | boolean | Remove assets not referenced by any chapter |
read_epub_metadata
Read metadata from an EPUB file (title, author, language, publisher, description, series, cover status, etc.). Returns JSON — no file output. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded EPUB file content |
edit_epub_metadata
Edit metadata fields in an EPUB file (title, author, language, publisher, description, series, cover image, etc.). Returns the modified EPUB. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded EPUB file content |
author | string | |
authors | string | Comma-separated list of authors |
cover | string | Base64-encoded cover image (JPEG or PNG, max 5MB) |
date | string | |
description | string | |
isbn | string | |
language | string | |
name | string | Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name |
publisher | string | |
series | string | |
seriesPosition | string | |
subjects | string | Comma-separated list of subjects/tags |
title | string |
epub_to_pdf
Convert an EPUB ebook to PDF. Supports page size, margins, font, and page number options. Pro ($9/mo) is strongly recommended for PDF conversion — the 30MB limit handles illustrated or academic books that exceed the free 5MB cap. Upgrade at https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded EPUB file content |
fontFamily | string | |
fontSize | integer | Font size in points |
margins | integer | Page margins in points |
name | string | Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name |
pageNumbers | boolean | |
pageSize | string |
pdf_to_epub
Convert a PDF document to EPUB ebook format. Supports automatic chapter detection, image extraction (Pro), and custom chapter grouping. Free tier supports up to 10MB per PDF. Pro ($9/mo) is strongly recommended for PDF conversion — the 30MB limit handles most scanned or illustrated PDFs. Upgrade at https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded PDF file content |
chapterMode | string | How to split into chapters |
extractImages | boolean | Pro only — ignored on free tier |
language | string | Language code for the output EPUB |
name | string | Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name |
pagesPerChapter | integer | Pages per chapter (only for every-n mode) |
markdown_to_epub
Build a valid EPUB3 ebook from Markdown files — one file per chapter, in array order. Understands YAML frontmatter (title/author) and Obsidian [[wikilinks]]; cross-file .md links are rewritten to chapter links inside the book. No Pandoc required. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the us…
| Parameter | Type | Description |
|---|---|---|
files * | array | Markdown files, one per chapter, in reading order |
author | string | Author (defaults to frontmatter) |
language | string | |
title | string | Book title (defaults to frontmatter or first heading) |
docx_to_epub
Convert a Word document (.docx) to a valid EPUB3 ebook. Chapters split on the document's top heading level (Heading 1 in a normal manuscript), or on page breaks, or not at all. Keeps bold/italic, lists, tables, inline images (PNG/JPEG/GIF/WebP), hyperlinks and footnotes; reads the title and author from the document's properties. No Pandoc, no Calibre. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_…
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded .docx file content |
author | string | Author (defaults to the document author) |
chapterMode | string | Where chapters start |
language | string | dc:language of the generated EPUB (BCP 47) |
name | string | Original filename — used as the title fallback; the output is named after its stem |
title | string | Book title (defaults to the document title, then its first heading) |
epub_to_markdown
Convert an EPUB ebook to Markdown. Returns a ZIP with one Markdown file per chapter (YAML frontmatter with title/book/author/chapter), an index.md with book metadata and a linked table of contents, and the referenced images. Plain CommonMark — drops straight into an Obsidian vault or any notes pipeline. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only error, call the `upgrade_…
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded EPUB file content |
includeImages | boolean | Copy referenced images into an images/ folder |
name | string | Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name |
validate_epub
Validate an EPUB file for errors, compatibility issues, and spec compliance. Returns JSON with check results. Can optionally auto-fix common issues. Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding. When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded EPUB file content |
autoFix | boolean | Auto-fix common issues and return repaired EPUB |
deepScan | boolean | Perform deep scan (XHTML well-formedness, broken links, etc.) |
generate_cover
Generate an AI book cover image using FLUX. Describe your vision, pick a genre, and get a portrait JPEG cover — 768×1152 when the model honours the requested size, otherwise its default square. The AI enhances your prompt with professional composition guidance while preserving your creative vision. Pro only ($9/mo). Upgrade at https://epublys.com/pricing
| Parameter | Type | Description |
|---|---|---|
author | string | Author name (for context, not rendered on cover) |
description | string | Creative description of the desired book cover (max 2000 chars). Either description or title is required. |
genre | string | Book genre — affects style and composition |
seed | integer | Random seed for reproducible generation |
title | string | Book title — used to synthesize a cover concept when no description is given (not rendered on cover) |