modelscope.cn

byted-las-pdf-parse-doubao

Parse PDF documents to extract Markdown or structured content. Use this skill when user needs to: - Parse/extract content from PDF files - Convert PDF to Markdown format - Extract structured data from PDF documents Requires LAS_API_KEY for authentication.

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,567 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

LAS-AI PDF 解析(laspdfparse_doubao)

快速开始

在本 skill 目录执行:

python3 scripts/skill.py --help

提交并等待

python3 scripts/skill.py submit \
  --url "https://las-ai-cn-beijing-baseline.tos-cn-beijing.volces.com/operator_cards_serving/public/baseline/las_pdf_parse_doubao/v1/pdf-sample.pdf" \
  --parse-mode normal \
  --format markdown

parse_mode 说明:

  • normal:默认开启,不进行深度思考;速度更快,适用于绝大多数文档场景。
  • detail:开启深度思考;分析更细致,但耗时更长。

仅提交(返回 task_id)

python3 scripts/skill.py submit --url "<pdf_url>" --no-wait

轮询 / 等待

python3 scripts/skill.py poll <task_id>
python3 scripts/skill.py wait <task_id> --timeout 1800 --format markdown

配置

  • 鉴权:环境变量 LASAPIKEY(推荐)或在当前目录提供 env.sh

- 默认使用 Authorization: Bearer <LASAPIKEY> - 若控制台示例为 X-Api-Key,可用 --auth x-api-key 或设置 LASAPIKEY_AUTH=x-api-key

  • Region:--region cn-beijing|cn-shanghai 或环境变量 LAS_REGION

参数与返回字段

详见 references/api.md