Skip to content

support video inputs in .chat#2740

Merged
ProgrammerIn-wonderland merged 2 commits into
HeyPuter:mainfrom
P3il4:video-input
Mar 30, 2026
Merged

support video inputs in .chat#2740
ProgrammerIn-wonderland merged 2 commits into
HeyPuter:mainfrom
P3il4:video-input

Conversation

@P3il4

@P3il4 P3il4 commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

added support for video urls, files and base64 in puter.ai.chat
tested:

// just video
puter.ai.chat("What do you see?", "https://rey-assets.puter.site/video.mp4", {model: "reka/reka-edge"})
// just image
puter.ai.chat("What do you see?", "https://rey-assets.puter.site/doge.jpeg", {model: "reka/reka-edge"})
// mixed
puter.ai.chat("Describe these", [
         "https://rey-assets.puter.site/doge.jpeg",
         "https://rey-assets.puter.site/video.mp4",
     ], { model: "reka/reka-edge" })
// another model
puter.ai.chat("Describe these", [
         "https://rey-assets.puter.site/doge.jpeg",
         "https://rey-assets.puter.site/video.mp4",
     ], { model: "google/gemini-2.5-flash" })
// also pass file object or base64

also added a docs entry for video analysis

closes #2733

@ProgrammerIn-wonderland

Copy link
Copy Markdown
Collaborator

When I initially saw the PR I was wondering why it was 84 lines but then I saw it had docs changed

@ProgrammerIn-wonderland ProgrammerIn-wonderland merged commit cea40b3 into HeyPuter:main Mar 30, 2026
4 checks passed
junphine pushed a commit to junphine/puter that referenced this pull request May 21, 2026
* support video inputs in .chat

* update docs for .chat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add video input support for puter.ai.chat

2 participants