跳转到主要内容

1. 获取 API Key

  1. 注册 console.pipellm.ai
  2. 充值余额
  3. 创建 API Key

2. 发起第一个请求

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

3. 探索更多