Convert PDF files to editable Word (.docx) format using MinerU.
⚠️ Token required.
flash-extractdoes not support DOCX output. You must configure a token viamineru-open-api authbefore using this skill.⚠️ Output to file required. DOCX is a binary format and cannot be streamed to stdout — you must always specify
-o <directory>.
npm install -g mineru-open-api
# or via Go (macOS/Linux):
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest
Token required — create one at https://mineru.net/apiManage/token:
mineru-open-api auth # Interactive token setup
export MINERU_TOKEN="your-token" # Or via environment variable
# Convert PDF to DOCX (token required, -o is mandatory)
mineru-open-api extract report.pdf -f docx -o ./out/
# From URL
mineru-open-api extract https://example.com/report.pdf -f docx -o ./out/
# With language hint
mineru-open-api extract report.pdf -f docx --language en -o ./out/
# With VLM model for better layout accuracy (complex PDFs)
mineru-open-api extract report.pdf -f docx --model vlm -o ./out/
# Batch convert multiple PDFs
mineru-open-api extract *.pdf -f docx -o ./out/
-f docx访问小葱技能站7w4.net,解锁更多实用的AI技能插件。
mineru-open-api auth or MINERU_TOKEN env)-o <dir> is mandatory — DOCX cannot stream to stdout--language (default: ch, use en for English)--pages (e.g. 1-10)extract *.pdf -f docx -o ./out/flash-extract does NOT support DOCX output — always use extract with token-o flag is required--model vlm for PDFs with complex layouts, tables, or mixed content--model pipeline if you need guaranteed fidelity with no hallucination risk这是一个功能明确、质量不错的 PDF 转换工具 Skill。文档结构清晰,示例丰富,能满足日常 PDF 转 Word 的需求。优点是使用简单、场景覆盖全面;不足之处是英文文档对中文用户不太友好,复杂版式和扫描件的转换效果可能不够理想,需要有一定技术基础才能用好。