wooyeolbaek/attention-map-diffusers
đ Cross attention map tools for huggingface/diffusers
This tool helps AI researchers and practitioners understand how large language models interpret text prompts when generating images. It takes a text prompt and an image generation model (like Stable Diffusion 3) as input. It then visually highlights which parts of the input text prompt influence specific regions of the generated image, outputting these as attention maps. This is useful for debugging model behavior or fine-tuning creative outputs.
397 stars. Available on PyPI.
Use this if you need to visualize the internal 'thinking process' of a text-to-image model to see how different words in your prompt contribute to specific elements in the generated image.
Not ideal if you are looking for a simple image generation tool without needing to delve into the underlying model mechanics.
Stars
397
Forks
28
Language
Python
License
MIT
Category
Last pushed
Feb 02, 2026
Commits (30d)
0
Dependencies
7
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/wooyeolbaek/attention-map-diffusers"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related models
siliconflow/onediff
OneDiff: An out-of-the-box acceleration library for diffusion models.
jina-ai/discoart
đĒŠ Create Disco Diffusion artworks in one line
chengzeyi/stable-fast
https://wavespeed.ai/ Best inference performance optimization framework for HuggingFace...
hkproj/pytorch-stable-diffusion
Stable Diffusion implemented from scratch in PyTorch
explainingai-code/StableDiffusion-PyTorch
This repo implements a Stable Diffusion model in PyTorch with all the essential components.