OCRRouter获取 API Key

公式图片转 LaTeX

上传公式图片,得到可直接粘贴到 Overleaf、论文或 Markdown 的 LaTeX 代码。

结果

识别出的 Markdown 或 JSON 会显示在这里。

每天免费 3 页,不用注册。

使用方法

  1. 1截图或拍下公式
  2. 2上传图片
  3. 3复制 LaTeX

用 API 批量处理

文件比较多?同样的转换只需要一个请求。可以指定模型,也可以交给 auto 选。

获取 API Key

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto",
    "file_url": "https://example.com/invoice.pdf",
    "format": "markdown"
  }'

常见问题

更多免费工具