stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Incorrect API operation with Hires. fix

Open EvgenyDanov opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I am trying to generate an image using the API and this payload, I am not getting low quality images payload = { "prompt":prompt+",(Masterpiece:1.1), detailed", "steps": 30, "cfg_scale": 7, "width": 720, "height": 720, "sampler_name": "Euler a", "restore_faces": False, "negative_prompt": "low quality,(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation" } photo_2023-04-18_02-33-47

I think the problem is in the Hires. fix because when I open this image in png info and then send it to txt2img, the Hires. fix is enabled, although it should be disabled by default, if you disable it and generate an image, then it is of good quality image image

Steps to reproduce the problem

  1. connect the API
  2. Generate an image

What should have happened?

The image had to be of good quality

Commit where the problem happens

https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/a9eab236d7e8afa4d6205127904a385b2c43bb24

What platforms do you use to access the UI ?

Other/Cloud

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

!python /content/gdrive/$mainpth/sd/stable-diffusion-webui/webui.py $share --api --disable-safe-unpickle --enable-insecure-extension-access --no-download-sd-model --no-half-vae --opt-sdp-attention $auth --disable-console-progressbars

List of extensions

image

Console logs

There are no errors in the console

Additional information

No response

EvgenyDanov avatar Apr 18 '23 00:04 EvgenyDanov