sdwebuiapi icon indicating copy to clipboard operation
sdwebuiapi copied to clipboard

Different defaults in webuiapi and the sd-webui interface

Open allo- opened this issue 10 months ago • 0 comments

The sd-webui API uses different defaults than the webinterface in some places. Since sdwebuiapi seems to have copied the API defaults into default parameters, it should probably be changed when something is changed in the APIs of the other projects.

I have created the following two bugs for the webui and the controlnet extension for different and surprising defaults in the API: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15435 https://github.com/Mikubill/sd-webui-controlnet/issues/2732

If something changes in those projects, it would be good to add it here as well. In particular:

  • The inpaint_fill parameter in the API and sdwebuiapi defaults to "fill" (0) and in the webinterface to "original" (1).
  • The threshold_a and threshold_b parameters of controlnets default to 64. They are not (for all controlnets) visible in the webinterface, but seem not to be initialized to 64 for some controlnets, e.g. the tile controlnet.

allo- avatar Apr 03 '24 17:04 allo-