Authorization: Bearer ********************{
"model": "doubao-1.5-vision-pro-250328",
"messages": [
{
"role": "user",
"content": "你是谁"
}
]
}curl --location --request POST 'https://api.chatfire.site/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-1.5-vision-pro-250328",
"messages": [
{
"role": "user",
"content": "你是谁"
}
]
}'{
"id": "02176179718227021101f984ebfe9d4de1e42fbd17649ddb203bf",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "我是豆包,能陪你交流各种话题,为你答疑解惑、提供信息和想法等呢。 ",
"refusal": null,
"role": "assistant",
"annotations": null,
"audio": null,
"function_call": null,
"tool_calls": null
}
}
],
"created": 1761797183,
"model": "doubao-1.5-vision-pro-250328",
"object": "chat.completion",
"service_tier": "default",
"system_fingerprint": null,
"usage": {
"completion_tokens": 25,
"prompt_tokens": 11,
"total_tokens": 36,
"completion_tokens_details": {
"accepted_prediction_tokens": null,
"audio_tokens": null,
"reasoning_tokens": 0,
"rejected_prediction_tokens": null
},
"prompt_tokens_details": {
"audio_tokens": null,
"cached_tokens": 0
}
}
}