If you can prove that everything used in the AI model to generate the image was owned by you, it might be legal to use. But proving so is hard. Also, if you bought it from Deviantart, :blob_no:.
Here's some excerpt from an article talking about the steam game that was banned temporarily for...