Signal #95365NEUTRAL

Show HN: Gosd: High-performance Stable Diffusion inference in pure Go(no CGO)

90

Hello everyone,I'm building a multimodal AI inference platform in Go and needed Stable Diffusion support for image/video generation.Existing Go bindings for stable-diffusion.cpp were either outdated or no longer maintained, so I decided to build my own.gosd is a set of Pure Go(no CGO - ffi-based) bindings for stable-diffusion.cpp. It is cross-platform(regularly tested on Win, Linux, Mac) and integrates seamlessly to existing Go-based codebases and applications(no C++ compiler needed for your builds).You can generate images, videos, edit images, preprocess images with Canny, watch images/videos being generated after every step in the inference loop and much more.Around a dozen of models can be used for generation(Wan2.2, Flux...) - please have a look at https://github.com/leejet/stable-diffusion.cpp for the full list of compatible models.On my local setup with Radeon 7900XTX, a full HD image can be generated in about 10-30sec. You don't need a GPU for generation, CPU alone will be fine(...

HackerNews AI Launchesabout 4 hours ago
Read Full Article

Explore with AI-Powered Tools

View All Signals

Explore more AI intelligence

Want to discover more AI signals like this?

Explore Steek
Show HN: Gosd: High-performance Stable Diffusion inference in pure Go(no CGO) | Steek AI Signal | Steek