Skip to main content
Glama

ntriq AgentShop — 通过 x402 微支付提供 AI 数据服务

基于 AI 的数据智能端点,采用 x402 微支付(Base 链上的 USDC)按需付费模式。无需 API 密钥,无需订阅,无速率限制。AI 代理仅需为所用服务付费。100% 本地推理 — 无外部 API 调用。

服务(11 种类型 × 2 种定价层级 = 22 个端点)

视觉服务(图像输入)

服务

端点

单次

批量(最多 500)

替代文本

/alt-text

$0.01

/alt-text-batch $3.00

文档智能

/document-intel

$0.05

/document-intel-batch $15.00

发票提取

/invoice-extract

$0.03

/invoice-extract-batch $9.00

截图数据

/screenshot-data

$0.02

/screenshot-data-batch $6.00

蓝图分析

/blueprint

$0.05

/blueprint-batch $15.00

文本 / NLP 服务

服务

端点

单次

批量(最多 500)

PII 检测

/pii-detect

$0.02

/pii-detect-batch $6.00

情感分析

/sentiment

$0.01

/sentiment-batch $3.00

内容生成

/content-generate

$0.02

/content-generate-batch $6.00

合规检查

/compliance-check

$0.03

/compliance-check-batch $9.00

代码审查

/code-review

$0.05

/code-review-batch $15.00

钓鱼雷达

/phish-radar

$0.03

/phish-radar-batch $9.00


工作原理

AI Agent
  │
  ▼  POST /alt-text
x402.ntriq.co.kr
  │
  ├─ 402 Payment Required ($0.01 USDC, Base mainnet)
  │
  ▼  Agent signs EIP-3009 (gasless) → retries with payment
  │
  ├─ Facilitator verifies payment
  │
  ▼  200 OK + JSON result
  │
Mac Mini (local Qwen2.5-VL / Qwen2.5:7b)
  └─ 100% local inference, zero external API calls

支付协议:x402 — Base 链上的 USDC,EIP-3009 无 Gas 授权


服务详情

替代文本 — /alt-text ($0.01) · /alt-text-batch ($3.00)

生成符合 WCAG 标准的替代文本(≤125 字符)及详细的无障碍描述。

POST /alt-text
{ "image_url": "https://example.com/product.jpg" }

# Response
{ "alt_text": "Red leather handbag with gold clasp", "description": "..." }

批量:{ "images": ["url1", "url2", ...], "context": "e-commerce catalog" }


文档智能 — /document-intel ($0.05) · 批量 ($15.00)

对文档图像进行 OCR、分类、表格提取和摘要生成。

POST /document-intel
{ "image_url": "...", "analysis_type": "extract|summarize|classify|table" }

发票提取 — /invoice-extract ($0.03) · 批量 ($9.00)

从发票和收据中提取结构化字段:供应商、金额、明细项、日期。

POST /invoice-extract
{ "image_url": "..." }

# Response
{ "invoice": { "vendor_name": "...", "total": 1250.00, "line_items": [...] } }

截图数据 — /screenshot-data ($0.02) · 批量 ($6.00)

从截图中提取文本、UI 元素、布局和数据表。

POST /screenshot-data
{ "image_url": "...", "extract_type": "full|text|data|layout" }

蓝图分析 — /blueprint ($0.05) · 批量 ($15.00)

分析建筑蓝图和平面图。提取房间、尺寸、材料信息。

POST /blueprint
{ "image_url": "...", "analysis_type": "full|rooms|dimensions|materials" }

# Response
{ "rooms": [{"name": "Living Room", "area": "24 m²"}], "total_area": "85 m²" }

PII 检测 — /pii-detect ($0.02) · 批量 ($6.00)

检测并可选择性屏蔽个人身份信息 (PII):电子邮件、电话、社保号、姓名、地址、信用卡号。

POST /pii-detect
{ "text": "Contact John at john@email.com", "mask": true }

# Response
{ "pii_found": [...], "risk_level": "high", "masked_text": "Contact [NAME] at [EMAIL]" }

情感分析 — /sentiment ($0.01) · 批量 ($3.00)

分析情感、情绪和意图,并提供置信度评分。

POST /sentiment
{ "text": "This product is amazing!" }

# Response
{ "sentiment": "positive", "confidence": 0.95, "intent": "praise" }

内容生成 — /content-generate ($0.02) · 批量 ($6.00)

生成博客文章、电子邮件、社交媒体内容、产品描述、报告和广告文案。

POST /content-generate
{ "prompt": "benefits of standing desks", "style": "blog|email|social|product|report|ad", "tone": "professional", "max_words": 500 }

合规检查 — /compliance-check ($0.03) · 批量 ($9.00)

分析文本是否违反 GDPR、HIPAA、SOX 或一般合规性要求。返回风险等级和补救建议。

POST /compliance-check
{ "text": "We store passwords in plain text.", "framework": "GDPR", "jurisdiction": "EU" }

# Response
{ "compliant": false, "risk_level": "critical", "issues": [...] }

代码审查 — /code-review ($0.05) · 批量 ($15.00)

基于 AI 的代码审查,用于发现安全漏洞、性能问题和质量问题。支持任何语言。

POST /code-review
{ "code": "SELECT * FROM users WHERE id='" + id + "'", "language": "sql", "focus": "security" }

# Response
{ "overall_score": 2, "issues": [{"severity": "critical", "description": "SQL injection"}] }

钓鱼雷达 — /phish-radar ($0.03) · 批量 ($9.00)

检测钓鱼 URL 和域名。识别域名抢注、同形异义字攻击、品牌冒充。

POST /phish-radar
{ "url": "https://paypa1.com/login" }

# Response
{ "is_suspicious": true, "risk_score": 92, "risk_level": "critical", "legitimate_brand": "PayPal" }

快速入门

服务目录

curl https://x402.ntriq.co.kr/services

健康检查

curl https://x402.ntriq.co.kr/health

测试(预期返回 402 响应)

curl -X POST https://x402.ntriq.co.kr/sentiment \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world"}'
# → 402 Payment Required

架构

Mac Mini (Apple Silicon)
├── x402 Server (Node.js + tsx)         :4021
├── qwen-vision-api (Python)            :8100  ← Qwen2.5-VL:7b
├── Ollama                              :11434 ← Qwen2.5:7b, Gemma4
└── Cloudflare Tunnel → x402.ntriq.co.kr

支付:通过 x402 协议 在 Base 主网上使用 USDC 钱包:0x124AaFfF8Ef45F2cA953807aF09Aacec2D9F8307 中继器:https://facilitator.openx402.ai


ClawHub 技能

通过 ClawHub 安装,以便在您的 AI 代理中启用这些服务:

clawhub install ntriq-x402-alt-text
clawhub install ntriq-x402-sentiment
clawhub install ntriq-x402-code-review
# ... and more

由 ntriq 构建 — 100% 本地推理,100% 利润

Available Tools

6 tools
alt_textA

Generate accessible alt text descriptions for images. Cost: $0.01 USDC per call.

Inputs: image_url, image_base64, style.

document_intelligenceA

Analyze document images — extract text, summarize, classify, or extract tables. Accepts image URL or base64. Cost: $0.05 USDC per call (x402, Base mainnet).

Inputs: image_url, image_base64, analysis_type, language.

invoice_extractA

Extract structured fields from invoice or receipt images. Returns vendor, line items, totals, dates, and more as JSON. Cost: $0.03 USDC per call.

Inputs: image_url, image_base64, language.

pii_detectA

Detect and redact Personally Identifiable Information (PII) in text. Returns detected PII types and redacted text. Cost: $0.02 USDC per call.

Inputs: text (required), redact.

screenshot_dataB

Extract structured data from screenshots of dashboards, tables, forms, or UIs. Cost: $0.02 USDC per call.

Inputs: image_url, image_base64, extraction_hint.

sentiment_analysisA

Analyze sentiment of text — returns score, label, and key phrases. Cost: $0.01 USDC per call.

Inputs: text (required), language.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: alt_text for image descriptions, document_intelligence for document analysis, invoice_extract for invoice processing, pii_detect for PII handling, screenshot_data for screenshot extraction, and sentiment_analysis for text sentiment. The descriptions make it easy to differentiate between them.

    Naming Consistency4/5

    The tools use a consistent snake_case naming convention throughout, which is good. However, there is a minor deviation in naming style: most tools use descriptive compound names (e.g., sentiment_analysis, invoice_extract), but 'alt_text' is simpler and less descriptive compared to others, slightly breaking the pattern.

    Tool Count5/5

    With 6 tools, this server is well-scoped for its apparent domain of document and image processing. Each tool serves a specific, useful function, and the count is neither too sparse nor overwhelming, fitting typical expectations for such a specialized server.

    Completeness4/5

    The toolset covers key areas in document and image analysis, including text extraction, sentiment analysis, PII detection, and structured data extraction from various sources. A minor gap is the lack of tools for editing or modifying documents/images, but the provided tools offer comprehensive analysis capabilities for the inferred domain.

    Related MCP Connectors