GoldBean

Marché d'API IA payant par appel avec 47 endpoints — OCR, chat LLM, génération d'images, TTS

Documentation

🫘 GoldBean — 53 Chinese AI Tools via x402 Micropayments

53 Baidu AI endpoints (19 OCR types, ERNIE LLM, TTS, ASR, vision, NLP, translation, search) — pay per call from $0.003 in USDC on Base. No API keys, no signup, no subscription.

API Status x402 Native npm Glama Score License Free Tier

GoldBean is the only Chinese AI multimodal API cluster in the x402 ecosystem. 53 production-ready endpoints powered by Baidu AI — OCR (19 types), image recognition (10 types), ERNIE LLM, TTS, ASR, NLP, translation, face detection, image/video generation, and search. All accessible via MCP protocol with pay-per-call pricing.

No API keys. No signup. No subscription. Pay per call in USDC on Base, or use PayPal/Alipay for prepaid credits. 50 free calls/day per IP.


✨ Key Features

FeatureDetails
53 AI Endpoints19 OCR types, 10 image recognition, ERNIE LLM, TTS, ASR, NLP (6 types), translation (28+ languages), face/gesture/body detection, image/video generation, web search
x402 NativePay $0.003–$0.08 per call with USDC on Base mainnet — 2-second settlement, no KYC
No API Keysx402 payment replaces API keys. Free tier needs nothing — just call the endpoint
Free Tier50 free API calls/day per IP + 100 credits on registration — no wallet needed
MCP CompatibleWorks with Cursor, Claude Desktop, Cline, Codex, Continue
PayPal & AlipayAlso supported for prepaid credits
Baidu AI PoweredEnterprise-grade AI from China's leading AI platform

🚀 Quick Start

Option 1: MCP Server (Cursor / Claude / Cline)

npx goldbean-mcp

Add to your MCP client config:

{
  "mcpServers": {
    "goldbean": {
      "command": "npx",
      "args": ["goldbean-mcp"]
    }
  }
}

Option 2: REST API (curl / any HTTP client)

# Free call — no payment, no API key
curl "https://goldbean-api.xyz/health"

# Paid call — x402 payment (USDC on Base)
curl -X POST "https://goldbean-api.xyz/paid/baidu-ocr" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/document.jpg"}'
# → 402 Payment Required → Pay USDC → 200 OK with OCR result

# Register for 100 free credits
curl -X POST "https://goldbean-api.xyz/paid/user/register" \
  -H "Content-Type: application/json" \
  -d '{"email":"you@example.com"}'

📡 API Endpoints

🆓 Free Endpoints (No Payment)

EndpointDescription
GET /healthService health check
GET /.well-known/x402.jsonx402 payment discovery
GET /.well-known/mcp.jsonMCP server metadata
GET /openapi.jsonOpenAPI specification
GET /api/routesFull route registry
GET /api/pricing/plansPricing plans

💳 Paid Endpoints (x402 / Credits)

OCR — 19 types ($0.005/call)

ToolDescription
baidu_ocrGeneral printed text OCR — 20+ languages
baidu_ocr_accurateHigh-precision OCR for blurry/low-quality images
baidu_ocr_tableStructured table extraction
baidu_ocr_idcardChinese ID card extraction (front + back)
baidu_ocr_handwritingHandwritten Chinese/English text
baidu_ocr_qrcodeQR code and barcode decoding
baidu_ocr_bankcardBank card number and bank name
baidu_ocr_business_licenseChinese business license fields
baidu_ocr_webimageOCR for web images with complex backgrounds
baidu_deepseek_ocrVLM-powered OCR for complex layouts
baidu_paddleocr_vlPaddleOCR-VL for tables, formulas, stamps
baidu_qianfan_ocrCustom template-based OCR
baidu_ocr_numbersNumber/digit recognition
baidu_ocr_sealSeal/stamp OCR
baidu_ocr_train_ticketTrain ticket extraction
baidu_ocr_receiptReceipt/invoice OCR
baidu_ocr_invoiceVAT invoice extraction
baidu_ocr_passportPassport field extraction
baidu_ocr_license_plateLicense plate recognition

LLM — 3 tools ($0.005/call)

ToolDescription
baidu_llm_chatERNIE LLM chat — ernie-4.0-8k, ernie-3.5-8k, ernie-speed-128k
baidu_deepthinkERNIE deep reasoning — multi-step proofs, logical analysis
baidu_vision_chatVision-language chat — ask questions about images (ERNIE-VL)

Speech — 2 tools ($0.005/call)

ToolDescription
baidu_ttsText-to-speech — Chinese/English, 6 voice personas, MP3/WAV
baidu_asrSpeech-to-text — Chinese/English, word-level timestamps

Translation — 2 tools ($0.003/call)

ToolDescription
baidu_translate28+ language translation with auto-detect
baidu_translate_proEnhanced translation with x402 metadata response

Vision — 10 tools ($0.005/call)

ToolDescription
baidu_image_recognitionGeneral image recognition with Baike entries
baidu_object_detectMulti-object detection with bounding boxes
baidu_landmarkLandmark/building identification with GPS
baidu_plantPlant species identification (20,000+ species)
baidu_animalAnimal species identification (10,000+ species)
baidu_dishDish/food recognition with calorie estimation
baidu_logoBrand logo detection and identification
baidu_carVehicle make/model/year (3,000+ models)
baidu_ingredientFood ingredient identification
baidu_vehicle_detectVehicle detection and counting — traffic/parking

Face & Body — 4 tools ($0.005/call)

ToolDescription
baidu_face_detectFace detection with 10+ attributes (age, gender, emotion)
baidu_face_compare1:1 face comparison — identity verification
baidu_body_analysisBody attribute analysis — gender, clothing, orientation
baidu_gestureHand gesture recognition — 20+ gesture types

NLP — 6 tools ($0.003/call)

ToolDescription
baidu_nlpChinese NLP — word segmentation, POS tagging, dependency parsing
baidu_sentimentSentiment analysis — positive/negative/neutral
baidu_summaryText summarization — abstractive with configurable length
baidu_text_correctorChinese text error correction
baidu_keyword_extractionKeyword/phrase extraction with relevance ranking
baidu_word_embeddingWord-level vector embedding (64-512 dimensions)

Image & Video Generation — 4 tools

ToolPriceDescription
baidu_image_gen$0.03Text-to-image — realistic/anime/sketch/oil_painting/3d
baidu_image_edit$0.03Image editing via text instructions
baidu_video_gen$0.08Text-to-video generation (MuseSteamer)
baidu_video_query$0.005Query async video generation task status

Search — 1 tool ($0.005/call)

ToolDescription
baidu_searchWeb search with instant answers and related topics

Embedding & Science — 3 tools

ToolPriceDescription
baidu_embedding$0.005Text embedding for semantic search/RAG
baidu_reranker$0.005Document reranking by query relevance
baidu_helixfold$0.005Protein 3D structure prediction (AlphaFold-inspired)

💰 Pricing

PlanPriceCallsPer Call
Free Tier$050/day per IP$0
Starter$5 one-time500 calls$0.01
Developer Monthly$9.9/month5,000 calls$0.002
Developer Quarterly$25/quarter20,000 calls$0.0013
Developer Yearly$89/year100,000 calls$0.0009

Or pay per call without subscription — starting at $0.003/call in USDC on Base.

Payment methods: x402 USDC (Base mainnet) | PayPal | Alipay

Accepting wallet: 0x7484b0bca25d2ee56e9b0535572d4cf44a047d98 (Base/USDC)


🔧 How x402 Payments Work

1. Agent calls endpoint → 402 Payment Required
2. Wallet signs USDC tx on Base → sends payment payload
3. Server verifies on-chain → serves the data (2-second settlement)

No KYC. No subscription. No credit card. No API keys.

Powered by the x402 protocol — decentralized micropayments for AI agents.


📦 MCP Installation

npm install -g goldbean-mcp

Or use directly:

npx goldbean-mcp

Compatible with: Cursor, Claude Desktop, Cline, Codex, Continue, and any MCP-compatible client.


🏗️ Architecture

┌──────────────┐    HTTPS    ┌──────────────────────┐
│  MCP Client   │ ──────────→ │  GoldBean API Server  │
│  (Claude,     │ ←────────── │  v9.8.0 on VPS       │
│   Cursor,     │    402/200  │  port 9879 + 3099    │
│   Cline)      │             │                      │
└──────────────┘             ├── Baidu AI (53 tools) │
                              ├── x402 USDC (Base)    │
┌──────────────┐             ├── PayPal / Alipay     │
│  REST Client  │──────────→ │── Free tier (50/day)  │
│  (curl/HTTP)  │             └──────────────────────┘
└──────────────┘

🌐 Platform Presence

PlatformStatus
npm (goldbean-mcp)Published
Glama.aiActive
MCPizeMonetized
x402 BazaarListed
ScoutGateRegistered
Bankr x402 CloudDeployed (3 endpoints)
awesome-x402Listed

📖 Documentation


🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

  • Star this repo — it helps others discover GoldBean
  • Report bugs via GitHub Issues
  • Improve documentation
  • Share on social media

📄 License

MIT License — see LICENSE for details.


GoldBean (GB) — Wishing You Good Fortune & Prosperity 🫘

53 Chinese AI tools via x402 micropayments — No API keys, no signup, pay per call from $0.003.