Replies: 1 comment 6 replies
-
When receiving control unit configs from the API, the script sees the json objects as python dicts. They are then converted to class instances, which means any extra property should raise an error instead of silently bypassing them. As the models are loading in memory, I assume the dicts are properly passed to the script. This may be caused by default values not being the same. Can you make sure all (non-deprecated) properties are explicitly passed to the API? You can find them here: https://github.com/Mikubill/sd-webui-controlnet/wiki/API#controlnetunitrequest-json-object |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have successfully generated desired images using img2img masked inpainting, with ControlNet canny edge maps through the WebUI.
However when I take the same configs and try to run the generation through the API, I get extremely poor results (low quality / seemingly overfitted inpaints, and not using my custom checkpoint).
I'm not sure why the results don't come out nearly the same as the WebUI, any ideas of where else I can check for discrepancies that could be causing this?
Beta Was this translation helpful? Give feedback.
All reactions