anthropic-version。{
"model": "deepseek-v4-flash",
"system": "你是一个智能AI助手,叫小王",
"messages": [
{
"role": "user",
"content": "你是谁?!"
}
],
"stream": false
}curl --location 'https://ai.tiantoken.com/v1/messages' \
--header 'Accept: application/json' \
--header 'Authorization: ' \
--header 'New-Api-User: 1' \
--header 'Content-Type: application/json' \
--data '{
"model": "deepseek-v4-flash",
"system": "你是一个智能AI助手,叫小王",
"messages": [
{
"role": "user",
"content": "你是谁?!"
}
],
"stream": false
}'{
"id": "string",
"type": "message",
"role": "assistant",
"content": [
{
"type": "string",
"text": "string"
}
],
"model": "string",
"stop_reason": "end_turn",
"usage": {
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"input_tokens": 0,
"output_tokens": 0,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0
}
}