Text to speech CLI with ElevenLabs voices.
npx awaz
# or
npm i -g awaz
# Usage
awaz "Ship it"export ELEVENLABS_API_KEY="your-key"Get one at elevenlabs.io
# Speak
awaz "Hello world"
# Pick a voice
awaz -v Roger "Hello world"
# Save to file
awaz -o hello.mp3 "Hello world"
# Pipe it
echo "Hello world" | awaz
# Go faster
awaz --speed 1.2 "Ship faster"
# List voices
awaz voicesMac's say command but with voices that don't sound like robots from 2003.
Zero config. One command. Works.
-v, --voice <name> Voice name or ID
-o, --output <file> Save to file
-r, --rate <wpm> Words per minute
--speed <n> Speed multiplier (0.5-2.0)
--model-id <id> ElevenLabs model
--stability <n> Voice consistency (0-1)
--similarity <n> Match original voice (0-1)
--style <n> Expressiveness (0-1)
awaz [text] # Speak (default)
awaz voices # List voices
awaz prompting # Tips for better outputELEVENLABS_API_KEY # Required
ELEVENLABS_VOICE_ID # Default voice (optional)npx skills add ahmadawais/awazAgents can use awaz to speak text, generate audio files, or preview how text sounds. See skills/SKILL.md for full agent instructions.
pnpm install
pnpm build
pnpm test- macOS
saycommand, the OG. - steipete's
sagin Go.
MIT © Ahmad Awais