Made a quick script so you can highlight words in the kindle UI which passes it through to stable diffusion and returns an image for the text that you have highlighted.
Not sure it is of any real use, and somewhat defeats the object of reading a book, but its pretty fun non-the-less.
At the moment it is just an addon for an unrelated project I was working on, but I can separate it off if people want a copy. Note that this still needs stable diffusion to be running on your pc - it isn't doing the generation on the kindle itself obviously
https://youtu.be/qK3bTm-ZN_Q