383 points · by jacobn · 3y ago · 115 comments
Removing the background from images is a surprisingly common image processing task, and AI has made it really easy. The technology has come a long way since segment leader remove.bg launched here on hn in Dec 2018 [1]. Chasing remove.bg's success, a legion of providers have come on the market offering varying levels of quality & service.
Despite there being a large number of competing services, most still price for very high (~95%?) gross margins. Furthermore, subscriptions make the effective unit price a lot higher than the list price for infrequent users, and requires effort & attention to ensure you're getting value for money. This has prevented a host of use cases (e.g. infrequent professional / hobbyist) and business models (e.g. ad-supported websites & mobile apps).
We see this as an opportunity where we can jump to the market's logical conclusion to gain market share and build goodwill: cost-plus PAYGO pricing, i.e. the "S3 pricing model".
So we've built yet-another image background removal service ( https://pixian.ai - introductory post 6 months ago [2], a ton has been improved since then) but with a couple of twists:
1. Quantified quality comparison (90-120% of remove.bg, depending on image category), free for you to check your own images so you can make an informed choice.
2. Customer-friendly pricing (PAYGO @ 1-10% of competitors' subscriptions) with a generous free tier (and free while in beta).
3. A novel API result format: Delta PNG [3], which offers excellent latency & bandwidth savings. Especially useful for mobile apps.
4. Operational transparency: actual volume & latency metrics public, with more coming soon (all API providers should be showing this).
There's of course more to it than just price and we see several sources of differentiation in this market: quality, price, capability, reliability, latency, and goodwill.
As a new entrant we're looking to meet-or-beat the quality bar; beat on price, capability, reliability and latency; and to build up goodwill over time.
Our goal is to make it a no-brainer for new accounts to choose us, and to provide the tools and guidance necessary for existing accounts to make the switch with confidence.
We'd love for you to try it out and to hear your thoughts!
[1] https://news.ycombinator.com/item?id=18697601 [2] https://news.ycombinator.com/item?id=33439405 [3] https://pixian.ai/api/deltaPng
auto1111 has a one click installer and these extensions can be installed by going to the "extensions" tab and pasting the github URL into the "install from URL" box. auto1111 available here https://github.com/AUTOMATIC1111/stable-diffusion-webui
It runs from a python script.
Some explanations on the differences of these models would be nice for a noob.
I would think that part of the motivation for releasing the smaller models in addition to the larger ones would be use in video image segmentation and mobile filters. The smaller models might actually be more fit for purpose with regard with regard to those applications than the biggest one. However, I'd reccommend the biggest model (vit_h) for desktop or laptop image processing.
Surprisingly (?) my convoluted setup is slowly becoming this actually useful toolkit for various tasks I sometimes need to do.
>Records not associated with an account are deleted or anonymized within a year of creation. Image processing records associated with an account are retained indefinitely.
>We retain them on your behalf so that you can view and download them as you wish, and to provide customer support.
Thank you, but no thank you.
https://pixian.ai/remove-image-backgrounds says:
> Right now, we retain images and results for five days after they are uploaded, after which they are permanently deleted. Please note that our data retention policies may change over time, and this current policy does not bind us in the future, or require your affirmative consent to change.
https://pixian.ai/policies/terms says:
> User Submissions and any associated Results will expire 2 weeks from the point of upload.
> The Service may provide users with the option to delete User Submissions to have them expire before their normal expiration time.
> Expired User Submissions and any associated Results are subject to deletion or retention at the Company's sole discretion.
My issue is that it’s hard to buy credits for something specific like this, especially when my phone does it for free. So it’s tough to compete with Apple.
I hope more work in this area gets us closer to local ai that can do this without needing a service as I would gladly pay $10 one time (or sponsor an oss dev) to be able to do this for the rest of my life.
I’ve really enjoyed stablediffusion run locally. Even on my crappy machine, it’s nice to be able to not worry about credits and there’s no ticking clock impacting my exploration.
Credits are annoying, but no one has really cracked micropayments--it's too expensive to take $1 payments.
I like how replicate does it, just take a card and bill for usage, then you can decide to just comp it or defer the charges when usage is low.
Going local is fun and practical for hobby use, but for business use an API makes more sense. Let someone else deal with hardware.
I understand why these are SaaS offerings from a business POV, but don’t understand why there aren’t more options to run locally. Are gaming GPUs like a 3080 not powerful enough?
Building a thing and selling it seems like it will make less money to me.
It’s funny that on a larger scale I used to hate enterprise software. It took a year to install and had to be patched and run servers and stuff. But you paid a big amount and then like 10-20%/year for maintenance and that’s it. So many things are saas and cost $500-100+/user/year and it’s not just the cost but it’s the planning and gatekeeping. Making it available to more users can be expensive. I kind miss the simplicity of budgeting $1M and being done. Now each year it’s figuring out who really needs it and cleaning up expired accounts and being stingy on if another team can use it or not.
One of my favorite things was how easy it was to scale and share with new users.
It really depends on the model. Just cherry-picking memory as a capacity dimension first: The SAM model from Meta ships at around 2.4GB w/ 360 million parameters. That trained model fits just fine on a 12GB 3080 Ti. How fast it can compute predictions on a single 3080 Ti is a different story, in the case of SAM it does well, but this ultimately depends on how complex the given model is (not the only variable, but a big one).
> don’t understand why there aren’t more options to run locally
I think it's likely that you haven't been looking in the right places for local solutions. The deep learning space is very well represented in open source at the moment across a wide set of verticals: language models, computer vision, speech recognition, voice synthesis, etc. You don't always get the white glove UX that SaaS sometimes can offer, but thats true of much of the rest of the OSS world as well.
EDIT: Wanted to note that I use both a 3080 Ti and my M2 Max for a variety of DL tasks (both for training and inference).
Again, thanks for your work. I don’t want to criticize and am glad you built this. I just like to voice this opinion in case it helps, in any small way, to increase the odds of more local software.
If I can upvote twice, I would.
>Philosophy >While AI is rapidly transforming the way we as a society do business, AI itself is changing even faster. What was >cutting edge only a few years ago is now rapidly becoming commoditized.
>We choose to accept and accelerate this reality.
>We therefore see ourselves less as a tech startup, and more as an outsourced MLOps extension to your engineering team. >Our goal is to be more 'S3' and less 'Adobe' for state-of-the-art AI image processing.
Well done and well said.
Wish many hearths won
Photoroom users: feel free to use https://pixian.ai/comparisons to compare the results.
(We haven't done a comparison with them so genuinely don't know if they're better or worse)
https://gist.github.com/mvsantos/5554663
It does a good enough job for studio photography with clear subjects and plain backgrounds. But fails miserably if the background is multicolour and/or contain too many objects.
My use case is mineral photos, as it turns out. And I would be very surprised if the AI had been trained on these. The sad thing is -- mineral photo backgrounds tend to be very simple and smoothly-varying. Should be a slam dunk. Ah well.
A one-shot background remover doesn't give you the opportunity to interact with it and suggest that it got things wrong here and there.
Yes, I tried one of my mineral photos, and the app made several errors that it shouldn't have, as the foreground was clearly distinct from the background.
I don't know if I'm allowed to post a photo link, but here it is: https://imgur.com/a/V9H1pRH .
https://www.photopea.com/tuts/magic-cut-remove-image-backgro...
https://segment-anything.com/demo#
It worked fine on your example with a couple of clicks.
(also, cool shot!)
1. For "objects" and "artwork" it says that quality is above 100% (108% and 119% respectively), which is weird and doesn't inspire confidence? It's also unclear generally what those percentages mean.
2. When trying this from work it says "Unable to connect to the worker. Is your firewall or proxy blocking WebSockets?" -- it's possible that the firewall is the culprit but there should be a workaround? (All methods give the same result, drag'n drop, ctrl+v, or picking from the explorer).
> Pixian.AI had 241 images that were rated good, or not rated and identical. That's 87.0% of your 277 images.
> The competitor had 201 images that were rated good, or not rated and identical. That's 72.6% of your 277 images.
> Pixian.AI achieved 241 / 201 = 119.9% of the competitor's performance
> The report is based on a set of user-provided images. We then reviewed the services' respective results separately and rated them as either good or bad. The comparison was done in a blind manner, without labels indicating which result was Pixian.AI's and which was the competitor's. We then tallied up the results and produced this report.
https://pixian.ai/comparisons/cwsslt8d78zl7vq/share/5e51cd3d...
If I could pay for 2-3 images, I'd gladly pay 5x the price per image.
Have you considered letting users accumulate a minimum bill over time before charging their credit card?
Even a pre-trained model and self-hosted API like RemBG[0] performs a lot worse than this "pixian" service does.
https://huggingface.co/spaces/KenjieDec/RemBG [0]
All in all, I'd say they put a LOT of effort into scaling (it's FAST) and the models (they're extremely accurate).
For background removal, I get good results with isnet-general-use and u2net, available through rembg or huggingface. I've also been getting decent results with DIS-v1 on replicate.
The results vary so widely, especially if there are blurry or light areas, it's necessary to have options. It can also be very helpful to do preprocessing image enhancement, to remove blur or upscale, prior to the background removal. I'm sure you could even take the alpha mask from the enhanced image and use it on the original image, to help in cases where the source image has issues.
There also needs to exist a service for interactive background removal, via automatic and/or interactive segmenting. Sometimes the models need a little help, and I think it's rediculous that I still have to trace paths when the models fail.
Anyway, I love the idea and pricing model, will def try it out, but I'd like to see more details on the models being used, and I'd like to see more options and configuration.
This looks like a fun startup, I've thought of doing something similar. There's a lot of room to grow with other AI image manipulation models, not just for background removal. Shoot me an email if you would like to discuss.
For background removal specifically, all models will inevitably have some failure rate. https://clippingmagic.com is the only one with a serious editor that enables you to get exactly the result you want on any image (it's our legacy service with "old-school" SaaS pricing).
I think that broad bet is a good one. Simple API endpoints with a good selection of curated models will certainly be a hit. There are lots of options for hosting, and quite a few API providers, but they're all some combination of overly complicated, slow, brittle, or functionally limited.
I'm also curious what exactly is your goal with this project? At the very least there are 20 or more businesses that do the exact same thing. I think marketing yourself in this space is going to be an absolute nightmare unless you have a massive marketing budget to game Google.
If you want goodwill then you'll need to cough up 10 removals per day for free users and then focus on business customers. But I don't think you'll be able to keep up because open-source already offers this service and it won't be long before an enterprise solution pops up on GitHub too.
Yes, there's a lot more than 20 competitors. Our goal is to hit an attractive point on the quality-price pareto frontier that they just can't match.
That said, marketing will definitely be a challenge ;)
Just so you know, you being "free while in beta" is concerning to me as a business customer. I would be much more enthusiastic and reassured if I could sign up on a pay-as-you-go basis right now.
The fact that it's free and you intend to monetize sometime in the future sends the signal that there's a large chance this service will be gone in a few weeks/months, which is scarier than being charged now, so we have to hedge our bet and try out competitor APIs too, just in case.
I'd rather support your startup and be on a paid plan right away.
https://github.com/xuebinqin/U-2-Net
Pretty trivial thing to implement.
How to send and receive image between linux and iphone is left as an exercise for the reader.
Open source implementation of this
That said, I am not negative, only pointing out that at least for me (as a admittedly non-native speaker,) trivial is not a word I would use to describe it.
Anyway, it's a good news to have finally a quality tool at low price... hoping that once they won the market, they won't increase the prices.
Clipping Magic is a totally different product. It is editor-based with a bunch of post-clip effects and features. The editor allows you to fix errors in a way that a single-shot DL-based solution simply does not. We don't actually see the services as competing with each other, since DL-based solutions have taken over the portion of the market where 80-95% success rate and some errors are ok, so long as it is fast and cheap.
A better solution is to have controls, at least in optional manner, which the user can use to scribble examples of the foreground(s) and backgrounds.
But almost all API users and most regular users just want a result and to not have to futz with it, hence this offering.
My account at Cedar Lake Ventures does not link back to Pixian, and there doesn't seem to be any way to enter payment information on either site.
So, where and how exactly do I pay?
> Their margin is our opportunity.
A bit off topic but is that quote originally from Jeff Bezos, or did he just make it more famous?
Anytime I hear it, I immediately presume the person saying it worked at Amazon. Because I say it, and I did too.
Is free and works fine for my needs. Good luck beating free.
If you don't want to manually crop it, just press "ok".
That said we could probably improve the messaging in that dialog, thanks!
What's the best free web-based AI inpainting tool?
(...or pixian will also offer this functionality?)
- Remove background
- Replace background with white
- Upscale image to 1000px