Voicevox engine unoffical wrapper
Project description
Unoffical API wrapper that you can use voicevox easy!
Requirements
Voicevox engine only!
Well if you want install voicevox engine, please read this.
Install
pip install voicevox-client
All that!
Example
from voicevox 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=4))
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-0.2.3.tar.gz
(8.5 kB
view details)
Built Distribution
File details
Details for the file voicevox-client-0.2.3.tar.gz
.
File metadata
- Download URL: voicevox-client-0.2.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d93b37c1e4aa7651e025b42adf63aa9670ee0445d20c4b68e85a6eac31c30844 |
|
MD5 | 6cde1957238721d2c7cf8f4f8eb030c2 |
|
BLAKE2b-256 | 0805cd553d820824fc995585ead6a3c88171fadf18745c2d6e949d6252043e70 |
File details
Details for the file voicevox_client-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: voicevox_client-0.2.3-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c9fa0ae1f00eaf16f978a332c2b503a59e9e5dc0e1b310c32d77a9c0cbfc2c4 |
|
MD5 | 9803f235be4d00c615eef76dd53ba296 |
|
BLAKE2b-256 | 3dd978b4a438a15c0bdde8a20820e1620c43425ca64a7b8df453b844a6db2673 |