I recently wrote about the impressive capability of sonnet 3.7 to generate a huge amount of content—enough to almost fill an entire book. You could use this book for your own purposes (for self-study, for example) or publish it.
In the latter case, you would probably need an appealing book cover. You could use any AI image generator for this purpose.
However, as you might know, some image generators struggle with text and might produce spelling mistakes, so you would have to iterate several times until all text is correct.
Alternatively, you can use another remarkable feature of Claude, MCP, to let Claude handle the review and iteration completely by itself. In this blog post I will show you how to leverage the Power of Claude Sonnet and MCP to do just that.
And here is how:
- Claude connects to the Flux Image generator on together.ai and describes the target image of the book cover in detail.
- The image is saved on disk.
- It connects to OpenAI Vision with this image and checks certain aspects to see if they match the intended idea.
- The response is fed back to refine the prompt.
After applying this self-feedback loop a couple of times without any intervention, we get something like this:
As you can see, the initial image has many spelling mistakes, but with self-correction based on feedback from the vision capability (we use OpenAI here, but you can use any other model with vision capability, including Claude Sonnet itself).
Top comments (0)