Document > JPG/PNG to PDF
JPG/PNG to PDF
Convert JPG or PNG images into a PDF.
Examples
curl -X POST https://api.medux.io/api/app/v1/process/asset/jpg_png_to_pdf \
-H 'Authorization: Bearer $MEDUX_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"input_file_ids":["FILE_ID"],"model_id":"jpg-png-to-pdf-default"}'Media Samples
Approved examples for understanding request inputs, response shape, and official example output.
Official jpg png to pdf sample
This example uses jpg-png-to-pdf-default.
Sample request
Example input for this capability.
Sample response
Official example output for preview only. It is not a user Media Result.
Example output
Auth Requirements
Authentication is required via Authorization header.
Preconditions
Upload each source file and create file references before calling this endpoint.
Successful requests return a Medux task record immediately. Use the task query or sync endpoints to track completion.
All file inputs must be uploaded and persisted as file references before submission.
Request
Body
application/jsonAuthorizationstringrequiredBearer token or API key.
Location: HEADER
input_file_idsarray<string>requiredInput JPG/PNG file_id list.
Location: BODY
model_idstringoptionalModel Default: jpg-png-to-pdf-default.
Location: BODY
titlestringoptionalOptional task title.
Location: BODY
Response
Response
application/jsonMCP Tool
This endpoint is also available through the Medux-hosted remote MCP service.
JPG/PNG to PDF
Convert JPG or PNG images into a PDF.
Invocation Example
Convert JPG or PNG images into a PDF.
On this page