Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge pull request #45 from mgorsk1/patch-1 #48

Merged
merged 5 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This is an open source Eleven Labs NodeJS package for converting text to speech
| `stability` | Stability for Text to Speech default (`0`) | `Float` |
| `similarityBoost` | Similarity Boost for Text to Speech default (`0`) | `Float` |
| `voiceId` | ElevenLabs Voice ID e.g (`pNInz6obpgDQGcFmaJgB`) | `String` |
| `modelId` | ElevenLabs Model ID e.g (`elevenlabs_multilingual_v2`) | `String` |
| `modelId` | ElevenLabs Model ID e.g (`eleven_multilingual_v2`) | `String` |
| `responseType` | Streaming response type e.g (`stream`) | `String` |
| `speakerBoost` | Speaker Boost for Text to Speech e.g (`true`) | `Boolean` |
| `style` | Style Exaggeration for Text to Speech (0-100) default (`0`) | `Integer` |
Expand Down Expand Up @@ -133,7 +133,7 @@ voice.textToSpeech({
voiceId: "21m00Tcm4TlvDq8ikWAM", // A different Voice ID from the default
stability: 0.5, // The stability for the converted speech
similarityBoost: 0.5, // The similarity boost for the converted speech
modelId: "elevenlabs_multilingual_v2", // The ElevenLabs Model ID
modelId: "eleven_multilingual_v2", // The ElevenLabs Model ID
style: 1, // The style exaggeration for the converted speech
speakerBoost: true // The speaker boost for the converted speech
}).then((res) => {
Expand Down Expand Up @@ -164,7 +164,7 @@ const voiceResponse = voice.textToSpeechStream({
voiceId: "21m00Tcm4TlvDq8ikWAM", // A different Voice ID from the default
stability: 0.5, // The stability for the converted speech
similarityBoost: 0.5, // The similarity boost for the converted speech
modelId: "elevenlabs_multilingual_v2", // The ElevenLabs Model ID
modelId: "eleven_multilingual_v2", // The ElevenLabs Model ID
style: 1, // The style exaggeration for the converted speech
responseType: "stream", // The streaming type (arraybuffer, stream, json)
speakerBoost: true // The speaker boost for the converted speech
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elevenlabs-node",
"version": "2.0.2",
"version": "2.0.3",
"description": "This is an open source Eleven Labs NodeJS package for converting text to speech using the Eleven Labs API",
"main": "index.js",
"scripts": {
Expand Down