Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added tools/paperx/1.0.0/PDF转图片.tool
Binary file not shown.
39 changes: 39 additions & 0 deletions tools/paperx/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# PDF转图片

一个用于将 PDF 转 图片 的工具,支持将PDF文件进行切割并上传至MaxKB OSS中。

## 功能特性

- ✅ 支持将 PDF 文本转 图片
- ✅ 可直接应用于“图片理解”节点
- ✅ 无需外部存储,任务纯本地进行


## 应用示例

![CSDN图标](https://notificationoss.microbaton.com/maxkb/wechat_2025-10-22_203234_890.png)

##
在使用此工具之前,需要先安装所需的依赖包:

```bash
pip install PyMuPDF
pip install requests
```
## 参数说明

### 输入参数
| 参数名称 | 参数类型 | 参数说明 | 默认值 |
| -------- | -------- | -------- | ------ |
| `images` | 字符串 | 应用中开始变量{{文件}} | `{{开始.document}}`|

### 启动参数
| 参数名称 | 参数类型 | 参数说明 | 默认值 |
| -------- | -------- | -------- | ------ |
| `api_key` | 字符串 | API-KEY,请参见MaxKB右上角头像中API KEY | 'user-xxxxxxxxxxxx'|
| `base_url` | 字符串 | MaxKB 地址 | `https://<MaxKB_URL>/PORT` |


## 支持

如有有其他文件处理需求或问题,请联系我们:jiangshiwei@microbaton.com
5 changes: 5 additions & 0 deletions tools/paperx/data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: PDF转图片工具
tags:
- 内容处理
title: 将 Markdown 文本转换为 DOCX 文档
description: 实现将 Markdown 文本转换为 Microsoft Word DOCX 文档,并上传到 Kodbox
Binary file added tools/paperx/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.