| name | description |
|---|---|
tts |
Use pocket-tts to speak responses aloud via text-to-speech. |
A pocket-tts server must be running:
uvx pocket-tts serveUse this command to generate and play audio:
curl -sX POST http://localhost:8000/tts -F "text=Your message here" -o /tmp/out.wav && \
PULSE_SERVER=/run/user/$(id -u)/pulse/native mpv --no-terminal --ao=pulse /tmp/out.wav- Use TTS when the user asks you to speak or read responses aloud
- Keep messages concise for better audio experience
- The server uses the default voice unless a custom voice is specified
To use a different voice, add the voice_url parameter:
curl -sX POST http://localhost:8000/tts \
-F "text=Hello" \
-F "voice_url=hf://kyutai/tts-voices/marius/casual.wav" \
-o /tmp/out.wav && \
PULSE_SERVER=/run/user/$(id -u)/pulse/native mpv --no-terminal --ao=pulse /tmp/out.wavAvailable voices: alba, marius, javert, jean, fantine, cosette, eponine, azelma