tract in your browser
Neural networks running in your browser, on your GPU through WebGPU or on your CPU, with tract, compiled to WebAssembly. Your microphone, camera, pictures and prompts never leave your machine.
Stable Diffusion 1.5
Text to image, 512 × 512, with a prompt, a negative prompt and a choice of sampler.
Bonsai Image
Text to image, up to 768 × 768, in four steps, with PrismML's ternary 4B Flux.2 Klein model.
Background replacement
Person segmentation on your camera, with the background blurred or replaced by a colour, live.
Speech recognition
Streaming transcription of your microphone with NVIDIA's Nemotron 3.5 ASR, in dozens of languages.
Hey Snips
Wake word detection on your microphone, streaming, from raw samples to a score every 10 ms.
Read a picture
Find the text in a sample page, a picture you choose, or a camera snapshot.
Speak some text
Read text aloud in one of 31 languages, with ten voices, as fast as your GPU allows.
Bezier Piano
Play glowing strings over your camera picture: a fingertip that crosses one plays a note.
Source code of the demos, in tract's examples.