Teach the generator via an in-class markup of the output. Challenge the students to out-produce the AI.
There are testing systems that already use AI to grade essays via a first pass score before passing over to a human grader (who might be overworked). Better to open discuss the AI grader and how it works than act shocked that smart students will game the system.