{"repo":"Hormold/text-behind","free":true,"listed":false,"github":"https://github.com/Hormold/text-behind","clone":"git clone https://github.com/Hormold/text-behind.git","description":"🎨 Add text overlays to segmented objects in your images using AI. Powered by Meta's SAM2 for segmentation, running entirely in your browser. Perfect for creating memes, social media content, and creative image editing. No backend required!","language":"JavaScript","stars":21,"topics":["client-side","image-editor","image-segmentation","meme-generator","nextjs","onnxruntime","react","sam2","segment-anything","text-overlay"],"license":"MIT","category":"media-processing","readme_excerpt":"Text Overlay for SAM2 Segmentation This is a Next.js application that extends geronimi73/next-sam project by adding text overlay capabilities to the segmented images. The base project performs image segmentation using Meta's Segment Anything Model V2 (SAM2) and onnxruntime-web. 🚀 Try it now: text-behind-six.vercel.app 💡 Everything runs directly in your browser - no backend required! All processing, including AI segmentation and text manipulation, happens on your device. 👋 I'm super interested in your forks and progress with this project! Feel free to reach out on X/Twitter to share your work. 🎯 This project was created using Vibe Coding - a new way of programming with Claude Sonnet + Cursor IDE. Read more about Vibe Coding in Andrej Karpathy's thread. Be gentle with the code - it's an experiment in AI-assisted development! 🤖✨ New Features Text overlay on segmented objects Multiple text layers with individual styling Rich text customization: Font family selection (10+ web fonts) Font size and stroke width Text and stroke colors Opacity control Letter spacing and line height Text shadow effects Interactive text manipulation: Drag & drop positioning Corner handles for resizing Multiple text layers management Export options: PNG with transparency JPEG with white background Original mask export Original Features (from next-sam) Utilizes Meta's SAM2 model for segmentation onnxruntime-web for model inference webgpu-accelerated if GPU available and supported by browser, cpu if n","default_branch":null,"files":null,"tree":[],"storefront":"/r/Hormold","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Hormold/text-behind/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}