@mastra/voice-speechify 0.14.1-alpha.0 → 0.14.1-alpha.1
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/README.md +8 -46
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mastra/voice-speechify
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Add Speechify text-to-speech to Mastra with configurable voices, languages, audio formats, synthesis controls, and speaker discovery.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -10,13 +10,7 @@ npm install @mastra/voice-speechify
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
export SPEECHIFY_API_KEY=your_api_key_here
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Then use it in your code:
|
|
13
|
+
Set the API credentials required by your voice provider.
|
|
20
14
|
|
|
21
15
|
```typescript
|
|
22
16
|
import { SpeechifyVoice } from '@mastra/voice-speechify';
|
|
@@ -43,46 +37,14 @@ const stream = await voice.speak('Hello world', {
|
|
|
43
37
|
stream.pipe(destination);
|
|
44
38
|
```
|
|
45
39
|
|
|
46
|
-
##
|
|
47
|
-
|
|
48
|
-
The `SpeechifyVoice` constructor accepts the following options:
|
|
49
|
-
|
|
50
|
-
```typescript
|
|
51
|
-
interface SpeechifyConfig {
|
|
52
|
-
name?: SpeechifyModel; // 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 Models
|
|
40
|
+
## Documentation
|
|
63
41
|
|
|
64
|
-
-
|
|
65
|
-
- `simba-3.0`: The earlier Simba 3 model, still available. Currently English only.
|
|
66
|
-
- `simba-english`: The default model, optimized for English.
|
|
67
|
-
- `simba-multilingual`: Optimized for non-English or mixed-language input.
|
|
42
|
+
- [Speechify](https://mastra.ai/integrations/voice/speechify)
|
|
68
43
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```typescript
|
|
72
|
-
const stream = await voice.speak('Hello world', { model: 'simba-3.2', speaker: 'harper_32' });
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## Available Speakers
|
|
76
|
-
|
|
77
|
-
You can get a list of available speakers:
|
|
78
|
-
|
|
79
|
-
```typescript
|
|
80
|
-
const speakers = await voice.getSpeakers();
|
|
81
|
-
```
|
|
44
|
+
## Changelog
|
|
82
45
|
|
|
83
|
-
|
|
46
|
+
See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/voice/speechify/CHANGELOG.md) for version history and release notes.
|
|
84
47
|
|
|
85
|
-
|
|
86
|
-
- `simba-english` and `simba-multilingual` serve the full classic catalog (`george`, `henry`, `carly`, ...) and self-serve cloned voices.
|
|
48
|
+
## Support
|
|
87
49
|
|
|
88
|
-
|
|
50
|
+
We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-voice-speechify
|
|
|
3
3
|
description: Documentation for @mastra/voice-speechify. Use when working with @mastra/voice-speechify APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/voice-speechify"
|
|
6
|
-
version: "0.14.1-alpha.
|
|
6
|
+
version: "0.14.1-alpha.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|