/voicevox-python

API wrapper for voicevox

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

voicevox-python

example

from voicevox_python import Client, speaker2id

speaker_id = speaker2id("ずんだもん", "ノーマル")
client = Client()
query = client.audio_query("こんにちは", speaker_id)
audio = client.synthesis(query, speaker_id)
with open("out.wav", mode="wb") as f:
    f.write(audio)