generative-ai-python
generative-ai-python copied to clipboard
Can I live stream my web cam or live video ( HLS, RTSP and RTMP) to gemini vision api?
Description of the feature request:
No response
What problem are you trying to solve with this feature?
No response
Any other information you'd like to share?
No response
There is no way to provide live video to gemini for now, but it will be a great feature.
@vishwakneelamegam correct. The API supports streaming output, but no streaming input. This is impossible right now.
I have made a workaround with Open AI https://github.com/vishwakneelamegam/openai-video-narrator.
Update. Yes, you can totally do this.
Start here: https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LiveAPI.ipynb