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.2.tar.gz
(8.4 kB
view details)
Built Distribution
File details
Details for the file voicevox-client-0.2.2.tar.gz
.
File metadata
- Download URL: voicevox-client-0.2.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c20ff22d8a19e294bf8e3b318f7d97ba879cface257af9a77e60e8fcb572bb7e |
|
MD5 | ac4096c3c08ce3f32f01d29f46005144 |
|
BLAKE2b-256 | 52bab684a251c3008767f0d463dd04ffc0f56280c56186d73ed3bdb1b4a8e473 |
File details
Details for the file voicevox_client-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: voicevox_client-0.2.2-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.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82a00c36c4f6d1cde1edbfebc749cde4fe404c84ec979a5bdbf844cca973204 |
|
MD5 | 88beb11d415e1e41f9d856d789dab770 |
|
BLAKE2b-256 | 39122a6c7b3574d0df3472e814a0f88c77fe6a6871e3f7ffb8f81e706e159b48 |