mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-06-06 05:50:41 +08:00
fix(i18n): sync dashscope-image-gen & xiaomi-tts zh-CN body with local (#13)
## Summary - 用本地 `defaults/global-skills/` 中的最新中文 body 内容更新远程 `SKILL.zh-CN.md` - 更新 zh-CN `source_hash` 以反映最新内容 - 解锁 en-US `translated_by`,允许 CI 自动重新翻译英文 body ## 变更文件 - `skills/dashscope-image-gen/SKILL.zh-CN.md` — 中文 body 同步至本地最新版本 - `skills/dashscope-image-gen/SKILL.md` — 更新 source_hash + 解锁 en-US - `skills/xiaomi-tts/SKILL.zh-CN.md` — 中文 body 同步至本地最新版本 - `skills/xiaomi-tts/SKILL.md` — 更新 source_hash + 解锁 en-US
This commit is contained in:
@@ -38,14 +38,14 @@ 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
|
||||
source_hash: sha256:135b99cdd33441fb
|
||||
translated_by: human
|
||||
market:
|
||||
icon: >-
|
||||
|
||||
@@ -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`。
|
||||
|
||||
## 完整执行流程(严格按此三步执行)
|
||||
## 完整执行流程(严格按此两步执行)
|
||||
|
||||
### 前置条件
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ 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
|
||||
source_hash: sha256:afa1138c9b2cbd20
|
||||
translated_by: human
|
||||
market:
|
||||
icon: >-
|
||||
|
||||
@@ -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" |
|
||||
|
||||
## 错误处理
|
||||
|
||||
|
||||
Reference in New Issue
Block a user