-
Notifications
You must be signed in to change notification settings - Fork 40
Extensions Overview
Hermes supports three powerful extension modules that add local AI generation capabilities. Each extension is a separate server that runs alongside Hermes.
Each extension is:
-
Portable — nothing is installed system-wide, everything stays in the
extensions/folder - Self-installing — downloads its own Python environment, dependencies, and model weights
- GPU-accelerated — uses your NVIDIA GPU for fast generation
- Server-based — runs as a local web server that Hermes talks to via tools
Go to Tools > Extensions in the menu bar to:
- See which extensions are installed
- Install new extensions
- Start/stop extension servers
- Check server status
The TTS Server converts text to natural-sounding speech. It supports 10 different AI voice models, voice cloning, multi-language support, and emotional expression.
Server port: 8200 (configurable via TTS_SERVER_URL environment variable)
- Go to Tools > Extensions
- Click Install next to "Text-to-Speech Server"
- Wait for the installation to complete (downloads ~2-5 GB depending on models)
- Click Start to launch the server
Or install manually:
cd extensions/tts-server
install.bat
launcher.bat api
| Model | Size | Best For | Voice Cloning | Languages | GPU VRAM |
|---|---|---|---|---|---|
| kokoro | 82M | Fast English TTS, 54 built-in voices | No (preset voices only) | English | ~1 GB |
| xtts | 500M | General purpose, best multilingual | Yes (from WAV/MP3 reference) | 17 languages | ~2 GB |
| dia | 1.6B | Two-speaker dialogue with emotions | No (uses [S1]/[S2] tags) | English | ~4 GB |
| bark | 1B | Expressive speech with laughter, music, non-verbal sounds | No (preset voices) | Multilingual | ~3 GB |
| fish | 500M | Fast voice cloning with minimal reference audio | Yes (few seconds of audio) | Multilingual | ~2 GB |
| chatterbox | 500M | Conversational with emotion control | Yes | English | ~2 GB |
| f5 | 300M | Diffusion-based high-quality cloning | Yes | Multilingual | ~2 GB |
| qwen | 7B | Chinese + English bilingual | Yes | Chinese, English | ~8 GB |
| vibevoice | 1.5B | Wide emotional range | Yes | English | ~4 GB |
| higgs | 3B | Works on CPU (no GPU needed) | Yes | English | CPU or ~3 GB |
Simple text-to-speech: Say: "Read this text aloud: Hello, welcome to Hermes Agent!" Or: "Generate speech saying 'The quick brown fox jumps over the lazy dog' using Kokoro"
With a specific voice: Say: "Generate speech with the af_heart voice: I love this application"
Dialogue with Dia model: Say: "Generate a dialogue: [S1] Hey, how's it going? [S2] (laughs) I'm doing great! [S1] That's wonderful to hear."
The [S1] and [S2] tags mark different speakers. Dia automatically uses different voices for each speaker and can express emotions in parentheses.
Voice cloning (xtts, fish, f5):
- Place a reference audio file (WAV or MP3, 5-30 seconds of clear speech) in:
extensions/tts-server/voices/ - Say: "Generate speech using xtts with voice 'my_voice.wav': Hello, this is my cloned voice"
| Tool | How to Use It |
|---|---|
tts_server_status |
"Is the TTS server running?" |
tts_server_generate |
"Generate speech: [your text]" with optional model and voice |
tts_server_models |
"What TTS models are available?" |
tts_server_model_load |
"Load the xtts model" |
tts_server_model_unload |
"Unload the TTS model to free GPU memory" |
tts_server_voices |
"List available voices for Kokoro" |
tts_server_jobs |
"Show TTS generation jobs" |
"TTS server unreachable":
- Make sure the TTS server is running (check Tools > Extensions)
- Start it with
launcher.bat apiin theextensions/tts-server/folder - Check that the port (8200) isn't being used by another application
"Model not loaded":
- The server needs to load a model before generating speech
- Say "Load the kokoro model" or use the
tts_server_model_loadtool - First-time loading downloads model weights (~1-8 GB depending on model)
"Out of GPU memory":
- Unload other models (LM Studio models, other TTS models)
- Use a smaller model (kokoro is smallest at 82M)
- Use higgs if you want to run on CPU without GPU
Audio sounds robotic/bad:
- Try a different model — each model has different strengths
- For English, kokoro and xtts produce the best quality
- For emotional expression, dia or bark are best
- Make sure the text is clear and properly punctuated
The Music Server generates music, songs, and sound effects from text descriptions. Describe what you want to hear, and it creates an audio file.
Server port: 9150
- Go to Tools > Extensions
- Click Install next to "Music Generation Server"
- Wait for the installation to complete
- Click Start to launch the server
Or install manually:
cd extensions/music-server
install.bat
launcher.bat api
| Model | Best For | Duration | GPU VRAM |
|---|---|---|---|
| musicgen | General music from text prompts | 5-30 sec | ~4 GB |
| musicgen-large | Higher quality music | 5-30 sec | ~8 GB |
| stable_audio | High-quality, longer music | 5-90 sec | ~6 GB |
| ace_step | Fast music with style control | 5-60 sec | ~4 GB |
| riffusion | Spectrogram-based (unique sound) | 5-15 sec | ~4 GB |
| audioldm2 | Music + sound effects | 5-30 sec | ~6 GB |
Simple prompt: Say: "Generate 30 seconds of upbeat electronic dance music with synths and a driving beat"
Specific genre: Say: "Generate a calm acoustic guitar melody with light percussion, 20 seconds"
Sound effects: Say: "Generate the sound of rain falling on a tin roof with distant thunder"
With model selection: Say: "Generate music using stable_audio: epic orchestral film soundtrack, 60 seconds"
| Tool | How to Use It |
|---|---|
music_status |
"Is the music server running?" |
music_generate |
"Generate music: [description]" with optional model and duration |
music_models |
"What music models are available?" |
music_model_load |
"Load the musicgen model" |
music_model_unload |
"Unload the music model" |
music_outputs |
"Show my generated music files" |
music_install |
"Install the stable_audio model" |
- Be descriptive — "upbeat jazz with saxophone solo and walking bass" works better than "jazz music"
- Specify instruments — mention specific instruments for better results
- Set duration — start with 10-15 seconds to test, then increase
- Try different models — each model has a different sound character
- Generated audio files are saved in
extensions/music-server/output/
"Music server unreachable":
- Start the server with
launcher.bat apiinextensions/music-server/ - Check that port 9150 isn't in use
"No music model loaded":
- Say "Load the musicgen model" before generating
- First-time loading downloads model weights
Generated music sounds bad:
- Try a more specific prompt
- Try a different model
- Some models work better for certain genres
ComfyUI is a powerful image generation system based on Stable Diffusion. It can create images, edit photos, generate video frames, and more using a visual workflow editor.
Management API port: 5000 ComfyUI instance ports: 8188+
- Go to Tools > Extensions
- Click Install next to "ComfyUI Image Generator"
- Wait for the installation to complete (downloads ~3-5 GB for base install)
- Click Start to launch the management server
Or install manually:
cd extensions/comfyui
install.bat
launcher.bat
ComfyUI has two layers:
- Management Server (port 5000) — manages instances, models, and custom nodes
- ComfyUI Instances (port 8188+) — the actual image generation servers
Each GPU can run its own instance. If you have two GPUs, you can have two instances generating images simultaneously.
| Category | Examples | What It Does |
|---|---|---|
| Checkpoints | SD 1.5, SDXL, Flux | Base image generation models |
| LoRAs | Style LoRAs, Character LoRAs | Fine-tuned additions for specific styles |
| VAEs | SDXL VAE, SD VAE | Encoder/decoder for better image quality |
| ControlNet | Canny, Depth, Pose | Guide generation with reference images |
| Upscalers | RealESRGAN, SwinIR | Increase image resolution |
The model registry has 100+ pre-defined models you can download with one click.
Simple prompt: Say: "Generate an image of a sunset over mountains with dramatic clouds"
With settings: Say: "Generate a 1024x768 image of a cyberpunk city at night, 30 steps, high detail"
Through the web UI:
- Open your browser to
http://localhost:8188 - You'll see the visual workflow editor
- Build or load a workflow
- Click "Queue Prompt" to generate
| Tool | How to Use It |
|---|---|
comfyui_status |
"Is ComfyUI running?" |
comfyui_instances |
"List ComfyUI instances" |
comfyui_instance_start |
"Start a ComfyUI instance on GPU 0" |
comfyui_instance_stop |
"Stop the ComfyUI instance" |
comfyui_generate |
"Generate an image: [description]" |
comfyui_models |
"List available ComfyUI models" |
comfyui_nodes |
"List installed ComfyUI nodes" |
"ComfyUI unreachable":
- Start the management server with
launcher.batinextensions/comfyui/ - Check that ports 5000 and 8188 aren't in use
"No checkpoints installed":
- You need to download at least one checkpoint model
- Say "List ComfyUI models" to see what's available in the registry
- Download via the management API or web UI
Images look bad or distorted:
- Try different prompts — be more specific
- Increase step count (20-30 is usually good)
- Try a different checkpoint model
- Adjust CFG scale (7-9 is typical)