Authorization: Bearer ********************{
"model": "qwen2.5-omni-7b",
"messages": [
{
"role": "user",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://cdn.bigmodel.cn/agent-demos/lark/113123.mov"
}
},
{
"type": "text",
"text": "What are the video show about?"
}
]
}
],
"thinking": {
"type": "enabled"
}
}curl --location --request POST 'https://api.mixrouter.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "qwen2.5-omni-7b",
"messages": [
{
"role": "user",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://cdn.bigmodel.cn/agent-demos/lark/113123.mov"
}
},
{
"type": "text",
"text": "What are the video show about?"
}
]
}
],
"thinking": {
"type": "enabled"
}
}'{
"choices": [
{
"message": {
"content": "The videos demonstrate how to search for information on Google using Chinese characters. The first part of the video shows the user typing \"智谱\" (Zhipu) into the Google search bar and pressing enter, resulting in a list of search results related to Zhipu. The second part of the video shows the user clicking on one of the search results, which leads to the homepage of Zhipu's official website.",
"role": "assistant"
},
"finish_reason": "stop",
"index": 0,
"logprobs": null
}
],
"object": "chat.completion",
"usage": {
"prompt_tokens": 6871,
"completion_tokens": 87,
"total_tokens": 6958,
"prompt_tokens_details": {
"audio_tokens": 234,
"text_tokens": 20,
"video_tokens": 6617
},
"completion_tokens_details": {
"text_tokens": 87
}
},
"created": 1767061944,
"system_fingerprint": null,
"model": "qwen2.5-omni-7b",
"id": "chatcmpl-87bee039-2836-990e-9a6f-db46ba3b6b9f"
}