Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
ThatPainter
AI art

PhotoGuard: The MIT Research Tool That Tries to Make Images Harder for AI to Manipulate

PhotoGuard attempts to make certain diffusion-model edits fail by adding tiny pixel-level perturbations to an image. Here is what the MIT research does—and what it cannot protect against.

By ThatPainter Team 8 min read
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

ThatPainter is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Learn More

PhotoGuard is not a universal anti-deepfake shield. It is an open-source research technique, introduced by MIT CSAIL researchers in 2023, that adds tiny pixel-level changes to an image. Those changes are designed to interfere with certain diffusion-model editing systems, making an attempted edit look distorted, unrealistic, or unrelated to the original.

That makes PhotoGuard an interesting defensive idea for photographers, artists, and people posting personal images—but not a guarantee that an image cannot be copied, edited, imitated, or misused.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What PhotoGuard is designed to do

PhotoGuard is an image-immunization technique. The image is modified before another person downloads it or uploads it to an AI editor. The modification is intended to be difficult for people to see but significant to a machine-learning model.

Instead of adding a visible logo, PhotoGuard changes the image’s numerical pixel representation. A compatible AI editor may then receive an input that it cannot interpret normally, causing the requested transformation to fail or produce a visibly poor result.

#1 Best Overall
Ailun Privacy Screen Protector iPhone 17e/16e/14/13/13 Pro, 2 Pack
  • [2 Pack] This product includes 2 pack privacy screen protectors.WORKS FOR iPhone 17e/16e/14/iPhone 13/13 Pro 6.1 Inch tempered glass screen protector.Featuring maximum protection from scratches, scrapes, and bumps.[Not for iPhone 16 6.1 inch, iPhone 13 mini 5.4 inch, iPhone 13 Pro Max/iPhone 14 Pro Max/iPhone 14 Plus 6.7 inch, iPhone 14 Pro 6.1 inch]
  • Specialty: to enhance compatibility with most cases, the Tempered glass does not cover the entire screen. HD ultra-clear rounded glass for iPhone 17e/16e/14/iPhone 13/13 Pro is 99.99% touch-screen accurate.
  • 99.99% High-definition clear hydrophobic and oleophobic screen coating protects against sweat and oil residue from fingerprints.
  • High Privacy: Keeps your personal, private, and sensitive information hidden from strangers,screen is only visible to persons directly in front of screen.Good choose when you are in the bus,elevator,metro or other public occasions.(Note: Due to this privacy cover will darken the image to prevent the peeking eyes near you, you might need to turn your device display brightness up a bit when use it.)
  • Online video installation instruction: Easiest Installation - removing dust and aligning it properly before actual installation,enjoy your screen as if it wasn't there.

The original research was posted on February 13, 2023. MIT’s public explanation followed on July 31, 2023. The tool is therefore best understood as a research prototype, not a newly released consumer product.

The problem it addresses

Diffusion-based image editors can transform an existing photograph using a text prompt. Someone might alter a person’s clothing, surroundings, pose, or apparent activity without needing advanced Photoshop skills.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

That creates obvious risks for photographers, artists, journalists, public figures, and anyone sharing selfies or family photographs: harassment, impersonation, non-consensual sexual imagery, reputational damage, and misleading visual evidence.

PhotoGuard’s goal is narrower than eliminating those risks. It attempts to make particular AI-editing workflows less effective.

How PhotoGuard works

The research describes two broad attack strategies against the image-editing pipeline:

  • Encoder attack: This targets the stage that converts an image into an internal representation. The altered image can cause the model to misunderstand the image’s content or generate an implausible result.
  • Diffusion attack: This targets the generation process more directly and is intended to be especially effective against inpainting-style edits, where a selected region is replaced or regenerated.

A useful way to think about it is this: PhotoGuard does not place an invisible lock around a file. It changes the file so that a targeted AI editor receives a deliberately confusing input.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
SMARTDEVIL 2 Pack Privacy Screen Protector for iPhone 17 Pro Max, Anti-Spy
  • Perfect Fit for iPhone 17 Pro Max:Engineered exclusively for iPhone 17 Pro Max with seamless edge-to-edge coverage, ensuring precise alignment and reliable full-screen protection.
  • Advanced Privacy Protection:Features a 28° privacy filter with smooth 2.5D curved edges, preventing side glances in public. Your screen remains visible only to you—ideal for commuting, traveling, and crowded environments.
  • Effortless Installation:Equipped with an auto dust-elimination tool that delivers a fast, accurate, and bubble-free application, keeping your screen perfectly clear with minimal effort.
  • Military-Grade Protection:Made of nano-reinforced 9H tempered glass, SGS certified. Provides 5X stronger scratch resistance and proven durability, withstanding thousands of pressure and impact tests.
  • Smudge & Fingerprint Resistant:Hydrophobic and oleophobic coating repels fingerprints, sweat, and oil—ensuring your screen stays clean, clear, and smooth to the touch.

The researchers demonstrated the approach with image-to-image and inpainting workflows associated with Stable Diffusion. That does not establish that it works against every current commercial image generator or future AI model. See the technical paper and the official code repository for the project’s stated methods and scope.

What happens when someone tries to edit a protected image?

In the MIT demonstration, an ordinary edit can produce a convincing result, while the same request applied after immunization may produce a warped, unrealistic, or inconsistent image.

The outcome depends on several factors:

  • Which editing model is being used.
  • Whether the workflow is image-to-image, inpainting, or something else.
  • How closely the model resembles the systems targeted during protection.
  • Whether the image has been cropped, resized, recompressed, or otherwise processed.
  • Whether the attacker has adapted the workflow to counter the defense.

The accurate claim is that PhotoGuard can degrade or disrupt certain AI-powered edits. It is not accurate to say that it makes an image uneditable.

Is the protected image visibly different?

The perturbations are designed to be invisible or nearly invisible to human viewers. In principle, the protected picture should look essentially like the original while behaving differently inside a targeted editing pipeline.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

“Imperceptible” is a research objective, not a guarantee for every image or implementation. Resizing, JPEG compression, sharpening, color adjustments, screenshots, and other transformations can affect the protective signal. Even if the signal survives, a person can still edit the visible image using methods outside PhotoGuard’s threat model.

Can ordinary people use PhotoGuard?

The authors released the project’s code under an MIT license and linked interactive demonstrations. The official repository documents a local setup based on Python, Conda, PyTorch-related dependencies, Hugging Face access, and Stable Diffusion components.

Rank #3
Ailun Privacy Screen Protector for iPhone 16 / iPhone 15 / iPhone 15 Pro
  • [3 Pack] This product includes 3 pack privacy screen protectors.WORKS FOR iPhone 16/iPhone 15/iPhone 15 Pro 6.1 Inch tempered glass screen protector. Due to the rounded edge design of the iPhone 16/iPhone 15/iPhone 15 Pro and to enhance compatibility with most cases,the tempered glass screen protectors will be slightly smaller than the phone screen.[Not for iPhone 16e 6.1 inch, iPhone 15 Plus/iPhone 15 Pro Max/iPhone 16 Plus 6.7 inch,iPhone 16 Pro 6.3 inch,iPhone 16 Pro Max 6.9 inch]
  • Specialty: HD rounded glass for iPhone 16/iPhone 15/iPhone 15 Pro 6.1 Inch is 99.99% touch-screen accurate.
  • 99.99% High-definition hydrophobic and oleophobic screen coating protects against sweat and oil residue from fingerprints. Featuring maximum protection from scratches, scrapes, and bumps.
  • High Privacy: Keeps your personal, private, and sensitive information hidden from strangers,screen is only visible to persons directly in front of screen.Good choose when you are in the bus,elevator,metro or other public occasions.(Note: Due to this privacy cover will darken the image to prevent the peeking eyes near you, you might need to turn your device display brightness up a bit when use it.)
  • Online video installation instruction: Easiest Installation - removing dust and aligning it properly before actual installation,enjoy your screen as if it wasn't there.

The repository currently documents commands such as:

git clone https://github.com/MadryLab/photoguard.git

conda create -n photoguard python=3.10
conda activate photoguard
pip install -r requirements.txt
huggingface-cli login

For the local demonstration, it lists:

conda activate photoguard
cd demo
python app.py

These are research-project instructions, not a guaranteed turnkey installation in 2026. Compatibility may depend on your operating system, GPU, CUDA and PyTorch versions, Hugging Face authentication, model access, and whether the documented dependencies still resolve cleanly.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The repository has also referenced an online Hugging Face demo. Online Spaces can change, disappear, impose limits, or process uploaded images according to their own service conditions. Do not upload sensitive photographs to an unverified third-party demo simply for convenience.

The documented demonstration workflow

A published demo workflow describes these steps:

  1. Upload an image.
  2. Mask the region intended to remain unedited, such as a face.
  3. Enter an editing prompt.
  4. Generate an ordinary edit.
  5. Select Immunize.
  6. Submit the image again and compare the attempted edit.

The exact interface, hosting status, model availability, and performance may differ from archived or derivative versions of the demo. Interface labels should not be treated as permanent product features.

What PhotoGuard does not protect against

PhotoGuard’s limitations are central to understanding it.

It does not stop traditional editing

A person can still use Photoshop, a phone editor, manual retouching, collage techniques, or other non-targeted tools. PhotoGuard is aimed primarily at certain AI image-editing workflows.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Ailun Privacy Screen Protector+Camera Lens Protector for iPhone 16, 3+3Pack
  • [3+3 Pack] This product includes 3 pack privacy screen protectors and 3 pack camera lens protectors with Installation Frame. Works For iPhone 16 [6.1 inch] tempered glass screen protector and camera lens protector. Featuring maximum protection from scratches, scrapes, and bumps. [Not for iPhone 16e 6.1 inch, iPhone 16 Pro 6.3 inch, iPhone 16 Pro Max 6.9 inch, iPhone 16 Plus 6.7 inch]
  • Night shooting function: specially designed iPhone 16 6.1 Inch camera lens protective film. The camera lens protector adopts the new technology of "seamless" integration of augmented reality, with light transmittance and night shooting function, without the need to design the flash hole position, when the flash is turned on at night, the original quality of photos and videos can be restored.
  • High Privacy: Keeps your personal, private, and sensitive information hidden from strangers, screen is only visible to persons directly in front of screen. Good choose when you are in the bus,elevator,metro or other public occasions. (Note: Due to this privacy cover will darken the image to prevent the peeking eyes near you, you might need to turn your device display brightness up a bit when use it.)
  • Easiest Installation - Please watch our installation video tutorial before installation. Removing dust and aligning it properly with the help of the included installation frame before actual installation, enjoy your screen as if it wasn't there.
  • 99.99% High-definition clear hydrophobic and oleophobic screen coating protects against sweat and oil residue from fingerprints, and enhance the visibility of the screen.

It does not work against every AI system

A different model or pipeline may respond weakly—or not at all—to the perturbation. Demonstrations involving Stable Diffusion-related systems do not prove protection against every commercial service, model architecture, or future version.

It can be weakened by preprocessing

The MIT researchers identify operations such as cropping, rotating, and adding noise as possible circumvention routes. In practice, resizing, recompression, screenshots, and other transformations may also change the signal. A screenshot or photograph of a screen may create a new copy that no longer contains the original perturbation.

It cannot protect old copies

Protection must be applied before the attacker obtains the image. If an unprotected copy has already been downloaded, PhotoGuard cannot retroactively immunize it.

It cannot prevent copying or misuse

It does not stop reposting, harassment, impersonation, unauthorized downloads, or the circulation of an image. Nor does it provide a takedown mechanism or legal protection.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

It does not prove authenticity

A protected image is not automatically genuine, original, or unchanged. PhotoGuard is not a provenance record, authorship certificate, or forensic verification system. Its purpose is to interfere with editing, not to tell viewers whether an image is authentic.

It is not guaranteed against adaptive attackers

A motivated attacker may study the defense, alter the image first, use another model, or train a system to reduce the perturbation’s effect. The researchers describe robust protection against adaptive attackers as an open problem.

Best Value
Sale
UltraGlass TOP 9H+ Armor for iPhone 17 Pro Max Privacy Screen Protector 6.9
  • 【Industry-Leading 100% Anti-Spy Privacy Protection】Designed for iPhone 17 Pro Max. Larger iPhone screens are easier for others to glance at, so UltraGlass uses patented, SEGI-certified 25° Blackout-3 optical technology to help block side views and keep emails, banking apps, and private content visible only to you—while keeping the front view HD-clear and comfortable through hours of scrolling and streaming.
  • 【Unbreakable TOP 9H+ Glass, the Excellent 2nd Screen for Your iPhone】Boasting unparalleled shatter resistance and durability. And the core excellence is the top 9H+ tempered glass material, which is widely applied in aerospace and military fields for its ① Shatter-proof ② Scratch & Wear Resistance ③ Durability that is 7-8 times higher than other materials. Thus, UltraGlass builds a second tough screen for your iPhone 17 Pro Max.
  • 【Industry NO.1 Military-Grade Shatterproof】Authorized by the International Military Standard with 50+ rigorous engineering tests of 220 lbs impact, 8,000+ drop tests, 25,000+ scratch tests, etc., its strength, toughness and durability perform NO.1 among all glass. By especially breaking the industry's record with a 12ft drop, the iPhone 17 Pro Max screen protector is ensured to be unbreakable from its surface to every edge and corner.
  • 【Invisible Armor, 1:1 Full Covers the iPhone's Screen】Mimicking the iPhone's original screen design, it uses a 1:1 3D curved reinforced black edge that wraps around every curve — case friendly — while securing even the most vulnerable edges. Seamlessly blending with the iPhone 17 ProMax screen, it's virtually invisible and feels like the original screen while offering enhanced full-screen protection.
  • 【0 Bubbles + 0 Dust + 0 Misaligned =100% Successful Installation】Includes everything you need with pioneering automatic positioning, dust removal, and absorption technology, making the installation just effortlessly easy in seconds. No bubbles, no troubles—transforming beginners into experts!
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

PhotoGuard, Glaze, and Nightshade are not the same tool

These projects are sometimes grouped together because they all attempt to give creators more control over AI misuse. Their objectives are different.

Tool Primary goal What it targets Best understood as
PhotoGuard Disrupt unauthorized AI editing of an existing image Certain image-editing and diffusion-model workflows An experimental image-immunization defense
Glaze Protect an artist’s visual style from imitation AI systems attempting to learn or reproduce artistic style A style-cloaking tool for artists
Nightshade Disrupt or poison model-training signals Training behavior associated with image-text data A data-poisoning approach for creators concerned about unauthorized training

In short: PhotoGuard targets editing the image; Glaze targets imitation of an artist’s style; Nightshade targets model-training behavior. They are not interchangeable, and one does not automatically provide the protections associated with the others.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Nightshade site lists a MacOS and Windows v1.1 update in April 2026, but that update signal does not change Nightshade’s primary purpose or make it a substitute for PhotoGuard.

When PhotoGuard may be useful

  • A technically capable user wants to experiment with an academic defense.
  • A researcher wants to reproduce or extend the published experiments.
  • An artist or photographer wants an additional, experimental obstacle against some AI-editing workflows.
  • A platform is investigating server-side image immunization or model-level defenses.

When it is a poor fit

  • You need a guaranteed, supported consumer product.
  • The photograph is too sensitive to upload to an online demonstration.
  • Your main threat is conventional editing rather than diffusion-model manipulation.
  • You need proof of authorship, ownership, or authenticity.
  • The image will be heavily resized, cropped, compressed, or transformed after protection.
  • You expect protection against a determined attacker using alternate models or reconstructed copies.

Practical steps for photographers and painters

PhotoGuard should be treated as one possible layer, not as the entire security plan.

  1. Keep high-resolution originals private where possible. Publish a web-sized copy when full resolution is not necessary.
  2. Retain original files and creation records. RAW files, layered documents, dated exports, and other records can help establish creative history, although they are not by themselves an authentication system.
  3. Use platform privacy and takedown tools. Report impersonation, harassment, and unauthorized material through the relevant service.
  4. Consider provenance systems for authenticity questions. Provenance and editing defenses solve different problems: one records an image’s history, while the other attempts to interfere with a model’s behavior.
  5. Test before relying on it. If you run PhotoGuard locally, test protected copies with the specific workflow that matters to you and check whether normal export steps alter the result.
  6. Keep expectations narrow. The realistic goal is to make some AI edits fail or look poor—not to make the picture impossible to copy or manipulate.

Why platform support matters

Individual creators cannot solve unauthorized image use solely by running a local tool. The MIT researchers argue that model developers and platforms should help implement protections, potentially through APIs or system-level support.

That matters because a defense designed for a known model is difficult to apply universally from the outside. Platforms control the models, preprocessing pipelines, upload systems, and moderation tools that determine whether an image-immunization method remains effective.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The bottom line

PhotoGuard is an important research direction because it tries to prevent AI misuse proactively rather than merely detecting manipulated images afterward. But the headline claim needs to be narrowed: it does not protect “your pictures” from every form of AI manipulation.

It adds carefully designed pixel-level perturbations that may disrupt certain diffusion-model editing workflows. It does not stop Photoshop edits, guarantee protection against other models, authenticate an image, restore old copies, or defeat a determined adaptive attacker. For creators, it is best treated as experimental extra friction alongside sensible privacy, backup, provenance, and takedown practices.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

More from the Paint Desk

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.