- name
- speech-generator
- description
- Generate speech audio from text using ElevenLabs TTS. Use when user asks to 'send voice', 'send audio message', 'create voice', 'generate speech', 'say something', 'voice message', 'send me audio', or needs TTS/narration.
- version
- 1.0.0
- author
- aviz85
- tags
- ["tts","speech","audio","elevenlabs","voice"]
- setup
- ./SETUP.md
- setup_complete
- false
# Speech Generator
> **First time?** If `setup_complete: false` above, run `./SETUP.md` first, then set `setup_complete: true`.
Generate speech audio using ElevenLabs TTS.
## Voice ID
Configure your voice ID from ElevenLabs:
```
YOUR_VOICE_ID
```
> Get voice IDs from [ElevenLabs](https://elevenlabs.io/) - you can use built-in voices or clone your own.
## Prompt Guidelines (Hebrew)
Write prompts as natural spoken Hebrew. Use square brackets `[...]` for speech directions.
### Direction Examples
```
[ื ืฉืืื ืขืืืงื] ืืืงืื, ืื ืืืื ื ืืืจ ืขื ืื...
[ืฆืืืง ืงื] ืื ืืืฉ ืืฆืืืง ืฉืืชื ืืืืจ ืืช ืื
[ืืืชืืืืืช] ืืืื! ืื ืืืืืง ืื ืฉืืืืืชื ืื!
[ืืจืฆืื ืืช] ืขืืฉืื, ืชืงืฉืืื ืืื...
[ืืขืฆื] ืื ื ืื ืืืืข ืื ืืืืื...
[ืืฉืงื] ืื ืกืื, ืืื...
[ืืืจ] ืฆืจืื ืืจืืฅ ืขืืฉืื, ืืื ืืื!
[ืืื ืืืืืจืืจ] ืืฉืื. ืืืื. ืืืงืฉืื.
[ืฉืืื] ืืชื ืืืื ืฉืื ืื ืฉืืชื ืจืืฆื?
[ืืคืชืขื] ืจืืข, ืื?!
```
### Natural Speech Patterns
Add filler words and pauses for natural flow:
- `ืืื...`
- `ืืื...`
- `ืืืืื...`
- `ื ื...`
- `ืืืืื...`
- `ืืงืืฆืืจ...`
- `...` (pause)
### Example Prompt
```
[ืืืชืืืืืช] ืืื! ืื ืงืืจื?
ืืื... ืื ืจืฆืืชื ืืกืคืจ ืืื ืืฉืื ืืืืจืฃ ืฉืงืจื ืื ืืืื.
[ื ืฉืืื] ืื ืืืืชื ืืงืคื, ืืืืื, ืคืชืืื ืจืืื ืืช... [ืืฉืงื] ืืชื ืื ืชืืืื ืืื.
[ืฆืืืง] ืื, ืืืืืง ืื ืฉืืฉืืช!
```
## Commands
```bash
cd ~/.claude/skills/speech-generator/scripts
# Generate speech
npx ts-node generate_speech.ts \
-t "[ืืืชืืืืืช] ืืื! ืื ืงืืจื?" \
-o /path/to/output.mp3
# From file
npx ts-node generate_speech.ts \
-f /path/to/script.txt \
-o /path/to/output.mp3
# List voices
npx ts-node generate_speech.ts --list-voices
```
## Options
| Option | Short | Default |
|--------|-------|---------|
| `--text` | `-t` | Text to speak |
| `--file` | `-f` | Read from file |
| `--output` | `-o` | Output path (required) |
| `--voice` | `-v` | Voice ID |
| `--speed` | | 1.0 |
| `--stability` | | 0.5 |
| `--similarity` | | 0.75 |
Auf GitHub ansehen