Add video & audio effects to any web video application in 3 lines of code. It's free & open source, and powered by the fastest and most accurate models on the web.
$ npm install longpipe import { EffectsPipeline } from 'longpipe' const pipeline = new EffectsPipeline(stream, { background: 'background.png', audio: 'denoise', touchup: true });
Longpipe packs multiple effects not just into one sdk, but into one model, so you can deploy 4 features in 10 lines of code without worrying about performance.
The best quality and the fastest performance, pick both. Our optimized Hydranet architecture, custom model-specific shaders, zero-memory-copy pipeline, developer friendly interface and 100% MIT open source license mean that 🐲 Longpipe pareto dominates on performance, model quality and speed to market.
import { EffectsPipeline } from 'longpipe' const stream = await navigator.mediaDevices. getUserMedia({ video: true, audio: true }) const pipeline = new EffectsPipeline(stream, { background: 'blur', preset: 'auto', audio: 'denoise', }) videoEl.srcObject = pipeline.stream // Swap at runtime — no flicker, no re-init await pipeline.setBackground('https://example.com/bg.jpg') await pipeline.setBackground({ blur: { strength: 0.8 } }) // Tear down when done pipeline.destroy()
Longpipe is not just a tflite model, it's an end to end production-ready SDK, build from the ground up to work just as well on 10 year old netbooks as it does on the latest Macbook pro.
Real-time virtual effects, real source you can read. Three lines to integrate, zero config to start.
$ npm install longpipe import { EffectsPipeline } from 'longpipe' const pipeline = new EffectsPipeline(stream, { background: 'blur' })