npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

ai-say-cli

0.0.7

@GitHub Actions

npmHomeRepoSnykSocket
Downloads:1
$ npm install ai-say-cli
DailyWeeklyMonthlyYearly

ai-say

Text-to-speech CLI powered by Cartesia AI with real-time streaming.

Install

npm i -g ai-say-cli
pnpm users

pnpm blocks native module builds by default. After installing, run:

cd $(pnpm root -g)/.pnpm/@mastra+node-speaker@0.1.0/node_modules/@mastra/node-speaker
npx node-gyp rebuild

Setup

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"