AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
140.67k stars 26.61k forks source link

[Bug]: Stable.Art not works anymore since recent updates of A1111 #15865

Open SeBL4RD opened 4 months ago

SeBL4RD commented 4 months ago

Checklist

What happened?

Hello guys,

Since the recent A1111 updates, this plugin doesn't work anymore, I don't know if the protocol that works with the api has changed recently, but Stable.Art doesn't work since 😦

https://github.com/isekaidev/stable.art/issues/78

I have an old version of Forge that's 2 months old, it still works with it.

What's also strange is that the plugin can visibly access certain data, for example, I can change the model in the field at the very top, the models available are indeed those present in my A1111 webUI. This clearly implies that the plugin is connected. But when I click on "generate", I get an error message: "Error: Request failed with status code 404".

Steps to reproduce the problem

Just use the plugin, and see error just before generation.

What should have happened?

The plugin should generate a layer with an image generated by SD

What browsers do you use to access the UI ?

No response

Sysinfo

sysinfo-2024-05-22-14-28.json

Console logs

venv "F:\Stable Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
[Auto-Photoshop-SD] Attempting auto-update...
[Auto-Photoshop-SD] switch branch to extension branch.
checkout_result: Your branch is up to date with 'origin/master'.

[Auto-Photoshop-SD] Current Branch.
branch_result: * master

[Auto-Photoshop-SD] Fetch upstream.
fetch_result:
[Auto-Photoshop-SD] Pull upstream.
pull_result: Already up to date.
Launching Web UI with arguments: --medvram --xformers --api --port 7861 --ckpt-dir D:\SD\MODELS
python_server_full_path:  F:\Stable Diffusion\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server
no config file: F:\Stable Diffusion\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Prompt-Translator\prompt_translator.cfg
Scan MarianMT model
No MarianMT folder, no need scan
ControlNet preprocessor location: F:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-05-22 16:31:46,460 - ControlNet - INFO - ControlNet v1.1.449
Loading weights [010be7341c] from D:\SD\MODELS\Juggernaut_X_RunDiffusion_Hyper.safetensors
2024-05-22 16:31:47,058 - ControlNet - INFO - ControlNet UI callback registered.
F:\Stable Diffusion\stable-diffusion-webui\modules\gradio_extensons.py:25: GradioDeprecationWarning: `width` is deprecated in `Interface()`, please use it within `launch()` instead.
  res = original_IOComponent_init(self, *args, **kwargs)
Creating model from config: F:\Stable Diffusion\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Running on local URL:  http://127.0.0.1:7861

To create a public link, set `share=True` in `launch()`.
Startup time: 18.5s (prepare environment: 7.6s, import torch: 3.8s, import gradio: 1.1s, setup paths: 0.8s, initialize shared: 0.3s, other imports: 0.6s, load scripts: 1.8s, create ui: 0.8s, gradio launch: 0.8s, add APIs: 0.6s, app_started_callback: 0.3s).
Applying attention optimization: xformers... done.
Model loaded in 6.7s (load weights from disk: 0.9s, create model: 2.1s, apply weights to model: 2.6s, calculate empty prompt: 0.8s).

Additional information

This problem has occurred since the recent A1111 updates. I can't say which one exactly.

w-e-w commented 4 months ago

we have two compatibility PRs pending


actions you can take now

  1. get someone make an update to the API client if possible
  2. only use samplers without the scheduler name the
  3. downgrade to webui 1.8
SeBL4RD commented 4 months ago

we have two compatibility PRs pending

Thank you very much for your reply. I will try to fix this plugin.