Quickstart

Create an srly API key in the customer console, fund the USDT wallet after verified evidence, then call the OpenAI-compatible endpoints.

Open relay consoleRead quickstart

1. Create a tenant-scoped key

Open the customer console and create an srly- API key with the quota and rate-limit policy for one workspace.

2. List models

Call GET https://api.shuzhiwork.com/v1/models with Authorization: Bearer srly-... to inspect callable China model entries.

3. Send a chat request

Call POST https://api.shuzhiwork.com/v1/chat/completions with model, messages, and stream fields in OpenAI-compatible JSON shape.

curl https://api.shuzhiwork.com/v1/chat/completions \
  -H "Authorization: Bearer srly-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen-plus","messages":[{"role":"user","content":"hello"}],"stream":false}'