PP-OCRv6ppocr-v6
Text from screenshots and regions, with word boxes.
0.25 per image
PaddleOCR-VL parses document pages into ordered blocks — titles, text, tables, formulas, figures — with boxes, and returns the page as Markdown.
| Billed item | Unit | Credits |
|---|---|---|
| Document parsing One page image per request. | per page | 2 ≈ US$0.002 top-up |
Available to accounts with a balance (paid pool). Prices are in credits. Failed calls cost nothing.
Recorded responses of the API on sample images.



POST https://api.stack.foldbun.com/v1/documents/parse with a Bearer API key.
# macOS: replace "base64 -w0 paper.webp" with "base64 -i paper.webp" curl https://api.stack.foldbun.com/v1/documents/parse \ -H "Authorization: Bearer $FOLDBUN_API_KEY" \ -H "Content-Type: application/json" \ -d @- <<EOF {"model": "paddleocr-vl", "image": {"base64": "$(base64 -w0 paper.webp)"}} EOF
import base64, os, requests with open("paper.webp", "rb") as f: image = base64.b64encode(f.read()).decode() r = requests.post( "https://api.stack.foldbun.com/v1/documents/parse", headers={"Authorization": f"Bearer {os.environ['FOLDBUN_API_KEY']}"}, json={"model": "paddleocr-vl", "image": {"base64": image}}, timeout=60, ) r.raise_for_status() print(r.json())
{
"id": "call_01a1913d-dc14-782f-af48-5f8d60683e0d",
"model": "paddleocr-vl",
"image": {"height": 1426, "id": "img_a01c9472…eb84", "width": 1008},
"blocks": [
{
"type": "title",
"order": 0,
"bbox": [187, 65, 820, 135],
"text": "Cell-Aware Hashing for Compact and Robust Large-Scale Image Retrieval",
"markdown": "# Cell-Aware Hashing for Compact and Robust Large-Scale Image Retrieval"
}
… 24 more
],
"markdown": "# Cell-Aware Hashing for Compact and Robust Large-Scale Image Retrieval\\n\\nTobias Reinholt$^…",
"pages": 1,
"cost": 2,
"balance": 1232.56
}| Field | Description |
|---|---|
| image | One page as {"base64": "…"} or {"id": "img_…"} from an earlier response. |
| options.blocks | Include blocks, default true. With false, only markdown is returned. |
| Call | Credits |
|---|---|
| 1 page 2 | 2 ≈ US$0.002 top-up |
| 10 pages 10 × 2 | 20 ≈ US$0.02 top-up |
| 1,000 pages 1,000 × 2 | 2000 ≈ US$2.00 top-up |
GET /v1/modelsEach call parses one page and costs 2.0 credits. The model is in the paid pool, available to accounts with a balance. Failed calls cost nothing.
The page as Markdown (tables as HTML tables, formulas as LaTeX) and, unless options.blocks is false, an ordered list of blocks with type, reading order, box, text and Markdown.
text, title, table, formula, figure, caption, header, footer, list and other.
Call PaddleOCR-VL through the REST API; the docs list request and response formats.