Nightshade and Glaze are two related tools from the University of Chicago research team: Glaze disguises an artist's style so AI models cannot learn it, and Nightshade poisons images so scrapers train on corrupted data. "Glaze image protection" usually means running your images through the Glaze tool before posting them. You upload an image online, it processes it, and you download a protected copy that looks the same to human eyes but resists style mimicking and scraping. You do not need an account, and the basic workflow takes minutes per batch, though the processing itself is CPU-heavy and can take a while on large files.

First, the honest limits. Glaze protects your style — it degrades the image for machines trying to learn a visual style, but it does not stop straightforward copying, does not stop someone from downloading your file, and does not add watermarks. It is not a legal tool, and there is no guarantee against every model. Treat it as one layer of protection alongside visible watermarks, lower-resolution previews and clear usage terms.

What You'll Need

  • A computer running Windows, macOS or Linux with a reasonably capable graphics card, or a patience for slower processing on CPU. Glaze runs on your own machine; it is not a phone app.
  • The official Glaze download from the University of Chicago's project page — never a third-party mirror.
  • A recent Python/conda environment or the packaged release the project provides (follow the current install instructions on the official page, since the setup method has changed across releases).
  • Your original image at full resolution, in a common format such as PNG, JPEG, WebP or TIFF.
  • Free disk space roughly double your image folder, for originals and outputs.

Step-by-Step

  1. Download from the official source. Go to the project's official page (glaze.cs.uchicago.edu) and follow its current download link. Avoid reuploads, app-store clones and "portable" builds — these are not maintained by the researchers and can contain adware or broken dependencies.
  2. Install the dependencies. Follow the README for your release. Most versions expect a working Python environment and a specific PyTorch build; install the version listed for your operating system, not the newest one you can find. On Windows, opening the provided script from the extracted folder is usually the simplest route. Labels and file names vary between releases, so read the README that ships with your download.
  3. Fix the common model-download problem first. Some releases download a checkpoint file on first run. If it stalls or fails, check your network connection and free space, then retry; if it still fails, the project's issue tracker usually explains the manual download and where to place the file. Do not grab the checkpoint from random mirrors.
  4. Set up your input and output folders. Put a copy of the images you want to protect into the input folder the tool specifies (often named images), and create an empty output folder. Keeping originals untouched in a separate folder is the single most important habit here.
  5. Run the protect command. The typical command is python glaze.py with flags for input, output and intensity. The exact flags differ by version — check python glaze.py --help for your release. Choose a batch size that fits your graphics memory; if you get out-of-memory errors, drop the batch size and run fewer images at once.
  6. Wait — this is the slow part. Each image requires optimization, so a single full-resolution photo can take several minutes on a modest GPU and much longer on CPU alone. A batch can run for hours. Do not close the window; let it finish and note where the outputs land.
  7. Compare originals and outputs side by side. Open both at 100% zoom. The protected file should look visually very close to the original, with only slight texture or colour shifts that most people will not notice in a feed. If it looks visibly degraded, your settings are too aggressive — reduce intensity and rerun.
  8. Post only the protected copy. Upload the output file to social media, your portfolio or wherever you publish. Strip metadata if you want, but do not re-edit, crop or heavily recompress it afterwards, because recompression can reduce protection.
  9. Resize for public use, keep the full-resolution original private. Publish a moderate-resolution protected version; keep the master file offline or in a private folder. The protected copy is what you share, and it should be the only copy that ever leaves your machine.
  10. Repeat for new work and re-run old work if needed. Each new image needs its own pass. If a model trained on your public work before you began protecting, you cannot undo that; protect everything new going forward.

Common Mistakes

  • Overwriting originals. Never point the output at your input folder. Always keep untouched masters.
  • Protecting only thumbnails or edits. Run the tool on the version you will actually publish, at its final crop, because changes after protection erode it.
  • Assuming it stops copying. Glaze is not a download blocker, watermark or DMCA substitute. Someone can still screenshot, remake or sell your image.
  • Using unofficial builds or "AI protector" apps. Most are made by unrelated parties and are not the research tool. Stick to the official download.
  • Skimping on memory. Crashes mid-batch usually mean batch size is too high or disk space ran out — not a broken install.
  • Processing a low-resolution file. Tiny or heavily compressed images get less effective protection and look worse after processing.

Tips

  • Protect your best work first — portfolios, signature pieces, anything that defines your look.
  • Use visible watermarks and clear licensing language alongside Glaze; together they cover different angles.
  • Run large batches overnight. It is idle-CPU/GPU time and avoids interruptions.
  • Keep a simple log of which files are protected and where you posted them, so you never post an original by accident.
  • Test the output visually before posting. If the drift is noticeable on faces, skin tones or fine gradients, lower the intensity.
  • Re-check the official page occasionally for updated releases and install instructions, since the tool evolves.

Troubleshooting

  • Install fails on missing packages: confirm you are using the Python and PyTorch versions the README names, recreate the environment from scratch, and retry. Copy the full error message into a search of the project's issue tracker.
  • Model download stalls: check connection and disk space, retry once, then follow the manual checkpoint instructions from the official troubleshooting notes.
  • Out-of-memory error mid-run: reduce batch size, close other GPU-consuming apps, and process fewer images per batch.
  • Run seems stuck: check activity in your task manager or system monitor. Some images simply take a long time; if CPU or GPU shows zero activity for a long stretch, stop and rerun with fewer images.
  • Output looks wrong or washed out: lower the intensity setting, confirm the source is high quality, and check you opened the output rather than a preview.
  • Nothing works after updates: the release you installed may be newer than the guide you read. Go back to the README bundled with your download and follow its exact steps.

Frequently Asked Questions

Is Glaze the same as Nightshade?

No. Glaze disguises your style so models cannot learn it; Nightshade poisons images so scraping models train on corrupted data. They come from the same research team and are used separately.

Does Glaze stop people from downloading my images?

No. It does not prevent saving, screenshots or copying. It only reduces the value of your image for machine-learning style mimicry. Use watermarks, low-resolution previews and licensing terms for the rest.

Will Glaze change how my image looks?

Only slightly at sensible settings — small texture and colour shifts humans mostly miss. Too high an intensity makes visible artifacts, so compare at 100% zoom before posting.

Do I need an account or pay anything?

No. The official tool is a research release you run locally and requires no account. Refer to the official project page for current terms of use.

Can it run on a phone?

Not officially. It is a desktop tool for Windows, macOS and Linux with GPU or CPU processing. There is no official mobile app; avoid third-party apps that claim to be Glaze.

Does it work on already-trained models?

No. Protection applies to images scraped after they are published. Models that already learned from your work cannot be un-trained by protecting new uploads.