返回顶部
c

comfyui-tts

Generate speech audio using ComfyUI Qwen-TTS service. Invoke when user needs text-to-speech conversion or voice generation through ComfyUI.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
799
下载量
0
收藏
概述
安装方式
版本历史

comfyui-tts

# ComfyUI TTS Skill Generate speech audio using ComfyUI's Qwen-TTS service. This skill allows you to convert text to speech through ComfyUI's API. ## Configuration ### Environment Variables Set these environment variables to configure the ComfyUI connection: ```bash export COMFYUI_HOST="localhost" # ComfyUI server host export COMFYUI_PORT="8188" # ComfyUI server port export COMFYUI_OUTPUT_DIR="" # Optional: Custom output directory ``` ## Usage ### Basic Text-to-Speech Generate audio from text using default settings: ```bash scripts/tts.sh "你好,世界" ``` ### Advanced Options Customize voice characteristics: ```bash # Specify character and style scripts/tts.sh "你好" --character "Girl" --style "Emotional" # Change model size scripts/tts.sh "你好" --model "3B" # Specify output file scripts/tts.sh "你好" --output "/path/to/output.wav" # Combine options scripts/tts.sh "你好,这是测试" \ --character "Girl" \ --style "Emotional" \ --model "1.7B" \ --output "~/audio/test.wav" ``` ### Available Options | Option | Description | Default | |--------|-------------|---------| | `--character` | Voice character (Girl/Boy/etc.) | "Girl" | | `--style` | Speaking style (Emotional/Neutral/etc.) | "Emotional" | | `--model` | Model size (0.5B/1.7B/3B) | "1.7B" | | `--output` | Output file path | Auto-generated | | `--temperature` | Generation temperature (0-1) | 0.9 | | `--top-p` | Top-p sampling | 0.9 | | `--top-k` | Top-k sampling | 50 | ## Workflow The skill performs these steps: 1. **Construct Workflow**: Builds a ComfyUI workflow JSON with your text and settings 2. **Submit Job**: Sends the workflow to ComfyUI's `/prompt` endpoint 3. **Poll Status**: Monitors job completion via `/history` endpoint 4. **Retrieve Audio**: Returns the path to the generated audio file ## Troubleshooting ### Connection Refused - Verify ComfyUI is running: `curl http://$COMFYUI_HOST:$COMFYUI_PORT/system_stats` - Check host and port settings ### Job Timeout - Large models (3B) take longer to generate - Try smaller models (0.5B, 1.7B) for faster results ### Output Not Found - Check ComfyUI's output directory configuration - Verify file permissions ## API Reference The skill uses ComfyUI's native API endpoints: - `POST /prompt` - Submit workflow - `GET /history` - Check job status - Output files are saved to ComfyUI's configured output directory

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 comfyui-tts-1776419980 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 comfyui-tts-1776419980 技能

通过命令行安装

skillhub install comfyui-tts-1776419980

下载 Zip 包

⬇ 下载 comfyui-tts v1.0.0

文件大小: 6.63 KB | 发布时间: 2026-4-17 18:30

v1.0.0 最新 2026-4-17 18:30
Initial release of comfyui-tts – generate speech audio with ComfyUI Qwen-TTS.

- Provides a shell script to convert text to speech using ComfyUI's Qwen-TTS service.
- Supports customizable options: character, style, model size, output path, and sampling parameters.
- Requires curl and jq; configurable via environment variables for host, port, and output directory.
- Automatically submits jobs to ComfyUI, monitors completion, and retrieves audio files.
- Includes usage instructions, troubleshooting tips, and API endpoint references.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部