TTS-OPENAI-FREE / download_samples.bat
imseldrith's picture
Upload folder using huggingface_hub (#2)
2a8b06e verified
raw
history blame
230 Bytes
@echo off
for %%i in (alloy echo fable onyx nova shimmer) do (
if not exist "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
)
)