Reference for high-level Banuba WebAR SDK.
import { Webcam, Player, Module, Effect, Dom } from "/BanubaSDK.js"const run = async () => { const player = await Player.create({ clientToken: "xxx-xxx-xxx" }) await player.addModule(new Module("face_tracker.zip")) player.use(new Webcam()) player.applyEffect(new Effect("Octopus.zip")) player.play() Dom.render(player, "#webar-app")}run() Copy
import { Webcam, Player, Module, Effect, Dom } from "/BanubaSDK.js"const run = async () => { const player = await Player.create({ clientToken: "xxx-xxx-xxx" }) await player.addModule(new Module("face_tracker.zip")) player.use(new Webcam()) player.applyEffect(new Effect("Octopus.zip")) player.play() Dom.render(player, "#webar-app")}run()
Visit the Banuba Web AR Overview to learn the basics.
Check out the Getting started guide and Tutorials for code examples and integration receipts.
Reference for high-level Banuba WebAR SDK.
Visit the Banuba Web AR Overview to learn the basics.
Check out the Getting started guide and Tutorials for code examples and integration receipts.