← 返回 Skills 市场
Image to PDF
作者
Rishabh Dugar
· GitHub ↗
· v1.0.0
· MIT-0
64
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install img-to-pdf
功能描述
Combine one or more images into a single PDF document with page layout control (page size, orientation, fit mode, margin).
使用说明 (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 URLimage_urls— array of image URLsimages_base64— array of base64-encoded images- Multipart upload with
filefield(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"
}'
安全使用建议
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.
功能分析
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.
能力标签
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install img-to-pdf - 安装完成后,直接呼叫该 Skill 的名称或使用
/img-to-pdf触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Image to PDF 是什么?
Combine one or more images into a single PDF document with page layout control (page size, orientation, fit mode, margin). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。
如何安装 Image to PDF?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install img-to-pdf」即可一键安装,无需额外配置。
Image to PDF 是免费的吗?
是的,Image to PDF 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Image to PDF 支持哪些平台?
Image to PDF 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Image to PDF?
由 Rishabh Dugar(@rishabhdugar)开发并维护,当前版本 v1.0.0。
推荐 Skills