audio tts

Other Community

Skill notes

Binaries

{baseDir}/scripts/tts — Text-to-speech generation with named speakers. {baseDir}/scripts/voice_clone — Voice cloning from a reference audio file.

Models

{baseDir}/scripts/models/Qwen3-TTS-12Hz-0.6B-CustomVoice — Named speaker TTS (0.6B parameters). {baseDir}/scripts/models/Qwen3-TTS-12Hz-0.6B-Base — Voice cloning from reference audio (0.6B parameters).

Reference Audio

Pre-packaged reference audio files for voice cloning are available at {baseDir}/scripts/reference_audio/. Each speaker has two files: {baseDir}/scripts/reference_audio/<speaker_name>.wav — Reference audio (mono 24kHz 16-bit WAV) {baseDir}/scripts/reference_audio/<speaker_name>.txt — Transcript of the reference audio Available reference speakers: trump, elon_musk.

When to Use Which Tool

tts — When the user wants to generate speech from text using a named speaker (Vivian, Ryan, etc.). Supports English and Chinese. voice_clone — When the user wants to clone a specific voice from a reference audio file and generate new speech in that voice. If the user asks to clone a voice by speaker name (e.g., "speak like Trump", "use Elon Musk's voice"), check {baseDir}/scripts/reference_audio/ for a matching <speaker_name>.wav and <speaker_name>.txt pair, and use ICL mode with both files.

Linux Environment Setup

On Linux, the binaries require libtorch shared libraries. Set the library path before running any command: On macOS, no environment setup is needed (the binaries use the MLX backend). All commands below show the macOS form. On Linux, prefix each command with LD_LIBRARY_PATH={baseDir}/scripts/libtorch/lib:$LD_LIBRARY_PATH.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@second-state · no license declared
Token usage
Lean
Setup complexity
Plug-and-play
External API key
Not required
Operating systems
macOS · Linux
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Write / modify
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview audio-tts.preview
# 4. Return the Output

- `tts` produces `output.wav`
- `voice_clone` produces `output_voice_clone.wav`

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.