← 返回
未分类 Key

Image to PDF

Combine one or more images into a single PDF document with page layout control (page size, orientation, fit mode, margin).
将一张或多张图片合并为单个PDF文档,支持页面布局控制(页面尺寸、方向、适配模式、页边距)
rishabhdugar rishabhdugar 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 336
下载
💾 0
安装
1
版本
#latest

概述

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

ParameterDescription
------------------------
page_sizeA4, Letter, Legal, A3, A5, or original
orientationportrait or landscape
fit_modefit (default), fill, stretch, original
marginPadding in points (0–200)
outputurl (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"
  }'

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 21:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 931 📥 187,230
design-media

Generate Image

rishabhdugar
使用无头 Chromium 将 HTML 内容或公开 URL 生成PNG 图片,支持自定义尺寸、Retina 高清、全页面截图以及 Cookie 配置。
★ 0 📥 574
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 462 📥 154,458