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.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for voicevox-client-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c20ff22d8a19e294bf8e3b318f7d97ba879cface257af9a77e60e8fcb572bb7e
MD5 ac4096c3c08ce3f32f01d29f46005144
BLAKE2b-256 52bab684a251c3008767f0d463dd04ffc0f56280c56186d73ed3bdb1b4a8e473

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for voicevox_client-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f82a00c36c4f6d1cde1edbfebc749cde4fe404c84ec979a5bdbf844cca973204
MD5 88beb11d415e1e41f9d856d789dab770
BLAKE2b-256 39122a6c7b3574d0df3472e814a0f88c77fe6a6871e3f7ffb8f81e706e159b48

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