Cross Attention Control is an unofficial Stable Diffusion implementation of Prompt-to-Prompt image editing with cross-attention control. It modifies diffusion-model attention maps during inference so prompt changes can produce more controlled edits. The method is designed to avoid manual masks while requiring no additional training or fine-tuning. The notebooks include examples for editing images generated from the same seed. The project also adds image inversion using a modified inverse DDIM process to recover a latent representation from an existing image. Additional techniques help preserve compatibility with other schedulers and improve inversion at higher classifier-free guidance values.

Features

  • Prompt-to-Prompt image editing
  • Cross-attention map manipulation
  • Mask-free image modifications
  • No additional model training required
  • Existing image inversion
  • Modified inverse DDIM processing

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Cross Attention Control

Cross Attention Control Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Cross Attention Control!

Additional Project Details

Registered

2 days ago