@breeze.blue/sdk 0.22.0 → 0.22.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/CHANGELOG.md +5 -0
- package/README.md +4 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.22.1 - 2026-10-29
|
|
4
|
+
|
|
5
|
+
- Document supported Voice Clone reference audio formats and the single-file, 5 MB, synchronous API contract.
|
|
6
|
+
- Align the package release with the Python SDK upload content-type fix.
|
|
7
|
+
|
|
3
8
|
## 0.22.0
|
|
4
9
|
|
|
5
10
|
- Select PCM or MP3 for realtime TTS sessions and preserve the format across managed connections.
|
package/README.md
CHANGED
|
@@ -446,6 +446,10 @@ Breeze voice creation is always two steps: produce a **preview**, let the
|
|
|
446
446
|
user accept it, then **save the preview** as a real voice. Three ways to
|
|
447
447
|
produce a preview:
|
|
448
448
|
|
|
449
|
+
Clone samples accept MP3, WAV, M4A, FLAC, AAC, OGG, Opus, WebM audio, WMA,
|
|
450
|
+
or AIFF, at least 3 seconds and up to 5 MB. Clone calls are synchronous.
|
|
451
|
+
Supply a matching `filename` or `contentType` with the upload.
|
|
452
|
+
|
|
449
453
|
```ts
|
|
450
454
|
import { readFile } from "node:fs/promises";
|
|
451
455
|
|
package/dist/client.d.ts
CHANGED
|
@@ -237,6 +237,8 @@ declare class VoicesResource {
|
|
|
237
237
|
* Generate a clone preview from a single audio sample. Returns a
|
|
238
238
|
* `generatedVoiceId`; call {@link savePreview} after the user accepts
|
|
239
239
|
* the preview to persist it as a real voice.
|
|
240
|
+
* Accepts MP3, WAV, M4A, FLAC, AAC, OGG, Opus, WebM audio, WMA, or AIFF,
|
|
241
|
+
* at least 3 seconds and up to 5 MB. Supply a matching filename or contentType.
|
|
240
242
|
*/
|
|
241
243
|
createClonePreview(request: VoiceClonePreviewRequest, options?: RequestOptions): Promise<VoiceClonePreview>;
|
|
242
244
|
/**
|
package/dist/client.js
CHANGED
|
@@ -1573,6 +1573,8 @@ class VoicesResource {
|
|
|
1573
1573
|
* Generate a clone preview from a single audio sample. Returns a
|
|
1574
1574
|
* `generatedVoiceId`; call {@link savePreview} after the user accepts
|
|
1575
1575
|
* the preview to persist it as a real voice.
|
|
1576
|
+
* Accepts MP3, WAV, M4A, FLAC, AAC, OGG, Opus, WebM audio, WMA, or AIFF,
|
|
1577
|
+
* at least 3 seconds and up to 5 MB. Supply a matching filename or contentType.
|
|
1576
1578
|
*/
|
|
1577
1579
|
async createClonePreview(request, options) {
|
|
1578
1580
|
return this.client.requestJson("POST", "/v1/voice-previews/clone", undefined, clonePreviewForm(request), options);
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.22.
|
|
1
|
+
export declare const SDK_VERSION = "0.22.1";
|
|
2
2
|
export declare const SDK_NAME = "@breeze.blue/sdk";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.22.
|
|
1
|
+
export const SDK_VERSION = "0.22.1";
|
|
2
2
|
export const SDK_NAME = "@breeze.blue/sdk";
|