Skip to main content

Voicevox engine unoffical wrapper

Project description

Documentation Status

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


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)

Uploaded Source

Built Distribution

voicevox_client-0.2.3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

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

Hashes for voicevox-client-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d93b37c1e4aa7651e025b42adf63aa9670ee0445d20c4b68e85a6eac31c30844
MD5 6cde1957238721d2c7cf8f4f8eb030c2
BLAKE2b-256 0805cd553d820824fc995585ead6a3c88171fadf18745c2d6e949d6252043e70

See more details on using hashes here.

File details

Details for the file voicevox_client-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for voicevox_client-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9c9fa0ae1f00eaf16f978a332c2b503a59e9e5dc0e1b310c32d77a9c0cbfc2c4
MD5 9803f235be4d00c615eef76dd53ba296
BLAKE2b-256 3dd978b4a438a15c0bdde8a20820e1620c43425ca64a7b8df453b844a6db2673

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page