Skip to content

Quick start ​

A call needs an account, a token, and this base URL.

text
https://uni.sointech.com.cn/v1

1. Sign in ​

Open https://uni.sointech.com.cn and sign in. Register from the sign-in page if you do not have an account.

2. Create a token ​

Open Tokens in the console and create a key. It looks like sk-.... The full key is shown once. Copy it then.

See Create a token.

3. Send a chat request ​

Replace sk-your-token with the key you just created. qwen-plus is one chat model available now. Other names come from the model list or the catalog. Claude clients should use the Claude-compatible API. Image prompts should use image generation.

bash
curl https://uni.sointech.com.cn/v1/chat/completions \
  -H "Authorization: Bearer sk-your-token" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"qwen-plus\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}"

On success, the reply is choices[0].message.content. Usage is in usage. The charge follows that model's billing rule and is deducted from the token quota.

Next, read the fields in Chat completions, or the SDK examples in Clients.

Prices are whatever the model catalog shows at request time.