Skip to content
Agentmart
Submit a tool

indextts2-audio

通过 RabiSpeech 的本地 IndexTTS2 模型生成中文或音色复刻语音。用户指定 IndexTTS2、中文参考音频、情绪/风格指令、角色声线或本地 WAV 验证时使用。不得直接运行技能内 worker、启动 OumuQ 或调用云端 API。

Skill by vb2250158

IndexedMIT★ 492
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vb2250158-indextts2-audio

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

通过 RabiSpeech 的本地 IndexTTS2 模型生成中文或音色复刻语音。用户指定 IndexTTS2、中文参考音频、情绪/风格指令、角色声线或本地 WAV 验证时使用。不得直接运行技能内 worker、启动 OumuQ 或调用云端 API。

Use cases: backend, voice-agents, audio-video

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/indextts2-audio

What's inside

Skill name
indextts2-audio
Description
通过 RabiSpeech 的本地 IndexTTS2 模型生成中文或音色复刻语音。用户指定 IndexTTS2、中文参考音频、情绪/风格指令、角色声线或本地 WAV 验证时使用。不得直接运行技能内 worker、启动 OumuQ 或调用云端 API。
License
MIT
Instructions
30 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# RabiSpeech IndexTTS2

IndexTTS2 由 RabiSpeech 管理,模型 id 为 `local-tts/indextts2`。角色参考音频位于 `RabiRoute/data/roles/<RoleId>/voice/`,生成结果不得写回参考库。

## 流程

先读 [TTS 路由](../tts-router/SKILL.md)。`speechBaseUrl` 必须从当前服务配置取得;下例中的 `$speechBaseUrl` 由该发现步骤赋值。

1. 检查 `GET <speechBaseUrl>/v1/models/local-tts/indextts2`。
2. 传入 `voice=<RoleId>`;RabiSpeech 从角色 voice index 选择并缓存参考音频。
3. 需要情绪或语气时用 `instructions` 描述,保持简短、可执行。
4. 验证用 `play=false` 并保存返回 WAV;对话用 `play=true`、`session_id`,进入全局 FIFO。

```powershell
$body = @{
  model = 'local-tts/indextts2'
  input = '你好,这是 IndexTTS2 本地语音。'
  voice = '<RoleId>'
  response_format = 'wav'
  speed = 1.0
  language = 'zh'
  instructions = '自然、温和、清楚。'
  play = $false
} | ConvertTo-Json -Compress
Invoke-WebRequest -Method Post -Uri ($speechBaseUrl.TrimEnd('/') + '/v1/audio/speech') -ContentType 'application/json' -Body $body -OutFile '.\indextts2.wav'
```

不要从技能目录运行旧 `indextts2_worker.py`;模型环境、CUDA、参考音频组合和输出缓存统一属于 RabiSpeech。

From vb2250158/RabiRoute, MIT.

More from vb2250158/RabiRoute

Compare and alternatives

    Featured in

    Signals

    Stars
    492
    Forks
    0
    Open issues
    0
    Last commit (this folder)
    Oct 20, 2026 (7 days ago)
    Last release
    Jul 31, 2026 (2 months ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from vb2250158

    Cite this page

    indextts2-audio skill. Agent Mart. https://agentmart.dev/skills/vb2250158-indextts2-audio (last updated 2026-10-24)