From db42b539a05019de8fac960ab7e2a968382b5030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A2=9C?= <162813557+th-dd@users.noreply.github.com> Date: Tue, 23 Dec 2025 00:13:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E6=96=87=E8=BD=AC=E5=9B=BE=E6=9C=8D=E5=8A=A1=E7=9A=84?= =?UTF-8?q?=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原文已经过时,且部分信息不准确 --- zh/others/self-host-t2i.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zh/others/self-host-t2i.md b/zh/others/self-host-t2i.md index 8ddd4b4..cb18acf 100644 --- a/zh/others/self-host-t2i.md +++ b/zh/others/self-host-t2i.md @@ -18,6 +18,10 @@ https://t2i.rcfortress.site/text2img docker run -itd -p 8999:8999 soulter/astrbot-t2i-service:latest ``` -在部署完成后,前往 AstrBot 面板 -> 配置 -> 其他配置,修改`文本转图像服务接口` 为你部署好的 url。 +在部署完成后,前往 AstrBot 仪表盘 -> 配置文件 -> 系统,修改 `文本转图像服务 API 地址` 为你部署好的 url(如下图所示) -> 如果部署在与 AstrBot 相同的机器上,url 应该为 `http://localhost:8999`。 +>如果你是使用本文档的 Docker教程 部署的 AstrBot ,url应为 `http://文转图服务容器名:8999`。 + +>如果部署在与 AstrBot 相同的机器上,url 应为 `http://localhost:8999`。 + +image From b6cc4d87b07751c2e1a375e33c307c4a8f08da1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B9=E5=8F=B7=E5=A4=A7=E5=B8=9D?= <162813557+th-dd@users.noreply.github.com> Date: Fri, 26 Dec 2025 18:49:55 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E7=9A=84=E9=83=A8=E7=BD=B2=E6=96=87=E8=BD=AC=E5=9B=BE?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/others/self-host-t2i.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/en/others/self-host-t2i.md b/en/others/self-host-t2i.md index 8ddd4b4..85638c6 100644 --- a/en/others/self-host-t2i.md +++ b/en/others/self-host-t2i.md @@ -1,23 +1,28 @@ -# 自行部署文转图服务 +# Self-host the Text-to-Image Service -AstrBot 使用 [AstrBotDevs/astrbot-t2i-service](https://github.com/AstrBotDevs/astrbot-t2i-service) 项目作为默认的文本转图像服务。默认使用的文转图服务接口是 +AstrBot uses [AstrBotDevs/astrbot-t2i-service](https://github.com/AstrBotDevs/astrbot-t2i-service) as the default text-to-image service. The default service endpoints are: ```plain https://t2i.soulter.top/text2img https://t2i.rcfortress.site/text2img ``` -此接口能够保障大部分时间正常响应。但是由于部署在国外的(纽约)服务器,因此响应速度可能会比较慢。 +This interface can ensure normal response for most of the time. However, due to the deployment of servers in New York, the response speed may be slower in some areas. > [!TIP] -> 欢迎通过 [爱发电](https://afdian.com/a/astrbot_team) 支持我们,以帮助我们支付服务器费用。 +> If you'd like to support us to help pay for server costs, please consider supporting us on [Afdian](https://afdian.com/a/astrbot_team). -您可以选择自行部署文转图服务,以提升响应速度。 +You can choose to self-host the text-to-image service to improve response speed. ```bash docker run -itd -p 8999:8999 soulter/astrbot-t2i-service:latest ``` -在部署完成后,前往 AstrBot 面板 -> 配置 -> 其他配置,修改`文本转图像服务接口` 为你部署好的 url。 +After deployment, go to AstrBot Dashboard -> Config -> System, and change `Text-to-Image Service API Endpoint` to the URL you deployed (as shown below). + +> 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 -> 如果部署在与 AstrBot 相同的机器上,url 应该为 `http://localhost:8999`。