Video Analysis Just Rolled Into Puter.js
You can now perform video analysis using the Puter.js AI chat function. Simply pass a video URL as the second argument to puter.ai.chat() and the AI will describe what it sees.
Here's a quick example:
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai
.chat(`What do you see?`, `https://assets.puter.site/puppy.mp4`, {
model: "reka/reka-edge",
})
.then(puter.print);
</script>
</body>
</html>
You can also pass multiple inputs (images and videos) as an array, and use different models like google/gemini-2.5-flash:
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai
.chat("Describe these", [
"https://assets.puter.site/doge.jpeg",
"https://assets.puter.site/puppy.mp4",
], { model: "google/gemini-2.5-flash" })
.then(puter.print);
</script>
</body>
</html>
Get started with Puter.js today, and add AI video analysis to your application!
Related:
Free, Serverless AI and Cloud
Start creating powerful web applications with Puter.js in seconds!
Get Started Now