Interactive TUI for writing IPTC/XMP provenance metadata to AI-generated images.
Writes machine-readable XMP fields — including the IPTC DigitalSourceType value for generative AI media — directly into a source image (PNG, JPEG, TIFF; also WebP and AVIF/HEIF when used as source). Can support AI-image disclosure workflows, including EU AI Act Art. 50 transparency obligations.
Install
```bash
npx @mkorun/aiprov my-image.png
```
Requires ExifTool installed on your system.
Fields written
- `XMP-dc:Creator`, `XMP-xmp:CreateDate`, `XMP-dc:Description`, `XMP-dc:Subject`
- `XMP-iptcExt:DigitalSourceType` (`trainedAlgorithmicMedia`)
- `XMP-photoshop:Credit`
- Custom-namespace fields: `aiTool`, `destination`, `aiPrompt`
See the README for configuration and full field reference.