Authorization: Bearer ********************{
"model": "gemini-3.1-flash-lite-preview",
"max_tokens": 2000,
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "请分析下面图片、音频、视频的内容"
},
{
"type": "image_url",
"image_url": {
"url": "https://s2.loli.net/2024/02/01/QSWVdw9bX56gj7O.jpg"
}
},
{
"type": "audio_url",
"audio_url": {
"url": "https://cdn.openai.com/API/docs/audio/alloy.wav"
}
},
{
"type": "video_url",
"video_url": {
"url": "https://cdn.bigmodel.cn/agent-demos/lark/113123.mov"
}
}
]
}
],
"steam": false
}curl --location --request POST 'https://api.toiotech.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gemini-3.1-flash-lite-preview",
"max_tokens": 2000,
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "请分析下面图片、音频、视频的内容"
},
{
"type": "image_url",
"image_url": {
"url": "https://s2.loli.net/2024/02/01/QSWVdw9bX56gj7O.jpg"
}
},
{
"type": "audio_url",
"audio_url": {
"url": "https://cdn.openai.com/API/docs/audio/alloy.wav"
}
},
{
"type": "video_url",
"video_url": {
"url": "https://cdn.bigmodel.cn/agent-demos/lark/113123.mov"
}
}
]
}
],
"steam": false
}'{
"id": "chatcmpl-toio20260305115737676032340t6X05q67",
"model": "gemini-3.1-flash-lite-preview",
"object": "chat.completion",
"created": 1772683079,
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "这段视频主要展示了以下内容:\n\n1. **初始画面**:视频以一张卡通风格的办公场景图作为开场,画面中两名职场人士正在使用笔记本电脑工作。\n2. **语音导引**:随后,一段旁白解释了“太阳从东方升起,在西方落下”这一常识。\n3. **搜索操作**:镜头切换至谷歌搜索页面。用户在搜索框中输入了“智谱”二字,并点击“Google 搜索”按钮。\n4. **搜索结果与跳转**:页面跳转显示搜索结果,随后鼠标点击并跳转到了“智谱AI”(Z.AI)的官方网站主页,页面标题为“Z.ai GLM Large Model Open Platform”。\n5. **结束画面**:视频以展示“Z.AI 大模型开放平台”的官方界面结束,并提供了“了解更多”(Learn more)的引导按钮。\n\n整体来看,这是一段演示如何通过搜索引擎快速找到特定企业(智谱AI)官方网站的操作演示视频。"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 2064,
"completion_tokens": 230,
"total_tokens": 2294,
"prompt_tokens_details": {
"cached_tokens": 0,
"text_tokens": 9,
"audio_tokens": 399,
"image_tokens": 0
},
"completion_tokens_details": {
"text_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 0
},
"output_tokens_details": {
"text_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 0
},
"input_tokens": 0,
"output_tokens": 0,
"input_tokens_details": null,
"claude_cache_creation_5_m_tokens": 0,
"claude_cache_creation_1_h_tokens": 0
}
}