Skip to content

Multidiffusion (panorama pipeline) is missing segmentation inputs? #9802

Open

Description

@jloveric

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!

Activity

  1. jloveric commented on Oct 29, 2024

    @jloveric
    Author

    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

  2. sayakpaul commented on Nov 1, 2024

    @sayakpaul
    Member

    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.

  3. jloveric commented on Nov 1, 2024

    @jloveric
    Author

    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

  4. github-actions commented on Nov 29, 2024

    @github-actions
    Contributor

    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.

  5. added
    stale
    on Nov 29, 2024
  6. removed
    stale
    on Nov 29, 2024
  7. github-actions commented on Dec 24, 2024

    @github-actions
    Contributor

    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.

  8. added
    stale
    on Dec 24, 2024
  9. TomasGuija commented on Dec 1, 2026

    @TomasGuija

    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.

    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.

  10. sayakpaul commented on Dec 3, 2026

    @sayakpaul
    Member

    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.

  11. TomasGuija commented on Dec 3, 2026

    @TomasGuija

    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.

    Thanks for the feedback! I will take a look, I'm looking forward to contributing with diffusers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions