fix(i18n): 同步 dashscope-image-gen 和 xiaomi-tts 的 zh-CN body 内容与本地一致

This commit is contained in:
2026-05-13 19:00:21 +08:00
parent 78728e61ed
commit 58d1c6bd24
4 changed files with 10 additions and 10 deletions

View File

@@ -38,15 +38,15 @@ metadata:
description: >-
当用户希望使用阿里云 DashScope 的通义万相系列模型生成图片时使用此技能。支持多种模型层级wan2.7-image-pro / wan2.7-image的文生图通过 OpenAI 兼容的 chat/completions API 同步生成图片。用户提到 生成图片、画图、文生图、创建图片、AI 绘画、生成插图、画一张、帮我画、设计图片、通义万相、万相、阿里云画图、dashscope 画图。
body: ./SKILL.zh-CN.md
source_hash: sha256:d24415cd18ebf5d2
source_hash: sha256:135b99cdd33441fb
translated_by: human
en-US:
name: DashScope Image Generation
short_desc: Text-to-image generation using Alibaba Cloud Wan (通义万相) models
description: "Use this skill when the user wants to generate images using Alibaba Cloud DashScope's Wan (通义万相) series models. Supports text-to-image with multiple model tiers (wan2.7-image-pro, wan2.7-image) via the OpenAI-compatible chat/completions API. Trigger keywords: generate image, draw, text-to-image, create image, AI painting, illustration, design picture, Wan, Tongyi Wanxiang, DashScope."
body: ./SKILL.md
source_hash: sha256:d24415cd18ebf5d2
translated_by: human
source_hash: sha256:d24415cd18ebf5d2-stale
translated_by: ai:needs-refresh
market:
icon: >-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0

View File

@@ -5,7 +5,7 @@
## 强制规则(违反将导致功能失败)
1. **必须用 HTTPS 访问 agent-service**`https://127.0.0.1:${PORT}``-k` 跳过证书验证
2. **必须通过 `/api/media/upload` 上传到 media-store**/tmp 仅作下载/解码中转,不可直接以本地路径作为最终输出
2. **必须通过 `/api/media/upload` 上传到 media-store**禁止保存到本地路径
3. **必须使用 `dc-media://` 协议展示图片** — 唯一能让前端正确渲染的方式
4. **全程使用 Bash curl** — 不要使用 HttpRequest 工具或 Python
5. **使用 compatible-mode/chat/completions** — 同步调用,响应直接包含图片 URL
@@ -19,7 +19,7 @@
**默认规则**:用户未指定模型时,使用 `wan2.7-image`
## 完整执行流程(严格按此步执行)
## 完整执行流程(严格按此步执行)
### 前置条件

View File

@@ -39,15 +39,15 @@ metadata:
description: >-
当用户希望使用小米 MiMo 的 TTS 模型mimo-v2.5-tts将文本转为语音时使用此技能。基于 OpenAI 兼容的 chat/completions API响应中携带音频。支持多种预置音色和自定义音色设计。用户提到 语音合成、文字转语音、TTS、朗读、读出来、生成语音、生成音频、文本转音频、配音、念出来、小米语音、MiMo 语音、小米 TTS。
body: ./SKILL.zh-CN.md
source_hash: sha256:2dd06b13152349e5
source_hash: sha256:afa1138c9b2cbd20
translated_by: human
en-US:
name: Xiaomi MiMo TTS
short_desc: Text-to-speech synthesis using Xiaomi MiMo models
description: "Use this skill when the user wants to convert text to speech using Xiaomi MiMo's TTS models (mimo-v2.5-tts). Built on the OpenAI-compatible chat/completions API with audio response, supporting multiple preset voices and custom voice design. Trigger keywords: text-to-speech, TTS, read aloud, narrate, generate audio, voice synthesis, MiMo voice, Xiaomi TTS."
body: ./SKILL.md
source_hash: sha256:2dd06b13152349e5
translated_by: human
source_hash: sha256:2dd06b13152349e5-stale
translated_by: ai:needs-refresh
market:
icon: >-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0

View File

@@ -5,7 +5,7 @@
## 强制规则(违反将导致功能失败)
1. **必须用 HTTPS 访问 agent-service**`https://127.0.0.1:${PORT}``-k` 跳过证书验证
2. **必须通过 `/api/media/upload` 上传到 media-store**/tmp 仅作下载/解码中转,不可直接以本地路径作为最终输出
2. **必须通过 `/api/media/upload` 上传到 media-store**禁止保存到本地路径
3. **必须使用 `dc-media://` 协议展示音频** — 唯一能让前端正确渲染的方式
4. **全程使用 Bash curl** — 不要使用 HttpRequest 工具或 Python
5. **使用 /chat/completions 端点** — 小米 MiMo TTS 使用 OpenAI 兼容格式
@@ -170,7 +170,7 @@ curl -sk -X POST "https://127.0.0.1:${PORT}/api/media/upload" \
| 成熟男声 | voice: "Baihua" |
| 英文女声 | voice: "Mia" 或 "Chloe" |
| 英文男声 | voice: "Milo" 或 "Dean" |
| 高音质/无损 | audio.format: "wav" |
| 高音质/无损 | response_format: "wav" |
## 错误处理