Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

regulad/easy-gTTS-py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-gTTS-py

Asynchronous interface to an easy-gtts server written with aiohttp.

Examples

import asyncio
from easygTTS import AsyncEasyGTTSSession


async def main():
    async with AsyncEasyGTTSSession("https://easy-gtts-api.dingus-server.regulad.xyz/") as text_to_speech:
        audio_bytes = await text_to_speech.synthesize("Hello, stinky world!")

    with open("Hello_world.mp3", "wb") as f:
        f.write(audio_bytes)
asyncio.run(main())

About

Easy python async interface to easy-gtts-api

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%