Generate AI artistic images

Hey Guys. How Can I combine The Result Of GPT-4 output and leonardo.ai images to generate ai images ?