{
"markdown_content": "# Invoice\n\n**From:** \n**DEMO - Sliced Invoices** \nSuite 5A-1204 \n123 Somewhere Street \nMelbourne, VIC 3000 \[email protected]\n\n**To:** \n**Test Business** \n123 Somewhere St \nYour City AZ 12345 \[email protected]\n\n---\n\n## Invoice Details\n- **Invoice Number:** INV-3337 \n- **Order Number:** 12345 \n- **Invoice Date:** January 25, 2016 \n- **Due Date:** January 31, 2016 \n\n## Payment Information\n- **BSB:** 4321 432 \n- **Account Number:** 1234 1234 \n- **Bank:** ANZ Bank \n\n## Financial Summary\n| Description | Hours/Qty | Rate/Price | Adjust | Sub Total | \n|------------------|------------|------------|--------|-----------| \n| Web Design | 1.00 | $85.00 | 0.00% | $85.00 | \n\n---\n\n### Totals\n- **Subtotal:** $85.00 \n- **Tax:** $8.50 \n- **Total:** $93.50 \n\n---\n\n**Payment Terms:** \nPayment is due within 30 days from the date of the invoice. Late payment is subject to fees of 5% per month.\n\n---\n\n*This is a sample description...*",
"document_type": "Invoice"
}
curl --location --request POST 'https://zylalabs.com/api/14581/llm+document+to+markdown+api/37360/extract+markdown+from+document+url' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"fileUrl": "https://slicedinvoices.com/pdf/wordpress-pdf-invoice-plugin-sample.pdf"
}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 LLM文档到Markdown API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
典型的使用案例包括将文档处理集成到RAG管道中 训练自定义LLM 自动化AI数据摄取工作流程 提高处理文档数据的效率
一个严格的JSON对象,包含一个'document_type'字符串和一个'markdown_content'字符串,完美格式化,包含标题、项目符号和表格,以便立即供LLM使用
该API原生支持通过公共fileUrl参数输入矢量/扫描的PDF文件和标准图像格式(PNG JPG JPEG)