Files
OpenWeb-UI/download_samples.sh
2025-08-07 20:11:08 +02:00

5 lines
205 B
Bash
Executable File

#!/bin/sh
for i in alloy echo fable onyx nova shimmer; do
[ ! -e "voices/$i.wav" ] && curl -s https://cdn.openai.com/API/docs/audio/$i.wav | ffmpeg -loglevel error -i - -ar 22050 -ac 1 voices/$i.wav
done