分类

PDF图片布局

单页多图布局(九宫格/瀑布流/画廊)

将多张图片排版到单页PDF。

示例结果

1 个示例

示例:Image Layouts

自动生成的PDF样例:Grid image layout sample

image-layouts-example1.pdf 查看文件
查看输入参数
{ "title": "Image Layout Grid", "layoutType": "grid-3x3", "imageFiles": [ "/public/processing/pdf_fixture_a.png", "/public/processing/pdf_fixture_a.png", "/public/processing/pdf_fixture_a.png", "/public/processing/pdf_fixture_a.png", "/public/processing/pdf_fixture_a.png", "/public/processing/pdf_fixture_b.png", "/public/processing/pdf_fixture_b.png", "/public/processing/pdf_fixture_b.png", "/public/processing/pdf_fixture_b.png" ] }

Click to upload files or drag and drop files here

Maximum file size: 10MB Maximum files: 24
Supported formats: image/png, image/jpeg, image/webp, image/gif, image/bmp

关键信息

分类
Document Tools
输入类型
text, select, file, checkbox, number
输出类型
file
样本覆盖
4
支持 API
Yes

概览

将多张图片排版到单页PDF。

适用场景

  • 当你需要在浏览器中快速 process pdf, image 内容时,可以使用它。
  • 适合需要可重复输入和快速结果的 document tools 工作流。
  • 如果你想先用真实文件验证流程,再迁移到代码或 API 调用,这个工具很合适。

工作原理

  • 先输入 标题, 副标题, 布局类型, 图片文件。
  • 工具会处理请求并返回 file 类型的结果。
  • 针对文件类流程,建议先使用具有代表性的 pdf, image 测试文件验证边界情况和输出质量。

使用场景

在调试或 QA 场景下处理 pdf, image 数据。
在接入 API 或自动化流程前先验证输出结果。
使用代表性样本文件和边界案例测试整个流程。

用 Samples 测试

pdf, image, png

相关专题

常见问题

PDF图片布局 是做什么的?

PDF图片布局 可帮助你在线 process pdf, image 内容,无需单独编写本地脚本或应用。

什么时候适合用这个工具?

当你需要快速完成 process 流程、验证输出结果,或需要一个浏览器内的 document tools 工具时,就适合使用它。

可以用样本数据测试这个工具吗?

可以。页面会推荐相关样本文件,方便你立即开始测试。

PDF图片布局 支持哪些输入?

PDF图片布局 支持 标题, 副标题, 布局类型, 图片文件 and supports file uploads for 1 field.

PDF图片布局 有 API 吗?

有。工具页包含可供脚本调用的 API 端点,方便你从手动测试过渡到自动化使用。

API 文档

请求端点

POST /zh/api/tools/pdf-image-layouts

请求参数

参数名 类型 必填 描述
title text -
subtitle text -
layoutType select -
imageFiles file (需要先上传) -
pageSize select -
landscape checkbox -
waitUntil select -
waitTime number -

文件类型参数需要先通过 POST /upload/pdf-image-layouts 上传获取 filePath,然后将 filePath 传递给对应的文件字段。

响应格式

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
文件: 文件

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-pdf-image-layouts": {
      "name": "pdf-image-layouts",
      "description": "单页多图布局(九宫格/瀑布流/画廊)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-image-layouts",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

支持 URL 文件链接或 Base64 编码作为文件参数。

如果遇见问题,请联系我们:[email protected]