songquanpeng / one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
https://openai.justsong.cn/
MIT License
16.06k stars 3.73k forks source link

无法用阿里的 stable-diffusion-xl wanx-v1 在 open-webui 里生成图片 #1467

Closed mlkt closed 1 month ago

mlkt commented 1 month ago

例行检查

这样配置不对吗? image image 会显示找不到模型

如果用"stable-diffusion-xl"的名字,然后我自己在渠道里加上 stable-diffusion-xl image image image 会显示不支持这个图像大小

如果用 wanx-v1,会报这个错 image image

mo2g commented 1 month ago

已提交 PR,等待更新即可

mlkt commented 1 month ago

话说最好不要又搞个映射吧

我刚刚自己修复了一下,另外也修复了无法返回 b64_json 格式导致 open-webui 无法识别的问题,建议用我这个 https://github.com/songquanpeng/one-api/pull/1470