Skip to content

Commit c4defec

Browse files
committed
docs: fix self-hosted t2i setup instructions
1 parent b9e565f commit c4defec

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

docs/en/others/self-host-t2i.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ You can choose to self-host the text-to-image service to improve response speed.
1818
docker run -itd -p 8999:8999 soulter/astrbot-t2i-service:latest
1919
```
2020

21-
After deployment, go to AstrBot Dashboard -> Config -> System, and change `Text-to-Image Service API Endpoint` to the URL you deployed (as shown below).
21+
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.
2222

2323
> If you deployed AstrBot using the Docker tutorial in this documentation, the URL should be `http://<t2i-service-container-name>:8999`.
2424
2525
> If you deployed on the same machine as AstrBot, the URL should be `http://localhost:8999`.
26-
27-
<img width="589" height="255" alt="image" src="https://github.com/user-attachments/assets/5ef09db2-1a33-440c-9986-c7b544325e34" />
28-

docs/zh/others/self-host-t2i.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ https://t2i.rcfortress.site/text2img
1818
docker run -itd -p 8999:8999 soulter/astrbot-t2i-service:latest
1919
```
2020

21-
在部署完成后,前往 AstrBot 仪表盘 -> 配置文件 -> 系统,修改 `文本转图像服务 API 地址` 为你部署好的 url(如下图所示)
21+
部署完成后,前往 AstrBot 仪表盘 -> 设置 -> 外观。在“文本转图像”中,将 `文本转图像策略` 设为 `remote`;随后会显示 `文本转图像服务 API 地址`,将其修改为你部署好的 URL。
2222

23-
>如果你是使用本文档的 Docker教程 部署的 AstrBot ,url应为 `http://文转图服务容器名:8999`
23+
> 如果你是使用本文档的 Docker 教程部署的 AstrBot,URL 应为 `http://文转图服务容器名:8999`
2424
25-
>如果部署在与 AstrBot 相同的机器上,url 应为 `http://localhost:8999`
26-
27-
<img width="591" height="228" alt="image" src="https://github.com/user-attachments/assets/f3564b46-11a4-402a-85e3-5f44a82713fe" />
25+
> 如果部署在与 AstrBot 相同的机器上,URL 应为 `http://localhost:8999`

0 commit comments

Comments
 (0)