Authorization: Bearer ********************
{
"contents": [
{
"parts": [
{
"text": "分析视频中的具体应用场景."
},
{
"inline_data": {
"mime_type": "video/mp4",
"data": "'$VIDEO_B64'"
}
}
]
}
]
}
curl --location --request POST 'https://api.tu-zi.com/v1beta/models/gemini-2.5-flash:generateContent' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"parts": [
{
"text": "分析视频中的具体应用场景."
},
{
"inline_data": {
"mime_type": "video/mp4",
"data": "'\''$VIDEO_B64'\''"
}
}
]
}
]
}'
{}