lllyasviel / lllyasviel/ControlNet

Is a "specific canva space" controlnet planned ?

Open
#381 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

I want to push Stable Diffusion utility further, and render pictures out of really specific canvas/ mask size.

Something like this for instance [
![image](https://user-images.githubusercontent.com/116076010/235978545-05abc4f8-9bd5-4c13-925e-d01684d4c215.png)
](url)

![image](https://user-images.githubusercontent.com/116076010/235979126-d90fe674-461e-4d34-b399-b873784a508c.png)

This is just a quick test on photoshop, I know that controlnet segmentation allows some rendering freedom, but you can't really draw anything with it, here is a test:
![image](https://user-images.githubusercontent.com/116076010/235983076-51e7bfc1-e586-412e-996a-2e8340b5abc0.png)

Mask & Segmentation end up with a visually interesting result, but that is unusable within the mask, what I would like is Stable diffusion to paint whatever I've prompted only inside the white part of the mask, for instance here, having a whole egyptian landscape directly inside the shoe
![image](https://user-images.githubusercontent.com/116076010/235984230-08b6a600-0e89-4dae-866c-fe8fe83b3094.png)
Similarly to this quick render that I've masked inside the sneaker in photoshop, although there is no real composition regarding the shape of the mask.

Is there any ways to achieve it ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file, test, or entry point. Start by determining whether ControlNet supports restricting prompted generation to a specific canvas or mask region, then define the required behavior and validation for an implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.