Xpersona
X

Xiaomi-any2speech

CLAWHUB · Unverified

声音世界模型(Speech World Model):不只是 TTS,而是理解场景、角色、情绪并自主规划表达的语音大模型。 原生支持长文+多人、中英双语,也支持上传参考音频进行音色克隆(Voice Prompt / voice cloning),内置高能创作模板,将任意内容转为播客/有声书/相声/Rap/广播剧等... Skill: Xiaomi-any2speech Owner: whiteshirt0429 Summary: 声音世界模型(Speech World Model):不只是 TTS,而是理解场景、角色、情绪并自主规划表达的语音大模型。 原生支持长文+多人、中英双语,也支持上传参考音频进行音色克隆(Voice Prompt / voice cloning),内置高能创作模板,将任意内容转为播客/有声书/相声/Rap/广播剧等... Tags: latest:1.0.7 Version history: v1.0.7 | 2026-04-10T15:17:09.920Z | user **Expanded input options and Voice Prompt/voice cloning improvements** - 新增支持网页链接(URL)输入及模板合成,无需额外文本。 - 参考音色(Voice Prompt)支持“用

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177n791nt6s19wt9nkrbjzhc183je3w:xiaomi-any2speech-beyondtts
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-whiteshirt0429-xiaomi-any2speech-beyondtts/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

63,167 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: xiaomi-any2speech
description: >
  声音世界模型(Speech World Model):不只是 TTS,而是理解场景、角色、情绪并自主规划表达的语音大模型。
  原生支持长文+多人、中英双语,也支持上传参考音频进行音色克隆(Voice Prompt / voice cloning),内置高能创作模板,将任意内容转为播客/有声书/相声/Rap/广播剧等,单次最长 ~10 分钟,输出 WAV。
  涵盖单人TTS、VoiceDesigner音色定制、参考音频克隆、多人人物对话合成、长文有声化、Instruct TTS 的超集。
  A Speech World Model: beyond TTS — understands scenes, characters, and emotions to autonomously plan expressive speech.
  Native long-form & multi-speaker synthesis in Chinese/English, and supports reference-audio voice cloning (Voice Prompt), up to ~10 min per pass.
  触发意图:用我的声音/用这个音色/参考这段录音/克隆声音/模仿声音、做成播客/相声/辩论/有声书/Rap/新闻/脱口秀/电台/课程/广播剧/评书/讲故事、朗读/念出来/转语音/TTS/生成音频/做个语音版/配音、变成能听的/用XX腔念、发语音/做成XX发给我、用模板/选模板/有什么模板。
  English: make a podcast/audiobook/debate/rap/news/stand-up/story/radio drama, read aloud/TTS/generate audio/voice over/narrate/dub/mimic voice/clone voice/use my voice/use this voice sample, make it listenable, send as voice.
---

# Any2Speech

所有能力通过同一套 API 完成,由 `instruction` 字段决定最终形态。内置免费公开 Key,无需注册。

**运行环境**:需要 `curl` 和 `python3`(用于 JSON 解析);飞书发送可选需要 `ffmpeg`/`ffprobe`。

```bash
BASE=https://miplus-tts-public.ai.xiaomi.com
API_KEY=${API_KEY:-sk-anytospeech-pub-free}
```

## Step 1 · 确认输入

| 用户给了什么 | source_type | curl 参数 |
|---|---|---|
| 文字内容 | `text` | `-F "source_type=text" -F "text=内容"` |
| 网页链接 | `url` | `-F "source_type=url" -F "url=链接"` |
| 本地文件 | `file` | `-F "source_type=file" -F "file=@/路径/文件"` |
| 参考音色文件 + 文字 | → **VP 流程** | 跳到 Step 3-VP |
| 参考音色文件 + 选模板 | → **VP 模板** | 跳到 VP 模板章节(不需要文字) |

**来源缺失时**:停下来问"请提供文字内容、网页链接或文件路径",不要猜测或用空值执行。

**文件路径安全**:仅接受用户在当前对话中明确提供的路径。不要自行扫描目录或猜测文件;不要读取 `~/.ssh`、`~/.env`、`~/.config` 等敏感路径。

**VP 判断**:用户提供了参考音色文件(wav/mp3/m4a/flac/ogg/webm),或说了"用我的声音"、"克隆音色"、"参考这段录音"等 → 走 **Step 3-VP**。用户说了"用模板"或指定模板名 → 走 **VP 模板**(不需要文字)。VP 的一步式和两步式需要 `text`,模板不需要。

## Step 2 · 构造 instruction

`instruction` 控制合成形态。选择逻辑:用户明确描述了风格 → 直接用;只说"帮我读" → 留空(单人朗读);说了场景没细节 → 从下表取最近的;英文输入 → 加 `English` 关键词。

| 场景 | 中文 instruction | English instruction |
|---|---|---|
| 两人播客 | `两人播客,一人理性分析,一人感性追问,偶尔插嘴,5分钟内` | `Two-host podcast, one analytical, one curious, with interruptions, under 5 min` |
| 相声 | `传统相声,甲逗哏(语速快、北京腔),乙捧哏(沉稳正经),至少两个包袱` | — |
| 新闻播报 | `CCTV 新闻联播风格,先播导语,再逐条播报,结尾有总结语` | `CNN anchor style, lead-in then item-by-item, closing summary` |
| 辩论 | `正反双方,正方激情澎湃,反方逻辑冷静,各做30秒总结陈词` | `Pro vs Con, pro passionate, con logical, 30s closing each` |
| Rap | `押韵,节奏感强,两人 battle,明显停顿和连读节奏` | `Rhyming rap battle, two performers, strong rhythm` |
| 脱口秀 | `单人独白,幽默有深度,有停顿节奏感,偶尔自嘲` | `Solo monologue, witty and deep, rhythmic pauses` |
| 有声书 | `第三人称叙述,情绪随剧情起伏,遇到对话切换人物语气` | `Third-person narration, emotion follows plot, voice-switch for dialogue` |
| 情感电台 | `深夜电台,低沉磁性男声,语速缓慢` | `Late-night radio, deep magnetic male voice, slow pace` |
| 单人 TTS | `女声,职业干练,语速偏快` | `Female, professional tone, slightly fast` |

**可叠加控制**:语种(`英文`/`中英混合`)、音色(`声音醇厚磁性`)、情绪弧线(`开场铺垫,中段碰撞,结尾升华`)、互动(`允许插话`)、环境音(`加观众笑声`)、时长(`10分钟内`)、口音(`东北腔`/`British accent`)。建议核心控制点 ≤ 5 个。

#

_meta.json

{
  "ownerId": "kn7844nprw90b2k817t334trz58376n7",
  "slug": "xiaomi-any2speech-beyondtts",
  "version": "1.0.7",
  "publishedAt": 1775834229920
}

skill-card.md

## Description:

Xiaomi-any2speech guides agents through using Xiaomi's Any2Speech service to turn text, URLs, files, or authorized reference voice samples into WAV speech such as TTS, podcasts, audiobooks, debates, rap, and radio dramas.

This skill is ready for commercial/non-commercial use.

## Publisher:

[whiteshirt0429](https://clawhub.ai/user/whiteshirt0429)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent users use this skill to generate expressive speech audio from supplied content, including long-form narration, multi-speaker formats, and voice-prompt cloning when the user has rights to the reference voice.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: User content, URLs, files, and reference voice samples are sent to the Xiaomi speech service.

Mitigation: Use the skill only when the user is comfortable sharing that material with the external service.

Risk: Voice cloning can be misused or performed without consent.

Mitigation: Use reference audio only for the user's own voice or voices the user is authorized to use.

Risk: Optional Feishu delivery can send generated audio to the wrong chat if chat or token configuration is incorrect.

Mitigation: Verify the Feishu CHAT_ID and token setup before asking the skill to send audio.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/whiteshirt0429/skills/xiaomi-any2speech-beyondtts)
- [Xiaomi Any2Speech service endpoint](https://miplus-tts-public.ai.xiaomi.com)

## Skill Output:

**Output Type(s):** [Guidance, Shell commands, Configuration, Files]

**Output Format:** [Markdown guidance with bash command examples that produce WAV audio files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May send user-provided text, files, URLs, and reference voice samples to an external speech service; optional Feishu delivery requires user-provided chat and token configuration.]

## Skill Version(s):

1.0.7 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Xiaomi-any2speech and adjacent AI workflows.