@nodaro/sdk 1.1.2 → 1.2.0
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/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3402,7 +3402,10 @@ declare class VoicesResource {
|
|
|
3402
3402
|
* ElevenLabs UUID) OR a {@link VoiceChangerProVoice} object carrying per-voice
|
|
3403
3403
|
* ElevenLabs speech-to-speech settings (stability / similarityBoost / style /
|
|
3404
3404
|
* useSpeakerBoost / `seed`) plus a loudness `volumeMode` (and a manual
|
|
3405
|
-
* `volume`)
|
|
3405
|
+
* `volume`) — OR `null`, meaning keep this speaker's original voice (requires
|
|
3406
|
+
* a platform running cloud-plugins with keep-slot support). At least one
|
|
3407
|
+
* entry must be non-null. A per-voice `seed` makes that speaker's recast
|
|
3408
|
+
* reproducible.
|
|
3406
3409
|
*
|
|
3407
3410
|
* Pass `audioUrl` for audio-only recast or `videoUrl` to recast the audio
|
|
3408
3411
|
* track of a video clip (the server demuxes, recasts, and remuxes).
|
|
@@ -3469,9 +3472,12 @@ interface VoiceChangerProInput {
|
|
|
3469
3472
|
/**
|
|
3470
3473
|
* Voices in speaker-detection order. Speaker N is mapped to `orderedVoices[N]`;
|
|
3471
3474
|
* speakers beyond the array keep their original voice. Each entry is a bare
|
|
3472
|
-
* voice id OR a {@link VoiceChangerProVoice} object with per-voice settings
|
|
3475
|
+
* voice id OR a {@link VoiceChangerProVoice} object with per-voice settings —
|
|
3476
|
+
* OR `null`, meaning keep this speaker's original voice (requires a platform
|
|
3477
|
+
* running cloud-plugins with keep-slot support). At least one entry must be
|
|
3478
|
+
* non-null.
|
|
3473
3479
|
*/
|
|
3474
|
-
orderedVoices: Array<VoiceChangerProVoice>;
|
|
3480
|
+
orderedVoices: Array<VoiceChangerProVoice | null>;
|
|
3475
3481
|
/** Model to use for speech-to-speech. Defaults to the server-configured default when omitted. */
|
|
3476
3482
|
model?: string;
|
|
3477
3483
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3402,7 +3402,10 @@ declare class VoicesResource {
|
|
|
3402
3402
|
* ElevenLabs UUID) OR a {@link VoiceChangerProVoice} object carrying per-voice
|
|
3403
3403
|
* ElevenLabs speech-to-speech settings (stability / similarityBoost / style /
|
|
3404
3404
|
* useSpeakerBoost / `seed`) plus a loudness `volumeMode` (and a manual
|
|
3405
|
-
* `volume`)
|
|
3405
|
+
* `volume`) — OR `null`, meaning keep this speaker's original voice (requires
|
|
3406
|
+
* a platform running cloud-plugins with keep-slot support). At least one
|
|
3407
|
+
* entry must be non-null. A per-voice `seed` makes that speaker's recast
|
|
3408
|
+
* reproducible.
|
|
3406
3409
|
*
|
|
3407
3410
|
* Pass `audioUrl` for audio-only recast or `videoUrl` to recast the audio
|
|
3408
3411
|
* track of a video clip (the server demuxes, recasts, and remuxes).
|
|
@@ -3469,9 +3472,12 @@ interface VoiceChangerProInput {
|
|
|
3469
3472
|
/**
|
|
3470
3473
|
* Voices in speaker-detection order. Speaker N is mapped to `orderedVoices[N]`;
|
|
3471
3474
|
* speakers beyond the array keep their original voice. Each entry is a bare
|
|
3472
|
-
* voice id OR a {@link VoiceChangerProVoice} object with per-voice settings
|
|
3475
|
+
* voice id OR a {@link VoiceChangerProVoice} object with per-voice settings —
|
|
3476
|
+
* OR `null`, meaning keep this speaker's original voice (requires a platform
|
|
3477
|
+
* running cloud-plugins with keep-slot support). At least one entry must be
|
|
3478
|
+
* non-null.
|
|
3473
3479
|
*/
|
|
3474
|
-
orderedVoices: Array<VoiceChangerProVoice>;
|
|
3480
|
+
orderedVoices: Array<VoiceChangerProVoice | null>;
|
|
3475
3481
|
/** Model to use for speech-to-speech. Defaults to the server-configured default when omitted. */
|
|
3476
3482
|
model?: string;
|
|
3477
3483
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1522,7 +1522,10 @@ var VoicesResource = class {
|
|
|
1522
1522
|
* ElevenLabs UUID) OR a {@link VoiceChangerProVoice} object carrying per-voice
|
|
1523
1523
|
* ElevenLabs speech-to-speech settings (stability / similarityBoost / style /
|
|
1524
1524
|
* useSpeakerBoost / `seed`) plus a loudness `volumeMode` (and a manual
|
|
1525
|
-
* `volume`)
|
|
1525
|
+
* `volume`) — OR `null`, meaning keep this speaker's original voice (requires
|
|
1526
|
+
* a platform running cloud-plugins with keep-slot support). At least one
|
|
1527
|
+
* entry must be non-null. A per-voice `seed` makes that speaker's recast
|
|
1528
|
+
* reproducible.
|
|
1526
1529
|
*
|
|
1527
1530
|
* Pass `audioUrl` for audio-only recast or `videoUrl` to recast the audio
|
|
1528
1531
|
* track of a video clip (the server demuxes, recasts, and remuxes).
|