ai-say-cli
v0.0.7
Published
Text-to-speech CLI powered by Cartesia AI with real-time streaming audio
Maintainers
Readme
ai-say
Text-to-speech CLI powered by Cartesia AI with real-time streaming.
Install
npm i -g ai-say-clipnpm blocks native module builds by default. After installing, run:
cd $(pnpm root -g)/.pnpm/@[email protected]/node_modules/@mastra/node-speaker
npx node-gyp rebuildSetup
Get your API key from https://play.cartesia.ai/keys
export CARTESIA_API_KEY="your-key"Usage
ai-say "Hello world"
echo "Piped text" | ai-say
ai-say -m sonic-3 "Use a different model"