CLI

Overview

Install and get started with the CLI, the Typecast command-line tool for generating AI speech.

Save one Typecast command, and you can make the same kind of audio again whenever you need it. Use the command yourself, keep it in a note, or hand it to an AI agent so it can generate speech, save files, and create captions with the same settings every time.

This is useful when you create content repeatedly and do not want to rebuild the same Typecast request from scratch. Learn one or two commands, then reuse them for drafts, narration, voice previews, subtitles, and agent-driven production tasks.

cast "Hello, world!"
cast "Hello, world!" --voice-id tc_xxx --out hello.wav
cast "Hello, world." --out hello.wav --timestamps-out hello.srt
cast "I just got promoted!" --emotion smart

What you can repeat

WorkflowCommand
Play speech immediatelycast "Hello, world!"
Save a WAV filecast "Hello, world!" --out hello.wav
Save an MP3 filecast "Hello, world!" --out hello.mp3 --format mp3
Generate SRT captionscast "Hello, world." --out hello.wav --timestamps-out hello.srt
Generate WebVTT captionscast "Hello, world." --out hello.wav --timestamps-out hello.vtt --timestamps-format vtt
Use smart emotioncast "I can't believe it!" --emotion smart
Pick a voice interactivelycast voices pick
Clone a custom voicecast voices clone sample.wav --name "My Clone"
Set a default voicecast config set voice-id tc_xxx

Next steps

⌘I