Voicevox engine unoffical wrapper
Project description
Unoffical API wrapper that you can use voicevox easy!
I referred to discord.py.
Requirements
Voicevox engine only!
Well if you want install voicevox engine, please read this.
Install
pip install voicevox-client
All that!
Example
from vvclient import Client
import asyncio
async def main():
async with Client() as client:
audio_query = await client.create_audio_query(
"こんにちは!", speaker=1
)
with open("voice.wav", "wb") as f:
f.write(await audio_query.synthesis(speaker=1))
if __name__ == "__main__":
## already in asyncio (in a Jupyter notebook, for example)
# await main()
## otherwise
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for voicevox_client-1.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b92eeaa501bb6b69cd99b284c05c17af8c4d4a1366bae3c25f3e3a85144345 |
|
MD5 | abb07f80881829fc4dd114da09532a63 |
|
BLAKE2b-256 | 52526734f5b3f9875befd20054fd78caa927a97de2317a3dedadcea7a0d295cc |