The first case is clear. The works are created by you, and the involvement of a tool of your own making has no effect on copyright. If you make a line-art generator program and print out 10 million sheets of paper filled with random scribbles, they are all copyrighted works by you, just not very interesting ones.<p>The second case depends entirely on how you license the generator program. If you sell the generator and don&#x27;t make an explicit claim over produced works, they are the copyright of the person who clicked the button. The act of creation doesn&#x27;t have to be more complicated than that (after all taking a photo also involves just clicking a button).