@mastra/voice-speechify 0.0.0-commonjs-20250227130920
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +23 -0
- package/CHANGELOG.md +76 -0
- package/LICENSE +44 -0
- package/README.md +72 -0
- package/dist/_tsup-dts-rollup.d.cts +33 -0
- package/dist/_tsup-dts-rollup.d.ts +33 -0
- package/dist/index.cjs +789 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +787 -0
- package/eslint.config.js +6 -0
- package/package.json +41 -0
- package/src/index.test.ts +101 -0
- package/src/index.ts +104 -0
- package/src/voices.ts +711 -0
- package/tsconfig.json +5 -0
- package/vitest.config.ts +8 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
> @mastra/voice-speechify@0.1.1-alpha.0 build C:\Users\Ward\projects\mastra\mastra\voice\speechify
|
|
3
|
+
> tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake
|
|
4
|
+
|
|
5
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
+
[34mCLI[39m tsup v8.3.6
|
|
8
|
+
[34mTSC[39m Build start
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 1761ms
|
|
10
|
+
[34mDTS[39m Build start
|
|
11
|
+
[34mCLI[39m Target: es2022
|
|
12
|
+
Analysis will use the bundled TypeScript version 5.7.3
|
|
13
|
+
[36mWriting package typings: C:\Users\Ward\projects\mastra\mastra\voice\speechify\dist\_tsup-dts-rollup.d.ts[39m
|
|
14
|
+
Analysis will use the bundled TypeScript version 5.7.3
|
|
15
|
+
[36mWriting package typings: C:\Users\Ward\projects\mastra\mastra\voice\speechify\dist\_tsup-dts-rollup.d.cts[39m
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 3463ms
|
|
17
|
+
[34mCLI[39m Cleaning output folder
|
|
18
|
+
[34mESM[39m Build start
|
|
19
|
+
[34mCJS[39m Build start
|
|
20
|
+
[32mCJS[39m [1mdist\index.cjs [22m[32m10.31 KB[39m
|
|
21
|
+
[32mCJS[39m ⚡️ Build success in 178ms
|
|
22
|
+
[32mESM[39m [1mdist\index.js [22m[32m10.28 KB[39m
|
|
23
|
+
[32mESM[39m ⚡️ Build success in 179ms
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# @mastra/voice-speechify
|
|
2
|
+
|
|
3
|
+
## 0.0.0-commonjs-20250227130920
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4a712fc: Add support for commonjs
|
|
8
|
+
- Updated dependencies [ed55f1d]
|
|
9
|
+
- Updated dependencies [06aa827]
|
|
10
|
+
- Updated dependencies [8d13b14]
|
|
11
|
+
- Updated dependencies [4a712fc]
|
|
12
|
+
- Updated dependencies [108793c]
|
|
13
|
+
- Updated dependencies [5f28f44]
|
|
14
|
+
- @mastra/core@0.0.0-commonjs-20250227130920
|
|
15
|
+
|
|
16
|
+
## 0.1.1-alpha.0
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [06aa827]
|
|
21
|
+
- @mastra/core@0.4.3-alpha.0
|
|
22
|
+
|
|
23
|
+
## 0.1.0
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- f477df7: deprecate @mastra/speech-speechify for @mastra/voice-speechify
|
|
28
|
+
- Updated dependencies [7fceae1]
|
|
29
|
+
- Updated dependencies [8d94c3e]
|
|
30
|
+
- Updated dependencies [99dcdb5]
|
|
31
|
+
- Updated dependencies [6cb63e0]
|
|
32
|
+
- Updated dependencies [f626fbb]
|
|
33
|
+
- Updated dependencies [e752340]
|
|
34
|
+
- Updated dependencies [eb91535]
|
|
35
|
+
- @mastra/core@0.4.2
|
|
36
|
+
|
|
37
|
+
## 0.1.0-alpha.4
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [8d94c3e]
|
|
42
|
+
- Updated dependencies [99dcdb5]
|
|
43
|
+
- Updated dependencies [e752340]
|
|
44
|
+
- Updated dependencies [eb91535]
|
|
45
|
+
- @mastra/core@0.4.2-alpha.2
|
|
46
|
+
|
|
47
|
+
## 0.1.0-alpha.3
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [6cb63e0]
|
|
52
|
+
- @mastra/core@0.4.2-alpha.1
|
|
53
|
+
|
|
54
|
+
## 0.1.0-alpha.2
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- f477df7: deprecate @mastra/speech-speechify for @mastra/voice-speechify
|
|
59
|
+
|
|
60
|
+
## 0.1.0 (2024-XX-XX)
|
|
61
|
+
|
|
62
|
+
This package replaces the deprecated @mastra/speech-speechify package. All functionality has been migrated to this new package with a more consistent naming scheme.
|
|
63
|
+
|
|
64
|
+
### Changes from @mastra/speech-speechify
|
|
65
|
+
|
|
66
|
+
- Package renamed from @mastra/speech-speechify to @mastra/voice-speechify
|
|
67
|
+
- API changes:
|
|
68
|
+
- `SpeechifyTTS` class renamed to `SpeechifyVoice`
|
|
69
|
+
- `generate()` and `stream()` methods combined into `speak()`
|
|
70
|
+
- `voices()` method renamed to `getSpeakers()`
|
|
71
|
+
- Constructor configuration simplified
|
|
72
|
+
- Added support for text stream input
|
|
73
|
+
- All core functionality remains the same
|
|
74
|
+
- Import paths should be updated from '@mastra/speech-speechify' to '@mastra/voice-speechify'
|
|
75
|
+
|
|
76
|
+
For a complete history of changes prior to the rename, please see the changelog of the original package.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Elastic License 2.0 (ELv2)
|
|
2
|
+
|
|
3
|
+
**Acceptance**
|
|
4
|
+
By using the software, you agree to all of the terms and conditions below.
|
|
5
|
+
|
|
6
|
+
**Copyright License**
|
|
7
|
+
The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below
|
|
8
|
+
|
|
9
|
+
**Limitations**
|
|
10
|
+
You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.
|
|
11
|
+
|
|
12
|
+
You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key.
|
|
13
|
+
|
|
14
|
+
You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
|
|
15
|
+
|
|
16
|
+
**Patents**
|
|
17
|
+
The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
|
18
|
+
|
|
19
|
+
**Notices**
|
|
20
|
+
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
|
|
21
|
+
|
|
22
|
+
If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
|
|
23
|
+
|
|
24
|
+
**No Other Rights**
|
|
25
|
+
These terms do not imply any licenses other than those expressly granted in these terms.
|
|
26
|
+
|
|
27
|
+
**Termination**
|
|
28
|
+
If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
|
|
29
|
+
|
|
30
|
+
**No Liability**
|
|
31
|
+
As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
|
|
32
|
+
|
|
33
|
+
**Definitions**
|
|
34
|
+
The _licensor_ is the entity offering these terms, and the _software_ is the software the licensor makes available under these terms, including any portion of it.
|
|
35
|
+
|
|
36
|
+
_you_ refers to the individual or entity agreeing to these terms.
|
|
37
|
+
|
|
38
|
+
_your company_ is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. _control_ means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
|
39
|
+
|
|
40
|
+
_your licenses_ are all the licenses granted to you for the software under these terms.
|
|
41
|
+
|
|
42
|
+
_use_ means anything you do with the software requiring one of your licenses.
|
|
43
|
+
|
|
44
|
+
_trademark_ means trademarks, service marks, and similar rights.
|
package/README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# @mastra/voice-speechify
|
|
2
|
+
|
|
3
|
+
Mastra Voice integration with Speechify's API.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @mastra/voice-speechify
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
First, set your Speechify API key in your environment:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
export SPEECHIFY_API_KEY=your_api_key_here
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Then use it in your code:
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { SpeechifyVoice } from '@mastra/voice-speechify';
|
|
23
|
+
|
|
24
|
+
const voice = new SpeechifyVoice({
|
|
25
|
+
speechModel: {
|
|
26
|
+
name: 'simba-english', // Optional, defaults to 'simba-english'
|
|
27
|
+
apiKey: 'your-api-key', // Optional, can use SPEECHIFY_API_KEY env var
|
|
28
|
+
},
|
|
29
|
+
speaker: 'george', // Optional, defaults to 'george'
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
// List available speakers
|
|
33
|
+
const speakers = await voice.getSpeakers();
|
|
34
|
+
|
|
35
|
+
// Generate speech
|
|
36
|
+
const stream = await voice.speak('Hello world', {
|
|
37
|
+
speaker: 'george', // Optional, defaults to constructor speaker
|
|
38
|
+
// Additional Speechify options
|
|
39
|
+
audioFormat: 'mp3',
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
// The stream can be piped to a destination
|
|
43
|
+
stream.pipe(destination);
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Configuration
|
|
47
|
+
|
|
48
|
+
The `SpeechifyVoice` constructor accepts the following options:
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
interface SpeechifyConfig {
|
|
52
|
+
name?: string; // Optional Speechify model name (default: 'simba-english')
|
|
53
|
+
apiKey?: string; // Optional API key (can also use env var)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
new SpeechifyVoice({
|
|
57
|
+
speechModel?: SpeechifyConfig,
|
|
58
|
+
speaker?: string // Optional default speaker ID
|
|
59
|
+
})
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Available Speakers
|
|
63
|
+
|
|
64
|
+
You can get a list of available speakers:
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
const speakers = await voice.getSpeakers();
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## License
|
|
71
|
+
|
|
72
|
+
MIT
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { AudioStreamRequest } from '@speechify/api-sdk';
|
|
2
|
+
import { MastraVoice } from '@mastra/core/voice';
|
|
3
|
+
import type { VoiceModelName } from '@speechify/api-sdk';
|
|
4
|
+
|
|
5
|
+
export declare const SPEECHIFY_VOICES: readonly ["henry", "bwyneth", "carly", "kristy", "oliver", "tasha", "joe", "lisa", "george", "emily", "rob", "russell", "benjamin", "michael", "kim", "ankit", "arun", "carol", "helen", "julie", "linda", "mark", "nick", "elijah", "beverly", "collin", "erin", "jack", "jesse", "ken", "lindsey", "monica", "phil", "ron", "stacy", "archie", "evelyn", "freddie", "harper", "jacob", "james", "mason", "victoria", "christina", "douglas", "lauren", "patricia", "jennifer", "robert", "peter", "jeremy", "barbara", "susan", "charles", "harold", "sarah", "karen", "anthony", "donald", "paul", "steven", "andrew", "kenneth", "joshua", "betty", "margaret", "kyle", "edward", "ronald", "timothy", "sandra", "dorothy", "jeffrey", "kimberly", "donna", "walter", "megan", "richard", "amanda", "melissa", "deborah", "gary", "rebecca", "sharon", "cynthia", "kathleen", "joan", "shirley", "angela", "anna", "brenda", "larry", "keith", "scott", "pamela", "samuel", "gregory", "samantha", "katherine", "christine", "frank", "alexander", "raymond", "debra", "patrick", "catherine", "carolyn", "janet", "ruth", "zachary", "heather", "diane", "dennis", "jerry", "tyler", "aaron", "virginia", "joyce", "judith", "kelly", "nathan", "terry", "carl", "gerald", "jaqueline", "cheryl", "christian", "rohit", "gloria", "arthur", "austin", "sean", "martha", "randy", "ralph", "roy", "alan", "logan", "willie", "kathryn", "frances", "madison", "bruce", "billy", "jordan", "bryan", "dylan", "vincent", "eugene", "janice", "jean", "abigail", "alice", "bobby", "julia", "johnny", "judy", "bradley", "hunter", "dale", "howard", "fred", "danielle", "marilyn", "blake", "doris", "denise", "issac", "theresa", "natalie", "aiden", "brittany", "charlotte", "marie", "kayla", "alexis", "lori", "landon", "tiffany", "marcus", "martin", "curtis", "kathy", "todd", "leonard", "calvin", "rose", "ava", "bonnie", "peggy", "edwin", "don", "ruby", "crystal", "craig", "norma", "paula", "annie", "shawn", "lillian", "robin", "evan", "garrette", "francis", "danny", "stanley", "lucy", "jeffery", "herbert", "lee", "april", "anne", "tammy", "trevor", "eleanor", "regina", "carrie", "leah", "beth", "cody", "shane", "dana", "allison", "dawn", "julian", "wendy", "travis", "florence", "tracy", "adrian", "phillis", "carole", "mildred", "cameron", "chad", "connie", "gladys", "arlene", "jana", "leona", "miriam", "lorrie", "velma", "eduardo", "bennie", "rene", "ed", "stuart", "terrence", "delbert", "colin", "susanne", "hugo", "ignacio", "sheldon", "josefina", "corinne", "lana", "cherry", "erick", "frankie", "stewart", "claudette", "doyle", "darrel", "janine", "simone", "casey", "leta", "rogelio", "lorraine", "terence", "santiago", "alonzo", "benny", "elisa", "dee", "bert", "elbert", "charmaine", "roslyn", "shelley", "ramiro", "noel", "mercedes", "christie", "laurel", "spencer", "pat", "dorthy", "jeanie", "clare", "aileen", "grady", "deana", "cornelius", "cecelia", "maryann", "rolando", "lamar", "susana", "katharine", "clay", "liza", "jerri", "rochelle", "cathy", "percy", "dexter", "maribel", "rosemarie", "bradford", "kari", "nikki", "bernadette", "eugenia", "merie", "darie", "amon", "moses", "concetta", "irvin", "rodolfo", "christi", "roman", "janie", "marcy", "lindy", "tommie", "darnell", "randal", "selena", "shari", "antoinette", "timmy", "darrin", "margo", "sherri", "erika", "robbie", "marcella", "lela", "winston", "jeannine", "brendan", "christa", "deloris", "toby", "elva", "van", "abel", "myron", "gracie", "gwen", "melba", "boyd", "shawna", "courtney", "marlena", "cathie", "ramesh", "rita", "joel", "derek", "earl", "brett", "ellis", "ian", "oscar", "edna", "ethel", "gene", "shannon", "sheila", "dustin", "ellen", "hilda", "ray", "marjorie", "sylvia", "barry", "melvin", "thelma", "cindy", "miranda", "bernard", "carlton", "juanita", "darrell", "erik", "jeremiah", "nicolas", "gordon", "violet", "mona", "glen", "willis", "harvey", "rudolph", "preston", "cole", "june", "pauline", "leo", "earnest", "devin", "audrey", "claire", "vivian", "goldie", "tommy", "allen", "glenn", "wilson", "jill", "loretta", "mabel", "marsha", "lillie", "minnie", "essie", "madge", "viola", "nellie", "pearl", "marvin", "mae", "levi", "lucille", "hazel", "nathaniel", "lydia", "bertha", "ursula", "kay", "sue", "dean", "verna", "teri", "edith", "dan", "lewis", "harriett", "clifford", "genevieve", "colleen", "gilbert", "patrice", "jared", "elaine", "maureen", "edmund", "nina", "georgia", "garrett", "renee", "bessie", "leslie", "max", "leon", "fannie", "lowell", "veronica", "vanessa", "joy", "jim", "faith", "valerie", "wanda", "steve", "naomi", "miles", "marcia", "brent", "clinton", "jon", "marshall", "roberta", "alexandra", "doreen", "daisy", "della", "minerva", "cedric", "patsy", "kerry", "lena", "gregg", "lois", "kurt", "lorene", "susie", "nora", "lucinda", "mathew", "flora", "rosie", "sherman", "lance", "darcy", "mattie", "madeline", "sylvester", "cory", "anita", "allan", "lula", "nell", "priscilla", "kristin", "rosemary", "roosevelt", "geneva", "jeannette", "bob", "esther", "michele", "forrest", "wilbert", "cathleen", "jaime", "dwayne", "inez", "alberto", "lynne", "maxine", "wilma", "taylor", "angelina", "hope", "margie", "myrtle", "misty", "jimmie", "eunice", "everett", "miracle", "billie", "leland", "jackie", "kristina", "johnnie", "isaac", "bobbie", "tonya", "reba", "kristine", "amelia", "cassandra", "angie", "maude", "nichole", "marguerite", "justine", "kelli", "mandy", "jeri", "darla", "shelia", "jacquelin", "cara", "kellie", "jolene", "chelsea", "autumn", "glenda", "lolita", "jeanne", "sherrie", "toni", "becky", "jennie", "jenna", "leigh", "cristina", "blanche", "clarissa", "betsy", "bridget", "ginger", "faye", "candice", "jaclyn", "krista", "marisa", "gayle", "meredith", "angelica", "rachael", "candy", "trisha", "sandy", "holly", "alicia", "melinda", "geraldine", "tara", "isabel", "adrienne", "terra", "rubye", "antonia", "guadalupe", "cheri", "janelle", "constance", "robyn", "jodi", "krystal", "rosalie", "deanna", "debbie", "josie", "ronda", "paulette", "belinda", "alton", "rudy", "kelvin", "damon", "johnathan", "cesar", "ira", "horace", "grant", "lionel", "wilbur", "jake", "jody", "rickey", "lester", "pablo", "neal", "mack", "orlando", "alfonso", "ernesto", "rex", "lynn", "matt", "lyle", "kristopher", "hubert", "kenny", "doug", "sammy", "homer", "wendell", "woodrow", "felipe", "garry", "pete", "marco", "rufus", "owen", "bryant", "abraham", "irving", "jermaine", "julius", "marty", "alejandro", "carmen", "carlos", "celia", "lucas", "luiza", "diogo", "agueda", "raphael", "elise", "frederick", "andra", "frederik", "freja", "daan", "lotte", "eino", "helmi", "jakob", "frida", "kostas", "eleni", "lazzaro", "alessia", "mart", "liis", "trinh", "thoa", "lesya", "taras", "mikhail", "olga", "axel", "ebba", "hemant", "priya", "aicha", "ismail", "moshe", "inbar", "gil", "lital", "yusuf", "elif", "dominika", "michal"];
|
|
6
|
+
|
|
7
|
+
export declare interface SpeechifyConfig {
|
|
8
|
+
name?: VoiceModelName;
|
|
9
|
+
apiKey?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export declare class SpeechifyVoice extends MastraVoice {
|
|
13
|
+
private client;
|
|
14
|
+
constructor({ speechModel, speaker }?: {
|
|
15
|
+
speechModel?: SpeechifyConfig;
|
|
16
|
+
speaker?: SpeechifyVoiceId;
|
|
17
|
+
});
|
|
18
|
+
getSpeakers(): Promise<{
|
|
19
|
+
voiceId: "henry" | "bwyneth" | "carly" | "kristy" | "oliver" | "tasha" | "joe" | "lisa" | "george" | "emily" | "rob" | "russell" | "benjamin" | "michael" | "kim" | "ankit" | "arun" | "carol" | "helen" | "julie" | "linda" | "mark" | "nick" | "elijah" | "beverly" | "collin" | "erin" | "jack" | "jesse" | "ken" | "lindsey" | "monica" | "phil" | "ron" | "stacy" | "archie" | "evelyn" | "freddie" | "harper" | "jacob" | "james" | "mason" | "victoria" | "christina" | "douglas" | "lauren" | "patricia" | "jennifer" | "robert" | "peter" | "jeremy" | "barbara" | "susan" | "charles" | "harold" | "sarah" | "karen" | "anthony" | "donald" | "paul" | "steven" | "andrew" | "kenneth" | "joshua" | "betty" | "margaret" | "kyle" | "edward" | "ronald" | "timothy" | "sandra" | "dorothy" | "jeffrey" | "kimberly" | "donna" | "walter" | "megan" | "richard" | "amanda" | "melissa" | "deborah" | "gary" | "rebecca" | "sharon" | "cynthia" | "kathleen" | "joan" | "shirley" | "angela" | "anna" | "brenda" | "larry" | "keith" | "scott" | "pamela" | "samuel" | "gregory" | "samantha" | "katherine" | "christine" | "frank" | "alexander" | "raymond" | "debra" | "patrick" | "catherine" | "carolyn" | "janet" | "ruth" | "zachary" | "heather" | "diane" | "dennis" | "jerry" | "tyler" | "aaron" | "virginia" | "joyce" | "judith" | "kelly" | "nathan" | "terry" | "carl" | "gerald" | "jaqueline" | "cheryl" | "christian" | "rohit" | "gloria" | "arthur" | "austin" | "sean" | "martha" | "randy" | "ralph" | "roy" | "alan" | "logan" | "willie" | "kathryn" | "frances" | "madison" | "bruce" | "billy" | "jordan" | "bryan" | "dylan" | "vincent" | "eugene" | "janice" | "jean" | "abigail" | "alice" | "bobby" | "julia" | "johnny" | "judy" | "bradley" | "hunter" | "dale" | "howard" | "fred" | "danielle" | "marilyn" | "blake" | "doris" | "denise" | "issac" | "theresa" | "natalie" | "aiden" | "brittany" | "charlotte" | "marie" | "kayla" | "alexis" | "lori" | "landon" | "tiffany" | "marcus" | "martin" | "curtis" | "kathy" | "todd" | "leonard" | "calvin" | "rose" | "ava" | "bonnie" | "peggy" | "edwin" | "don" | "ruby" | "crystal" | "craig" | "norma" | "paula" | "annie" | "shawn" | "lillian" | "robin" | "evan" | "garrette" | "francis" | "danny" | "stanley" | "lucy" | "jeffery" | "herbert" | "lee" | "april" | "anne" | "tammy" | "trevor" | "eleanor" | "regina" | "carrie" | "leah" | "beth" | "cody" | "shane" | "dana" | "allison" | "dawn" | "julian" | "wendy" | "travis" | "florence" | "tracy" | "adrian" | "phillis" | "carole" | "mildred" | "cameron" | "chad" | "connie" | "gladys" | "arlene" | "jana" | "leona" | "miriam" | "lorrie" | "velma" | "eduardo" | "bennie" | "rene" | "ed" | "stuart" | "terrence" | "delbert" | "colin" | "susanne" | "hugo" | "ignacio" | "sheldon" | "josefina" | "corinne" | "lana" | "cherry" | "erick" | "frankie" | "stewart" | "claudette" | "doyle" | "darrel" | "janine" | "simone" | "casey" | "leta" | "rogelio" | "lorraine" | "terence" | "santiago" | "alonzo" | "benny" | "elisa" | "dee" | "bert" | "elbert" | "charmaine" | "roslyn" | "shelley" | "ramiro" | "noel" | "mercedes" | "christie" | "laurel" | "spencer" | "pat" | "dorthy" | "jeanie" | "clare" | "aileen" | "grady" | "deana" | "cornelius" | "cecelia" | "maryann" | "rolando" | "lamar" | "susana" | "katharine" | "clay" | "liza" | "jerri" | "rochelle" | "cathy" | "percy" | "dexter" | "maribel" | "rosemarie" | "bradford" | "kari" | "nikki" | "bernadette" | "eugenia" | "merie" | "darie" | "amon" | "moses" | "concetta" | "irvin" | "rodolfo" | "christi" | "roman" | "janie" | "marcy" | "lindy" | "tommie" | "darnell" | "randal" | "selena" | "shari" | "antoinette" | "timmy" | "darrin" | "margo" | "sherri" | "erika" | "robbie" | "marcella" | "lela" | "winston" | "jeannine" | "brendan" | "christa" | "deloris" | "toby" | "elva" | "van" | "abel" | "myron" | "gracie" | "gwen" | "melba" | "boyd" | "shawna" | "courtney" | "marlena" | "cathie" | "ramesh" | "rita" | "joel" | "derek" | "earl" | "brett" | "ellis" | "ian" | "oscar" | "edna" | "ethel" | "gene" | "shannon" | "sheila" | "dustin" | "ellen" | "hilda" | "ray" | "marjorie" | "sylvia" | "barry" | "melvin" | "thelma" | "cindy" | "miranda" | "bernard" | "carlton" | "juanita" | "darrell" | "erik" | "jeremiah" | "nicolas" | "gordon" | "violet" | "mona" | "glen" | "willis" | "harvey" | "rudolph" | "preston" | "cole" | "june" | "pauline" | "leo" | "earnest" | "devin" | "audrey" | "claire" | "vivian" | "goldie" | "tommy" | "allen" | "glenn" | "wilson" | "jill" | "loretta" | "mabel" | "marsha" | "lillie" | "minnie" | "essie" | "madge" | "viola" | "nellie" | "pearl" | "marvin" | "mae" | "levi" | "lucille" | "hazel" | "nathaniel" | "lydia" | "bertha" | "ursula" | "kay" | "sue" | "dean" | "verna" | "teri" | "edith" | "dan" | "lewis" | "harriett" | "clifford" | "genevieve" | "colleen" | "gilbert" | "patrice" | "jared" | "elaine" | "maureen" | "edmund" | "nina" | "georgia" | "garrett" | "renee" | "bessie" | "leslie" | "max" | "leon" | "fannie" | "lowell" | "veronica" | "vanessa" | "joy" | "jim" | "faith" | "valerie" | "wanda" | "steve" | "naomi" | "miles" | "marcia" | "brent" | "clinton" | "jon" | "marshall" | "roberta" | "alexandra" | "doreen" | "daisy" | "della" | "minerva" | "cedric" | "patsy" | "kerry" | "lena" | "gregg" | "lois" | "kurt" | "lorene" | "susie" | "nora" | "lucinda" | "mathew" | "flora" | "rosie" | "sherman" | "lance" | "darcy" | "mattie" | "madeline" | "sylvester" | "cory" | "anita" | "allan" | "lula" | "nell" | "priscilla" | "kristin" | "rosemary" | "roosevelt" | "geneva" | "jeannette" | "bob" | "esther" | "michele" | "forrest" | "wilbert" | "cathleen" | "jaime" | "dwayne" | "inez" | "alberto" | "lynne" | "maxine" | "wilma" | "taylor" | "angelina" | "hope" | "margie" | "myrtle" | "misty" | "jimmie" | "eunice" | "everett" | "miracle" | "billie" | "leland" | "jackie" | "kristina" | "johnnie" | "isaac" | "bobbie" | "tonya" | "reba" | "kristine" | "amelia" | "cassandra" | "angie" | "maude" | "nichole" | "marguerite" | "justine" | "kelli" | "mandy" | "jeri" | "darla" | "shelia" | "jacquelin" | "cara" | "kellie" | "jolene" | "chelsea" | "autumn" | "glenda" | "lolita" | "jeanne" | "sherrie" | "toni" | "becky" | "jennie" | "jenna" | "leigh" | "cristina" | "blanche" | "clarissa" | "betsy" | "bridget" | "ginger" | "faye" | "candice" | "jaclyn" | "krista" | "marisa" | "gayle" | "meredith" | "angelica" | "rachael" | "candy" | "trisha" | "sandy" | "holly" | "alicia" | "melinda" | "geraldine" | "tara" | "isabel" | "adrienne" | "terra" | "rubye" | "antonia" | "guadalupe" | "cheri" | "janelle" | "constance" | "robyn" | "jodi" | "krystal" | "rosalie" | "deanna" | "debbie" | "josie" | "ronda" | "paulette" | "belinda" | "alton" | "rudy" | "kelvin" | "damon" | "johnathan" | "cesar" | "ira" | "horace" | "grant" | "lionel" | "wilbur" | "jake" | "jody" | "rickey" | "lester" | "pablo" | "neal" | "mack" | "orlando" | "alfonso" | "ernesto" | "rex" | "lynn" | "matt" | "lyle" | "kristopher" | "hubert" | "kenny" | "doug" | "sammy" | "homer" | "wendell" | "woodrow" | "felipe" | "garry" | "pete" | "marco" | "rufus" | "owen" | "bryant" | "abraham" | "irving" | "jermaine" | "julius" | "marty" | "alejandro" | "carmen" | "carlos" | "celia" | "lucas" | "luiza" | "diogo" | "agueda" | "raphael" | "elise" | "frederick" | "andra" | "frederik" | "freja" | "daan" | "lotte" | "eino" | "helmi" | "jakob" | "frida" | "kostas" | "eleni" | "lazzaro" | "alessia" | "mart" | "liis" | "trinh" | "thoa" | "lesya" | "taras" | "mikhail" | "olga" | "axel" | "ebba" | "hemant" | "priya" | "aicha" | "ismail" | "moshe" | "inbar" | "gil" | "lital" | "yusuf" | "elif" | "dominika" | "michal";
|
|
20
|
+
name: "henry" | "bwyneth" | "carly" | "kristy" | "oliver" | "tasha" | "joe" | "lisa" | "george" | "emily" | "rob" | "russell" | "benjamin" | "michael" | "kim" | "ankit" | "arun" | "carol" | "helen" | "julie" | "linda" | "mark" | "nick" | "elijah" | "beverly" | "collin" | "erin" | "jack" | "jesse" | "ken" | "lindsey" | "monica" | "phil" | "ron" | "stacy" | "archie" | "evelyn" | "freddie" | "harper" | "jacob" | "james" | "mason" | "victoria" | "christina" | "douglas" | "lauren" | "patricia" | "jennifer" | "robert" | "peter" | "jeremy" | "barbara" | "susan" | "charles" | "harold" | "sarah" | "karen" | "anthony" | "donald" | "paul" | "steven" | "andrew" | "kenneth" | "joshua" | "betty" | "margaret" | "kyle" | "edward" | "ronald" | "timothy" | "sandra" | "dorothy" | "jeffrey" | "kimberly" | "donna" | "walter" | "megan" | "richard" | "amanda" | "melissa" | "deborah" | "gary" | "rebecca" | "sharon" | "cynthia" | "kathleen" | "joan" | "shirley" | "angela" | "anna" | "brenda" | "larry" | "keith" | "scott" | "pamela" | "samuel" | "gregory" | "samantha" | "katherine" | "christine" | "frank" | "alexander" | "raymond" | "debra" | "patrick" | "catherine" | "carolyn" | "janet" | "ruth" | "zachary" | "heather" | "diane" | "dennis" | "jerry" | "tyler" | "aaron" | "virginia" | "joyce" | "judith" | "kelly" | "nathan" | "terry" | "carl" | "gerald" | "jaqueline" | "cheryl" | "christian" | "rohit" | "gloria" | "arthur" | "austin" | "sean" | "martha" | "randy" | "ralph" | "roy" | "alan" | "logan" | "willie" | "kathryn" | "frances" | "madison" | "bruce" | "billy" | "jordan" | "bryan" | "dylan" | "vincent" | "eugene" | "janice" | "jean" | "abigail" | "alice" | "bobby" | "julia" | "johnny" | "judy" | "bradley" | "hunter" | "dale" | "howard" | "fred" | "danielle" | "marilyn" | "blake" | "doris" | "denise" | "issac" | "theresa" | "natalie" | "aiden" | "brittany" | "charlotte" | "marie" | "kayla" | "alexis" | "lori" | "landon" | "tiffany" | "marcus" | "martin" | "curtis" | "kathy" | "todd" | "leonard" | "calvin" | "rose" | "ava" | "bonnie" | "peggy" | "edwin" | "don" | "ruby" | "crystal" | "craig" | "norma" | "paula" | "annie" | "shawn" | "lillian" | "robin" | "evan" | "garrette" | "francis" | "danny" | "stanley" | "lucy" | "jeffery" | "herbert" | "lee" | "april" | "anne" | "tammy" | "trevor" | "eleanor" | "regina" | "carrie" | "leah" | "beth" | "cody" | "shane" | "dana" | "allison" | "dawn" | "julian" | "wendy" | "travis" | "florence" | "tracy" | "adrian" | "phillis" | "carole" | "mildred" | "cameron" | "chad" | "connie" | "gladys" | "arlene" | "jana" | "leona" | "miriam" | "lorrie" | "velma" | "eduardo" | "bennie" | "rene" | "ed" | "stuart" | "terrence" | "delbert" | "colin" | "susanne" | "hugo" | "ignacio" | "sheldon" | "josefina" | "corinne" | "lana" | "cherry" | "erick" | "frankie" | "stewart" | "claudette" | "doyle" | "darrel" | "janine" | "simone" | "casey" | "leta" | "rogelio" | "lorraine" | "terence" | "santiago" | "alonzo" | "benny" | "elisa" | "dee" | "bert" | "elbert" | "charmaine" | "roslyn" | "shelley" | "ramiro" | "noel" | "mercedes" | "christie" | "laurel" | "spencer" | "pat" | "dorthy" | "jeanie" | "clare" | "aileen" | "grady" | "deana" | "cornelius" | "cecelia" | "maryann" | "rolando" | "lamar" | "susana" | "katharine" | "clay" | "liza" | "jerri" | "rochelle" | "cathy" | "percy" | "dexter" | "maribel" | "rosemarie" | "bradford" | "kari" | "nikki" | "bernadette" | "eugenia" | "merie" | "darie" | "amon" | "moses" | "concetta" | "irvin" | "rodolfo" | "christi" | "roman" | "janie" | "marcy" | "lindy" | "tommie" | "darnell" | "randal" | "selena" | "shari" | "antoinette" | "timmy" | "darrin" | "margo" | "sherri" | "erika" | "robbie" | "marcella" | "lela" | "winston" | "jeannine" | "brendan" | "christa" | "deloris" | "toby" | "elva" | "van" | "abel" | "myron" | "gracie" | "gwen" | "melba" | "boyd" | "shawna" | "courtney" | "marlena" | "cathie" | "ramesh" | "rita" | "joel" | "derek" | "earl" | "brett" | "ellis" | "ian" | "oscar" | "edna" | "ethel" | "gene" | "shannon" | "sheila" | "dustin" | "ellen" | "hilda" | "ray" | "marjorie" | "sylvia" | "barry" | "melvin" | "thelma" | "cindy" | "miranda" | "bernard" | "carlton" | "juanita" | "darrell" | "erik" | "jeremiah" | "nicolas" | "gordon" | "violet" | "mona" | "glen" | "willis" | "harvey" | "rudolph" | "preston" | "cole" | "june" | "pauline" | "leo" | "earnest" | "devin" | "audrey" | "claire" | "vivian" | "goldie" | "tommy" | "allen" | "glenn" | "wilson" | "jill" | "loretta" | "mabel" | "marsha" | "lillie" | "minnie" | "essie" | "madge" | "viola" | "nellie" | "pearl" | "marvin" | "mae" | "levi" | "lucille" | "hazel" | "nathaniel" | "lydia" | "bertha" | "ursula" | "kay" | "sue" | "dean" | "verna" | "teri" | "edith" | "dan" | "lewis" | "harriett" | "clifford" | "genevieve" | "colleen" | "gilbert" | "patrice" | "jared" | "elaine" | "maureen" | "edmund" | "nina" | "georgia" | "garrett" | "renee" | "bessie" | "leslie" | "max" | "leon" | "fannie" | "lowell" | "veronica" | "vanessa" | "joy" | "jim" | "faith" | "valerie" | "wanda" | "steve" | "naomi" | "miles" | "marcia" | "brent" | "clinton" | "jon" | "marshall" | "roberta" | "alexandra" | "doreen" | "daisy" | "della" | "minerva" | "cedric" | "patsy" | "kerry" | "lena" | "gregg" | "lois" | "kurt" | "lorene" | "susie" | "nora" | "lucinda" | "mathew" | "flora" | "rosie" | "sherman" | "lance" | "darcy" | "mattie" | "madeline" | "sylvester" | "cory" | "anita" | "allan" | "lula" | "nell" | "priscilla" | "kristin" | "rosemary" | "roosevelt" | "geneva" | "jeannette" | "bob" | "esther" | "michele" | "forrest" | "wilbert" | "cathleen" | "jaime" | "dwayne" | "inez" | "alberto" | "lynne" | "maxine" | "wilma" | "taylor" | "angelina" | "hope" | "margie" | "myrtle" | "misty" | "jimmie" | "eunice" | "everett" | "miracle" | "billie" | "leland" | "jackie" | "kristina" | "johnnie" | "isaac" | "bobbie" | "tonya" | "reba" | "kristine" | "amelia" | "cassandra" | "angie" | "maude" | "nichole" | "marguerite" | "justine" | "kelli" | "mandy" | "jeri" | "darla" | "shelia" | "jacquelin" | "cara" | "kellie" | "jolene" | "chelsea" | "autumn" | "glenda" | "lolita" | "jeanne" | "sherrie" | "toni" | "becky" | "jennie" | "jenna" | "leigh" | "cristina" | "blanche" | "clarissa" | "betsy" | "bridget" | "ginger" | "faye" | "candice" | "jaclyn" | "krista" | "marisa" | "gayle" | "meredith" | "angelica" | "rachael" | "candy" | "trisha" | "sandy" | "holly" | "alicia" | "melinda" | "geraldine" | "tara" | "isabel" | "adrienne" | "terra" | "rubye" | "antonia" | "guadalupe" | "cheri" | "janelle" | "constance" | "robyn" | "jodi" | "krystal" | "rosalie" | "deanna" | "debbie" | "josie" | "ronda" | "paulette" | "belinda" | "alton" | "rudy" | "kelvin" | "damon" | "johnathan" | "cesar" | "ira" | "horace" | "grant" | "lionel" | "wilbur" | "jake" | "jody" | "rickey" | "lester" | "pablo" | "neal" | "mack" | "orlando" | "alfonso" | "ernesto" | "rex" | "lynn" | "matt" | "lyle" | "kristopher" | "hubert" | "kenny" | "doug" | "sammy" | "homer" | "wendell" | "woodrow" | "felipe" | "garry" | "pete" | "marco" | "rufus" | "owen" | "bryant" | "abraham" | "irving" | "jermaine" | "julius" | "marty" | "alejandro" | "carmen" | "carlos" | "celia" | "lucas" | "luiza" | "diogo" | "agueda" | "raphael" | "elise" | "frederick" | "andra" | "frederik" | "freja" | "daan" | "lotte" | "eino" | "helmi" | "jakob" | "frida" | "kostas" | "eleni" | "lazzaro" | "alessia" | "mart" | "liis" | "trinh" | "thoa" | "lesya" | "taras" | "mikhail" | "olga" | "axel" | "ebba" | "hemant" | "priya" | "aicha" | "ismail" | "moshe" | "inbar" | "gil" | "lital" | "yusuf" | "elif" | "dominika" | "michal";
|
|
21
|
+
}[]>;
|
|
22
|
+
private streamToString;
|
|
23
|
+
speak(input: string | NodeJS.ReadableStream, options?: {
|
|
24
|
+
speaker?: string;
|
|
25
|
+
} & Omit<AudioStreamRequest, 'voiceId' | 'input'>): Promise<NodeJS.ReadableStream>;
|
|
26
|
+
listen(_input: NodeJS.ReadableStream, _options?: Record<string, unknown>): Promise<string | NodeJS.ReadableStream>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare type SpeechifyVoiceId = (typeof SPEECHIFY_VOICES)[number];
|
|
30
|
+
export { SpeechifyVoiceId }
|
|
31
|
+
export { SpeechifyVoiceId as SpeechifyVoiceId_alias_1 }
|
|
32
|
+
|
|
33
|
+
export { }
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { AudioStreamRequest } from '@speechify/api-sdk';
|
|
2
|
+
import { MastraVoice } from '@mastra/core/voice';
|
|
3
|
+
import type { VoiceModelName } from '@speechify/api-sdk';
|
|
4
|
+
|
|
5
|
+
export declare const SPEECHIFY_VOICES: readonly ["henry", "bwyneth", "carly", "kristy", "oliver", "tasha", "joe", "lisa", "george", "emily", "rob", "russell", "benjamin", "michael", "kim", "ankit", "arun", "carol", "helen", "julie", "linda", "mark", "nick", "elijah", "beverly", "collin", "erin", "jack", "jesse", "ken", "lindsey", "monica", "phil", "ron", "stacy", "archie", "evelyn", "freddie", "harper", "jacob", "james", "mason", "victoria", "christina", "douglas", "lauren", "patricia", "jennifer", "robert", "peter", "jeremy", "barbara", "susan", "charles", "harold", "sarah", "karen", "anthony", "donald", "paul", "steven", "andrew", "kenneth", "joshua", "betty", "margaret", "kyle", "edward", "ronald", "timothy", "sandra", "dorothy", "jeffrey", "kimberly", "donna", "walter", "megan", "richard", "amanda", "melissa", "deborah", "gary", "rebecca", "sharon", "cynthia", "kathleen", "joan", "shirley", "angela", "anna", "brenda", "larry", "keith", "scott", "pamela", "samuel", "gregory", "samantha", "katherine", "christine", "frank", "alexander", "raymond", "debra", "patrick", "catherine", "carolyn", "janet", "ruth", "zachary", "heather", "diane", "dennis", "jerry", "tyler", "aaron", "virginia", "joyce", "judith", "kelly", "nathan", "terry", "carl", "gerald", "jaqueline", "cheryl", "christian", "rohit", "gloria", "arthur", "austin", "sean", "martha", "randy", "ralph", "roy", "alan", "logan", "willie", "kathryn", "frances", "madison", "bruce", "billy", "jordan", "bryan", "dylan", "vincent", "eugene", "janice", "jean", "abigail", "alice", "bobby", "julia", "johnny", "judy", "bradley", "hunter", "dale", "howard", "fred", "danielle", "marilyn", "blake", "doris", "denise", "issac", "theresa", "natalie", "aiden", "brittany", "charlotte", "marie", "kayla", "alexis", "lori", "landon", "tiffany", "marcus", "martin", "curtis", "kathy", "todd", "leonard", "calvin", "rose", "ava", "bonnie", "peggy", "edwin", "don", "ruby", "crystal", "craig", "norma", "paula", "annie", "shawn", "lillian", "robin", "evan", "garrette", "francis", "danny", "stanley", "lucy", "jeffery", "herbert", "lee", "april", "anne", "tammy", "trevor", "eleanor", "regina", "carrie", "leah", "beth", "cody", "shane", "dana", "allison", "dawn", "julian", "wendy", "travis", "florence", "tracy", "adrian", "phillis", "carole", "mildred", "cameron", "chad", "connie", "gladys", "arlene", "jana", "leona", "miriam", "lorrie", "velma", "eduardo", "bennie", "rene", "ed", "stuart", "terrence", "delbert", "colin", "susanne", "hugo", "ignacio", "sheldon", "josefina", "corinne", "lana", "cherry", "erick", "frankie", "stewart", "claudette", "doyle", "darrel", "janine", "simone", "casey", "leta", "rogelio", "lorraine", "terence", "santiago", "alonzo", "benny", "elisa", "dee", "bert", "elbert", "charmaine", "roslyn", "shelley", "ramiro", "noel", "mercedes", "christie", "laurel", "spencer", "pat", "dorthy", "jeanie", "clare", "aileen", "grady", "deana", "cornelius", "cecelia", "maryann", "rolando", "lamar", "susana", "katharine", "clay", "liza", "jerri", "rochelle", "cathy", "percy", "dexter", "maribel", "rosemarie", "bradford", "kari", "nikki", "bernadette", "eugenia", "merie", "darie", "amon", "moses", "concetta", "irvin", "rodolfo", "christi", "roman", "janie", "marcy", "lindy", "tommie", "darnell", "randal", "selena", "shari", "antoinette", "timmy", "darrin", "margo", "sherri", "erika", "robbie", "marcella", "lela", "winston", "jeannine", "brendan", "christa", "deloris", "toby", "elva", "van", "abel", "myron", "gracie", "gwen", "melba", "boyd", "shawna", "courtney", "marlena", "cathie", "ramesh", "rita", "joel", "derek", "earl", "brett", "ellis", "ian", "oscar", "edna", "ethel", "gene", "shannon", "sheila", "dustin", "ellen", "hilda", "ray", "marjorie", "sylvia", "barry", "melvin", "thelma", "cindy", "miranda", "bernard", "carlton", "juanita", "darrell", "erik", "jeremiah", "nicolas", "gordon", "violet", "mona", "glen", "willis", "harvey", "rudolph", "preston", "cole", "june", "pauline", "leo", "earnest", "devin", "audrey", "claire", "vivian", "goldie", "tommy", "allen", "glenn", "wilson", "jill", "loretta", "mabel", "marsha", "lillie", "minnie", "essie", "madge", "viola", "nellie", "pearl", "marvin", "mae", "levi", "lucille", "hazel", "nathaniel", "lydia", "bertha", "ursula", "kay", "sue", "dean", "verna", "teri", "edith", "dan", "lewis", "harriett", "clifford", "genevieve", "colleen", "gilbert", "patrice", "jared", "elaine", "maureen", "edmund", "nina", "georgia", "garrett", "renee", "bessie", "leslie", "max", "leon", "fannie", "lowell", "veronica", "vanessa", "joy", "jim", "faith", "valerie", "wanda", "steve", "naomi", "miles", "marcia", "brent", "clinton", "jon", "marshall", "roberta", "alexandra", "doreen", "daisy", "della", "minerva", "cedric", "patsy", "kerry", "lena", "gregg", "lois", "kurt", "lorene", "susie", "nora", "lucinda", "mathew", "flora", "rosie", "sherman", "lance", "darcy", "mattie", "madeline", "sylvester", "cory", "anita", "allan", "lula", "nell", "priscilla", "kristin", "rosemary", "roosevelt", "geneva", "jeannette", "bob", "esther", "michele", "forrest", "wilbert", "cathleen", "jaime", "dwayne", "inez", "alberto", "lynne", "maxine", "wilma", "taylor", "angelina", "hope", "margie", "myrtle", "misty", "jimmie", "eunice", "everett", "miracle", "billie", "leland", "jackie", "kristina", "johnnie", "isaac", "bobbie", "tonya", "reba", "kristine", "amelia", "cassandra", "angie", "maude", "nichole", "marguerite", "justine", "kelli", "mandy", "jeri", "darla", "shelia", "jacquelin", "cara", "kellie", "jolene", "chelsea", "autumn", "glenda", "lolita", "jeanne", "sherrie", "toni", "becky", "jennie", "jenna", "leigh", "cristina", "blanche", "clarissa", "betsy", "bridget", "ginger", "faye", "candice", "jaclyn", "krista", "marisa", "gayle", "meredith", "angelica", "rachael", "candy", "trisha", "sandy", "holly", "alicia", "melinda", "geraldine", "tara", "isabel", "adrienne", "terra", "rubye", "antonia", "guadalupe", "cheri", "janelle", "constance", "robyn", "jodi", "krystal", "rosalie", "deanna", "debbie", "josie", "ronda", "paulette", "belinda", "alton", "rudy", "kelvin", "damon", "johnathan", "cesar", "ira", "horace", "grant", "lionel", "wilbur", "jake", "jody", "rickey", "lester", "pablo", "neal", "mack", "orlando", "alfonso", "ernesto", "rex", "lynn", "matt", "lyle", "kristopher", "hubert", "kenny", "doug", "sammy", "homer", "wendell", "woodrow", "felipe", "garry", "pete", "marco", "rufus", "owen", "bryant", "abraham", "irving", "jermaine", "julius", "marty", "alejandro", "carmen", "carlos", "celia", "lucas", "luiza", "diogo", "agueda", "raphael", "elise", "frederick", "andra", "frederik", "freja", "daan", "lotte", "eino", "helmi", "jakob", "frida", "kostas", "eleni", "lazzaro", "alessia", "mart", "liis", "trinh", "thoa", "lesya", "taras", "mikhail", "olga", "axel", "ebba", "hemant", "priya", "aicha", "ismail", "moshe", "inbar", "gil", "lital", "yusuf", "elif", "dominika", "michal"];
|
|
6
|
+
|
|
7
|
+
export declare interface SpeechifyConfig {
|
|
8
|
+
name?: VoiceModelName;
|
|
9
|
+
apiKey?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export declare class SpeechifyVoice extends MastraVoice {
|
|
13
|
+
private client;
|
|
14
|
+
constructor({ speechModel, speaker }?: {
|
|
15
|
+
speechModel?: SpeechifyConfig;
|
|
16
|
+
speaker?: SpeechifyVoiceId;
|
|
17
|
+
});
|
|
18
|
+
getSpeakers(): Promise<{
|
|
19
|
+
voiceId: "henry" | "bwyneth" | "carly" | "kristy" | "oliver" | "tasha" | "joe" | "lisa" | "george" | "emily" | "rob" | "russell" | "benjamin" | "michael" | "kim" | "ankit" | "arun" | "carol" | "helen" | "julie" | "linda" | "mark" | "nick" | "elijah" | "beverly" | "collin" | "erin" | "jack" | "jesse" | "ken" | "lindsey" | "monica" | "phil" | "ron" | "stacy" | "archie" | "evelyn" | "freddie" | "harper" | "jacob" | "james" | "mason" | "victoria" | "christina" | "douglas" | "lauren" | "patricia" | "jennifer" | "robert" | "peter" | "jeremy" | "barbara" | "susan" | "charles" | "harold" | "sarah" | "karen" | "anthony" | "donald" | "paul" | "steven" | "andrew" | "kenneth" | "joshua" | "betty" | "margaret" | "kyle" | "edward" | "ronald" | "timothy" | "sandra" | "dorothy" | "jeffrey" | "kimberly" | "donna" | "walter" | "megan" | "richard" | "amanda" | "melissa" | "deborah" | "gary" | "rebecca" | "sharon" | "cynthia" | "kathleen" | "joan" | "shirley" | "angela" | "anna" | "brenda" | "larry" | "keith" | "scott" | "pamela" | "samuel" | "gregory" | "samantha" | "katherine" | "christine" | "frank" | "alexander" | "raymond" | "debra" | "patrick" | "catherine" | "carolyn" | "janet" | "ruth" | "zachary" | "heather" | "diane" | "dennis" | "jerry" | "tyler" | "aaron" | "virginia" | "joyce" | "judith" | "kelly" | "nathan" | "terry" | "carl" | "gerald" | "jaqueline" | "cheryl" | "christian" | "rohit" | "gloria" | "arthur" | "austin" | "sean" | "martha" | "randy" | "ralph" | "roy" | "alan" | "logan" | "willie" | "kathryn" | "frances" | "madison" | "bruce" | "billy" | "jordan" | "bryan" | "dylan" | "vincent" | "eugene" | "janice" | "jean" | "abigail" | "alice" | "bobby" | "julia" | "johnny" | "judy" | "bradley" | "hunter" | "dale" | "howard" | "fred" | "danielle" | "marilyn" | "blake" | "doris" | "denise" | "issac" | "theresa" | "natalie" | "aiden" | "brittany" | "charlotte" | "marie" | "kayla" | "alexis" | "lori" | "landon" | "tiffany" | "marcus" | "martin" | "curtis" | "kathy" | "todd" | "leonard" | "calvin" | "rose" | "ava" | "bonnie" | "peggy" | "edwin" | "don" | "ruby" | "crystal" | "craig" | "norma" | "paula" | "annie" | "shawn" | "lillian" | "robin" | "evan" | "garrette" | "francis" | "danny" | "stanley" | "lucy" | "jeffery" | "herbert" | "lee" | "april" | "anne" | "tammy" | "trevor" | "eleanor" | "regina" | "carrie" | "leah" | "beth" | "cody" | "shane" | "dana" | "allison" | "dawn" | "julian" | "wendy" | "travis" | "florence" | "tracy" | "adrian" | "phillis" | "carole" | "mildred" | "cameron" | "chad" | "connie" | "gladys" | "arlene" | "jana" | "leona" | "miriam" | "lorrie" | "velma" | "eduardo" | "bennie" | "rene" | "ed" | "stuart" | "terrence" | "delbert" | "colin" | "susanne" | "hugo" | "ignacio" | "sheldon" | "josefina" | "corinne" | "lana" | "cherry" | "erick" | "frankie" | "stewart" | "claudette" | "doyle" | "darrel" | "janine" | "simone" | "casey" | "leta" | "rogelio" | "lorraine" | "terence" | "santiago" | "alonzo" | "benny" | "elisa" | "dee" | "bert" | "elbert" | "charmaine" | "roslyn" | "shelley" | "ramiro" | "noel" | "mercedes" | "christie" | "laurel" | "spencer" | "pat" | "dorthy" | "jeanie" | "clare" | "aileen" | "grady" | "deana" | "cornelius" | "cecelia" | "maryann" | "rolando" | "lamar" | "susana" | "katharine" | "clay" | "liza" | "jerri" | "rochelle" | "cathy" | "percy" | "dexter" | "maribel" | "rosemarie" | "bradford" | "kari" | "nikki" | "bernadette" | "eugenia" | "merie" | "darie" | "amon" | "moses" | "concetta" | "irvin" | "rodolfo" | "christi" | "roman" | "janie" | "marcy" | "lindy" | "tommie" | "darnell" | "randal" | "selena" | "shari" | "antoinette" | "timmy" | "darrin" | "margo" | "sherri" | "erika" | "robbie" | "marcella" | "lela" | "winston" | "jeannine" | "brendan" | "christa" | "deloris" | "toby" | "elva" | "van" | "abel" | "myron" | "gracie" | "gwen" | "melba" | "boyd" | "shawna" | "courtney" | "marlena" | "cathie" | "ramesh" | "rita" | "joel" | "derek" | "earl" | "brett" | "ellis" | "ian" | "oscar" | "edna" | "ethel" | "gene" | "shannon" | "sheila" | "dustin" | "ellen" | "hilda" | "ray" | "marjorie" | "sylvia" | "barry" | "melvin" | "thelma" | "cindy" | "miranda" | "bernard" | "carlton" | "juanita" | "darrell" | "erik" | "jeremiah" | "nicolas" | "gordon" | "violet" | "mona" | "glen" | "willis" | "harvey" | "rudolph" | "preston" | "cole" | "june" | "pauline" | "leo" | "earnest" | "devin" | "audrey" | "claire" | "vivian" | "goldie" | "tommy" | "allen" | "glenn" | "wilson" | "jill" | "loretta" | "mabel" | "marsha" | "lillie" | "minnie" | "essie" | "madge" | "viola" | "nellie" | "pearl" | "marvin" | "mae" | "levi" | "lucille" | "hazel" | "nathaniel" | "lydia" | "bertha" | "ursula" | "kay" | "sue" | "dean" | "verna" | "teri" | "edith" | "dan" | "lewis" | "harriett" | "clifford" | "genevieve" | "colleen" | "gilbert" | "patrice" | "jared" | "elaine" | "maureen" | "edmund" | "nina" | "georgia" | "garrett" | "renee" | "bessie" | "leslie" | "max" | "leon" | "fannie" | "lowell" | "veronica" | "vanessa" | "joy" | "jim" | "faith" | "valerie" | "wanda" | "steve" | "naomi" | "miles" | "marcia" | "brent" | "clinton" | "jon" | "marshall" | "roberta" | "alexandra" | "doreen" | "daisy" | "della" | "minerva" | "cedric" | "patsy" | "kerry" | "lena" | "gregg" | "lois" | "kurt" | "lorene" | "susie" | "nora" | "lucinda" | "mathew" | "flora" | "rosie" | "sherman" | "lance" | "darcy" | "mattie" | "madeline" | "sylvester" | "cory" | "anita" | "allan" | "lula" | "nell" | "priscilla" | "kristin" | "rosemary" | "roosevelt" | "geneva" | "jeannette" | "bob" | "esther" | "michele" | "forrest" | "wilbert" | "cathleen" | "jaime" | "dwayne" | "inez" | "alberto" | "lynne" | "maxine" | "wilma" | "taylor" | "angelina" | "hope" | "margie" | "myrtle" | "misty" | "jimmie" | "eunice" | "everett" | "miracle" | "billie" | "leland" | "jackie" | "kristina" | "johnnie" | "isaac" | "bobbie" | "tonya" | "reba" | "kristine" | "amelia" | "cassandra" | "angie" | "maude" | "nichole" | "marguerite" | "justine" | "kelli" | "mandy" | "jeri" | "darla" | "shelia" | "jacquelin" | "cara" | "kellie" | "jolene" | "chelsea" | "autumn" | "glenda" | "lolita" | "jeanne" | "sherrie" | "toni" | "becky" | "jennie" | "jenna" | "leigh" | "cristina" | "blanche" | "clarissa" | "betsy" | "bridget" | "ginger" | "faye" | "candice" | "jaclyn" | "krista" | "marisa" | "gayle" | "meredith" | "angelica" | "rachael" | "candy" | "trisha" | "sandy" | "holly" | "alicia" | "melinda" | "geraldine" | "tara" | "isabel" | "adrienne" | "terra" | "rubye" | "antonia" | "guadalupe" | "cheri" | "janelle" | "constance" | "robyn" | "jodi" | "krystal" | "rosalie" | "deanna" | "debbie" | "josie" | "ronda" | "paulette" | "belinda" | "alton" | "rudy" | "kelvin" | "damon" | "johnathan" | "cesar" | "ira" | "horace" | "grant" | "lionel" | "wilbur" | "jake" | "jody" | "rickey" | "lester" | "pablo" | "neal" | "mack" | "orlando" | "alfonso" | "ernesto" | "rex" | "lynn" | "matt" | "lyle" | "kristopher" | "hubert" | "kenny" | "doug" | "sammy" | "homer" | "wendell" | "woodrow" | "felipe" | "garry" | "pete" | "marco" | "rufus" | "owen" | "bryant" | "abraham" | "irving" | "jermaine" | "julius" | "marty" | "alejandro" | "carmen" | "carlos" | "celia" | "lucas" | "luiza" | "diogo" | "agueda" | "raphael" | "elise" | "frederick" | "andra" | "frederik" | "freja" | "daan" | "lotte" | "eino" | "helmi" | "jakob" | "frida" | "kostas" | "eleni" | "lazzaro" | "alessia" | "mart" | "liis" | "trinh" | "thoa" | "lesya" | "taras" | "mikhail" | "olga" | "axel" | "ebba" | "hemant" | "priya" | "aicha" | "ismail" | "moshe" | "inbar" | "gil" | "lital" | "yusuf" | "elif" | "dominika" | "michal";
|
|
20
|
+
name: "henry" | "bwyneth" | "carly" | "kristy" | "oliver" | "tasha" | "joe" | "lisa" | "george" | "emily" | "rob" | "russell" | "benjamin" | "michael" | "kim" | "ankit" | "arun" | "carol" | "helen" | "julie" | "linda" | "mark" | "nick" | "elijah" | "beverly" | "collin" | "erin" | "jack" | "jesse" | "ken" | "lindsey" | "monica" | "phil" | "ron" | "stacy" | "archie" | "evelyn" | "freddie" | "harper" | "jacob" | "james" | "mason" | "victoria" | "christina" | "douglas" | "lauren" | "patricia" | "jennifer" | "robert" | "peter" | "jeremy" | "barbara" | "susan" | "charles" | "harold" | "sarah" | "karen" | "anthony" | "donald" | "paul" | "steven" | "andrew" | "kenneth" | "joshua" | "betty" | "margaret" | "kyle" | "edward" | "ronald" | "timothy" | "sandra" | "dorothy" | "jeffrey" | "kimberly" | "donna" | "walter" | "megan" | "richard" | "amanda" | "melissa" | "deborah" | "gary" | "rebecca" | "sharon" | "cynthia" | "kathleen" | "joan" | "shirley" | "angela" | "anna" | "brenda" | "larry" | "keith" | "scott" | "pamela" | "samuel" | "gregory" | "samantha" | "katherine" | "christine" | "frank" | "alexander" | "raymond" | "debra" | "patrick" | "catherine" | "carolyn" | "janet" | "ruth" | "zachary" | "heather" | "diane" | "dennis" | "jerry" | "tyler" | "aaron" | "virginia" | "joyce" | "judith" | "kelly" | "nathan" | "terry" | "carl" | "gerald" | "jaqueline" | "cheryl" | "christian" | "rohit" | "gloria" | "arthur" | "austin" | "sean" | "martha" | "randy" | "ralph" | "roy" | "alan" | "logan" | "willie" | "kathryn" | "frances" | "madison" | "bruce" | "billy" | "jordan" | "bryan" | "dylan" | "vincent" | "eugene" | "janice" | "jean" | "abigail" | "alice" | "bobby" | "julia" | "johnny" | "judy" | "bradley" | "hunter" | "dale" | "howard" | "fred" | "danielle" | "marilyn" | "blake" | "doris" | "denise" | "issac" | "theresa" | "natalie" | "aiden" | "brittany" | "charlotte" | "marie" | "kayla" | "alexis" | "lori" | "landon" | "tiffany" | "marcus" | "martin" | "curtis" | "kathy" | "todd" | "leonard" | "calvin" | "rose" | "ava" | "bonnie" | "peggy" | "edwin" | "don" | "ruby" | "crystal" | "craig" | "norma" | "paula" | "annie" | "shawn" | "lillian" | "robin" | "evan" | "garrette" | "francis" | "danny" | "stanley" | "lucy" | "jeffery" | "herbert" | "lee" | "april" | "anne" | "tammy" | "trevor" | "eleanor" | "regina" | "carrie" | "leah" | "beth" | "cody" | "shane" | "dana" | "allison" | "dawn" | "julian" | "wendy" | "travis" | "florence" | "tracy" | "adrian" | "phillis" | "carole" | "mildred" | "cameron" | "chad" | "connie" | "gladys" | "arlene" | "jana" | "leona" | "miriam" | "lorrie" | "velma" | "eduardo" | "bennie" | "rene" | "ed" | "stuart" | "terrence" | "delbert" | "colin" | "susanne" | "hugo" | "ignacio" | "sheldon" | "josefina" | "corinne" | "lana" | "cherry" | "erick" | "frankie" | "stewart" | "claudette" | "doyle" | "darrel" | "janine" | "simone" | "casey" | "leta" | "rogelio" | "lorraine" | "terence" | "santiago" | "alonzo" | "benny" | "elisa" | "dee" | "bert" | "elbert" | "charmaine" | "roslyn" | "shelley" | "ramiro" | "noel" | "mercedes" | "christie" | "laurel" | "spencer" | "pat" | "dorthy" | "jeanie" | "clare" | "aileen" | "grady" | "deana" | "cornelius" | "cecelia" | "maryann" | "rolando" | "lamar" | "susana" | "katharine" | "clay" | "liza" | "jerri" | "rochelle" | "cathy" | "percy" | "dexter" | "maribel" | "rosemarie" | "bradford" | "kari" | "nikki" | "bernadette" | "eugenia" | "merie" | "darie" | "amon" | "moses" | "concetta" | "irvin" | "rodolfo" | "christi" | "roman" | "janie" | "marcy" | "lindy" | "tommie" | "darnell" | "randal" | "selena" | "shari" | "antoinette" | "timmy" | "darrin" | "margo" | "sherri" | "erika" | "robbie" | "marcella" | "lela" | "winston" | "jeannine" | "brendan" | "christa" | "deloris" | "toby" | "elva" | "van" | "abel" | "myron" | "gracie" | "gwen" | "melba" | "boyd" | "shawna" | "courtney" | "marlena" | "cathie" | "ramesh" | "rita" | "joel" | "derek" | "earl" | "brett" | "ellis" | "ian" | "oscar" | "edna" | "ethel" | "gene" | "shannon" | "sheila" | "dustin" | "ellen" | "hilda" | "ray" | "marjorie" | "sylvia" | "barry" | "melvin" | "thelma" | "cindy" | "miranda" | "bernard" | "carlton" | "juanita" | "darrell" | "erik" | "jeremiah" | "nicolas" | "gordon" | "violet" | "mona" | "glen" | "willis" | "harvey" | "rudolph" | "preston" | "cole" | "june" | "pauline" | "leo" | "earnest" | "devin" | "audrey" | "claire" | "vivian" | "goldie" | "tommy" | "allen" | "glenn" | "wilson" | "jill" | "loretta" | "mabel" | "marsha" | "lillie" | "minnie" | "essie" | "madge" | "viola" | "nellie" | "pearl" | "marvin" | "mae" | "levi" | "lucille" | "hazel" | "nathaniel" | "lydia" | "bertha" | "ursula" | "kay" | "sue" | "dean" | "verna" | "teri" | "edith" | "dan" | "lewis" | "harriett" | "clifford" | "genevieve" | "colleen" | "gilbert" | "patrice" | "jared" | "elaine" | "maureen" | "edmund" | "nina" | "georgia" | "garrett" | "renee" | "bessie" | "leslie" | "max" | "leon" | "fannie" | "lowell" | "veronica" | "vanessa" | "joy" | "jim" | "faith" | "valerie" | "wanda" | "steve" | "naomi" | "miles" | "marcia" | "brent" | "clinton" | "jon" | "marshall" | "roberta" | "alexandra" | "doreen" | "daisy" | "della" | "minerva" | "cedric" | "patsy" | "kerry" | "lena" | "gregg" | "lois" | "kurt" | "lorene" | "susie" | "nora" | "lucinda" | "mathew" | "flora" | "rosie" | "sherman" | "lance" | "darcy" | "mattie" | "madeline" | "sylvester" | "cory" | "anita" | "allan" | "lula" | "nell" | "priscilla" | "kristin" | "rosemary" | "roosevelt" | "geneva" | "jeannette" | "bob" | "esther" | "michele" | "forrest" | "wilbert" | "cathleen" | "jaime" | "dwayne" | "inez" | "alberto" | "lynne" | "maxine" | "wilma" | "taylor" | "angelina" | "hope" | "margie" | "myrtle" | "misty" | "jimmie" | "eunice" | "everett" | "miracle" | "billie" | "leland" | "jackie" | "kristina" | "johnnie" | "isaac" | "bobbie" | "tonya" | "reba" | "kristine" | "amelia" | "cassandra" | "angie" | "maude" | "nichole" | "marguerite" | "justine" | "kelli" | "mandy" | "jeri" | "darla" | "shelia" | "jacquelin" | "cara" | "kellie" | "jolene" | "chelsea" | "autumn" | "glenda" | "lolita" | "jeanne" | "sherrie" | "toni" | "becky" | "jennie" | "jenna" | "leigh" | "cristina" | "blanche" | "clarissa" | "betsy" | "bridget" | "ginger" | "faye" | "candice" | "jaclyn" | "krista" | "marisa" | "gayle" | "meredith" | "angelica" | "rachael" | "candy" | "trisha" | "sandy" | "holly" | "alicia" | "melinda" | "geraldine" | "tara" | "isabel" | "adrienne" | "terra" | "rubye" | "antonia" | "guadalupe" | "cheri" | "janelle" | "constance" | "robyn" | "jodi" | "krystal" | "rosalie" | "deanna" | "debbie" | "josie" | "ronda" | "paulette" | "belinda" | "alton" | "rudy" | "kelvin" | "damon" | "johnathan" | "cesar" | "ira" | "horace" | "grant" | "lionel" | "wilbur" | "jake" | "jody" | "rickey" | "lester" | "pablo" | "neal" | "mack" | "orlando" | "alfonso" | "ernesto" | "rex" | "lynn" | "matt" | "lyle" | "kristopher" | "hubert" | "kenny" | "doug" | "sammy" | "homer" | "wendell" | "woodrow" | "felipe" | "garry" | "pete" | "marco" | "rufus" | "owen" | "bryant" | "abraham" | "irving" | "jermaine" | "julius" | "marty" | "alejandro" | "carmen" | "carlos" | "celia" | "lucas" | "luiza" | "diogo" | "agueda" | "raphael" | "elise" | "frederick" | "andra" | "frederik" | "freja" | "daan" | "lotte" | "eino" | "helmi" | "jakob" | "frida" | "kostas" | "eleni" | "lazzaro" | "alessia" | "mart" | "liis" | "trinh" | "thoa" | "lesya" | "taras" | "mikhail" | "olga" | "axel" | "ebba" | "hemant" | "priya" | "aicha" | "ismail" | "moshe" | "inbar" | "gil" | "lital" | "yusuf" | "elif" | "dominika" | "michal";
|
|
21
|
+
}[]>;
|
|
22
|
+
private streamToString;
|
|
23
|
+
speak(input: string | NodeJS.ReadableStream, options?: {
|
|
24
|
+
speaker?: string;
|
|
25
|
+
} & Omit<AudioStreamRequest, 'voiceId' | 'input'>): Promise<NodeJS.ReadableStream>;
|
|
26
|
+
listen(_input: NodeJS.ReadableStream, _options?: Record<string, unknown>): Promise<string | NodeJS.ReadableStream>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare type SpeechifyVoiceId = (typeof SPEECHIFY_VOICES)[number];
|
|
30
|
+
export { SpeechifyVoiceId }
|
|
31
|
+
export { SpeechifyVoiceId as SpeechifyVoiceId_alias_1 }
|
|
32
|
+
|
|
33
|
+
export { }
|