Base URLhttps://suoxie.codes/v1

客户端配置

cURL

用最小命令验证认证和模型。

用 cURL 验证

先调用模型列表确认 Key 和分组,再发送最小 Responses 请求。

bash
curl https://suoxie.codes/v1/models \
  -H "Authorization: Bearer <API_KEY>"

curl https://suoxie.codes/v1/responses \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"model":"<MODEL>","input":"Reply with OK","store":false}'