# Tts

> Convert text to speech using SkillBoss API Hub. Use when the user asks for an audio message, a voice reply, or to hear something "of vive voix".

- Skill: `lord1egypt/tts` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/tts`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/tts/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/lord1egypt/tts

---


# Text-to-Speech (TTS)

Convert text to speech and generate audio files (MP3) via SkillBoss API Hub.

## SkillBoss API Hub (Preferred)

- **Preferred Voice**: `alloy`
- **Keys**: Stored in environment as `SKILLBOSS_API_KEY`.

### Usage

```bash
SKILLBOSS_API_KEY="..." node {baseDir}/scripts/generate_hume_speech.js --text "Hello Jonathan" --output "output.mp3"
```

## Alternative TTS Script

- **Preferred Voice**: `nova`
- **Usage**: `SKILLBOSS_API_KEY="..." node {baseDir}/scripts/generate_speech.js --text "..." --output "..."`

## General Notes

- The scripts print a `MEDIA:` line with the absolute path to the generated file.
- Use the `message` tool to send the resulting file to the user.

