HN user

correa_brian

183 karma

CEO of https://meetcosmos.com/

yt https://www.youtube.com/@brian_correa

spotify https://open.spotify.com/show/2Za0QNRj1JIn45zBOvCQIw?si=54d4684b79a34194&nd=1&dlsi=756e83690fb54152

Posts20
Comments134
View on HN
meetcosmos.com 8mo ago

Show HN: I made a macOS app to index media and transcribe audio locally

correa_brian
1pts0
meetcosmos.com 8mo ago

Show HN: I made an Premiere plugin to edit faster

correa_brian
1pts0
meetcosmos.com 11mo ago

Cosmos: Private multimodal AI that runs on your laptop

correa_brian
1pts0
meetcosmos.com 11mo ago

Show HN: I built a desktop app that indexes your media locally

correa_brian
16pts8
meetcosmos.com 11mo ago

Show HN: I built a tool to replace capcut audio transcription

correa_brian
26pts10
desktopdocs.com 2y ago

Show HN: I made a Mac app to search my images and videos locally with ML

correa_brian
217pts171
cosmosai.substack.com 2y ago

I interviewed 45 knowledge workers about AI

correa_brian
1pts0
skeletonfingers.com 2y ago

Show HN: AI-Powered Audio Transcription

correa_brian
1pts0
golivecosmos.com 2y ago

Show HN: Mixdown, AI-powered stock music search

correa_brian
2pts2
www.theregister.com 2y ago

US compromising with Nvidia over chip sales in China

correa_brian
3pts0
medium.com 2y ago

I want an AI File Explorer

correa_brian
2pts0
www.404media.co 2y ago

How the Uspis Tracks Down Mail Thieves

correa_brian
3pts0
github.com 2y ago

Public Template – Node React LLM App

correa_brian
1pts1
golivecosmos.com 2y ago

Show HN: Cosmos - AI File Manager for Mac

correa_brian
1pts0
github.com 2y ago

Transformers.js releases Zero-shot audio classification support

correa_brian
2pts0
golivecosmos.com 2y ago

Show HN: Cosmos – Use AI to organize your videos

correa_brian
20pts13
golivecosmos.com 3y ago

Show HN: Cosmos - Search and edit video files with AI

correa_brian
2pts1
blog.golivecosmos.com 3y ago

Show HN: Langchain and Node and React Explainer

correa_brian
3pts0
github.com 3y ago

Show HN: LLM React Node App Template

correa_brian
3pts1
github.com 3y ago

Show HN: Open-Source media editing commands with FFmpeg and ImageMagick

correa_brian
2pts2

I'm on an M2 and it takes <5 minutes to index a 2hr movie. If you're trying to index a lot of media at once, we will queue it up to be indexed. We also do smart sampling to detect similar frames so if it two talking heads vs. a lot of different shots, it will process faster. In that case the audio is more valuable for the talking heads.

The semantic search queries typically take 100-250ms.

Hey everyone, I'm brian, one of the makers of cosmos, a desktop app that makes your entire media collection, including external hard drives, searchable by using local ML models.

With your catalog indexed, you can use existing content to generate videos (text-to-video and image-to-video) using Veo 3. To try this out you'll need to bring your own Gemini API key. Obviously this part is not private since you are using Google's AI, but the generations get saved to your desktop and imo it's less clunky than the Google Videos UI. We also added a prompt pre-processing step to enrich the original user input. We use Gemini to create a structured JSON prompt that includes detailed information on lighting, audio, characters, and mood, to name it few. In my experience this makes it easier to preserve continuity in your scenes.

I want to experiment with some local generation models soon so Cosmos can function 100% offline (I've read good things about Wan 2.1 and Stable Diffusion). I really like working with local models (also using Whisper for audio to text transcription) and think long-term everyone will want at least some portion of their data managed by private, offline models.

If you are curious about building something like this for yourself, below is a rough outline: - Pick a platform or a cross-platform tool for your build (we started with Electron and eventually moved to Tauri) - Select your ML models. There are plenty of open-source image and text embedding models (Clip, Siglip, Nomic) - Design a media processing pipeline that won't fry your users' computer (pro tip: you're going to want to throttle indexing when CPU utilization gets too high) - Experiment with well-known open-source media tools like ImageMagick and FFmpeg. This is more than enough to extract frame, clip videos, or anything else you might want to do with a piece of media in your pre/post-processing - Database choice: There are lots of choices for DBs, but in my experience simpler is better. We started with Redis (it was overkill) and eventually migrated to sqlite with a vector embedding extension. Haven't tried Qdrant, Pinecone, or Chromadb, but sqlite works great for this use case. - If you want to support online AI platforms like OpenAI or Anthropic then you'll need to manage API keys and HTTP requests to these services (or maybe MCP? Don't know much about that yet).

Demo https://www.youtube.com/watch?v=qHPl_n-HlP4

Thanks! We went with Rust because we weren't able to tune sqlite with a vector search extension to give me the results we wanted. I'm sure it's possible to use it instead of Redis but that's an optimization for another day. I'll check out Neon.

Hey Alex - thanks for commenting. I'd be interested in giving this all another look. Like we mentioned in the post + comments, We went with redis because that's what got us the results we wanted. I'm open to revisiting our vector storage if it spares us needing to manage a separate db process.

Their vector search modules are the reason I embedded it. I tried sqlite and wasn't getting good search results with the vss extension. Maybe I wasn't configuring it correctly. Redis was just better than the alternatives (qdrant, sqlite, duckdb with vector search).

Appreciate the feedback! We haven't setup the infrastructure for a trial but maybe in the future.

That's cool you built a similar tool - what kept you from releasing it?

Plan is to ship a Windows and Linux version in the next few months if there's enough demand.

We've gotten our users through various launches on HN and reddit with some minimal linkedin promotion. It's been mostly word of mouth, which has been very promising to see.

Re: the electron and video processing performances - there's a lot to dive into. I don't claim to be an Electron expert, so maybe it was our misuse of workers that created a bottleneck. As part of the migration to rust we also implemented scene detection to help reduce the number of frames we indexed and this helped reduce processing loads a lot. We also added some GPU acceleration flags on ffmpeg that gave us meaningful gains. Batching processing image embedding generation was also a good improvement to a point, before it started crashing our model instance.