DEV Community

Elena Dev
Elena Dev

Posted on • Originally published at Medium

I Built a Free Passport Photo Tool. Then the US Banned the AI It Relied On.

The most useful feature in my passport photo tool is the one I now tell American users not to use.

Let me explain, because it taught me something about building products people actually trust.

The magic was the background

When you build a passport photo tool, the hard part is not the cropping. Cropping to two inches by two inches is arithmetic. The hard part, the part that makes people say "wow", is the background. You upload a photo taken in your kitchen, with a fridge and a calendar behind you, and a second later your face is floating on a clean white field. That is the AI doing the heavy lifting: separating you from the scene and replacing everything behind you with plain white.

It feels like magic. It is also, as of this year, against the rules for a US passport photo.

What changed

On the first of January 2026, the US State Department stopped accepting passport and visa photos that have been digitally edited. Not just the obvious offenders like beauty filters and skin smoothing, but background removal and replacement too. Their reasoning is about identity and fraud: the photo has to show the real you in a real scene, formatted but never altered. Automated systems now flag edited images before a human ever looks at them.

So the exact feature that makes my tool feel magical is the feature that, for an American applicant, can now get their application rejected.

The decision

I had two options.

The first was to say nothing. Most users would never read the State Department's rules. The tool would keep producing those satisfying white backgrounds, people would keep submitting them, and a quietly growing number would get a rejection letter weeks later, never connecting it to the free tool they used. My traffic would not even notice.

The second was to tell them. To put a plain warning on the screen the moment someone picks the United States: since January 2026, do not remove or replace the background, take your photo against a real white wall, and use this tool only to crop and resize. To write the honest article explaining exactly what the tool does and does not do. To make the product slightly less impressive in exchange for being correct.

I went with the second one. It was not a hard call once I framed it properly. A free tool that quietly gets your passport application rejected is worse than no tool at all, because it costs you time you did not know you were spending.

Why honesty is the actual product

Here is the thing I did not fully appreciate until this happened. When your product is free, trust is the entire business. People are not paying you, so the only thing they can give you is belief, and the only way to earn it is to be right when it matters and honest when being honest costs you something.

The warning I added makes the tool look less clever. It admits that the shiny feature has a limit. And I am convinced it is the single best thing I have shipped this year, because it is the thing a person remembers. "That tool told me the truth about my own photo" is a sentence that turns a one-time user into someone who recommends you.

There is a precision to good honesty, too. The background feature is not bad. It is genuinely useful for a Schengen visa, an Indian visa, a Gulf visa, most of the world, where a software-prepared white background is still accepted as long as your face is untouched. So the honest message is not "never use this", it is "here is the one specific place not to use it, and here is why." Blanket fear is lazy. Precision is respect.

The bigger pattern

We are heading into a few years where almost every tool will quietly edit your photos, your writing, your voice, and call it enhancement. Most of the time that is harmless or even nice. But there are moments, a passport, a visa, a legal document, where the right move is for the software to know when not to touch anything, and to tell you so.

I think the tools that win the next decade will not be the ones that edit the most. They will be the ones that know exactly when to stop, and are willing to say it out loud, even when saying it makes them look a little less magical.

That is the product I want to build. A free one that tells you the truth about your own face.


Elena Dev is the founder of IDPhotoSnap, a free, browser-based passport and visa photo tool that keeps your photo on your device. You can read the full breakdown of the 2026 US background rule on the IDPhotoSnap blog.

Top comments (0)