DEV Community

Cover image for I Built a Free AI Background Remover with Next.js 16 & Cloudflare Workers — $0/mo

I Built a Free AI Background Remover with Next.js 16 & Cloudflare Workers — $0/mo

WobblyDev on April 13, 2026

Let me start with some context: I have a graveyard of unfinished side projects. Probably 15+ repos that never saw the light of day. This time I tol...
Collapse
 
mjoycemilburn profile image
MartinJ • Edited

Great post, thank you. As a side comment, I couldn't agree more with your doubts about PayPal's professionalism. I've been a big fan of this company from day 1, when I first discovered the joys of a PayPal account. But it's been a downhill experience ever since. What is **wrong **with this company's management????

As evidence, I give you the company's number 1 product - the payment window. This is a breeze if you have a Paypal a/c. If not, it requires the IQ of an Einstein. Reason? Some bright marketing type has decided to use the situation as an opportunity to push people towards **creating **a Paypal account. Result? Total confusion. I've had to deal with customers literally in tears over this ghastly apology for a payment interface. And it's been like this for years? The worst of it is I'm a Paypal shareholder. I still believe in them, but can you hear the sound of my teeth grinding?

Collapse
 
_51c72dc747ba876dd3294 profile image
WobblyDev

Man, the guest checkout rant hit home. I've had users email me completely lost trying to pay without creating an account. Years of this and they still won't fix it. As a fellow PayPal integrator... I feel your pain 😅 Thanks for reading!

Collapse
 
germanviscuso profile image
German Viscuso

"I needed a database for users and credits. I needed session storage. On Vercel's free tier, that means bolting on external services — a hosted Postgres, maybe Upstash for Redis. Suddenly my "free" project had $15-20/month in dependencies." -> Vercel + Supabase

Collapse
 
_51c72dc747ba876dd3294 profile image
WobblyDev

Yeah that's exactly the trap. Supabase is solid on its own, but once you're stitching together Vercel + Supabase + maybe Upstash for KV, you're managing three dashboards and three billing pages for a "free" stack. Cloudflare having D1 and KV built in just cuts all that out.

Collapse
 
leob profile image
leob

Really cool write-up! I'm hearing lots of good things about Cloudflare as an application platform these days - eager to look at how you did this and to try something myself!

Collapse
 
_51c72dc747ba876dd3294 profile image
WobblyDev

Thanks! Definitely give it a shot. The repo's public if you want to poke around: github.com/turnturn/bg-remover-nextjs-cloudflare.

Collapse
 
leob profile image
leob

Yeah I definitely want to check it out - interesting also that you did not target Vercel (the 'standard' choice), but Cloudflare, via OpenNext ...

Collapse
 
meir_meir_ba97d0e4663bddc profile image
Meir Meir

Hi. Thanks for sharing. What about the dedicated domain name? Is it also free?

Collapse
 
_51c72dc747ba876dd3294 profile image
WobblyDev

Not if you mean a custom domain — you still have to pay for that yourself. But Cloudflare does give you a free *.workers.dev subdomain, so you can get a project online without buying a domain first.

Collapse
 
mecloud profile image
mecloud

👍️

Collapse
 
_51c72dc747ba876dd3294 profile image
WobblyDev

🙏