Created
July 1, 2025 12:43
-
-
Save schroneko/83fd9aa003d985cbf20be0bfc0873939 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| curl -s -X POST "localhost:50021/audio_query?speaker=1" --get --data-urlencode text="タスクガカンリョウシタノダ!" | jq --argjson accents "$(curl -s -X POST "localhost:50021/accent_phrases?speaker=1&is_kana=true" --get --data-urlencode text="タ'スクガ/カンリョウシ'タノダ")" '.accent_phrases = $accents' | curl -s -H "Content-Type: application/json" -X POST "localhost:50021/synthesis?speaker=1" -d @- > voicevox_task_done.wav && afplay voicevox_task_done.wav |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment