Image to PDF API: Convert JPG, PNG, and More
Convert JPG, PNG, GIF, TIFF, BMP and SVG images to PDF with one API call. Send a file, URL or base64, choose landscape if needed. Free tier, no card. The…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Convert JPG, PNG, GIF, TIFF, BMP and SVG images to PDF with one API call. Send a file, URL or base64, choose landscape if needed. Free tier, no card.
The Image to PDF API turns images into PDF documents. Send a JPG, PNG, GIF, SVG, TIFF, or BMP file as an upload (up to 100 MB), as a URL, or as a base64 string, and get the PDF back either as the file itself or as a signed link you can store or share. Set landscape to true for wide images such as screenshots or charts.
Use it to save receipts and scanned pages as PDFs, turn screenshots and product photos into shareable documents, or add image-based pages to reports without building your own rendering setup. Need the opposite? The PDF to Image API turns PDF pages back into images. For web pages and documents, use the HTML to PDF or Word to PDF APIs.
Authenticate every request with your ApyHub token in the apy-token header. Documentation: https://apyhub.com/utility/converter-image-pdf
Endpoints 6
- POSTConvert base64-encoded image to PDF signed link
/apyhub/convert-image-to-pdf/base64/linkConvert a base64-encoded image into a PDF link with one JSON request. - POSTConvert image upload to PDF download
/apyhub/convert-image-to-pdf/file/downloadUpload an image and download the generated PDF. The output and landscape options are sent as query parameters. - POSTConvert image upload to PDF signed link
/apyhub/convert-image-to-pdf/file/linkUpload an image file to convert it to a PDF; this example also sets the optional landscape query parameter to false by omitting it. - POSTConvert remote image URL to PDF download
/apyhub/convert-image-to-pdf/url/downloadConvert an image from a public URL into a PDF. The url goes in the JSON body, and landscape is an optional query parameter. - POSTConvert remote image URL to PDF signed link
/apyhub/convert-image-to-pdf/url/linkConvert an image from a URL into a PDF by sending the image link in the request body. - POSTConvert base64-encoded image to PDF download
/apyhub/convert-image-to-pdf/base64/downloadConvert a Base64-encoded file into a PDF. This example sends the required base64 value and uses the default download flow.
API details
- Base URL
https://api.eu.apyhub.com- Authentication
- An API key in the apy-token header
- Operations
- 6 operations on 6 pathsPOST 6
- Response formats
application/json- Description format
- OpenAPI 3.0.3, API version
1.0.0 - Links
- Documentation · OpenAPI document
How to test the Image to PDF API: Convert JPG, PNG, and More in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Image to PDF API: Convert JPG, PNG, and More collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the apy-token header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Convert base64-encoded image to PDF signed link” (POST /apyhub/convert-image-to-pdf/base64/link), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Image to PDF API: Convert JPG, PNG, and More?
Convert JPG, PNG, GIF, TIFF, BMP and SVG images to PDF with one API call. Send a file, URL or base64, choose landscape if needed. Free tier, no card. The… It is listed under Media & content and has 6 endpoints.
Who publishes the Image to PDF API: Convert JPG, PNG, and More?
It is listed from ApyHub's public API description (an OpenAPI document), not published by ApyHub on Swastik Codes. Anyone who controls apyhub.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Image to PDF API: Convert JPG, PNG, and More?
Requests go to https://api.eu.apyhub.com. Endpoint paths are added to this base URL.
How do I authenticate with the Image to PDF API: Convert JPG, PNG, and More?
With an API key in the apy-token header.
How many endpoints does the Image to PDF API: Convert JPG, PNG, and More have?
6 operations on 6 paths (6 POST).
Is forking the Image to PDF API: Convert JPG, PNG, and More free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.