npx goldbean-mcp
# 1. Get your API key (free, no signup needed)
curl -X POST https://goldbean-api.xyz/paid/user/register
# 2. Call any endpoint — e.g., Chinese OCR
curl -X POST https://goldbean-api.xyz/paid/baidu-ocr \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{"image_url":"https://example.com/photo.jpg"}'
# 3. Try LLM chat (DeepSeek / Kimi / Doubao / Qwen / Hunyuan / ERNIE / GLM)
curl -X POST https://goldbean-api.xyz/ai/ds/chat \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{
"model": "deepseek-chat",
"messages": [{"role": "user", "content": "Hello"}]
}'
import requests
API_KEY = "YOUR_KEY" # Get free at https://goldbean-api.xyz/paid/user/register
BASE_URL = "https://goldbean-api.xyz"
# Chinese OCR
response = requests.post(
f"{BASE_URL}/paid/baidu-ocr",
headers={"x-api-key": API_KEY},
json={"image_url": "https://example.com/photo.jpg"}
)
print(response.json())
# LLM Chat (DeepSeek)
response = requests.post(
f"{BASE_URL}/ai/ds/chat",
headers={"x-api-key": API_KEY},
json={
"model": "deepseek-chat",
"messages": [{"role": "user", "content": "Hello"}]
}
)
print(response.json())
const axios = require('axios');
const API_KEY = 'YOUR_KEY'; // Get free at https://goldbean-api.xyz/paid/user/register
const BASE_URL = 'https://goldbean-api.xyz';
// Chinese OCR
const ocr = await axios.post(`${BASE_URL}/paid/baidu-ocr`, {
image_url: 'https://example.com/photo.jpg'
}, { headers: { 'x-api-key': API_KEY } });
console.log(ocr.data);
// LLM Chat (Kimi)
const chat = await axios.post(`${BASE_URL}/ai/kimi/chat`, {
model: 'kimi-latest',
messages: [{ role: 'user', content: 'Hello' }]
}, { headers: { 'x-api-key': API_KEY } });
console.log(chat.data);
📖 Full docs: English Docs · Chinese Docs · OpenAPI Spec
Baidu has world-class AI APIs — especially for Chinese language processing (OCR, NLP, ASR, TTS). But using them directly requires:
GoldBean removes that barrier. Same Baidu AI APIs, accessible globally with just PayPal, Alipay, or USDC. No Chinese ID, no Baidu account, no subscription.
These are the APIs you can't easily get outside China. Each one is powered by Baidu's production-grade AI models.
GET /paid/baidu-ocr
GET /paid/baidu-ocr-accurate
GET /paid/baidu-ocr-table
GET /paid/baidu-ocr-handwrite
GET /paid/baidu-idcard
GET /paid/baidu-ocr-vin
POST /paid/baidu-asr
POST /paid/baidu-tts
POST /paid/baidu-translate
POST /paid/baidu-helixfold
POST /paid/baidu-face-compare
POST /paid/baidu-face-liveness
And many more: Content Moderation, NLP (sentiment, keyword, entity), Image Search, Landmark Recognition, Plant/Animal/Dish/Currency Recognition, Image Colorize, Style Transfer, Anime Generation, Gesture Recognition, Car Damage Detection, Driving License OCR, and more.
Chat with DeepSeek, Kimi, Doubao, Qwen, Hunyuan, ERNIE, and GLM — all through a single OpenAI-compatible API. No need to register 7 different accounts.
| Provider | Models | Context | Price / 1M tokens |
|---|---|---|---|
| DeepSeek | deepseek-chat, deepseek-reasoner | 64K | $0.05 - $0.50 |
| Kimi (Moonshot) | kimi-latest, kimi-k1.5 | 256K | $0.10 - $1.20 |
| Doubao (ByteDance) | doubao-pro, doubao-lite, doubao-vision | 256K | $0.05 - $0.80 |
| Qwen (Alibaba) | qwen-max, qwen-plus, qwen-turbo | 128K | $0.08 - $1.50 |
| Hunyuan (Tencent) | hunyuan-standard, hunyuan-pro | 32K | $0.05 - $1.00 |
| ERNIE (Baidu) | ernie-4.5, ernie-speed, ernie-lite | 128K | $0.05 - $2.00 |
| GLM (Zhipu) | glm-4, glm-4-flash | 128K | $0.05 - $1.00 |
| Tier | Price | What You Get |
|---|---|---|
| Free | $0 | 2,000 calls/day/IP · All endpoints · No signup |
| Starter | $5 | 500 credits · Valid forever · All endpoints |
| Pro | $19.9/mo | Unlimited standard endpoints · Premium endpoints at 50% off |
| Business | $89/mo | Unlimited everything · Priority support · Custom SLA |
| Enterprise | Custom | Dedicated infrastructure · White-label · Reseller discounts |
💳 Pay with PayPal, Alipay, or USDC on Base. Credits never expire.
npx goldbean-mcp for Cursor, Claude, and other AI agentsThese free endpoints work instantly — no API key needed. 50 calls/day per IP.
GoldBean is a Model Context Protocol (MCP) server. Connect it to Cursor, Claude, and other AI agents that support MCP.
# Install the MCP server
npx goldbean-mcp
# Or add to your MCP config
{
"mcpServers": {
"goldbean": {
"command": "npx",
"args": ["goldbean-mcp"]
}
}
}
Your AI agent can now call 56+ AI endpoints directly — OCR, translation, TTS, LLM chat, and more.
"Finally, a way to use Baidu OCR without a Chinese phone number. The API just works."
— Developer from Singapore
"The x402 micropayment is genius. I pay $0.01 per OCR call instead of a $50/month subscription."
— Indie developer from Berlin
"I integrated the MCP server into my Cursor workflow. Now my AI agent can do Chinese OCR automatically."
— AI researcher from Tokyo