@lumavox/server 0.22.1 → 0.23.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/dist/gen/types.gen.d.ts +38 -11
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -441,7 +441,7 @@ export type TtsOptions = {
|
|
|
441
441
|
*/
|
|
442
442
|
voice_id: string;
|
|
443
443
|
/**
|
|
444
|
-
* Which model speaks: one of the voice's `models` in `GET /v1/voices
|
|
444
|
+
* Which model speaks: one of the voice's `models` in `GET /v1/voices`. An ElevenLabs voice takes `eleven_flash_v2_5` (the fastest), `eleven_multilingual_v2` or `eleven_v3`; an Inworld voice `inworld-tts-2-flash` or `inworld-tts-2`. Unset is the fastest of the voice's provider: `eleven_flash_v2_5` or `inworld-tts-2-flash`. A model the voice does not list is refused.
|
|
445
445
|
*/
|
|
446
446
|
model: string;
|
|
447
447
|
/**
|
|
@@ -477,6 +477,18 @@ export type ProviderVoiceSettingsInfo = {
|
|
|
477
477
|
* 1.0 is the voice's own pace.
|
|
478
478
|
*/
|
|
479
479
|
speed: number | null;
|
|
480
|
+
/**
|
|
481
|
+
* Inworld voices: the pace, 1.0 the voice's own. Above 0.8 sounds best.
|
|
482
|
+
*/
|
|
483
|
+
speaking_rate: number | null;
|
|
484
|
+
/**
|
|
485
|
+
* Inworld voices on `inworld-tts-2-flash`: higher is more varied and expressive, lower more predictable; unset is their 1.0.
|
|
486
|
+
*/
|
|
487
|
+
temperature: number | null;
|
|
488
|
+
/**
|
|
489
|
+
* Inworld voices on `inworld-tts-2`: `stable` is the most consistent, `creative` the widest emotional range, `balanced` between.
|
|
490
|
+
*/
|
|
491
|
+
delivery_mode: 'stable' | 'balanced' | 'creative' | null;
|
|
480
492
|
};
|
|
481
493
|
export type GenerationImage = {
|
|
482
494
|
/**
|
|
@@ -761,7 +773,7 @@ export type AudioRequest = {
|
|
|
761
773
|
*/
|
|
762
774
|
voice_id?: string;
|
|
763
775
|
/**
|
|
764
|
-
* Which model speaks: one of the voice's `models` in `GET /v1/voices
|
|
776
|
+
* Which model speaks: one of the voice's `models` in `GET /v1/voices`. An ElevenLabs voice takes `eleven_flash_v2_5` (the fastest), `eleven_multilingual_v2` or `eleven_v3`; an Inworld voice `inworld-tts-2-flash` or `inworld-tts-2`. Unset is the fastest of the voice's provider: `eleven_flash_v2_5` or `inworld-tts-2-flash`. A model the voice does not list is refused.
|
|
765
777
|
*/
|
|
766
778
|
model?: string;
|
|
767
779
|
/**
|
|
@@ -787,6 +799,9 @@ export type AudioRequest = {
|
|
|
787
799
|
*/
|
|
788
800
|
folder_id?: string | null;
|
|
789
801
|
};
|
|
802
|
+
/**
|
|
803
|
+
* The voice's provider's settings. `stability`, `similarity_boost`, `style`, `use_speaker_boost` and `speed` are ElevenLabs'; `speaking_rate`, `temperature` and `delivery_mode` are Inworld's. A setting of the other provider is refused with 422.
|
|
804
|
+
*/
|
|
790
805
|
export type ProviderVoiceSettings = {
|
|
791
806
|
/**
|
|
792
807
|
* Low is more expressive and less consistent between generations; high is flatter and more repeatable.
|
|
@@ -808,6 +823,18 @@ export type ProviderVoiceSettings = {
|
|
|
808
823
|
* 1.0 is the voice's own pace.
|
|
809
824
|
*/
|
|
810
825
|
speed?: number | null;
|
|
826
|
+
/**
|
|
827
|
+
* Inworld voices: the pace, 1.0 the voice's own. Above 0.8 sounds best.
|
|
828
|
+
*/
|
|
829
|
+
speaking_rate?: number | null;
|
|
830
|
+
/**
|
|
831
|
+
* Inworld voices on `inworld-tts-2-flash`: higher is more varied and expressive, lower more predictable; unset is their 1.0.
|
|
832
|
+
*/
|
|
833
|
+
temperature?: number | null;
|
|
834
|
+
/**
|
|
835
|
+
* Inworld voices on `inworld-tts-2`: `stable` is the most consistent, `creative` the widest emotional range, `balanced` between.
|
|
836
|
+
*/
|
|
837
|
+
delivery_mode?: 'stable' | 'balanced' | 'creative' | null;
|
|
811
838
|
};
|
|
812
839
|
export type SkyboxRequest = {
|
|
813
840
|
/**
|
|
@@ -1936,7 +1963,7 @@ export type AgentSummary = {
|
|
|
1936
1963
|
/**
|
|
1937
1964
|
* Voice and model settings.
|
|
1938
1965
|
*
|
|
1939
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
1966
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
1940
1967
|
*/
|
|
1941
1968
|
voice_config: AgentVoiceInfo | null;
|
|
1942
1969
|
/**
|
|
@@ -1993,7 +2020,7 @@ export type AgentVoiceInfo = {
|
|
|
1993
2020
|
*/
|
|
1994
2021
|
format: 'wav' | 'pcm' | null;
|
|
1995
2022
|
/**
|
|
1996
|
-
* Which model speaks
|
|
2023
|
+
* Which model speaks, one the voice lists as `models` in `GET /v1/voices`: for an ElevenLabs voice `eleven_flash_v2_5` or `eleven_multilingual_v2`, for an Inworld voice `inworld-tts-2-flash` or `inworld-tts-2`. Unset is the voice's provider's fastest — `eleven_flash_v2_5` or `inworld-tts-2-flash`.
|
|
1997
2024
|
*/
|
|
1998
2025
|
model: string | null;
|
|
1999
2026
|
/**
|
|
@@ -2233,7 +2260,7 @@ export type AgentInfo = {
|
|
|
2233
2260
|
/**
|
|
2234
2261
|
* Voice and model settings.
|
|
2235
2262
|
*
|
|
2236
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
2263
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
2237
2264
|
*/
|
|
2238
2265
|
voice_config: AgentVoiceInfo | null;
|
|
2239
2266
|
/**
|
|
@@ -2472,7 +2499,7 @@ export type AgentCreateRequest = {
|
|
|
2472
2499
|
/**
|
|
2473
2500
|
* Voice and model settings.
|
|
2474
2501
|
*
|
|
2475
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
2502
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
2476
2503
|
*/
|
|
2477
2504
|
voice_config?: AgentVoice | null;
|
|
2478
2505
|
/**
|
|
@@ -2510,7 +2537,7 @@ export type AgentVoice = {
|
|
|
2510
2537
|
*/
|
|
2511
2538
|
format?: 'wav' | 'pcm';
|
|
2512
2539
|
/**
|
|
2513
|
-
* Which model speaks
|
|
2540
|
+
* Which model speaks, one the voice lists as `models` in `GET /v1/voices`: for an ElevenLabs voice `eleven_flash_v2_5` or `eleven_multilingual_v2`, for an Inworld voice `inworld-tts-2-flash` or `inworld-tts-2`. Unset is the voice's provider's fastest — `eleven_flash_v2_5` or `inworld-tts-2-flash`.
|
|
2514
2541
|
*/
|
|
2515
2542
|
model?: string;
|
|
2516
2543
|
/**
|
|
@@ -2850,7 +2877,7 @@ export type AgentUpdate = {
|
|
|
2850
2877
|
/**
|
|
2851
2878
|
* Voice and model settings.
|
|
2852
2879
|
*
|
|
2853
|
-
* **A speaking agent speaks on `eleven_flash_v2_5
|
|
2880
|
+
* **A speaking agent speaks on `eleven_flash_v2_5` or `eleven_multilingual_v2` with an ElevenLabs voice, and on `inworld-tts-2-flash` or `inworld-tts-2` with an Inworld one** — unset, the voice's provider's fastest — with any voice from `GET /v1/voices` that offers it. `eleven_v3` is refused with 422 when `voice_enabled` is true: it cannot stream over the socket agents use. An agent that does not speak may leave this unset.
|
|
2854
2881
|
*/
|
|
2855
2882
|
voice_config?: AgentVoice | null;
|
|
2856
2883
|
/**
|
|
@@ -3493,7 +3520,7 @@ export type TtsRequest = {
|
|
|
3493
3520
|
*/
|
|
3494
3521
|
voice_id?: string;
|
|
3495
3522
|
/**
|
|
3496
|
-
* Which model speaks: one of the voice's `models` in `GET /v1/voices
|
|
3523
|
+
* Which model speaks: one of the voice's `models` in `GET /v1/voices`. An ElevenLabs voice takes `eleven_flash_v2_5` (the fastest), `eleven_multilingual_v2` or `eleven_v3`; an Inworld voice `inworld-tts-2-flash` or `inworld-tts-2`. Unset is the fastest of the voice's provider: `eleven_flash_v2_5` or `inworld-tts-2-flash`. A model the voice does not list is refused.
|
|
3497
3524
|
*/
|
|
3498
3525
|
model?: string;
|
|
3499
3526
|
/**
|
|
@@ -3655,9 +3682,9 @@ export type VoiceKind = 'builtin' | 'platform' | 'org';
|
|
|
3655
3682
|
*/
|
|
3656
3683
|
export type VoiceStatus = 'pending' | 'ready' | 'failed';
|
|
3657
3684
|
/**
|
|
3658
|
-
* Who generates the voice: `elevenlabs`, whom we speak to on your behalf,
|
|
3685
|
+
* Who generates the voice: `elevenlabs` or `inworld`, whom we speak to on your behalf. A voice is one provider's, and is spoken only by that provider's models.
|
|
3659
3686
|
*/
|
|
3660
|
-
export type SpeechProvider = 'elevenlabs';
|
|
3687
|
+
export type SpeechProvider = 'elevenlabs' | 'inworld';
|
|
3661
3688
|
export type VoiceSample = {
|
|
3662
3689
|
model: string;
|
|
3663
3690
|
ready: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumavox/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.1",
|
|
4
4
|
"description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|