360 Secure SkillHub
360 安全技能中心

Split PDF

通过外部 PDF 拆分接口,把单个 PDF 按指定页码范围、逐页或固定分块拆成多个较小 PDF;支持 URL、base64 或 multipart 上传输入,需在请求头提供 API Key,单文档上限 200 页、最多 100 个输出分片。

rishabhdugar
rishabhdugar
热度 47.14
最近更新 2026-05-11 17:44:07
分类:效率依赖:第三方 API应用场景:文件转换 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add split-pdf
Metadata
name
split-pdf
description
Split a single PDF into multiple parts. Supports page ranges, per-page splitting, and fixed chunk splitting.

Split PDF

What It Does

Splits a single PDF into multiple smaller PDFs. Supports splitting by page ranges, one page per file, or fixed number of chunks.

When to Use

  • Extract specific pages from a large PDF
  • Split a document into individual page PDFs
  • Divide a PDF into N equal parts

Split Modes

Mode Param Behaviour
By pages pages: "1-3,5,8-10" Each comma group = one output PDF
Each page mode: "each" One PDF per page
Fixed chunks chunks: 3 Split into N roughly equal parts
Default (none) Same as mode: "each"

Required Inputs

Provide one of:

  • url — public URL to a PDF
  • file — base64-encoded PDF
  • Multipart upload with file field

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

  • Chapter Extraction — Split a book or manual into individual chapter PDFs
  • Page Isolation — Extract a specific page (e.g., signature page) from a contract
  • Selective Sharing — Share only relevant pages from a large report without exposing the rest
  • Batch Processing — Split a multi-page scanned document into individual page files
  • Archival — Break large PDFs into smaller files for easier storage and retrieval
  • Print Shop — Split documents into sections for different print runs

Limits

  • Max 200 pages per document
  • Max 100 output chunks

Example Usage

curl -X POST https://pdfapihub.com/api/v1/pdf/split \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://pdfapihub.com/sample-pdfapi-intro.pdf",
    "pages": "1-5,8,10-15",
    "output": "url"
  }'