It completely depends on the Subreddit. Some Subreddits that have banned AI content will give you a slap on the wrist - others will ban you completely. When in doubt, check the rules of the Subreddit (especially if it is a larger one) before posting AI generated content.