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=1))


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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file voicevox-client-0.4.1.tar.gz.

File metadata

  • Download URL: voicevox-client-0.4.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for voicevox-client-0.4.1.tar.gz
Algorithm Hash digest
SHA256 ef5735ac5c34af85733a7afa88df0f01e091b905b1bc50fe0ac02771dc9480aa
MD5 6524d651942ebf70e16bd07db8215b4a
BLAKE2b-256 bbf4ed0f6dc30a758b740e632017b1b2d5ca274fa984b86a88c042530f2a345f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for voicevox_client-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 151e270189e4480c46c81ace6f5f6c8cae1e7db9858930140e4f105ff3ff7986
MD5 f991e4b1dfd3f9a3201949bbb67fd5c5
BLAKE2b-256 99937f17cbf96d7d7f70b1b1f36d309f52b8884a28259aa0d4b1feb5cc94829c

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