Authorization: Bearer ********************
{ "model": "hunyuan-t1", // 枚举值 hunyuan-t1、hunyuan-t1-search "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Hello!" } ] }
curl --location -g --request POST '{{YOUR_BASE_URL}}/v1/chat/completions' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {{YOUR_API_KEY}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "model": "hunyuan-t1", // 枚举值 hunyuan-t1、hunyuan-t1-search "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Hello!" } ] }'