From 0a030c35a7ea93f28523df4b0f40c732c1e96bd6 Mon Sep 17 00:00:00 2001 From: ATRI Date: Tue, 28 Apr 2026 21:32:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=20=E9=9A=90=E8=97=8F=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8IP=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI My Dear Moments/skills/atri_long_text_output.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ATRI My Dear Moments/skills/atri_long_text_output.md b/ATRI My Dear Moments/skills/atri_long_text_output.md index c663b9d..57ef35a 100644 --- a/ATRI My Dear Moments/skills/atri_long_text_output.md +++ b/ATRI My Dear Moments/skills/atri_long_text_output.md @@ -30,7 +30,7 @@ description: 优化长文本和Markdown内容的输出方式。超过200字的 | 依赖 | 说明 | |:---|:---| -| **T2I服务** | `http://160.202.254.170:8999` 本地部署 | +| **T2I服务** | `http://服务器IP:8999` 本地部署 | | **send_message_to_user** | 发送QQ消息/图片 | ## 📋 Procedure @@ -65,7 +65,7 @@ html_content = f""" """ # 2. 调用T2I API -curl -X POST "http://160.202.254.170:8999/text2img/generate" \\ +curl -X POST "http://服务器IP:8999/text2img/generate" \\ -H "Content-Type: application/json" \\ -d '{ "html": "html_content", @@ -79,7 +79,7 @@ curl -X POST "http://160.202.254.170:8999/text2img/generate" \\ # 3. 获取图片URL并发送 # 返回格式: {"code":0,"data":{"id":"data/xxx.png"}} -# 完整URL: http://160.202.254.170:8999/data/xxx.png +# 完整URL: http://服务器IP:8999/data/xxx.png ``` ### Step 3: MD→HTML转换规则 @@ -100,7 +100,7 @@ curl -X POST "http://160.202.254.170:8999/text2img/generate" \\ send_message_to_user(messages=[{ "type": "image", "path": "", # 本地路径 - "url": "http://160.202.254.170:8999/data/xxx.png" # T2I返回的URL + "url": "http://服务器IP:8999/data/xxx.png" # T2I返回的URL }]) ```