How ChatGPT Transforms into Generative Art