model_type parameter.
Available Models
| Model | model_type value | Description |
|---|---|---|
| Nanonets OCR-3 | nanonets-ocr-3 | Latest model. Current default. |
| Nanonets OCR-2 | nanonets-ocr-2 | Previous generation model. |
Choosing a Model
When to use each model
nanonets-ocr-3 (recommended)
Best for most use cases. Handles rotated/skewed pages, complex layouts, and
multi-page documents with higher accuracy. Uses crop augmentation for dense
pages.
nanonets-ocr-2
Use when you need consistent behavior with an existing integration, or if
you have validated your pipeline against this model and don’t want to
re-test.
Default Behavior
Whenmodel_type is omitted (or set to empty string / "default"), the API uses the current default model. Today this is nanonets-ocr-3, but it may change in a future release.