sdwebuiapi icon indicating copy to clipboard operation
sdwebuiapi copied to clipboard

Python API client for AUTOMATIC1111/stable-diffusion-webui

Results 71 sdwebuiapi issues
Sort by recently updated
recently updated
newest added

How to perform checkpoint unload with webuiapi? In GUI we can go Setting> Action > unload SD checkpoint. [API](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/22bcc7be428c94e9408f589966c2040187245d81/modules/api/api.py#L197-L198)

usually we operate in web ui it only taks about 10 seconds to generate a pic, but while using api it takes about 6x times to generate the pic. any...

image0 = Image.open("C:\city.pang") unit1 = webuiapi.ControlNetUnit(input_image=image0, module='canny', model='control_canny-fp16 [e3fe7712]') But it shows an error TypeError: Object of type PngImageFile is not JSON serializable How to get the right input image...

The following is the code I'm using, where "a.png" is the original image and "b.png" is the image where I've applied a black mask over a white filled area. However,...

class ControlNetUnit: def __init__( self, input_image: Image = None, mask: Image = None, .... ) How to generate mask image and use the mask image as the ControlNetUnit class parameter?...

Hello, I would like to address an issue related to the usage of set_options in a multi-user environment. As my API is being used by multiple individuals simultaneously, I have...

![image](https://github.com/mix1009/sdwebuiapi/assets/112933427/b9895f5e-99b5-4c48-8a70-67e6fd94b69f)

When using it on GPU with 24GB RAM, and trying to set the batch_size to be bigger than 1, it returns error. (Whereas, Though in the Automatic UI it works...

Does the deform plugin have an API that can be called