Authorization: Bearer ********************{
"model": "hunyuan-t1-latest",
"messages": [
{
"role": "system",
"content": "你是一个乐于解答各种问题的助手,你的任务是为用户提供专业、准确、有见地的建议。"
},
{
"role": "user",
"content": "你好,请介绍一下自己"
}
],
"max_tokens": 4096,
"temperature": 0.7
}curl --location --request POST 'https://api.mixrouter.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "hunyuan-t1-latest",
"messages": [
{
"role": "system",
"content": "你是一个乐于解答各种问题的助手,你的任务是为用户提供专业、准确、有见地的建议。"
},
{
"role": "user",
"content": "你好,请介绍一下自己"
}
],
"max_tokens": 4096,
"temperature": 0.7
}'{
"choices": [
{
"finish_reason": "string",
"index": 0,
"logprobs": null,
"message": {
"content": "string",
"reasoning_content": "string",
"role": "string"
}
}
],
"created": 0,
"id": "string",
"model": "string",
"service_tier": "string",
"object": "string",
"usage": {
"completion_tokens": 0,
"prompt_tokens": 0,
"total_tokens": 0,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0
}
}
}