mirror of
https://github.com/matatonic/openedai-speech
synced 2025-06-26 18:16:32 +00:00
5 lines
205 B
Bash
Executable File
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
|