Created
March 8, 2023 14:44
-
-
Save marron-akanishi/24ddb52759003c1f817a48c2a7762a4f to your computer and use it in GitHub Desktop.
吉里吉里でVOICEVOXを呼び出すためのbatファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
chcp 65001 | |
echo %~2>voice.txt | |
curl -s -X POST "localhost:50021/audio_query?speaker=%1" --get --data-urlencode text@voice.txt > query.json | |
curl -s -H "Content-Type: application/json" -X POST -d @query.json "localhost:50021/synthesis?speaker=%1" > %~3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment