Skip to main content
PDF Munk logo
  • Category: documents
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 9
  • Triggers: 0
  • Slug: PDF_MUNK
  • Version: 20261101_00

Tools

Slug: PDF_MUNK_CONVERT_IMAGES_TO_PDFCombine one or more public images into a temporary hosted PDF in the supplied order, returning expiration metadata when available.

Input Parameters

array
required
Image URLs to place into the PDF in order.
string
Optional filename for the generated PDF.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_CONVERT_PDF_TO_IMAGESConvert selected pages of a public PDF into temporary hosted PNG, JPEG, or WebP images.

Input Parameters

integer
Rendering resolution in dots per inch.
string
required
Public URL of the PDF to convert.
integer
One page to convert; omit when using pages.
string
Page range or list such as 1-3,5; do not provide page at the same time.
integer
Requested image quality from 1 to 100.
string ("png" | "jpg" | "jpeg" | "webp")
Image format for converted pages.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_GENERATE_IMAGEGenerate a temporary hosted PNG image from a public webpage URL or raw HTML, returning its scheduled deletion date.

Input Parameters

string
Public webpage URL to capture; leave html_content unset when using this source.
string
Google Font names separated by |.
integer
Output image width in pixels; the account entitlement may cap it.
integer
Output image height in pixels; the account entitlement may cap it.
integer
Requested output quality from 30 to 100.
boolean
Capture the full scrollable page instead of only the viewport.
string ("load" | "domcontentloaded" | "networkidle")
Page lifecycle event to wait for before capture.
string
Optional CSS applied while rendering.
string
Raw HTML to render; leave url unset when using this source.
object
Values that replace {{key}} tokens in HTML, such as {{name}} with {‘name’: ‘Ada’}.
number
Device pixel ratio used for rendering.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_GENERATE_PDFGenerate a hosted PDF from either a public webpage URL or raw HTML, with practical page and rendering controls. The operation consumes PDF generation quota and returns a temporary hosted URL.

Input Parameters

string
Public webpage URL to render; leave html_content unset when using this source.
string
Google Font names separated by |.
boolean
For URL input, render the full scrollable page.
boolean
Render pages in landscape orientation.
integer
Maximum number of pages to render (1-20; entitlement may impose a lower limit).
string ("A4" | "A3" | "A5" | "Letter" | "Legal" | "Tabloid")
Output paper size.
string
Optional CSS applied to the supplied HTML or webpage.
string
Raw HTML to render; leave url unset when using this source.
integer
Browser viewport width in pixels.
integer
Browser viewport height in pixels.
boolean
Include CSS backgrounds in the PDF.
object
Values that replace {{key}} tokens in HTML, such as {{customer_name}} with {‘customer_name’: ‘Ada Lovelace’}.
boolean
Prefer CSS @page sizing over paper_size.
Display the page header and footer.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_MERGE_PDFSMerge two to fifteen publicly accessible PDFs in the supplied order and return a temporary hosted PDF URL with its deletion date when available.

Input Parameters

array
required
Public PDF URLs to merge in order, from first page group to last.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_OCR_IMAGEExtract text and line-level OCR results from an image available at a public URL.

Input Parameters

string
Tesseract language code or combination, such as eng or eng+hin.
string
required
Public URL of the image to process.
integer ("0" | "1" | "2" | "3")
Tesseract OCR engine mode from 0 to 3; use 3 to let Tesseract select the available engine.
integer ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13")
Tesseract page segmentation mode from 0 to 13; use 3 for automatic layout detection or 6 for one uniform text block.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_OCR_PDFExtract text from a scanned PDF available at a public URL using OCR controls.

Input Parameters

integer
Rasterization DPI used before OCR.
string
required
Public URL of the scanned PDF to process.
string
Pages to process: all, ranges, or a list such as 1,3,5-7.
string
Tesseract language code or combination, such as eng or eng+hin.
integer ("0" | "1" | "2" | "3")
Tesseract OCR engine mode from 0 to 3; use 3 to let Tesseract select the available engine.
integer ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13")
Tesseract page segmentation mode from 0 to 13; use 3 for automatic layout detection or 6 for one uniform text block.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_PARSE_PDFExtract text, layout blocks, tables, or full structured content from a PDF available at a public URL.

Input Parameters

string
required
Public URL of the PDF to parse.
string ("text" | "layout" | "tables" | "full")
Extraction detail to return.
string
Pages to parse: all, one page number, or a range such as 1-3.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF_MUNK_WATERMARK_FILEAdd a text watermark to a PDF or image at a public URL, requesting a hosted result. The response may include a PDF-specific result URL; its output field can instead contain the output mode.

Input Parameters

string
required
Text to place as the watermark.
integer
Watermark rotation angle in degrees.
number
Watermark opacity from transparent (0) to opaque (1).
string
required
Public URL of the PDF or image to watermark.
integer
Watermark font size.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not