Playground

Run a live chat completion, compare models A/B, and export code.

Output

Run a request to see the response here.

Export as

curl https://api.he-api.com/v1/chat/completions \
  -H "Authorization: Bearer $HE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-max",
  "messages": [
    {
      "role": "user",
      "content": ""
    }
  ],
  "temperature": 0.7,
  "max_tokens": 256
}'