Hey! anyone know how to upload a video (like a mp4...
# agents
r
Hey! anyone know how to upload a video (like a mp4 or a hosted link) to a agent
e
@rich-oyster-9764 Upload the video or other media to your storage service (Cloud Storage) and obtain a public or signed URL. Send that URL to the agent as part of a LiveKit data message so the agent can fetch and process the media. This approach is reliable for large files. and avoid to pass a base64 encoded file data.
r
oh will the agent actually be able to process the vidoes?
*videos
@elegant-glass-77462 bcause im using gemini live so
e
@rich-oyster-9764, from livekit data message url you have to fetch the video and store it temporarily. And upload to gemini with media model like banana and add a prompt programmatically for modification of media.