Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moebiussurfing/ofxelevenlabs

openFrameworks addon for ElevenLabs Text-to-Speech API.
https://github.com/moebiussurfing/ofxelevenlabs

cpp elevenlabs elevenlabs-api openframeworks openframeworks-addon

Last synced: 19 days ago
JSON representation

openFrameworks addon for ElevenLabs Text-to-Speech API.

Awesome Lists containing this project

README

        

ofxElevenLabs
=============

An [openFrameworks](https://openframeworks.cc/) (C++) addon for the
[ElevenLabs](https://beta.elevenlabs.io/) **Text-to-Speech API**.

> **Prime Voice AI**.
The most realistic and versatile **AI speech software**, ever. Eleven brings the most compelling, rich and lifelike voices to creators and publishers seeking the ultimate tools for storytelling.
> **ElevenLabs** offer high-quality pre-made voices, a **Voice Design feature** that allows you to create unique voices, and a cloning feature for replicating existing voices.

## VIDEO
[IG Reel](https://www.instagram.com/p/Cu9Iy05OdpC/?utm_source=ig_web_copy_link&igsh=MzRlODBiNWFlZA==)

## SCREENSHOT
![](Capture.PNG)

## FEATURES
- Simple `threading` to not block the drawing.
- UI exposed and persistent `ofParameter` settings.
- Bundled Testing sentences workflow.

## IMPORTANT
- Sign-Up a free [ElevenLabs](https://beta.elevenlabs.io/sign-up) account before start.
- _Currently, a free account has a limitation of 10.000 characters per month. Paid accounts start at 5$ / month._
- Create your example project with the **OF PROJECT GENERATOR**.
- **Build**. After the first app session, two **JSON** files will be created.
- Edit the `\example\bin\data\ofxElevenLabs_Server.json` file and set your `apiKey` from your [ElevenLabs profile](https://beta.elevenlabs.io/speech-synthesis).

## USAGE

#### ofApp.h
```.cpp
#include "ofxElevenLabs.h"

ofxElevenLabs tts;
```

#### ofApp.cpp
```.cpp
void ofApp::draw()
{
tts.drawDebugHelp(); // Optional
}

void ofApp::keyPressed(int key)
{
tts.doSend("Hello, world");
}
```

## DEPENDENCIES
* **ofxGui**. (_OF core_) Only for the example.

## TESTED SYSTEMS
- **Windows 10** / **Visual Studio 2022** / **OF ~0.11.2**

## AUTHOR
An addon by **@moebiusSurfing**
*( ManuMolina ) 2023.*

### CONTACT / FOLLOW


Email |
Instagram |
itch.io |
YouTube |
Twitter |
Linktree