Skip to main content
cast "$(cat script.txt)"
echo "System is ready." | cast
cast "$(curl -s https://example.com/status.txt)"
cast "Chapter one." --out ch1.wav
cast "Chapter two." --out ch2.wav
cast "Chapter three." --out ch3.wav
cast "$(cat shorts-script.txt)" \
  --out shorts-voiceover.wav \
  --timestamps-out shorts-voiceover.srt
cast "$(cat preview-script.txt)" \
  --out preview.wav \
  --timestamps-out preview.vtt \
  --timestamps-format vtt
voice_id=$(cast voices clone sample.wav --name "Draft Voice")
cast "$(cat narration.txt)" --voice-id "$voice_id" --out draft.wav
cast voices delete "$voice_id"
cast "It was a dark and stormy night." \
  --emotion preset --emotion-preset normal --emotion-intensity 0.5 --out intro.wav

cast "She opened the letter and gasped." \
  --emotion preset --emotion-preset happy --emotion-intensity 1.5 --out climax.wav

cast "He watched the train disappear into the fog." \
  --emotion preset --emotion-preset sad --out farewell.wav
cast "I can't believe we actually made it!" --emotion smart \
  --prev-text "We've been working on this for three years." \
  --next-text "Let's celebrate tonight!"
cast "Hello, world!" --seed 42 --out hello.wav
cast "Hello, world!" --seed 42 --out hello2.wav
cast "Bonjour le monde" --language fra
cast "Hola mundo" --language spa
cast "Buy now, limited time offer!" --tempo 1.3 --pitch 2
cast "Relax and take a deep breath." --tempo 0.85 --volume 90