"Write a prompt for an AI to make this image. Just return the prompt, don't say anything else. Replace everything with corgi."
Then it takes that new prompt and feeds it to Dall-E to generate a new image. And then it repeats.