Convert PDF to EPUB

post/pdf-to-epub

Request

  • Base URL: https://epublys.com/v1
  • URL: https://epublys.com/v1/pdf-to-epub
  • Auth: HTTP bearer

Request body

filestring required

Base64-encoded PDF

namestring

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

languagestring

dc:language of the generated EPUB (BCP 47)

chapterMode'auto' | 'every-n' | 'single'
pagesPerChapterinteger

Pages per chapter when chapterMode is 'every-n'

extractImagesboolean

Pro only — ignored on free tier

Response

Success — JSON envelope with the base64-encoded output file

successboolean
filestring

Base64-encoded output file

filenamestring
contentTypestring
messagestring
pro_tipstring

Present on free-tier responses only

Changes

No recorded changes to this operation across all 1 revision of this API.