Good link in the post https://commons.wikimedia.org/wiki/Commons:AI-generated_medi... happy but not surprised that Wikimedia Commons has a good approach and I lovely template name as part of it: PD-algorithm