diff --git a/docs/en/others/self-host-t2i.md b/docs/en/others/self-host-t2i.md index 85638c657..26cd33e87 100644 --- a/docs/en/others/self-host-t2i.md +++ b/docs/en/others/self-host-t2i.md @@ -18,11 +18,8 @@ You can choose to self-host the text-to-image service to improve response speed. docker run -itd -p 8999:8999 soulter/astrbot-t2i-service:latest ``` -After deployment, go to AstrBot Dashboard -> Config -> System, and change `Text-to-Image Service API Endpoint` to the URL you deployed (as shown below). +After deployment, go to AstrBot Dashboard -> Settings -> Appearance. Under "Text-to-Image," set `Text-to-Image Strategy` to `remote`. The `Text-to-Image Service API Endpoint` field will then appear; set it to the URL of your deployed service. > If you deployed AstrBot using the Docker tutorial in this documentation, the URL should be `http://:8999`. > If you deployed on the same machine as AstrBot, the URL should be `http://localhost:8999`. - -image - diff --git a/docs/zh/others/self-host-t2i.md b/docs/zh/others/self-host-t2i.md index cb18acf1c..e98f2d301 100644 --- a/docs/zh/others/self-host-t2i.md +++ b/docs/zh/others/self-host-t2i.md @@ -18,10 +18,8 @@ https://t2i.rcfortress.site/text2img docker run -itd -p 8999:8999 soulter/astrbot-t2i-service:latest ``` -在部署完成后,前往 AstrBot 仪表盘 -> 配置文件 -> 系统,修改 `文本转图像服务 API 地址` 为你部署好的 url(如下图所示) +部署完成后,前往 AstrBot 仪表盘 -> 设置 -> 外观。在“文本转图像”中,将 `文本转图像策略` 设为 `remote`;随后会显示 `文本转图像服务 API 地址`,将其修改为你部署好的 URL。 ->如果你是使用本文档的 Docker教程 部署的 AstrBot ,url应为 `http://文转图服务容器名:8999`。 +> 如果你是使用本文档的 Docker 教程部署的 AstrBot,URL 应为 `http://文转图服务容器名:8999`。 ->如果部署在与 AstrBot 相同的机器上,url 应为 `http://localhost:8999`。 - -image +> 如果部署在与 AstrBot 相同的机器上,URL 应为 `http://localhost:8999`。