← 返回 Skills 市场
lotfinity

OpenClaw Tailnet TTS Endpoint

作者 lotfinity · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
357
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install local-openedai-tts
功能描述
Configure an OpenClaw instance to use a local OpenAI-compatible TTS backend (for example openedai-speech) with cloned voices. Use when users ask to wire loca...
使用说明 (SKILL.md)

Local OpenAI-Compatible TTS for OpenClaw

Configure OpenClaw to send TTS requests to a local OpenAI-compatible endpoint, then verify end-to-end delivery.

Quick workflow

  1. Set OpenAI base URL to local endpoint.
  2. Configure OpenClaw messages TTS provider/model/voice.
  3. Verify TTS config with openclaw config get.
  4. Generate a direct API sample clip to confirm voice mapping.
  5. Send sample via channel plugin (Telegram/WhatsApp/etc.) if requested.
  6. If remote access is requested, expose the TTS service port (not necessarily the OpenClaw gateway).

1) Configure OpenClaw to use local TTS backend

Use CLI config commands only.

openclaw config set env.vars.OPENAI_BASE_URL http://127.0.0.1:19000/v1
openclaw config set messages.tts.provider openai
openclaw config set messages.tts.openai.model tts-1-hd
openclaw config set messages.tts.openai.voice me

Verify:

openclaw config get env.vars.OPENAI_BASE_URL
openclaw config get messages.tts

2) Verify cloned voice exists on backend

If using openedai-speech + XTTS voice mapping, cloned voices are commonly available only on tts-1-hd.

Check voice map inside container:

sudo docker exec openedai-speech sh -lc 'sed -n "1,220p" /app/config/voice_to_speaker.yaml'

If voice: me fails with KeyError, check whether:

  • wrong model is used (tts-1 instead of tts-1-hd), or
  • voice key missing from voice_to_speaker.yaml.

3) Generate a deterministic test clip (direct API)

Use direct POST to validate backend behavior independent of chat surface rendering.

curl -sS -X POST http://127.0.0.1:8880/v1/audio/speech \
  -H 'Content-Type: application/json' \
  -d '{
    "model":"tts-1-hd",
    "voice":"me",
    "input":"Quick cloned voice check.",
    "speed":1.25,
    "response_format":"mp3"
  }' \
  --output /tmp/clone-test.mp3

file /tmp/clone-test.mp3

Expected: MP3 audio file (not JSON error text).

4) Important limitation: speed pinning in OpenClaw config

messages.tts.openai.speed may be rejected by current OpenClaw schema. If so:

  • keep model/voice in OpenClaw config,
  • set speed per request when generating clips directly,
  • or enforce speed with a local proxy layer in front of backend.

Do not claim speed is globally pinned unless schema accepts it.

5) Expose service correctly (LAN/Tailscale)

Distinguish between:

  • OpenClaw gateway exposure (gateway.bind, gateway.tailscale.*), and
  • TTS backend exposure (container/service port such as 19000 or 8880).

If user asks to expose local TTS only, do not change gateway bind/mode unless explicitly requested.

For TTS backend reachability:

  1. Confirm listener/bind:
    ss -ltnp | grep ':19000\|:8880'
    
  2. If bound to 127.0.0.1, rebind service/container to 0.0.0.0 or tailnet interface.
  3. Restrict access via firewall/Tailscale ACLs.

6) Channel delivery troubleshooting

If webchat does not play voice attachments:

  • send as regular file attachment to supported channel (e.g., Telegram),
  • verify target id explicitly,
  • confirm local file still exists before sending.

If file missing, regenerate clip and resend.

Command safety

  • Use openclaw config set/get (never edit openclaw.json directly).
  • Avoid unrelated gateway changes when task is strictly TTS service exposure.
  • For external sends, use channel tools and explicit target ids.
安全使用建议
This skill appears coherent, but consider the operational risks before following its steps: you will need administrative access (docker, firewall, network) and the instructions explicitly include making the TTS service reachable from LAN/Tailscale — only do that if you intend to expose cloned voices and have appropriate network controls (firewall/Tailscale ACLs). Verify the local TTS backend image/service is trusted and legal to use (voice cloning may have legal/ethical constraints), back up OpenClaw config before changing it, and test changes in an isolated environment first. If you are uncertain, run the listed commands manually rather than allowing any automated agent to apply them.
功能分析
Type: OpenClaw Skill Name: local-openedai-tts Version: 0.1.0 The skill is classified as suspicious due to the use of high-risk shell commands, specifically `sudo docker exec openedai-speech sh -lc 'sed -n "1,220p" /app/config/voice_to_speaker.yaml'` in `SKILL.md`. While the stated purpose of inspecting a configuration file within a specific container is diagnostic and aligned with the skill's goal, executing `sudo docker exec` grants root privileges inside the container and requires `sudo` on the host, representing a significant capability that could be abused if the agent's execution environment is not strictly sandboxed or if the skill were to be modified. Other shell commands like `curl` and `ss` are also used, but the `sudo docker exec` command is the primary indicator of elevated risk, even without clear malicious intent in this specific context.
能力评估
Purpose & Capability
The name/description match the SKILL.md. All commands (openclaw config, curl to local endpoints, docker exec to inspect voice mapping, ss to check listeners, and guidance about rebinding/exposing services) are appropriate to configuring and validating a local TTS endpoint for OpenClaw; there are no unrelated credential or binary requirements.
Instruction Scope
Instructions stay on-task (configure OpenClaw, validate voice mapping, generate test clips, and optionally expose the TTS service). They do include privileged/admin actions (sudo docker exec, ss, rebinding services, firewall/Tailscale ACL changes) and guidance to expose a service to LAN/Tailscale — these are necessary for the feature but increase operational risk and require explicit user consent.
Install Mechanism
No install spec or code files (instruction-only). This is the lowest-risk installation surface; nothing is downloaded or written by the skill itself.
Credentials
The skill declares no required environment variables or credentials and the instructions do not attempt to read secrets or unrelated config. Accesses are limited to local services/containers and OpenClaw config.
Persistence & Privilege
The skill instructs modifying OpenClaw configuration via openclaw config set (expected for the task) and may require elevated OS privileges to inspect containers or change firewall/network bindings. The skill is not always-enabled and does not request persistent platform-wide privileges beyond normal config edits.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install local-openedai-tts
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /local-openedai-tts 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial publish: shared TTS endpoint wiring and cloned voice usage
元数据
Slug local-openedai-tts
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenClaw Tailnet TTS Endpoint 是什么?

Configure an OpenClaw instance to use a local OpenAI-compatible TTS backend (for example openedai-speech) with cloned voices. Use when users ask to wire loca... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 357 次。

如何安装 OpenClaw Tailnet TTS Endpoint?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install local-openedai-tts」即可一键安装,无需额外配置。

OpenClaw Tailnet TTS Endpoint 是免费的吗?

是的,OpenClaw Tailnet TTS Endpoint 完全免费(开源免费),可自由下载、安装和使用。

OpenClaw Tailnet TTS Endpoint 支持哪些平台?

OpenClaw Tailnet TTS Endpoint 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenClaw Tailnet TTS Endpoint?

由 lotfinity(@lotfinity)开发并维护,当前版本 v0.1.0。

💬 留言讨论