openFrameworks addon for ElevenLabs Text-to-Speech API.
README
ofxElevenLabs
An openFrameworks (C++) addon for the ElevenLabs 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 ReelSCREENSHOT
FEATURES
- Simple
threadingto not block the drawing. - UI exposed and persistent
ofParametersettings. - Bundled Testing sentences workflow.
IMPORTANT
- Sign-Up a free ElevenLabs 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.jsonfile and set yourapiKeyfrom your ElevenLabs profile.
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
ofxAddons