There was a study from the US copyright office that found a single jurisdiction where the output of an AI prompt is copyrightable: China.

Everywhere else in the world is in various shades of "No, unless a human modified it"

https://www.copyright.gov/ai/Copyright-and-Artificial-Intell...