Analyze document images — invoices, contracts, forms, reports — with local AI vision. Extracts text, classifies document type, pulls tables, or summarizes. No cloud upload, no API key. Pay $0.05 USDC per call via x402 micropayment (Base mainnet).
bash
POST https://x402.ntriq.co.kr/document-intel
Content-Type: application/json
X-PAYMENT: <x402-payment-header>
{
"image_url": "https://example.com/document.png",
"analysis_type": "extract"
}
The server responds with 402 Payment Required first. Sign the EIP-3009 payment payload and retry with X-PAYMENT header.
ParameterTypeRequiredDescriptionimage_urlstring✅ (or base64)Publicly accessible URL of document imageimage_base64string✅ (or url)Base64-encoded document imageanalysis_typestring❌extract (default), summarize, classify, table``languagestring❌Output language ISO code (default: en)
ValueWhat it doesextractFull text extraction preserving structuresummarizeKey points, dates, amounts, partiesclassifyDocument type + key metadatatableAll tables as JSON array
json
{
"status": "ok",
"analysis_type": "classify",
"analysis": "invoice",
"confidence": 0.97,
"metadata": {
"vendor": "Acme Supplies Ltd.",
"invoice_number": "INV-2024-0847",
"date": "2024-03-15",
"total": "$475.00"
}
}
0x124AaFfF8Ef45F2cA953807aF09Aacec2D9F8307bash
# Service catalog
curl https://x402.ntriq.co.kr/services