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