返回顶部
m

make-pdf-safe PDF安全化

Flatten a PDF into a non-interactive “safe” version by uploading it to the Solutions API, polling until completion, then returning a download URL for the flattened PDF.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,196
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

make-pdf-safe

make-pdf-safe

目的

该技能通过将文档转换为单一扁平化图层(无活动功能)来创建“安全”PDF。目标是降低交互式PDF功能带来的风险。

实际应用中,输出的PDF旨在:

  • - 移除或中和交互元素(例如脚本/操作),
  • 防止对底层对象/内容结构进行编辑,
  • 表现为扁平化的文档图层(类似于“打印”表示形式)。

该技能:
1) 接收用户提供的PDF文件,
2) 将其上传至Solutions API,
3) 轮询任务状态直至完成,
4) 返回“安全”扁平化PDF的下载URL。

凭证

API需要使用作为Bearer令牌的API密钥:
  • - Authorization: Bearer

用户获取API密钥的方式:

  • - https://login.cross-service-solutions.com/register
  • 或用户可直接提供API密钥。

规则: 切勿回显或记录API密钥。

API端点

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

创建make-safe任务:

  • - POST /api/41
  • multipart/form-data参数:

- file — 必填 — PDF文件

通过ID获取结果:

  • - GET /api/

完成后,响应包含:

  • - output.files[],包含{ name, path },其中path为可下载的URL。

输入

必填

  • - PDF文件(二进制)
  • API密钥(字符串)

可选

  • - 无

输出

返回结构化结果:
  • - jobid(数字)
  • status(字符串)
  • downloadurl(字符串,完成后)
  • file_name(字符串,可用时)

输出示例:
json
{
job_id: 4101,
status: done,
download_url: https://.../safe.pdf,
file_name: safe.pdf
}

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 make-pdf-safe-1776336434 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 make-pdf-safe-1776336434 技能

通过命令行安装

skillhub install make-pdf-safe-1776336434

下载

⬇ 下载 make-pdf-safe v1.0.0(免费)

文件大小: 5.26 KB | 发布时间: 2026-4-17 14:19

v1.0.0 最新 2026-4-17 14:19
- Initial release of make-pdf-safe skill.
- Allows users to flatten PDFs into non-interactive, "safe" documents via the Solutions API.
- Uploads provided PDF, polls job status, and returns a download URL for the flattened result.
- Requires an API key for authentication.
- Ensures removal of interactive elements to enhance document security.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部