You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multidiffusion (panorama pipeline) is missing segmentation inputs? #9802
I'm looking at the multidiffusion panorama pipeline page (https://huggingface.co/docs/diffusers/en/api/pipelines/panorama). It looks like there is no way to specify the segmentation and associated prompts as in the original paper https://multidiffusion.github.io/ . If the code only has the panorama capability and not the region based generation using segmentation and prompts, then it should be extended to include the regional generation... If it does have region based generation then the documentation should be updated to show how to use it!
Thanks for bringing this up. When multi-diffusion was added to the library it didn't likely offer the region-based control so, it wasn't added. Currently, we don't have the bandwidth to take this up. But if you want to contribute this feature, we're happy to guide you.
Could be the masked version doesn't work that great with region based control masks. One paper that does some comparisons of a few techniques with very explicit masks (instead of regions) https://arxiv.org/pdf/2406.04032
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Hey, I recently took a look into this and I put together a Modular Diffusers implementation of regional MultiDiffusion. It uses Stable Diffusion 1.5 with DDIM and supports one prompt per binary mask, a background prompt for uncovered areas, and optional bootstrapping from the paper.
The README includes a two-region example that I verified locally with Diffusers 0.43.0. Here’s another 512 × 512 run showing the input masks alongside the generated image.
I came across this issue while exploring Modular Diffusers and the Diffusers MVP program. @sayakpaul, do you think regional MultiDiffusion would be a good fit for the program? I’d be happy to open a PR for the modular workflow if it fits the scope you have in mind.
For the MVP program, we're more interested in issues / features that are critical and affect the library more. I am sure we will find those opportunities.
For the MVP program, we're more interested in issues / features that are critical and affect the library more. I am sure we will find those opportunities.
Thanks for the feedback! I will take a look, I'm looking forward to contributing with diffusers.
Activity
jloveric commentedon Oct 29, 2024
It looks like it needs to be a change to the controlnet pipeline (or a new one) https://github.com/omerbt/MultiDiffusion/blob/master/pipeline_controlnet.py
sayakpaul commentedon Nov 1, 2024
Thanks for bringing this up. When multi-diffusion was added to the library it didn't likely offer the region-based control so, it wasn't added. Currently, we don't have the bandwidth to take this up. But if you want to contribute this feature, we're happy to guide you.
jloveric commentedon Nov 1, 2024
Could be the masked version doesn't work that great with region based control masks. One paper that does some comparisons of a few techniques with very explicit masks (instead of regions) https://arxiv.org/pdf/2406.04032
github-actions commentedon Nov 29, 2024
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
github-actions commentedon Dec 24, 2024
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
TomasGuija commentedon Dec 1, 2026
Hey, I recently took a look into this and I put together a Modular Diffusers implementation of regional MultiDiffusion. It uses Stable Diffusion 1.5 with DDIM and supports one prompt per binary mask, a background prompt for uncovered areas, and optional bootstrapping from the paper.
The README includes a two-region example that I verified locally with Diffusers 0.43.0. Here’s another 512 × 512 run showing the input masks alongside the generated image.
I came across this issue while exploring Modular Diffusers and the Diffusers MVP program. @sayakpaul, do you think regional MultiDiffusion would be a good fit for the program? I’d be happy to open a PR for the modular workflow if it fits the scope you have in mind.
sayakpaul commentedon Dec 3, 2026
Nice work and thanks for sharing it!
For the MVP program, we're more interested in issues / features that are critical and affect the library more. I am sure we will find those opportunities.
TomasGuija commentedon Dec 3, 2026
Thanks for the feedback! I will take a look, I'm looking forward to contributing with diffusers.