Simple Gemini Vision API using Flask
https://localhost:3000/gemini/vision?url=https://hips.hearstapps.com/hmg-prod/images/beautiful-smooth-haired-red-cat-lies-on-the-sofa-royalty-free-image-1678488026.jpg&prompt=who+inside+this+image
{
"answer": " This is a ginger cat."
}
Vercel
i'm sorry if the code is too weird, because i'm only using Phone (i don't have PC/Laptop) and i'm still beginner:)