Regulalia

Mark an image as AI-generated in its metadata

How it works

  1. Drop or choose a JPG or PNG image.
  2. Say whether AI generated all of it or whether it combines real content with generated elements.
  3. We write the field into the file’s XMP packet, read it back to confirm, and give you the marked copy to download.

What it checks

  1. Writes "Iptc4xmpExt:DigitalSourceType" with the IPTC code: "trainedAlgorithmicMedia" or "compositeWithTrainedAlgorithmicMedia".
  2. Keeps the other XMP and EXIF metadata and the pixels as they are: the image is not recompressed.
  3. Confirms the result by reading the file again before you download it.
  4. Warns you if the image already has Content Credentials, because any change to the file breaks their signature.

What it cannot tell you

  1. It is metadata, not a signed C2PA credential: anyone can edit or remove it, and many platforms strip metadata on upload.
  2. It does not replace the visible label that Article 50 of the AI Act requires from whoever publishes a deepfake.
  3. Article 50’s machine-readable marking is a duty of the AI system’s provider and calls for robust techniques such as watermarks and signed metadata. This tool is a transparency step for whoever publishes the content, not a provider solution.

Frequently asked questions

How do I mark an image as AI-generated?

The standard way is to write the IPTC "DigitalSourceType" field into its XMP metadata with the value "trainedAlgorithmicMedia". This tool does it for you on JPG and PNG files without touching the pixels. If you also publish it as a deepfake, add a visible label.

What do "trainedAlgorithmicMedia" and "compositeWithTrainedAlgorithmicMedia" mean?

They are codes from IPTC’s digital source type vocabulary. The first says a trained AI model created the image. The second says it is a composite that includes AI-generated elements, such as a photo with a generated background.

Does this make me compliant with Article 50 of the AI Act?

Not entirely. If you publish a deepfake, Article 50 asks you for a visible label, which the label generator gives you. Machine-readable marking falls on the provider of the AI tool, who must use robust techniques. This metadata is a complementary transparency step.

Will Instagram or Facebook show the AI label?

Meta reads IPTC metadata and Content Credentials to decide whether to show its AI label, but it does not guarantee it, and the metadata can be lost if the image is edited or exported before upload.

Does it change the image quality?

No. Only the XMP metadata block is added or updated; the image data is copied byte for byte, without recompression.

How is this different from Content Credentials?

Content Credentials (C2PA) are a digitally signed manifest: if someone changes the file, the signature stops validating. This metadata is not signed, so it is easier to add and also easier to alter.

More tools