The use of AI in creating photos can potentially lead to copyright violations. Two recent lawsuits argue that AI image generators like Midjourney and Stable Diffusion are infringing on artists' rights by generating copied works without consent. The US Copyright Office has ruled that AI-generated photos and text cannot receive copyrights, as copyright law only permits limited protection for computer-generated works. However, there are still many legal questions surrounding AI-generated content and copyright law, and it is unclear how courts will rule on these issues in the future. In the meantime, it is important for creators and users of AI-generated content to be aware of the potential risks of copyright violations and to take steps to protect their intellectual property rights.

Also worth reading: What percentage of websites are sued for copyright violations every year and how can I protect my own website from such legal issues? · "Who has the copyright to photos taken by a photographer: the photographer or the client?" · Is it legal to sell digital stickers based on photos with no copyright protection online?