Hey, I notice that the livekit plugin for openai r...
# ask-ai
r
Hey, I notice that the livekit plugin for openai realtime does not support 'image' yet. The gpt-realtime model supports 'text', 'audio', and 'image' now. Are there plans to update the plugin to allow support for 'image'? Also are there any current suggested solutions for implementing 'image' modality?
t
Thanks for reaching out, Riza. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! I wanted to let you know that the LiveKit plugin for OpenAI's Realtime API doesn’t currently support the 'image' modality. This is just a limitation of the plugin itself, while OpenAI's Realtime API does support multimodal interactions, including images. Right now, there isn’t any official word on when image support might be added to the LiveKit plugin. But don’t worry, there are some great alternatives you can explore: • Gemini Live: This is fantastic for real-time vision input, whether it’s sampled video frames or true video input—perfect if your application needs image input in real time. • Image Upload and Processing: For cases where real-time isn’t essential, you can upload images using LiveKit’s
sendFile
method or include images in the initial context with external URLs or base64 data URLs. • STT-LLM-TTS Pipeline with Vision: If you’re working with a traditional pipeline, you can sample video frames and add them to conversation turns for processing. If you need real-time vision right away, I’d definitely recommend giving Gemini Live a try. Also, feel free to keep an eye on the LiveKit Agents GitHub repository for any updates or new features coming to the OpenAI plugin. Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/real... | OpenAI Realtime API plugin guide | LiveKit Docs | Vision | LiveKit Docs