← Back to Skills Marketplace
rishabhdugar

Image to PDF

by Rishabh Dugar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
64
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install img-to-pdf
Description
Combine one or more images into a single PDF document with page layout control (page size, orientation, fit mode, margin).
README (SKILL.md)

Image to PDF

What It Does

Combines one or more images into a single PDF document. Supports page size selection, orientation, fit modes, and margin control.

When to Use

  • Convert scanned images into a PDF document
  • Combine multiple photos/screenshots into one PDF
  • Create a PDF portfolio from image files

Required Inputs

Provide one of:

  • image_url — single image URL
  • image_urls — array of image URLs
  • images_base64 — array of base64-encoded images
  • Multipart upload with file field(s)

Authentication

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Use Cases

  • Scanned Document Assembly — Combine scanned pages into a single PDF document
  • Photo Portfolio — Create a PDF photo book or portfolio from multiple images
  • Insurance Claims — Bundle damage photos into one PDF for submission
  • Real Estate Listings — Combine property photos into a downloadable PDF brochure
  • Medical Records — Assemble scanned medical documents into a single patient file
  • ID Document Bundles — Combine front/back scans of IDs into one PDF

Key Options

Parameter Description
page_size A4, Letter, Legal, A3, A5, or original
orientation portrait or landscape
fit_mode fit (default), fill, stretch, original
margin Padding in points (0–200)
output url (default), base64, both, file

Limits

  • Max 100 images per request

Example Usage

curl -X POST https://pdfapihub.com/api/v1/convert/image/pdf \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_urls": ["https://pdfapihub.com/sample.jpg", "https://pdfapihub.com/sample-invoicepage.png"],
    "page_size": "A4",
    "orientation": "portrait",
    "fit_mode": "fit",
    "margin": 36,
    "output": "url"
  }'
Usage Guidance
This skill forwards whatever images you provide to pdfapihub.com. Before using it, verify you trust that service: read its privacy policy and retention terms, avoid uploading sensitive documents (medical, ID, financial) unless you're comfortable with third-party storage/processing, and use a dedicated or limited-scope API key if possible. Because the skill is instruction-only, it won't install code on your system, but it will transmit your data over the network — confirm the HTTPS endpoints and test with non-sensitive images first.
Capability Analysis
Type: OpenClaw Skill Name: img-to-pdf Version: 1.0.0 The skill is a standard API wrapper for a third-party service (pdfapihub.com) that converts images to PDF documents. The implementation in skill.json and SKILL.md is consistent with its stated purpose, using standard API key authentication and providing clear parameters for image processing without any signs of malicious intent, data exfiltration, or prompt injection.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description (combine images to PDF) align with the contents of SKILL.md and skill.json. The skill requires an API key sent in the CLIENT-API-KEY header and accepts image URLs, base64 images, or multipart files — all coherent with a hosted PDF conversion service.
Instruction Scope
Instructions explicitly tell the agent to POST image data (URLs, base64, or files) to https://pdfapihub.com/api/v1/convert/image/pdf. This is expected for the described function, but it means user data (images) will be transmitted to a third party; the SKILL.md does not attempt to access unrelated system files or environment variables.
Install Mechanism
No install spec and no code files — the skill is instruction-only and does not write code or binaries to disk. This minimizes install-time risk.
Credentials
The skill does not declare required environment variables but requires an API key header at runtime (skill.json declares apiKey auth). This is proportionate to the purpose; users must supply a service API key. There are no unrelated credential requests.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skill/system configs. Autonomous invocation is allowed (platform default) but is not combined with elevated privileges here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install img-to-pdf
  3. After installation, invoke the skill by name or use /img-to-pdf
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
**image-to-pdf 1.0.0 – Initial Release** - New skill to combine images into a single PDF, with page size, orientation, fit mode, and margin options. - Added API documentation detailing usage, input methods, parameters, limits, and use cases. - Supports image input via URL, base64, or file upload. - Free API key available for access; supports up to 100 images per request. - Removed legacy files and updated documentation to reflect modern, API-based usage.
Metadata
Slug img-to-pdf
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Image to PDF?

Combine one or more images into a single PDF document with page layout control (page size, orientation, fit mode, margin). It is an AI Agent Skill for Claude Code / OpenClaw, with 64 downloads so far.

How do I install Image to PDF?

Run "/install img-to-pdf" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Image to PDF free?

Yes, Image to PDF is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Image to PDF support?

Image to PDF is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Image to PDF?

It is built and maintained by Rishabh Dugar (@rishabhdugar); the current version is v1.0.0.

💬 Comments