第一个 API 调用
构建您的第一个Document-AI应用 仅需一个提示。
专为编码代理设计。减少API研究,更专注于产品和结果。
- 自有欧盟基础设施 您的数据保留在欧洲。
- ISO/IEC 27001 已认证 安全已获认证。
- SOC 2 Type II 准备中 国际审计标准。
- 24+年经验 经证实。稳定。面向未来。
向Coding Agent提供PaperOffice
https://api.paperoffice.ai/latest/docs/llms.txt - Cursor
- Claude Code
- Codex
- AI Coding Agents
复制并粘贴指令
Read in full:
https://api.paperoffice.ai/latest/docs/llms.txt
Task:
Build, run and verify a production-ready Document AI batch web app with PaperOffice AI-OCR.
Access:
Demo mode:
Use the preprocessed responses and Sandwich PDFs from this manifest: https://paperoffice.ai/demos/ai-ocr/batch/manifest.json
Clearly label the mode as a static demo. Never claim live processing.
Synthetic batch source files:
- https://paperoffice.ai/demos/ai-ocr/batch/sample1-source.jpg
- https://paperoffice.ai/demos/ai-ocr/batch/sample2-source.jpg
- https://paperoffice.ai/demos/ai-ocr/batch/sample3-source.jpg
Preprocessed demo artifacts:
- Responses: https://paperoffice.ai/demos/ai-ocr/batch/sample1-response.json | https://paperoffice.ai/demos/ai-ocr/batch/sample2-response.json | https://paperoffice.ai/demos/ai-ocr/batch/sample3-response.json
- Sandwich PDFs: https://paperoffice.ai/demos/ai-ocr/batch/sample1-searchable.pdf | https://paperoffice.ai/demos/ai-ocr/batch/sample2-searchable.pdf | https://paperoffice.ai/demos/ai-ocr/batch/sample3-searchable.pdf
- Complete package: https://paperoffice.ai/demos/ai-ocr/batch/paperoffice-aiocr-batch-demo.zip
Requirements:
- Download and process all three source JPGs together as one batch
- Run AI-OCR Complete with ocr_mode=complete, output_searchable_pdf=true, processing_lane=instant and client_wait=true
- Call the documented endpoint once per file; send every live upload as multipart/form-data in file_1
- Coordinate the three jobs as one batch and show per-file progress and partial results
- In demo mode, use only the preprocessed responses and PDFs without new API processing
- Fully implement upload, processing, HTTP 202 polling, errors and result
- For every file, render and offer downloads for the source JPG, OCR text, bounding boxes, response and Sandwich PDF
- Offer individual downloads and the complete demo batch download
- Use only endpoints documented in llms.txt
- Do not invent APIs, fields or download URLs
Result:
Implement the complete batch app, start it and verify all three source files. - 1 粘贴到 Coding Agent 中
- 2 运行生成的应用