is the AI the artist?

If you feed a prompt into an AI image generating system such as Midjourney, who is the artist? Most people seem to want to give the credit to the AI, but, depending on how you go about it, I believe that the Prompter can claim to be the artist