快速开始

5 分钟发出第一个请求。

1. 创建 API Key

控制台 创建一个 Key。

2. 发出第一个请求

curl https://api.deepractice.ai/v1/router/openai/v1/chat/completions \
  -H "Authorization: Bearer $DEEPRACTICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "你好"}]}'

3. 下一步

On this page