curl --location --request POST 'https://api.ppchat.vip/v1beta/models/gemini-2.5-pro:generateContent' \
--header 'x-goog-api-key: sk-' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [{
"parts": [
{
"inline_data": {
"mime_type": "image/jpeg",
"data": "$(base64 $B64FLAGS $IMG_PATH)"
}
},
{"text": "Caption this image."}
]
}]
}'{}