Skip to content

Conversation

@Danamir
Copy link
Contributor

@Danamir Danamir commented May 17, 2023

Use alwayson_scripts in payload to submit the img2img or inpaint image to ControlNet 'tile' model. With added controls for ControlNet weight, guidance start, and guidance end, this allow to use a much greater denoising strength when inpainting, and let the tile model handle the image coherency.

To do :

  • Add radio button to select ControlNet mode
  • Add sliders to control CN weight, guidance start, guidance end
  • Alter API payload
  • Remove unwanted returned image by CN API
    • The image can be useful, left as is for now
  • Store settings locally
  • Allow multiple ControlNet modes selected at once (same settings to simplify)
  • Load controlnet modules from API on launch
  • Replace hardcoded tile model name by the correct one from the API
  • Disable ControlNet radio buttons if not found on API side

@Danamir
Copy link
Contributor Author

Danamir commented May 18, 2023

Added tentative support for other ControlNet modules and models. This allow the feature detection, and use of adapted controlnet model.

Associated modules to models :

  • lineart_coarse => lineart
  • pidinet_scribble => scribble
  • openpose_faceonly & openpose_full => openpose

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant