From 30f68162e6a68435282a6b79531173e1d9e10a92 Mon Sep 17 00:00:00 2001 From: clown145 Date: Mon, 16 Mar 2026 02:13:34 +0800 Subject: [PATCH] =?UTF-8?q?docs(readme):=20=E4=BC=98=E5=8C=96=20T2I=20?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=AF=B4=E6=98=8E=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8A=98=E5=8F=A0=E5=8F=8A=20AstrBot=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=20(#113)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2af3017..3ac5b2b 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,22 @@ _✨ 一个基于 AstrBot 的智能群聊分析插件,支持 **QQ (OneBot)** > [!TIP] -> 如果无法正常生成图片,日志出现 `Endpoint https://t2i.soulter.top/text2img failed`、`Endpoint https://t2i.rcfortress.site/text2img failed` 这种情况,或者回退到文本发送总结,,可以考虑自部署 T2I 服务 -> 如果觉得麻烦,或者嫌自部署占用太多不必要的资源,国外机可以使用 [@clown145 友情提供的 hf 羊毛 T2I 服务](https://clown145-astrbot-t2i-service.hf.space),国内机可以使用 [@clown145 友情提供](http://t2i.ciallo.de5.net) +> 如果生成图片失败,日志显示 `Endpoint https://t2i.soulter.top/text2img failed`、`Endpoint https://t2i.rcfortress.site/text2img failed` 这种情况并回退到文本总结,可考虑自部署 T2I 服务。 +> +>
+> 若不便自部署,可尝试使用以下 T2I 服务(点击展开): +> +> - **Hugging Face 服务**: `https://huggingface.co/spaces/clown145/astrbot-t2i-service` +> - **API 接口地址**: `https://clown145-astrbot-t2i-service.hf.space` +> - **说明**: +> 1. **复制空间**:可访问上方空间地址并点击 **Duplicate Space** 复制到自己的账号下使用。 +> 2. **配置填写**:在 **AstrBot 系统配置** 中填入相应的 API 地址(格式通常为 `https://用户名-空间名.hf.space`)。 +> 3. **稳定性**:在一段时间内大概率稳定,但不保证长期有效。 +> 4. **休眠保活**:由于免费空间若长时间(约 48 小时)无人访问会进入休眠。可选择使用保活服务(如 [UptimeRobot](https://uptimerobot.com/))定期访问 API 地址以保持其处于唤醒状态。 +> +> - **国内加速 (CF 代理)**: `http://t2i.ciallo.de5.net` +> - **说明**: 在国内直接访问原始域名下载图片可能较慢,可选择使用此代理域名。在一段时间内大概率稳定。 +>
> > **自部署 T2I 文档**:docs.astrbot.app/others/self-host-t2i.html