head to head · open source
rembg vs imaginary
rembg has 24,862 GitHub stars, 2,423 forks, 3 open issues and last shipped 5 days ago. imaginary has 6,079 stars, 500 forks, 135 open issues and last shipped 11 months ago. rembg leads on adoption by 309% (24,862 vs 6,079 stars). rembg is written in Python under MIT; imaginary is written in Go under MIT. rembg has attracted 10% as many forks as stars, imaginary 8%. rembg was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (image-processing), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| rembg | imaginary | |
|---|---|---|
| GitHub stars | ★ 25K | ★ 6.1K |
| License | MIT | MIT |
| Written in | Python | Go |
| Last push | 2026-09-20 | 2025-11-08 |
| Forks | ⑂ 2.4K | ⑂ 500 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick rembg if
- You weight community size — 25K stars and counting
- You want the MIT license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick imaginary if
- You want the imaginary feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Go
- You evaluated both and imaginary fits your workflow better
About rembg
Rembg is an MIT licensed Python tool for removing image backgrounds, usable as a CLI, a Python library, an HTTP server, or a Docker container, and aimed at developers, designers, and automated image pipelines that need background removal without depending on a hosted service.
read the full rembg overview →
About imaginary
imaginary is a fast, Docker ready HTTP microservice written in Go for high level image processing, and it is aimed at developers and platform teams that need to resize, crop, convert and watermark images at scale through one HTTP API instead of embedding an image library in every application.
read the full imaginary overview →
More in Miscellaneous
Related comparisons
More Photo & Video Editors projects
Compare either of these against the rest of the Photo & Video Editors field.
Frequently asked questions
Is rembg or imaginary more popular?
rembg has 24,862 GitHub stars and imaginary has 6,079. rembg has the larger community by that measure.
Are rembg and imaginary free?
Both are open source. rembg is licensed under MIT and imaginary under MIT. Neither carries a licence fee.
What is the difference between rembg and imaginary?
rembg is written in Python and imaginary in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, rembg or imaginary?
Choose rembg if you want the larger community (24,862 stars) or its MIT licence terms. Choose imaginary if its feature set, stack or MIT licence fits better. Both are self-hostable.