{"repo":"taigrr/elevenlabs","free":true,"listed":false,"github":"https://github.com/taigrr/elevenlabs","clone":"git clone https://github.com/taigrr/elevenlabs.git","description":"Unofficial Go client for the ElevenLabs API: text-to-speech, speech-to-text, sound generation, and voice management.","language":"Go","stars":68,"topics":["ai","elevenlabs","tts","speech","speech-synthesis","go","golang","golang-library","api-client","sdk"],"license":"0BSD","category":"api-integrations-sdks","readme_excerpt":"elevenlabs Unofficial elevenlabs.io (11.ai) voice synthesis client This library is not affiliated with, nor associated with ElevenLabs in any way. ElevenLabs' official api documentation, upon which this client has been derived, can be found here. Purpose This go client provides an easy interface to create synthesized voices and make TTS (text-to-speech) requests to elevenlabs.io As a prerequisite, you must already have an account with elevenlabs.io. After creating your account, you can get your API key from here. Test Program To test out an example say program, run: go install github.com/taigrr/elevenlabs/cmd/say@latest Set the XI API KEY environment variable, and pipe it some text to give it a whirl! Example Code Text-to-Speech Example To use this library, create a new client and send a TTS request to a voice. The following code block illustrates how one might replicate the say/espeak command, using the streaming endpoint. I've opted to go with gopxl's beep package, but you can also save the file to an mp3 on-disk. Sound Generation Example The following example demonstrates how to generate sound effects using the Sound Generation API:","default_branch":null,"files":null,"tree":[],"storefront":"/r/taigrr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/taigrr/elevenlabs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}