@elizaos/plugin-elevenlabs 1.0.3 → 1.0.5

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.
Files changed (1) hide show
  1. package/package.json +47 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-elevenlabs",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -43,44 +43,71 @@
43
43
  "pluginParameters": {
44
44
  "ELEVENLABS_API_KEY": {
45
45
  "type": "string",
46
- "description": "API key for ElevenLabs."
46
+ "description": "Primary ElevenLabs API key used for authenticating requests",
47
+ "required": true,
48
+ "sensitive": true
49
+ },
50
+ "ELEVENLABS_XI_API_KEY": {
51
+ "type": "string",
52
+ "description": "Alternative/legacy ElevenLabs API key name; used if ELEVENLABS_API_KEY is not provided",
53
+ "required": false,
54
+ "sensitive": true
47
55
  },
48
56
  "ELEVENLABS_VOICE_ID": {
49
57
  "type": "string",
50
- "description": "Optional. Voice selection ID."
58
+ "description": "ID of the voice to synthesize with",
59
+ "required": false,
60
+ "default": "EXAVITQu4vr4xnSDxMaL",
61
+ "sensitive": false
51
62
  },
52
63
  "ELEVENLABS_MODEL_ID": {
53
64
  "type": "string",
54
- "description": "Optional. Speech model ID."
65
+ "description": "Model identifier to use for TTS generation",
66
+ "required": false,
67
+ "default": "eleven_monolingual_v1",
68
+ "sensitive": false
55
69
  },
56
70
  "ELEVENLABS_VOICE_STABILITY": {
57
- "type": "string",
58
- "description": "Optional. Controls voice stability."
71
+ "type": "number",
72
+ "description": "Voice stability factor (0-1) influencing consistency of speech",
73
+ "required": false,
74
+ "default": "0.5",
75
+ "sensitive": false
59
76
  },
60
77
  "ELEVENLABS_OPTIMIZE_STREAMING_LATENCY": {
61
- "type": "string",
62
- "description": "Optional. Adjusts streaming latency."
78
+ "type": "number",
79
+ "description": "Latency optimization level for streaming audio (0-4)",
80
+ "required": false,
81
+ "default": "0",
82
+ "sensitive": false
63
83
  },
64
84
  "ELEVENLABS_OUTPUT_FORMAT": {
65
85
  "type": "string",
66
- "description": "Optional. Output format (e.g., pcm_16000)."
86
+ "description": "Audio output format returned by the API (e.g., pcm_16000)",
87
+ "required": false,
88
+ "default": "pcm_16000",
89
+ "sensitive": false
67
90
  },
68
91
  "ELEVENLABS_VOICE_SIMILARITY_BOOST": {
69
- "type": "string",
70
- "description": "Optional. Adjusts similarity to the reference voice (0-1)."
92
+ "type": "number",
93
+ "description": "Similarity boost factor (0-1) affecting how closely the voice matches the target",
94
+ "required": false,
95
+ "default": "0.75",
96
+ "sensitive": false
71
97
  },
72
98
  "ELEVENLABS_VOICE_STYLE": {
73
- "type": "string",
74
- "description": "Optional. Controls voice style intensity (0-1)."
99
+ "type": "number",
100
+ "description": "Style intensity (0-1) for the generated voice",
101
+ "required": false,
102
+ "default": "0",
103
+ "sensitive": false
75
104
  },
76
105
  "ELEVENLABS_VOICE_USE_SPEAKER_BOOST": {
77
- "type": "string",
78
- "description": "Optional. Enhances speaker presence (true/false)."
79
- },
80
- "ELEVENLABS_XI_API_KEY": {
81
- "type": "string",
82
- "description": "Alternative environment variable for providing the ElevenLabs API key if ELEVENLABS_API_KEY is not set.",
83
- "required": false
106
+ "type": "boolean",
107
+ "description": "Flag to enable or disable speaker boost feature",
108
+ "required": false,
109
+ "default": "true",
110
+ "sensitive": false
84
111
  }
85
112
  }
86
113
  },