News for hackers. Stuff that matters.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by dvt on Monday April 06, 2026 @01:41AM (#47657363)
Solid work and great showcase, I've done a bunch of stuff with Kokoro and the latency is incredible. So crazy how badly Apple dropped the ball... feels like your demo should be a Siri demo (I mean that in the most complimentary way possible).
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by karimf on Monday April 06, 2026 @01:52AM (#47657416)
Thank you. This reminds me of a paragraph from the LatentSpace newsletter [0]

> The excellent on device capabilities makes one wonder if these are the basis for the models that will be deployed in New Siri under the deal with Apple….

https://www.latent.space/p/ainews-gemma-4-the-best-small-mul...

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by k-almuraee on Monday April 06, 2026 @04:17AM (#47658211)
Amazing, love your work ,
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by zerop on Monday April 06, 2026 @05:06AM (#47658501)
I have been looking forward to build something like this using open models. A voice assisstant I can talk while I am driving, as I do have long commute. I do use chatGPT voice mode and it works great for querying any information or discussions. But I want to do tasks like browsing web, act like a social media manager for my business etc.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by jwr on Monday April 06, 2026 @05:25AM (#47658648)
That is very, very interesting. I've been hoping to have an assistant in the workshop (hands-free!) that I could talk to and have it help me with simple tasks: timers, calculating, digging up notes, etc. — basically, what the phone assistants were supposed to be, but aren't.

"You will have to unlock your iphone first" is kind of a deal-breaker when you are in the middle of mixing polyurethane resin and have gloves and a mask on.

More and more I find that we have the technology, but the supposedly "tech" companies are the gatekeepers, preventing us from using the technological advances and holding us back years behind the state of the art.

I'll be trying this out on my Macbook, looks very promising!

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by mentalgear on Monday April 06, 2026 @08:43AM (#47660196)
You might be interested in the open-source https://www.home-assistant.io/voice-pe/ .
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by QuercusMax on Monday April 06, 2026 @01:18PM (#47663878)
I've been replacing my Google Homes and Chromecasts with Snapcast streamers, and this is the next thing I've been planning to look into.

It's truly absurd how the Google voice assistant USED to work properly for setting timers, playing music, etc, and then they had to break it 15 times and finally replace it with much slower AI that only kinda does what you want. I'm done.

Selfhosted is the way to go if you want to keep your sanity. My wife has basically given up on any Google/Apple voice assistants being able to do anything useful above "set a 10 minute timer".

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by huijzer on Monday April 06, 2026 @08:55AM (#47660302)
> More and more I find that we have the technology, but the supposedly "tech" companies are the gatekeepers

Yes same with RSS readers being dropped by large companies. Worked too good I guess!

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by gtowey on Monday April 06, 2026 @09:07AM (#47660425)
The computing power we all have in our pockets is staggering. It could be tool that truly makes our lives easier, but instead it's mostly a device that is frustrating to use. Companies have decided to make it simply another conduit for advertising. It's a tool for them to sell us more stuff. Basic usability be damned.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by jamilton on Monday April 06, 2026 @01:10PM (#47663749)
Siri does have a setting that'll activate it if you say "hey siri" while the phone is locked. Obvious privacy and battery usage concerns though, and it's still Siri, so it's a little clunky.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by jwr on Monday April 06, 2026 @01:37PM (#47664183)
Mhm. I think I use that. But then I say "call my wife" and it says "you'll need to unlock your iphone first".

It's clear Tim Cook doesn't ever try to use Siri wearing gloves. Or ever, for that matter :-)

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by mft_ on Monday April 06, 2026 @01:51PM (#47664378)
Siri (on iOS 18, at least) will call people for me without unlocking, in response to a voice command only - I just double-checked...
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by divan on Monday April 06, 2026 @06:31AM (#47659094)
Can someone quickly vibe code MacOS native app for that so it doesn't require running terminal commands and searching for that browser tab? (: (also for iOS, pls)
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by duartefdias on Monday April 06, 2026 @06:54AM (#47659256)
Would you pay 2$ for that MacOS native desktop app?
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by est on Monday April 06, 2026 @06:43AM (#47659177)
I am making something similar. Also been using Kokoro for TTS. Very cool project!

Gemma 4 is kinda too heavyweight even with E2B. I am sticking with qwen 0.8B at the moment.

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by logicallee on Monday April 06, 2026 @08:00AM (#47659785)
It might interest people to know you can also easily fine-tune the text portion of this specific model (E2B) to behave however you want! I fine-tuned it to talk like a pirate but you can get it to do anything you have (or can generate) training data for. (This wouldn't make it to the text to speech portion though.) So you can easily train it to act a certain way or give certain types of responses.

Video: https://www.youtube.com/live/WuCxWJhrkIM

Generated writeup: https://taonexus.com/publicfiles/apr2026/pirate-gemma-journa...

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by 3abiton on Wednesday April 08, 2026 @11:32AM (#47691623)
We're getting closer now to black mirror level of technology.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by magzter on Monday April 06, 2026 @08:34AM (#47660100)
This is so cool, I'm always speaking to people about how the advancement in the SOTA hosted AI's is also happening in the local model space, i.e. the SOTA hosted AI models 6-12 months ago are what we're seeing now being able to run locally on average hardware - this is such an amazing way to actually demo it.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by an0n-elem on Monday April 06, 2026 @10:51AM (#47661687)
Cool work buddy:)
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by myultidevhq on Monday April 06, 2026 @11:03AM (#47661861)
This is really impressive for running locally on an M3 Pro. The latency looks surprisingly good for real-time audio and video input.

Curious about one thing though, how does it handle switching between languages? I work with both Greek and English daily and local models usually struggle with that.

Great work, bookmarking this.

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by karimf on Monday April 06, 2026 @12:25PM (#47663010)
During my limited testing, it works better than I expected at handling multiple languages in a single session. Perhaps I just had a low expectation since I've mostly worked with English-only STT models.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by crsAbtEvrthng on Monday April 06, 2026 @11:44AM (#47662393)
If I run this without internet connection it says "loading..." at the bottom of the localhost site and won't work.

If I run this with internet connected it works flawlessly. Even if I disconnect my internet afterwards it still goes on working fine.

Why there has to be an internet connection established at the time I open the localhost site when all of this should be working purely on device?

Despite of this, I am really impressed that this actually works so fast with video input on my M4 Pro 48 GB.

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by karimf on Monday April 06, 2026 @12:11PM (#47662802)
Huh that's weird. I just tried it and it works on my machine. Could you perhaps create a GitHub issue and share the reproduction steps and any relevant logs?
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by crsAbtEvrthng on Monday April 06, 2026 @01:04PM (#47663665)
Don't have the time right now but will play around with it next weekend for sure and will give you more feedback with logs when I see that I can reproduce it.

For now what I did was:

- Tested in Chrome/Safari/Firefox on Tahoe.

- Followed the quick start install instructions from github repo

- Everything worked

- Closed terminal

- Disconnected internet (Wifi off)

- Opened terminal

- Started server again (uv run server.py)

- Opened localhost in browser, it asked for camera/mic normally, granted access, saw camera live feed but "loading..." at bottom center of the site and AI did not listen/respond

- Reproduced this about 3 times with switching between wifi on/off before starting the server, always the same (working with internet; not working without)

- Figured it also works fine if I start the server with internet connected and disconnect it afterwards

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by karimf on Tuesday April 07, 2026 @02:07AM (#47671277)
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by crsAbtEvrthng on Monday April 13, 2026 @08:04AM (#47750812)
Yes. This also fixed it for me. Thx @matula.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by matula on Monday April 06, 2026 @10:14PM (#47669954)
the index.html is loading remote js files: https://github.com/fikrikarim/parlor/blob/main/src/index.htm...

I saved them locally and changed the reference, and it worked perfectly.

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by crsAbtEvrthng on Monday April 13, 2026 @07:59AM (#47750763)
This also fixed it for me. Thx.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by rubicon33 on Monday April 06, 2026 @11:49AM (#47662495)
Is there anything unique here happening for the video aspect or is it just taking snapshots over and over?

I’ve been looking for a good video summarizing / understanding model!

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by karimf on Monday April 06, 2026 @12:20PM (#47662932)
Nothing unique, it's just taking a snapshot when it's processing the input. Even processing a single image will increase the TTFT by ~0.5s on my machine, so for now, it seems to be impossible for feeding a live video and expecting a real-time response.

In regards to the video capability, I haven't tested it myself, but here's a benchmark/comparison from Google [0]

[0] https://huggingface.co/blog/gemma4#video-understanding

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by rubicon33 on Monday April 06, 2026 @12:37PM (#47663227)
I totally get these are very hard problems so solve and that we're on the bleeding edge of what's possible but I can't help and wonder when someone is going to crack real video understanding.

sure, maybe it's still frame-by-frame but so fast and so often that the model retains a rolling context of what's going on and can answer cleanly temporal questions.

"how packages were delivered over the last hour", etc.

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by noodlebreak on Monday April 06, 2026 @04:27PM (#47666583)
I have to try it out on my idle laptops. I've been meaning to run some models on them for low cost tasks that need AI - like sorting and filtering photos from 100s of thousands that I have amassed over the years. And applying general size reduction compression to the filtered ones.

Btw if anyone has already created such a pipeline/workflow using such models, please lmk!

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by spwa4 on Monday April 06, 2026 @04:51PM (#47666903)
I've been trying to do this, but I can't get voice recognition to work fast enough (meaning live) with Gemma E2B, on either an M1 max (64GB), a 5060 Ti (16Gb) or a SnapDragon 8 Gen2.

Any pointers?

Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by karimf on Tuesday April 07, 2026 @02:08AM (#47671286)
What's your average response time with M1 max and what's the target?
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by spwa4 on Tuesday April 07, 2026 @03:18AM (#47671748)
I'm only at about 650msec and, well, ideally 100 would be great.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by karimf on Tuesday April 07, 2026 @05:27AM (#47672625)
Well, on my demo it's around 2.5s and I already consider it as a "real-time". One way to improve it is to disable the image input.
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by inzlab on Monday April 06, 2026 @06:26PM (#47668166)
Real time ai sounds like the future
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by jareklupinski on Monday April 06, 2026 @07:36PM (#47668838)
just make it say "Uh...", "umm...", or "hmmm..." once or twice halfway between processing and finish :D
Re:Show HN: Real-time AI (audio/video in, voice out) on an M... by aimemobe on Sunday April 12, 2026 @10:02PM (#47746679)
Incredible what's possible on-device now. aiME does voice + vision on iPhone offline — attach images, speak to it, all on-device. Works on a flight or anywhere with no wifi. Different use case but same philosophy. https://coticsy.com/aime.html