Serveur MCP

api2pdf

io.usefulapi/api2pdf
Outils développeur Médias et contenu Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Converts HTML, URLs, Markdown, office files, and PDFs into documents or images, and supports PDF merging, extraction, compression, encryption, and barcode generation.

api2pdf_add_password
Password-protect PDF (PDFSharp)
Encrypt an existing PDF (given as a URL) with a user password (required to open) and an optional owner password (controls permissions). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/password.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url', 'userpassword'], 'properties': {'url': {'type': 'string', 'description': 'URL of the PDF to protect.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'userpassword': {'type': 'string', 'description': 'Password required to OPEN the resulting PDF.'}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'ownerpassword': {'type': 'string', 'description': 'Optional owner password controlling permissions (printing, editing, etc.).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_compress_pdf
Compress PDF (PDFSharp)
Compress an existing PDF (given as a URL) to reduce its file size. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/compress.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'URL of the PDF to compress.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_convert_to_markdown
Convert document to Markdown (MarkItDown)
Convert a document or file (given as a URL — PDF, Office docs, and more) to Markdown text via MarkItDown. Great for feeding a document's contents back to an agent. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /markitdown.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'URL of the document/file to convert to Markdown.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_delete_file
Delete a generated file
Delete a previously generated file by its ResponseId (the `ResponseId` returned in a generation response). Api2Pdf API: DELETE /file/{ResponseId}.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['responseId'], 'properties': {'responseId': {'type': 'string', 'description': 'The ResponseId of the generated file to delete (from a prior generation response).'}}}
api2pdf_extract_pages
Extract PDF pages (PDFSharp)
Extract a range of pages from an existing PDF (given as a URL) into a new PDF. `start`/`end` are 0-based page indices; omit `end` to extract a single page. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/extract-pages.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'end': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': '0-based index of the last page to extract. Omit for a single page (just `start`).'}, 'url': {'type': 'string', 'description': 'URL of the source PDF.'}, 'start': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': '0-based index of the first page to extract. Default 0.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_generate_barcode
Generate barcode / QR code (Zebra)
Generate a barcode or QR code image. `format` is the symbology (e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix') and `value` is the string to encode. Returns a { FileUrl } (valid ~24h) by default, or base64 with output_binary:true. BILLED. Api2Pdf API: GET /zebra.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['format', 'value'], 'properties': {'value': {'type': 'string', 'description': 'The string to encode in the barcode/QR code.'}, 'width': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Image width in pixels.', 'exclusiveMinimum': 0}, 'format': {'type': 'string', 'description': "Barcode/QR symbology, e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix'."}, 'height': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Image height in pixels.', 'exclusiveMinimum': 0}, 'showlabel': {'type': 'boolean', 'description': 'If true, render the encoded value as a human-readable label under the barcode.'}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw image bytes as base64 instead of a FileUrl. Default false.'}}}
api2pdf_get_balance
Get account balance
Return the remaining balance / usage for the configured Api2Pdf account. Api2Pdf API: GET /balance.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
api2pdf_get_status
Get service status
Return the current Api2Pdf service / health status. Api2Pdf API: GET /status.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
api2pdf_html_to_image
HTML to image (Chrome)
Render an HTML string to an image using headless Chrome. Returns a { FileUrl } (valid ~24h) by default, or base64 bytes with output_binary:true. BILLED. Api2Pdf API: POST /chrome/image/html.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The HTML source to render into an image.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_html_to_pdf
HTML to PDF (Chrome)
Render an HTML string to a PDF using the headless-Chrome engine. Returns a { FileUrl } link (valid ~24h) by default. Great for invoices, reports, and letters produced as HTML. BILLED per document. Api2Pdf API: POST /chrome/pdf/html.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The HTML source to render into a PDF.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_markdown_to_pdf
Markdown to PDF (Chrome)
Render a Markdown string to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/pdf/markdown.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['markdown'], 'properties': {'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'markdown': {'type': 'string', 'description': 'The Markdown source to render into a PDF.'}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_merge_pdfs
Merge PDFs (PDFSharp)
Merge several existing PDFs (given as URLs, in order) into a single PDF. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/merge.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['urls'], 'properties': {'urls': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 2, 'description': 'URLs of the PDFs to merge, in the order they should appear (at least two).'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_office_to_pdf
Office document to PDF (LibreOffice)
Convert an office document (Word, Excel, PowerPoint, ODT, and many more) at a URL to a PDF using LibreOffice. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /libreoffice/any-to-pdf.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'URL of the source document to convert to PDF.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_url_to_image
URL to image / screenshot (Chrome)
Take a screenshot of a live web page by URL using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/image/url.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'The URL of the web page to screenshot.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_url_to_pdf
URL to PDF (Chrome)
Fetch a web page by URL and render it to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). Use extraHTTPHeaders to pass auth for a protected page. BILLED. Api2Pdf API: POST /chrome/pdf/url.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'The URL of the web page Api2Pdf will fetch and render to PDF.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
api2pdf_wkhtml_to_pdf
HTML to PDF (wkhtmltopdf)
Render an HTML string to a PDF using the wkhtmltopdf engine — an alternate to Chrome that supports a table of contents (pass enableToc / tocOptions inside `options`). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /wkhtml/pdf/html.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The HTML source to render into a PDF.'}, 'inline': {'type': 'boolean', 'description': 'If true (Api2Pdf default), the generated file is served inline; if false, as an attachment.'}, 'options': {'type': 'object', 'description': 'Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'storage': {'type': 'object', 'properties': {'url': {'type': 'string', 'description': 'Pre-signed destination URL for the upload.'}, 'method': {'type': 'string', 'description': "HTTP method Api2Pdf uses to upload (e.g. 'PUT')."}}, 'description': 'Custom storage target, used when useCustomStorage is true.'}, 'fileName': {'type': 'string', 'description': "A name for the generated file, e.g. 'invoice.pdf'."}, 'output_binary': {'type': 'boolean', 'description': 'If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).'}, 'extraHTTPHeaders': {'type': 'object', 'description': 'Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'useCustomStorage': {'type': 'boolean', 'description': 'If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.'}}}
Modifié
api2pdf_delete_file
1 October 2026 02:50
Modifié
api2pdf_get_status
1 October 2026 02:50
Modifié
api2pdf_get_balance
1 October 2026 02:50
Modifié
api2pdf_generate_barcode
1 October 2026 02:50
Modifié
api2pdf_convert_to_markdown
1 October 2026 02:50
Modifié
api2pdf_add_password
1 October 2026 02:50
Modifié
api2pdf_extract_pages
1 October 2026 02:50
Modifié
api2pdf_compress_pdf
1 October 2026 02:50
Modifié
api2pdf_merge_pdfs
1 October 2026 02:50
Modifié
api2pdf_office_to_pdf
1 October 2026 02:50
Modifié
api2pdf_wkhtml_to_pdf
1 October 2026 02:50
Modifié
api2pdf_url_to_image
1 October 2026 02:50
Modifié
api2pdf_html_to_image
1 October 2026 02:50
Modifié
api2pdf_markdown_to_pdf
1 October 2026 02:50
Modifié
api2pdf_url_to_pdf
1 October 2026 02:50
Modifié
api2pdf_html_to_pdf
1 October 2026 02:50
Ajouté
api2pdf_delete_file
17 September 2026 12:53
Ajouté
api2pdf_get_status
17 September 2026 12:53
Ajouté
api2pdf_get_balance
17 September 2026 12:53
Ajouté
api2pdf_generate_barcode
17 September 2026 12:53
Ajouté
api2pdf_convert_to_markdown
17 September 2026 12:53
Ajouté
api2pdf_add_password
17 September 2026 12:53
Ajouté
api2pdf_extract_pages
17 September 2026 12:53
Ajouté
api2pdf_compress_pdf
17 September 2026 12:53
Ajouté
api2pdf_merge_pdfs
17 September 2026 12:53
Ajouté
api2pdf_office_to_pdf
17 September 2026 12:53
Ajouté
api2pdf_wkhtml_to_pdf
17 September 2026 12:53
Ajouté
api2pdf_url_to_image
17 September 2026 12:53
Ajouté
api2pdf_html_to_image
17 September 2026 12:53
Ajouté
api2pdf_markdown_to_pdf
17 September 2026 12:53