@breeze.blue/sdk 0.21.0 → 0.21.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.1
4
+
5
+ - Document Voice Design guidance: omitted or null samples 1–4 per preview; explicit values still accept 1–10.
6
+
7
+ - Clarify speaker boost docs: instructions are always applied; boost is ignored with non-empty instructions and guidance above 1, otherwise guidance is applied as 1. Realtime needs a new session to add instructions only when boost applies with requested guidance above 1.
8
+
3
9
  ## 0.21.0
4
10
 
5
11
  - Support request-scoped speaker boost across HTTP and realtime TTS, with performance instructions taking priority when guidance exceeds 1.
package/README.md CHANGED
@@ -7,7 +7,7 @@ models, and account usage.
7
7
  The root entrypoint is safe to import in Node, browser, and edge runtimes. Local
8
8
  audio playback helpers live in the Node-only `@breeze.blue/sdk/node` subpath.
9
9
 
10
- Guidance accepts 1–10; when omitted, the default 1 is used. HTTP speed and volume are per request and default to 1. Use `voiceSettings: { useSpeakerBoost: true }` for closer similarity to the reference voice (default false): it is ignored with non-empty instructions and guidance above 1, and otherwise instructions are not used. Realtime fixes boost at session creation; create a new session to change instructions while boost applies. Pass `removeBackgroundNoise: true` to denoise a clone sample (default false).
10
+ TTS guidance accepts 1–10; when omitted, the default 1 is used. Voice Design accepts 1–10; omitting guidance or passing null samples uniformly between 1–4 for each preview, rounded to one decimal place. HTTP speed and volume are per request and default to 1. Use `voiceSettings: { useSpeakerBoost: true }` for closer similarity to the reference voice (default false): it is ignored with non-empty instructions and guidance above 1, otherwise guidance is applied as 1; instructions are always applied. Realtime fixes boost at session creation; when boost applies with requested guidance above 1, create a new session to add instructions. Pass `removeBackgroundNoise: true` to denoise a clone sample (default false).
11
11
 
12
12
  ## Install
13
13
 
package/dist/types.d.ts CHANGED
@@ -227,7 +227,7 @@ export type RealtimeTextToSpeechMessage = RealtimeTextToSpeechEvent | RealtimeTe
227
227
  export interface TtsVoiceSettings {
228
228
  /** Generation guidance strength (1–10). Omitted or null uses the default 1. */
229
229
  guidanceScale?: number | null;
230
- /** Default false. Ignored with non-empty instructions and guidanceScale > 1; otherwise instructions are not used. */
230
+ /** Default false. Ignored with non-empty instructions and guidanceScale > 1; otherwise guidanceScale is applied as 1. Instructions are always applied. */
231
231
  useSpeakerBoost?: boolean;
232
232
  /** Pitch-preserving speed (0.5–2.0). */
233
233
  speed?: number;
@@ -415,6 +415,7 @@ export interface VoiceDesignRequest {
415
415
  text?: string;
416
416
  modelId?: string;
417
417
  languageCode?: VoiceLanguageCode;
418
+ /** Voice Design accepts 1–10; omitted or null samples 1–4 per preview, rounded to one decimal place. */
418
419
  guidanceScale?: number | null;
419
420
  previewCount?: number;
420
421
  }
@@ -423,6 +424,7 @@ export interface VoiceDesignStreamRequest {
423
424
  text?: string;
424
425
  modelId?: string;
425
426
  languageCode?: VoiceLanguageCode;
427
+ /** Voice Design accepts 1–10; omitted or null samples 1–4 per preview, rounded to one decimal place. */
426
428
  guidanceScale?: number | null;
427
429
  }
428
430
  export interface VoiceDesignPreview {
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "0.21.0";
1
+ export declare const SDK_VERSION = "0.21.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.21.0";
1
+ export const SDK_VERSION = "0.21.1";
2
2
  export const SDK_NAME = "@breeze.blue/sdk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breeze.blue/sdk",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "ESM-first TypeScript SDK for the Breeze Blue Developer API.",
5
5
  "license": "MIT",
6
6
  "author": "Breeze Blue <support@breezeblue.ai>",