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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It 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