I would like to use the Gemini AI API to get a summary of a Youtube video. How can I change this prompt to the right format? Placing the youtube URL in the text prompt causes the summarization of a different video than the URL.
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=API_key" \
-H 'Content-Type: application/json' \
-X POST \
-d '{
"contents": [{
"parts":[{"text": "Could you give a summary of this youtube video"}, {"file_data":{"mime_type": "video/youtube", "file_uri": "https://www.youtube.com/watch?v=_fuimO6ErKI"}}]
}]
}'