API Docs

Get started in three steps — compatible with every OpenAI client.

Step 1: note the Base URL

This is the root address for all your requests. Use it as the API base in your client.

Base URL https://ltzy.zhuafs.com/v1

Use exactly this address. Do not modify it and do not append an extra /v1. Most connection errors come from a wrong Base URL.

Step 2: create an API key

Sign in and create a key in the Console, then copy the sk- string — it is your credential.

Create a key

Step 3: make your first call

Replace sk-your-key below with your key and run it in a terminal.

Step 3: make your first call
curl https://ltzy.zhuafs.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Popular client setup

ClientKey settings
ChatGPT-Next-WebSettings → Custom Endpoint: fill the Base URL above; API Key: your key.
LobeChatSettings → Language Model → OpenAI: set API Proxy Address to the Base URL.
Cherry StudioModel Service → Add OpenAI provider: API Host = Base URL, then add the key.
CursorSettings → Models → OpenAI API Key + Override Base URL: fill the Base URL.
Cline (VS Code)API Provider: OpenAI Compatible; Base URL: the Base URL above; enter the Model ID manually.
DifyModel Provider → OpenAI: set API Base (without /v1 suffix handling issues) and the key.
Open WebUISettings → Connections → OpenAI API: Base URL = the Base URL above.
Immersion TranslateAI service → OpenAI: custom interface address = Base URL, fill key and model.

Error troubleshooting

CodeCause & fix
401Missing or invalid API key. Check that the key is complete and not deleted.
402Insufficient balance or key quota. Top up or use a key without a quota limit.
403Model not allowed for this key, or the account is disabled.
404Wrong URL. Make sure it ends with /v1/chat/completions.
413Request too large. Reduce the input size.
429Rate limited or upstream busy. Retry after a short wait.
500 / 502 / 503Upstream or gateway issue. Retry; if it persists, check the Status page.
TimeoutThe upstream is slow. Try a smaller request or another model.