-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary This PR adds support for regional prompting with FLUX. ### Example 1 Global prompt: `An architecture rendering of the reception area of a corporate office with modern decor.` <img width="1386" alt="image" src="https://github.com/user-attachments/assets/c8169bdb-49a9-44bc-bd9e-58d98e09094b">  ## QA Instructions - [x] Test that there is no slowdown in the base case with a single global prompt. - [x] Test image fully covered by regional masks. - [x] Test image covered by region masks with small gaps. - [x] Test region masks with large unmasked ‘background’ regions - [x] Test region masks with significant overlap - [x] Test multiple global prompts. - [x] Test no global prompt. - [x] Test regional negative prompts (It runs... but results are not great. Needs more tuning to be useful.) - Test compatibility with: - [x] ControlNet - [x] LoRA - [x] IP-Adapter ## Remaining TODO - [x] Disable the following UI features for FLUX prompt regions: negative prompts, reference images, auto-negative. ## Checklist - [x] _The PR has a short but descriptive title, suitable for a changelog_ - [x] _Tests added / updated (if applicable)_ - [x] _Documentation added / updated (if applicable)_ - [ ] _Updated `What's New` copy (if doing a release after this PR)_
- Loading branch information
Showing
25 changed files
with
1,105 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.