1egaki speech "Hello, this is a test." -o hello.mp3
1234egaki speech "Welcome to the future of video." \ --model sonic-3.5 \ --voice <voice-id> \ -o narration.mp3
1cat script.txt | egaki speech --stdin -o narration.mp3
--speed from 0.6 to 1.5:1egaki speech "Speak faster." --speed 1.3 -o fast.mp3
| Provider | Models | Notes |
| OpenAI | tts-1, tts-1-hd | Standard quality |
| Cartesia | sonic-3.5, sonic-3 | Best quality, speed control |
| ElevenLabs | eleven_v3, eleven_multilingual_v2, eleven_flash_v2_5 | Multilingual |
1egaki voice clone recording.mp3 --name "my-voice" --json
12345678# 1. Separate vocals egaki demucs song.mp3 --stems vocals -o stems/ # 2. Clone the isolated voice egaki voice clone stems/song-vocals.mp3 --name "singer" --json # 3. Generate speech with the cloned voice egaki speech "Your text here." --voice <voice-id> -m sonic-3.5 -o output.mp3
--remove-background-noise option12345egaki voice clone noisy-audio.mp3 \ --provider elevenlabs \ --name "clean-voice" \ --remove-background-noise \ --json
1egaki demucs song.mp3 --stems vocals,other -o stems/
vocals, drums, bass, other, guitar, piano| Model | Stems | Best for |
htdemucs | vocals, drums, bass, other | General purpose |
htdemucs_ft | vocals, drums, bass, other | Fine-tuned, higher quality |
htdemucs_6s (default) | vocals, drums, bass, other, guitar, piano | 6-stem separation |
1egaki demucs song.mp3 --model htdemucs_6s --stems vocals,guitar -o stems/
1egaki bpm song.mp3
12BPM: 120 Interval: 0.500s
--json for structured output:12egaki bpm track.wav --json # { "bpm": 120, "intervalInSeconds": 0.5 }
1ffmpeg -i video.mp4 -f mp3 - | egaki bpm --stdin
12345# 1. Detect the BPM egaki bpm soundtrack.mp3 --json # { "bpm": 129 } # 2. Use it in your video
12345678910--- fps: 30 bpm: 129 --- <Audio src="/soundtrack.mp3" /> # Verse duration=8beats Scene cuts land on the beat.
node-web-audio-api, a native audio
processing library. It's listed as an optional dependency; if missing, the
command prints install instructions:1pnpm add node-web-audio-api
1egaki loudness song.mp3
1234Integrated: -14.2 LUFS Max: -8.1 LUFS Min: -28.4 LUFS Range: 20.3 LU
--json for structured output:1egaki loudness narration.mp3 --json
| Metric | Description |
| Integrated | Average perceived loudness across the whole file (gated) |
| Max | Loudest 400ms block |
| Min | Quietest 400ms block above the gate threshold |
| Range | Dynamic range (max - min) in LU |
| Platform | Target LUFS |
| YouTube | -14 |
| Spotify | -14 |
| Apple Music | -16 |
| Podcast | -16 to -18 |
| Broadcast TV | -24 |