@streamoji/aitwin 0.6.0 → 0.6.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/README.md +1 -1
- package/dist/aitwin.cjs +6 -6
- package/dist/aitwin.js +1745 -1713
- package/dist/index.d.ts +10 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -517,7 +517,10 @@ export declare const TTS_ENGINE_GOOGLE = "eng_a7f2b9c1";
|
|
|
517
517
|
|
|
518
518
|
export declare const TTS_ENGINE_INWORLD = "eng_d4e8f3a2";
|
|
519
519
|
|
|
520
|
-
|
|
520
|
+
/** streamoji-ai-avatar viseme TTS (`POST /avatar_ttsWithPoses`). */
|
|
521
|
+
export declare const TTS_ENGINE_VISEMETTS = "visemetts";
|
|
522
|
+
|
|
523
|
+
export declare type TtsEngineId = typeof TTS_ENGINE_GOOGLE | typeof TTS_ENGINE_INWORLD | typeof TTS_ENGINE_CARTESIA | typeof TTS_ENGINE_VISEMETTS;
|
|
521
524
|
|
|
522
525
|
/** Runtime face bundle URLs (R2 custom-faces or local /twins/…). */
|
|
523
526
|
export declare type TwinAssetUrls = {
|
|
@@ -538,6 +541,9 @@ export declare const VISEME_TEST_CARTESIA_VOICE_ID = "f786b574-daa5-4673-aa0c-cb
|
|
|
538
541
|
|
|
539
542
|
export declare const VISEME_TEST_SPEAKING_RATE = 0.85;
|
|
540
543
|
|
|
544
|
+
/** Default `voice_id` for visemetts (see streamoji-ai-avatar sample curl). */
|
|
545
|
+
export declare const VISEME_TEST_VISEMETTS_VOICE_ID = "eve";
|
|
546
|
+
|
|
541
547
|
/** Viseme-test page: fixed female voice + speech speed for /avatar_ttsWithPoses. */
|
|
542
548
|
export declare const VISEME_TEST_VOICE_ID = "Olivia";
|
|
543
549
|
|
|
@@ -554,7 +560,9 @@ export declare interface VisemeQueueItem {
|
|
|
554
560
|
export declare type VoiceConnectOptions = {
|
|
555
561
|
/** Same JWT as SSE `Authorization: Bearer` (same as `authToken` prop on `<AiTwin>`). */
|
|
556
562
|
authToken?: string;
|
|
557
|
-
/**
|
|
563
|
+
/** Pipecat `/ws/voice` TTS engine (`visemetts` or Cartesia id). Default Cartesia. */
|
|
564
|
+
ttsEngineId?: TtsEngineId;
|
|
565
|
+
/** Cartesia voice UUID, or visemetts name (e.g. `eve`). */
|
|
558
566
|
voiceId?: string;
|
|
559
567
|
/** Persona / knowledge context id (from getAiTwin `knowledgeContextId`). */
|
|
560
568
|
personaId?: string;
|