Refine Generated Images with additional models
The technique is simple here, we load up two models to use, one as a base, then use that with the second refinement model like below.
Load in our required libraries:
Image Generation
Start by initializing both of our models, using the first to generate the image, and the second to pass the prompt and the generated image to for additional refinement, and use it's output as out result.