PDF页面母版模板
生成包含边距、网格、页眉页脚和栏线的PDF母版模板
创建用于版式规划与设计系统的可打印PDF母版模板。
**包含的辅助线:**
- 边距框与安全区
- 可选出血内缩与裁切线
- 网格与基线辅助
- 栏间距与页眉页脚区域
- 可选标尺与标注
API 文档
请求端点
POST /zh/api/tools/pdf-page-master-template
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| title | text | 否 | - |
| pageSize | select | 否 | - |
| orientation | select | 否 | - |
| marginTop | number | 否 | - |
| marginBottom | number | 否 | - |
| marginLeft | number | 否 | - |
| marginRight | number | 否 | - |
| showBleed | checkbox | 否 | - |
| bleedSize | number | 否 | - |
| showGrid | checkbox | 否 | - |
| gridSize | number | 否 | - |
| showBaseline | checkbox | 否 | - |
| baselineSpacing | number | 否 | - |
| showColumns | checkbox | 否 | - |
| columnCount | select | 否 | - |
| gutterWidth | number | 否 | - |
| showHeaderFooter | checkbox | 否 | - |
| headerHeight | number | 否 | - |
| footerHeight | number | 否 | - |
| safeInset | number | 否 | - |
| showRulers | checkbox | 否 | - |
| showLabels | checkbox | 否 | - |
响应格式
{
"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-page-master-template": {
"name": "pdf-page-master-template",
"description": "生成包含边距、网格、页眉页脚和栏线的PDF母版模板",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-page-master-template",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]