curl 'https://router.huggingface.co/hf-inference/models/Qwen/QwQ-32B/v1/chat/completions' \
-H 'Authorization: Bearer hf_xxxxxxxxxxxxxxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
--data '{
"model": "Qwen/QwQ-32B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
],
"max_tokens": 500,
"stream": false
}'
I think there have been changes to the URL of the request destination. Also, payment methods are still being prepared for now.