Authorization: Bearer ********************{
"model": "gemini-3-pro-preview",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "分析视频内容"
},
{
"type": "file_url",
"file_url": {
"url": "https://storage.googleapis.com/vectorengine/videos/veo/task_uj05E4H2TkND9aFyuIhIoVquleU9q27C.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EY6P3PKKPWSSE6RXJEPEL2KBOEJVXEVIQGDYRK42GRPHG2VZDS4YOBGH%2F20260420%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260420T030543Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=1b07faa0e4ee3c1bd1f2a24acedc2372ef2fe738dc5604082233e2b6ef67cee6"
}
}
]
}
]
}curl --location 'https://api.xunkecloud.cn/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gemini-3-pro-preview",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "分析视频内容"
},
{
"type": "file_url",
"file_url": {
"url": "https://storage.googleapis.com/vectorengine/videos/veo/task_uj05E4H2TkND9aFyuIhIoVquleU9q27C.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EY6P3PKKPWSSE6RXJEPEL2KBOEJVXEVIQGDYRK42GRPHG2VZDS4YOBGH%2F20260420%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260420T030543Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=1b07faa0e4ee3c1bd1f2a24acedc2372ef2fe738dc5604082233e2b6ef67cee6"
}
}
]
}
]
}'{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "图片内容概述如下:\n\n- **主体**:一位人物的上半身近景,脸部区域被明显打码/模糊处理,无法辨认身份与表情。 \n- **穿着与外观**:穿白色短袖T恤;棕色中短发,侧分,头部向一侧倾斜。 \n- **姿态**:身体略微倚靠在右侧的墙面或立柱边,肩膀与头部有倾斜动作,像是在回头或侧身看向某处。 \n- **环境**:室内或半室内走廊/门廊场景;背景有白墙、深色木质门框或立柱,远处左侧有楼梯/通道的模糊结构。 \n- **光线与风格**:光线柔和、景深较浅,背景虚化,整体偏生活/人像摄影风格。",
"role": "assistant"
}
}
],
"created": 1776651435,
"id": "chatcmpl-resp_021d8e37b826f86a0069e58cab1dec81978398d2fc45e48cbd",
"model": "gpt-5.2",
"object": "chat.completion",
"service_tier": "default",
"system_fingerprint": "fp_11f3029f6b",
"usage": {
"completion_tokens": 245,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 0,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 702,
"prompt_tokens_details": {
"audio_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 947
}
}