H-Space similarity explorer

This is a simple tool to explore the similarity between the representations of different concepts at different spatial positions in the h-space of diffusion models. The h-space is the output of the midblock of the diffusion unet, however, you can also explore the output from other positions in the unet. If you want to try this for your own prompts, check out the source code here.

Model:
Position:
Similarity measure:

All displayed similarities are relative to the currently hovered, or last clicked, tile.