DiffEdit
Stable diffusion using Hugging Face — DiffEdit paper implementation
arvix : https://arxiv.org/abs/2210.11427
通常のimage2imageの元画像にキャプションを追加する
キャプションとpromptの見比べて、編集する位置をマスクしてからimg2imgする
https://gyazo.com/f8313d6a5b87c17caf715f98b4a7570f
txt2maskでマスクを作ってinpaintingするのとおそらくほとんど同じ