Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Convert → Convert Pdf To Epub

AI-generated

Summary

Convert a PDF file to an EPUB or AZW3 eBook format, optionally detecting chapter headings and optimizing the output for a target device.

Inputs

  • Input Binary Field Name (File Input) — Name of the binary property containing the PDF file data for conversion.
  • File Id — ID of a server-side file to convert, used instead of direct file input in asynchronous scenarios.
  • Detect Chapters — Option to detect headings resembling chapters to insert EPUB page breaks (true or false).
  • Target Device — Optimization profile for the output eBook, selecting the target reading device (e.g., tablet/phone or Kindle eInk).
  • Output Format — Desired output eBook format, either EPUB or AZW3.

Output shape

a binary eBook file in the specified output format (EPUB or AZW3)

Output includes the converted eBook data as binary. The conversion uses either the uploaded binary PDF data or a referenced server-side file by File Id. Optional chapter detection and device optimization affect the eBook formatting.

Links

Discussion