Skip to content
Bitaloka Docs
JPG to PDF

JPG to PDF

Combine JPG/PNG images into one PDF.

Request

POST https://api.bitaloka.io/v1/pdf/from-images
Multipart form→ application/pdf

Parameters

NameTypeDescription
filesrequired JPG / PNG images JPG or PNG images, one page each.Example: photo1.jpg, photo2.png

Code samples

Generated from one source and tested against the live API.

curl -sS -X POST "https://api.bitaloka.io/v1/pdf/from-images" \
  -H "X-API-Key: $BITALOKA_API_KEY" \
  -F "files=@photo1.jpg;type=image/jpeg" \
  -F "files=@photo2.jpg;type=image/jpeg" \
  --fail-with-body -o images.pdf

Uses: curl 7.x+ · example.sh

Response

Returns the processed file as application/pdf. The samples save it as images.pdf.

Use from an AI agent

On the Bitaloka MCP server this service is the pdf_from_images tool. MCP server →

Related services