# GPT Image 1 output: a cleaning step for API-generated files

Source: https://passreal.com/generators/gpt-image-1

GPT Image 1 is OpenAI's image model for developers, returning image data through the API. OpenAI has stated that images from its tools carry C2PA provenance, so API outputs may include a manifest depending on the path. PassReal removes any such manifest and related fields, adds grain and radial chromatic aberration, smooths frequency residue and writes a JPEG with real camera EXIF. Pixel watermarks and faces are not changed.

## An image model people call from code

GPT Image 1 is less a consumer toy than a component. Teams call it from backends to produce product visuals, listing images, ad variants and in-app illustrations. The output arrives as encoded data in a response, which your code decodes and stores. Nobody sees a download dialog, so nobody notices what the file carries.

That is worth a deliberate check once, early.

## Inspect one decoded sample

Save one response to disk without any re-encoding. Then:

- `exiftool -a -G1 sample.png` to list groups and tags.
- Look for a JUMBF block, XMP with source-type terms, and text chunks.
- Run it through a Content Credentials viewer if you want the claim in words.

Record the result alongside the API options used, because format and size settings can change what is stored.

## Why a cleaning step belongs after generation

If you ship images to customers, third-party marketplaces or ad networks, whatever is in the file travels with it. A manifest naming the generator, or parameters in a text chunk, may not belong in a delivered asset. Cleaning at the end of your pipeline gives one consistent output no matter which generator produced the input.

## What the step does

1. Removes C2PA, IPTC digital source type, XMP and PNG text chunks.
2. Adds grain at a measured amplitude and radial chromatic aberration, zero at the centre and growing toward corners.
3. Dampens periodic upsampling residue with an FFT stage.
4. Encodes JPEG with EXIF from a real camera and consistent quantization tables.

Because the API output is typically a regular, high-resolution render, the surface difference is easy to see on the enlarged crops of the result sheet.

## Engineering caveats

- **Order.** Resize, crop and composite before cleaning. After cleaning, avoid re-encoding, which would discard the compression profile and may rewrite EXIF.
- **Determinism.** Grain is random per run, so two passes over the same input are not byte-identical. Store the output you approve.
- **Colour.** Request an sRGB image and keep it that way.
- **Transparency.** JPEG has none. Flatten backgrounds before processing.

## What it cannot do

PassReal does not remove SynthID or any watermark carried in pixel values. It does not alter faces or fix content. It does not promise a detector outcome, and there is no success figure on this page because none was measured against your target. Using generated media where a rule demands disclosure still requires you to follow that rule.

## Evaluating before you build around it

Do not wire anything until you like the output. Take ten representative images from your own pipeline, sorted by type: people, products, interiors, flat graphics. Process the first few and note which category looks best and which looks worst. Photographic scenes usually show the clearest gain, while flat graphics are weaker candidates.

## Logging and traceability on your side

Cleaning a delivered file does not mean losing your own records. Keep the request parameters, the prompt and the raw response in your storage, indexed by an identifier you also use for the cleaned asset. If a customer later asks how an image was made, or you need to regenerate a variant, you will have the information, while the file you shipped stays tidy. A simple pattern is a table with the original path, the cleaned path, the date and the settings, which costs almost nothing and saves long searches. Treat the cleaned JPEG as a derived artefact, never as the master.

## Cost thinking for volume

If you plan to run thousands of images, estimate the whole chain, not only generation. Add review time, storage, a cleaning step and a rejection rate for images that fail inspection. A sample of one hundred images gives you a realistic rejection figure for your own prompts, which matters more than any general estimate. Most teams find that the review stage, not the compute, dominates the schedule.

## Starting point

[Try PassReal with three free images](/app) taken from your own GPT Image 1 output, inspect the metadata before and after, and then decide how it fits your pipeline.

## Questions

### Does the API response include C2PA?

OpenAI has said it applies C2PA to images from its tools, but do not hard-code that belief. Decode a sample response, save it, and inspect it with exiftool.

### Is there an automated way to use PassReal in a pipeline?

Start with the web app and three free images to validate the output. Volume and automation questions are best settled after you have seen your own results.

### Does the model name matter for the cleaning?

No. The steps act on the file in front of them: metadata, texture, frequency pattern and encoding.

### Does it remove watermarks in pixels or edit faces?

No to both.

### What output formats come back from the API?

You choose a format in the request. Whatever you pick, PassReal returns a JPEG.

Try it: https://passreal.com/app (three images free)
