The legal status of AI-generated content is one of the most contested questions in intellectual property law today.
The legal landscape is evolving rapidly — consult a lawyer for commercial use cases.
Reference:
Wikipedia: AI and Copyright
TaskLoco™ — The Sticky Note GOAT