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
Install with Homebrew or Go, then authenticate with your Typecast API key.
Convert text into playable audio or WAV/MP3 files with model, voice, and delivery controls.
Generate timestamp alignment data, SRT, or WebVTT subtitles alongside audio.
List, preview, pick, randomize, or run voice tournaments directly from the command line.
Create a temporary custom voice from a WAV or MP3 sample and use it with the CLI.
Store defaults in config, environment variables, or flags depending on your workflow.
What you can repeat
| Workflow | Command |
|---|---|
| Play speech immediately | cast "Hello, world!" |
| Save a WAV file | cast "Hello, world!" --out hello.wav |
| Save an MP3 file | cast "Hello, world!" --out hello.mp3 --format mp3 |
| Generate SRT captions | cast "Hello, world." --out hello.wav --timestamps-out hello.srt |
| Generate WebVTT captions | cast "Hello, world." --out hello.wav --timestamps-out hello.vtt --timestamps-format vtt |
| Use smart emotion | cast "I can't believe it!" --emotion smart |
| Pick a voice interactively | cast voices pick |
| Clone a custom voice | cast voices clone sample.wav --name "My Clone" |
| Set a default voice | cast config set voice-id tc_xxx |