← 返回
效率工具 Key 中文

Compress PDF

Compress a user-provided PDF by uploading it to Cross-Service-Solutions, polling until completion, then returning a download URL for the compressed file.
通过将用户提供的 PDF 上传至 Cross‑Service‑Solutions 进行压缩,轮询直至完成,随后返回压缩文件的下载链接。
crossservicesolutions
效率工具 clawhub v1.0.0 1 版本 99833.1 Key: 需要
★ 1
Stars
📥 2,373
下载
💾 83
安装
1
版本
#latest

概述

compress-pdf

Purpose

This skill compresses a PDF by:

1) accepting a PDF file from the user,

2) uploading it to the Cross-Service-Solutions compression API,

3) polling the job status until it is finished,

4) returning the compressed file download URL.

Credentials

The API requires an API key used as a Bearer token:

  • Authorization: Bearer

How the user gets an API key:

  • They can sign up and get their key at:

https://login.cross-service-solutions.com/register

  • Or they can provide an API key directly to the bot.

Rule: never echo or log the API key.

API endpoints

Base URL:

  • https://api.xss-cross-service-solutions.com/solutions/solutions

Create compression job:

  • POST /api/29
  • multipart/form-data parameters:
  • file (PDF Dokument) — required — PDF file
  • imageQuality — required — number 0..100 (default 75)
  • dpi — required — number 72..300 (default 144)

Get result by ID:

  • GET /api/

When done, the response contains:

  • output.files[] with { name, path } where path is a downloadable URL.

Inputs

Required

  • A PDF file (binary)
  • An API key (string)

Optional

  • imageQuality (0..100), default 75
  • dpi (72..300), default 144

Output

Return a structured result:

  • job_id (number)
  • status (string)
  • download_url (string, when done)
  • file_name (string, when available)
  • settings (object)

Example output:

{
  "job_id": 123,
  "status": "done",
  "download_url": "https://.../compressed.pdf",
  "file_name": "compressed.pdf",
  "settings": { "imageQuality": 75, "dpi": 144 }
}

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 17:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,821
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,263
productivity

Word / DOCX

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