Mindee.Cli
4.2.1
Prefix Reserved
dotnet tool install --global Mindee.Cli --version 4.2.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Mindee.Cli --version 4.2.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Mindee.Cli&version=4.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Mindee.Cli --version 4.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mindee CLI for .NET
Simple command-line interface for the Mindee APIs.
Install
dotnet tool install --global Mindee.Cli
mindee -h
Authentication
Pass your API key with --api-key:
- V2:
mindee --api-key <V2_API_KEY> ... - V1:
mindee v1 --api-key <V1_API_KEY> ...
You can also configure keys via environment variables:
- V2:
MindeeV2__ApiKey - V1:
Mindee__ApiKey
V2 Usage (Latest)
V2 commands are top-level commands:
Products
classification: Classify toolcrop: Crop toolextraction: Extraction tool (most common models)ocr: OCR toolsplit: Split tool
Tools
search-models
Inference syntax
mindee --api-key <V2_API_KEY> <command> --model-id <MODEL_ID> [options] <path>
Search-models syntax
mindee --api-key <V2_API_KEY> search-models [--name <NAME>] [--model-type <TYPE>] [--raw-json]
V2 examples
# List available extraction models
mindee --api-key <V2_API_KEY> search-models --model-type extraction
# Run an extraction model
mindee --api-key <V2_API_KEY> extraction --model-id <MODEL_ID> ./invoice.pdf --output full --raw-text
V1 (Legacy)
V1 commands are under the v1 namespace:
barcode-readercropperfinancial-documentfr-bank-account-detailsfr-carte-grisefr-health-cardfr-carte-nationale-d-identitefr-payslipinternational-idinvoiceinvoice-splittermulti-receipts-detectorpassportreceiptus-bank-check
General syntax
mindee v1 --api-key <V1_API_KEY> <product> [options] <path>
V1 examples
# Run invoice parsing
mindee v1 --api-key <V1_API_KEY> invoice ./invoice.pdf --output summary
# Run async receipt parsing and print raw JSON
mindee v1 --api-key <V1_API_KEY> receipt ./receipt.jpg --async --output raw
Output Modes
For commands that support --output:
summary: basic summary (default)full: detailed resultraw: full JSON response
Help
mindee -h
mindee <command> -h
mindee v1 -h
mindee v1 <product> -h
References
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
CHANGELOG.md