Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paxsenix0/gemini-vision-api
Simple Gemini Vision API using Flask
https://github.com/paxsenix0/gemini-vision-api
flask flask-api gemini gemini-api gemini-pro gemini-pro-vision
Last synced: 9 days ago
JSON representation
Simple Gemini Vision API using Flask
- Host: GitHub
- URL: https://github.com/paxsenix0/gemini-vision-api
- Owner: Paxsenix0
- Created: 2024-02-25T14:40:58.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-26T03:13:12.000Z (11 months ago)
- Last Synced: 2024-02-27T02:25:49.009Z (11 months ago)
- Topics: flask, flask-api, gemini, gemini-api, gemini-pro, gemini-pro-vision
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GEMINI-VISION-API
Simple Gemini Vision API using Flask### Examples GET
```
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
```
### Response:```json
{
"answer": " This is a ginger cat."
}
```
### Deployment
__Vercel__[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FPaxsenix0%2FGemini-Vision-API%2Ftree%2Fmain&project-name=Gemini-Vision-API&repository-name=Gemini-Vision-API&redirect-url=https%3A%2F%2Fgithub.com%2FPaxsenix0%2FGemini-Vision-API)
### Information
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:)### Contact
[Telegram](https://t.me/thatmyusername)