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
voicevox_client-1.1.0.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file voicevox_client-1.1.0.tar.gz
.
File metadata
- Download URL: voicevox_client-1.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e95ebfb91c13c927dc37442231b16d6c317e55b2bf0d220e31825b5d89552bec
|
|
MD5 |
bd42218c188c59cedf8ade119c86dc82
|
|
BLAKE2b-256 |
7ba4e88dd08aa1409e83e7510761ea732c51bad090b0a356d58fbf4a61d785e9
|
File details
Details for the file voicevox_client-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: voicevox_client-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ef577726d1b762671547fc84b9603228167cc42f3d865209be258288b288b074
|
|
MD5 |
dce8a516a3bd96bb8d811fb701b4ba4a
|
|
BLAKE2b-256 |
e18e73680df6d606a724576e80b95f4f910a53f85bebaeb8b2d76548d89a089c
|