{
"model": "doubao-1-5-vision-pro-32k-250115",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Doubao,What is in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
}
}
]
}
],
"max_tokens": 5000
}
curl --location --request POST 'https://gptproto.com/v1/chat/completions' \
--header 'Authorization: sk-*****' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-1-5-vision-pro-32k-250115",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Doubao,What is in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
}
}
]
}
],
"max_tokens": 5000
}'
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "This image showcases a serene natural landscape. The main feature is a wooden boardwalk that stretches from the bottom - center of the image into the distance, guiding the viewer's eye towards the horizon. The boardwalk is surrounded by lush, tall green grass, indicative of a meadow or marshland environment.\n\nIn the background, there is a mix of green trees and shrubs, adding to the sense of a rich, natural habitat. The sky above is a brilliant blue, dotted with wispy clouds, suggesting a clear and pleasant day. The overall atmosphere of the image is peaceful and inviting, evoking a sense of tranquility and connection with nature. ",
"role": "assistant"
}
}
],
"created": 1752038963,
"id": "021752038955665e5d1952a316480dd1a8e27d419c7433f9ea29b",
"model": "doubao-1-5-vision-pro-32k-250115",
"service_tier": "default",
"object": "chat.completion",
"usage": {
"completion_tokens": 133,
"prompt_tokens": 5147,
"total_tokens": 5280,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0
}
}
}