Skills/Document Converter/Convert to EPUB

Convert to EPUB

~1 credits / MB of input (up to 5)

Packages a long-form Markdown or HTML file into an EPUB ebook ready for distribution. Images referenced by absolute URL are embedded; local or relative image paths will not resolve since only the source file is uploaded.

Use when

You want to distribute long-form content as an ebook file.

Not for

A printable single-page artifact (use Convert to PDF), or an editable document.

Cost

~1 credits / MB of input (up to 5)

A 3 MB input costs about 2 credits; larger inputs cost more.

Estimated; the actual charge depends on your input and is shown in the response.

What it accepts

Set these inside the intent when you run it.

source_filerequired

URL of the Markdown or HTML file to package as an ebook.

output_filenameoptional

Name for the resulting EPUB file.

What you get back

A download link to an .epub file ready for e-readers and ebook distribution.

Run it

Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Document Converter skill will route from your intent instead.)

curl -X POST "https://skill.askfaro.com/skills/document-converter/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"operation":"to_ebook","source_file":"https://example.com/guide.md","output_filename":"my-guide.epub"}}'

Example requests

  • Package my Markdown guide as an EPUB ebook
  • Convert this HTML content into an EPUB
  • I want to distribute this long article as an ebook file