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())
Release files for voicevox-client 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| voicevox_client-1.1.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| voicevox_client-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / voicevox_client-1.1.0.tar.gz
| Download URL | voicevox_client-1.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e95ebfb91c13c927dc37442231b16d6c317e55b2bf0d220e31825b5d89552bec
|
|
BLAKE2b-256 checksum How to use checksums |
7ba4e88dd08aa1409e83e7510761ea732c51bad090b0a356d58fbf4a61d785e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.6
|
Release files / voicevox_client-1.1.0-py3-none-any.whl
| Download URL | voicevox_client-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef577726d1b762671547fc84b9603228167cc42f3d865209be258288b288b074
|
|
BLAKE2b-256 checksum How to use checksums |
e18e73680df6d606a724576e80b95f4f910a53f85bebaeb8b2d76548d89a089c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.6
|