Black Eagle AI Documentation
Use Chinese AI models through one developer-friendly gateway. The first production API surface is OpenAI-compatible text generation.
Base URL: https://api.blackeaglecambodia.com/v1
DeepSeek naming update: start new integrations with deepseek-v4-flash or deepseek-v4-pro. DeepSeek's legacy aliases deepseek-chat and deepseek-reasoner are scheduled for retirement on July 24, 2026.
Overview
Black Eagle AI is a prepaid gateway for Chinese AI models. Create an account, top up with PayPal or redeem an issued code, receive credits, generate an API token, and use a familiar OpenAI-compatible API format.
The product is designed for global developers who want a simpler way to evaluate Chinese model families through consistent documentation, billing and API access. For tool-specific setup examples, see the integration recipes.
Credits
Use prepaid credits to control spend while you test model quality, latency and integration fit.
- Create an account in the Black Eagle AI console.
- Choose a trial, builder, pro or custom credit package.
- Top up with a manual PayPal payment, or use a redemption code if support has already provided one.
- Send your account email or username plus the payment receipt (or code) for crediting.
- Create an API token from the console after credits are added.
- Run one small API request with your token to confirm the setup, then track usage from your dashboard.
See the exact $5 starter-trial flow, view credit packages, read the billing FAQ, pay with PayPal, send a code, or email lianzhiweivincent@gmail.com.
Quickstart
- Register: api.blackeaglecambodia.com/register
- Create a token in the console.
- Set your SDK base URL to
https://api.blackeaglecambodia.com/v1.
Python
from openai import OpenAI
client = OpenAI(
api_key="sk-your-black-eagle-token",
base_url="https://api.blackeaglecambodia.com/v1"
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Write a launch checklist."}]
)
print(response.choices[0].message.content)
Node.js
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "sk-your-black-eagle-token",
baseURL: "https://api.blackeaglecambodia.com/v1"
});
const response = await client.chat.completions.create({
model: "deepseek-v4-flash",
messages: [{ role: "user", content: "Write a launch checklist." }]
});
console.log(response.choices[0].message.content);
cURL
curl https://api.blackeaglecambodia.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-your-black-eagle-token" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "Hello from Black Eagle AI"}]
}'
Chat completions
/v1/chat/completionsThe chat endpoint follows the OpenAI Chat Completions format, including common fields such as model, messages, temperature, max_tokens, and stream.
Supported models
Available model access depends on provider availability, supported features and account balance.
Additional Chinese text model families such as Qwen, Kimi and GLM are available by request as coverage expands. See the model catalog for current access status.
Media models
Kling, Seedance and other Chinese media models are available through early-access onboarding for teams with defined creative or product workflows. Video generation uses an async job pattern because provider calls can take longer than text requests. Use the video API planning guide and model access request page to prepare the required details.
For access planning, prepare:
- Target model or provider
- Expected monthly usage
- Preferred API, batch or workflow integration pattern
Errors
- 401: Invalid or missing API token.
- 402/429: Insufficient credits or rate limit hit.
- 502/503: Upstream provider unavailable.
If a model fails repeatedly, retry with a smaller request or contact support with the model name and timestamp.