koishijs / novelai-bot

Generate images by NovelAI | 基于 NovelAI 的画图机器人
https://bot.novelai.dev
MIT License
2.49k stars 204 forks source link

Bug: 关于配置页面sd的api地址404 #191

Closed ShanShuWu closed 1 year ago

ShanShuWu commented 1 year ago

Describe the bug

配置页面输入的格式为https://xxx.xxxx.xxx:端口/,浏览器可以通过该地址使用webui,但是向机器人发出绘图请求会返回404,请问api地址为什么样子最合适?

Steps to reproduce

配置页面输入的格式为https://xxx.xxxx.xxx:端口/,浏览器可以通过该地址使用webui,但是向机器人发出绘图请求会返回404

Expected behavior

输入api地址,请求绘图,返回图片

Screenshots

No response

Relevant log output

No response

Launcher

Koishi Desktop

Backend

Stable Diffusion WebUI (AUTOMATIC1111)

Versions

Additional context

No response

MaikoTan commented 1 year ago

it looks like you didn't pass --api as the argument to sd-webui, please check.

MaikoTan commented 1 year ago

By the way, it is hardly get information from your title, please also clarify it.

ShanShuWu commented 1 year ago

好像确实是--api在最近一次更换地址时出了问题,正在检查,感谢