PDF Munk
pdf_munkPDF Munk provides APIs for generating, converting, editing, securing, and extracting content from PDFs and images.
Acciones disponibles (9)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Convert Images to PDFPDF_MUNK_CONVERT_IMAGES_TO_PDFAcciónCombine one or more public images into a temporary hosted PDF in the supplied order, returning expiration metadata when available.
PDF_MUNK_CONVERT_IMAGES_TO_PDFAcciónCombine one or more public images into a temporary hosted PDF in the supplied order, returning expiration metadata when available.
Parámetros de entrada
image_urlsstring[]ObligatorioImage URLs to place into the PDF in order.
output_filenamestringOptional filename for the generated PDF.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to ImagesPDF_MUNK_CONVERT_PDF_TO_IMAGESAcciónConvert selected pages of a public PDF into temporary hosted PNG, JPEG, or WebP images.
PDF_MUNK_CONVERT_PDF_TO_IMAGESAcciónConvert selected pages of a public PDF into temporary hosted PNG, JPEG, or WebP images.
Parámetros de entrada
dpiintegerRendering resolution in dots per inch.
urlstringObligatoriouriPublic URL of the PDF to convert.
pageintegerOne page to convert; omit when using pages.
pagesstringPage range or list such as 1-3,5; do not provide page at the same time.
qualityintegerRequested image quality from 1 to 100.
image_formatstringenumImage format for converted pages.
pngjpgjpegwebp
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate ImagePDF_MUNK_GENERATE_IMAGEAcciónGenerate a temporary hosted PNG image from a public webpage URL or raw HTML, returning its scheduled deletion date.
PDF_MUNK_GENERATE_IMAGEAcciónGenerate a temporary hosted PNG image from a public webpage URL or raw HTML, returning its scheduled deletion date.
Parámetros de entrada
urlstringuriPublic webpage URL to capture; leave html_content unset when using this source.
fontstringGoogle Font names separated by |.
widthintegerOutput image width in pixels; the account entitlement may cap it.
heightintegerOutput image height in pixels; the account entitlement may cap it.
qualityintegerRequested output quality from 30 to 100.
full_pagebooleanCapture the full scrollable page instead of only the viewport.
wait_untilstringenumPage lifecycle event to wait for before capture.
loaddomcontentloadednetworkidlecss_contentstringOptional CSS applied while rendering.
html_contentstringRaw HTML to render; leave url unset when using this source.
template_variablesobjectValues that replace {{key}} tokens in HTML, such as {{name}} with {'name': 'Ada'}.
device_scale_factornumberDevice pixel ratio used for rendering.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate PDFPDF_MUNK_GENERATE_PDFAcciónGenerate 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.
PDF_MUNK_GENERATE_PDFAcciónGenerate 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.
Parámetros de entrada
urlstringuriPublic webpage URL to render; leave html_content unset when using this source.
fontstringGoogle Font names separated by |.
full_pagebooleanFor URL input, render the full scrollable page.
landscapebooleanRender pages in landscape orientation.
max_pagesintegerMaximum number of pages to render (1-20; entitlement may impose a lower limit).
paper_sizestringenumOutput paper size.
A4A3A5LetterLegalTabloidcss_contentstringOptional CSS applied to the supplied HTML or webpage.
html_contentstringRaw HTML to render; leave url unset when using this source.
viewport_widthintegerBrowser viewport width in pixels.
viewport_heightintegerBrowser viewport height in pixels.
print_backgroundbooleanInclude CSS backgrounds in the PDF.
template_variablesobjectValues that replace {{key}} tokens in HTML, such as {{customer_name}} with {'customer_name': 'Ada Lovelace'}.
prefer_css_page_sizebooleanPrefer CSS @page sizing over paper_size.
display_header_footerbooleanDisplay the page header and footer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Merge PDFsPDF_MUNK_MERGE_PDFSAcciónMerge two to fifteen publicly accessible PDFs in the supplied order and return a temporary hosted PDF URL with its deletion date when available.
PDF_MUNK_MERGE_PDFSAcciónMerge two to fifteen publicly accessible PDFs in the supplied order and return a temporary hosted PDF URL with its deletion date when available.
Parámetros de entrada
urlsstring[]ObligatorioPublic PDF URLs to merge in order, from first page group to last.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
OCR ImagePDF_MUNK_OCR_IMAGEAcciónExtract text and line-level OCR results from an image available at a public URL.
PDF_MUNK_OCR_IMAGEAcciónExtract text and line-level OCR results from an image available at a public URL.
Parámetros de entrada
languagestringTesseract language code or combination, such as eng or eng+hin.
image_urlstringObligatoriouriPublic URL of the image to process.
ocr_engine_modeintegerenumTesseract OCR engine mode from 0 to 3; use 3 to let Tesseract select the available engine.
0123page_segmentation_modeintegerenumTesseract page segmentation mode from 0 to 13; use 3 for automatic layout detection or 6 for one uniform text block.
01234567891011+2
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
OCR PDFPDF_MUNK_OCR_PDFAcciónExtract text from a scanned PDF available at a public URL using OCR controls.
PDF_MUNK_OCR_PDFAcciónExtract text from a scanned PDF available at a public URL using OCR controls.
Parámetros de entrada
dpiintegerRasterization DPI used before OCR.
urlstringObligatoriouriPublic URL of the scanned PDF to process.
pagesstringPages to process: all, ranges, or a list such as 1,3,5-7.
languagestringTesseract language code or combination, such as eng or eng+hin.
ocr_engine_modeintegerenumTesseract OCR engine mode from 0 to 3; use 3 to let Tesseract select the available engine.
0123page_segmentation_modeintegerenumTesseract page segmentation mode from 0 to 13; use 3 for automatic layout detection or 6 for one uniform text block.
01234567891011+2
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Parse PDFPDF_MUNK_PARSE_PDFAcciónExtract text, layout blocks, tables, or full structured content from a PDF available at a public URL.
PDF_MUNK_PARSE_PDFAcciónExtract text, layout blocks, tables, or full structured content from a PDF available at a public URL.
Parámetros de entrada
urlstringObligatoriouriPublic URL of the PDF to parse.
modestringenumExtraction detail to return.
textlayouttablesfullpagesstringPages to parse: all, one page number, or a range such as 1-3.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Watermark FilePDF_MUNK_WATERMARK_FILEAcciónAdd a text watermark to a PDF or image at a public URL and return a temporary hosted result URL.
PDF_MUNK_WATERMARK_FILEAcciónAdd a text watermark to a PDF or image at a public URL and return a temporary hosted result URL.
Parámetros de entrada
textstringObligatorioText to place as the watermark.
angleintegerWatermark rotation angle in degrees.
opacitynumberWatermark opacity from transparent (0) to opaque (1).
file_urlstringObligatoriouriPublic URL of the PDF or image to watermark.
font_sizeintegerWatermark font size.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not