(Windows users would swap out the single-straight quotes ' for double-straight quotes ")
I'll need to see if it is possible to script Photoshop or Bridge to add such metadata...
Of course, this depends on machine learning companies to support and honour such metadata entries excluding them from training their services on your data (yeah, I know).
This example Photoshop script will clear and add the AI/ML data mining "prohibited" metadata entry to an open document.
/*
Add PLUS Generative AI-ML Metadata to Open Doc.jsx
v1.0 - 19th August 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-ideas/add-support-for-iptc-plus-coalition-generative-ai-ml-training-metadata/idi-p/14808232
https://ns.useplus.org/LDF/ldf-XMPSpecification#DataMining
Example Controlled Vocabulary Entries:
https://ns.useplus.org/ldf/vocab/DMI-UNSPECIFIED
https://ns.useplus.org/ldf/vocab/DMI-ALLOWED
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-AIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-GENAIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-EXCEPTSEARCHENGINEINDEXING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED
*/
#target photoshop
if (app.documents.length) {
var contVocabEntry = "https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED";
if (ExternalObject.AdobeXMPScript === undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
var xmp = new XMPMeta(activeDocument.xmpMetadata.rawData);
xmp.deleteProperty("http://ns.useplus.org/ldf/xmp/1.0/", "DataMining");
xmp.setProperty("http://ns.useplus.org/ldf/xmp/1.0/", "DataMining", contVocabEntry);
app.activeDocument.xmpMetadata.rawData = xmp.serialize();
} else {
alert("A document must be open to run this script!");
}
Here it is for selected files in Bridge:
/*
Add PLUS Generative AI-ML Metadata from Bridge Tools.jsx
v1.0 - 19th August 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-ideas/add-support-for-iptc-plus-coalition-generative-ai-ml-training-metadata/idi-p/14808232
https://ns.useplus.org/LDF/ldf-XMPSpecification#DataMining
Example Controlled Vocabulary Entries:
https://ns.useplus.org/ldf/vocab/DMI-UNSPECIFIED
https://ns.useplus.org/ldf/vocab/DMI-ALLOWED
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-AIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-GENAIMLTRAINING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED-EXCEPTSEARCHENGINEINDEXING
https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED
*/
#target bridge
addAIMLmeta = {};
addAIMLmeta.execute = function () {
var contVocabEntry = "https://ns.useplus.org/ldf/vocab/DMI-PROHIBITED";
var sels = app.document.selections;
for (var i = 0; i < sels.length; i++) {
var md = sels[i].synchronousMetadata;
// Clear the metadata before writing?
md.namespace = "http://ns.useplus.org/ldf/xmp/1.0/";
md.DataMining = contVocabEntry;
}
}
if (BridgeTalk.appName == "bridge") {
var menu = MenuElement.create("command", "Add PLUS Generative AI-ML Metadata", "at the end of Tools");
menu.onSelect = addAIMLmeta.execute;
}