欢迎回来

登录 EAKE AI,继续您的智能之旅

忘记密码?
还没有账号?立即注册

PDF 文档处理

2026-05-22 · Skills中心

# nano-pdf

使用自然语言指令编辑 PDF。指定页面并描述要修改的内容。

前置条件


# Install with uv (recommended — already available in Hermes)
uv pip install nano-pdf

# Or with pip
pip install nano-pdf

使用方法


nano-pdf edit   ""

示例


# Change a title on page 1
nano-pdf edit deck.pdf 1 "Change the title to 'Q3 Results' and fix the typo in the subtitle"

# Update a date on a specific page
nano-pdf edit report.pdf 3 "Update the date from January to February 2026"

# Fix content
nano-pdf edit contract.pdf 2 "Change the client name from 'Acme Corp' to 'Acme Industries'"

注意事项

  • 页码可能是 0 起始或 1 起始,取决于版本——如果编辑命中了错误的页面,用 ±1 重试
  • 编辑后务必验证输出 PDF(使用 read_file 检查文件大小,或直接打开)
  • 该工具底层使用 LLM——需要 API 密钥(查看 nano-pdf --help 了解配置)
  • 适合文本类修改;复杂的版式调整可能需要其他方案

评论区

发表评论