agora-agents 2.13.1 → 2.15.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/cjs/BaseClient.js +2 -2
- package/dist/cjs/agentkit/Agent.d.ts +0 -1
- package/dist/cjs/agentkit/Agent.js +39 -11
- package/dist/cjs/agentkit/AgentSession.js +8 -5
- package/dist/cjs/agentkit/index.d.ts +8 -7
- package/dist/cjs/agentkit/index.js +9 -4
- package/dist/cjs/agentkit/types.d.ts +51 -6
- package/dist/cjs/agentkit/vendors/cn.d.ts +46 -0
- package/dist/cjs/agentkit/vendors/cn.js +48 -1
- package/dist/cjs/agentkit/vendors/stt.d.ts +24 -0
- package/dist/cjs/agentkit/vendors/stt.js +31 -1
- package/dist/cjs/agentkit/vendors/tts.d.ts +22 -38
- package/dist/cjs/agentkit/vendors/tts.js +17 -24
- package/dist/cjs/api/types/Asr.d.ts +13 -1
- package/dist/cjs/api/types/ElevenLabsAsr.d.ts +10 -0
- package/dist/cjs/api/types/ElevenLabsAsrParams.d.ts +9 -0
- package/dist/cjs/api/types/ElevenLabsAsrParams.js +3 -0
- package/dist/cjs/api/types/FishAudioAsr.d.ts +10 -0
- package/dist/cjs/api/types/FishAudioAsr.js +3 -0
- package/dist/cjs/api/types/FishAudioAsrParams.d.ts +9 -0
- package/dist/cjs/api/types/FishAudioAsrParams.js +3 -0
- package/dist/cjs/api/types/MinimaxDuplexTts.d.ts +13 -0
- package/dist/cjs/api/types/MinimaxDuplexTts.js +3 -0
- package/dist/cjs/api/types/MinimaxDuplexTtsParams.d.ts +87 -0
- package/dist/cjs/api/types/MinimaxDuplexTtsParams.js +3 -0
- package/dist/cjs/api/types/QwenAsr.d.ts +10 -0
- package/dist/cjs/api/types/QwenAsr.js +3 -0
- package/dist/cjs/api/types/QwenAsrParams.d.ts +9 -0
- package/dist/cjs/api/types/QwenAsrParams.js +3 -0
- package/dist/cjs/api/types/{HumeAiTts.d.ts → SonioxTts.d.ts} +3 -3
- package/dist/cjs/api/types/SonioxTts.js +3 -0
- package/dist/cjs/api/types/SonioxTtsParams.d.ts +29 -0
- package/dist/cjs/api/types/SonioxTtsParams.js +3 -0
- package/dist/cjs/api/types/StepfunAsr.d.ts +10 -0
- package/dist/cjs/api/types/StepfunAsr.js +3 -0
- package/dist/cjs/api/types/StepfunAsrParams.d.ts +9 -0
- package/dist/cjs/api/types/StepfunAsrParams.js +3 -0
- package/dist/cjs/api/types/Tts.d.ts +7 -4
- package/dist/cjs/api/types/index.d.ts +12 -2
- package/dist/cjs/api/types/index.js +12 -2
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +10 -5
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/agentkit/Agent.d.mts +0 -1
- package/dist/esm/agentkit/Agent.mjs +39 -11
- package/dist/esm/agentkit/AgentSession.mjs +8 -5
- package/dist/esm/agentkit/index.d.mts +8 -7
- package/dist/esm/agentkit/index.mjs +3 -3
- package/dist/esm/agentkit/types.d.mts +51 -6
- package/dist/esm/agentkit/vendors/cn.d.mts +46 -0
- package/dist/esm/agentkit/vendors/cn.mjs +44 -0
- package/dist/esm/agentkit/vendors/stt.d.mts +24 -0
- package/dist/esm/agentkit/vendors/stt.mjs +28 -0
- package/dist/esm/agentkit/vendors/tts.d.mts +22 -38
- package/dist/esm/agentkit/vendors/tts.mjs +15 -22
- package/dist/esm/api/types/Asr.d.mts +13 -1
- package/dist/esm/api/types/ElevenLabsAsr.d.mts +10 -0
- package/dist/esm/api/types/ElevenLabsAsrParams.d.mts +9 -0
- package/dist/esm/api/types/ElevenLabsAsrParams.mjs +2 -0
- package/dist/esm/api/types/FishAudioAsr.d.mts +10 -0
- package/dist/esm/api/types/FishAudioAsr.mjs +2 -0
- package/dist/esm/api/types/FishAudioAsrParams.d.mts +9 -0
- package/dist/esm/api/types/FishAudioAsrParams.mjs +2 -0
- package/dist/esm/api/types/MinimaxDuplexTts.d.mts +13 -0
- package/dist/esm/api/types/MinimaxDuplexTts.mjs +2 -0
- package/dist/esm/api/types/MinimaxDuplexTtsParams.d.mts +87 -0
- package/dist/esm/api/types/MinimaxDuplexTtsParams.mjs +2 -0
- package/dist/esm/api/types/QwenAsr.d.mts +10 -0
- package/dist/esm/api/types/QwenAsr.mjs +2 -0
- package/dist/esm/api/types/QwenAsrParams.d.mts +9 -0
- package/dist/esm/api/types/QwenAsrParams.mjs +2 -0
- package/dist/esm/api/types/{HumeAiTts.d.mts → SonioxTts.d.mts} +3 -3
- package/dist/esm/api/types/SonioxTts.mjs +2 -0
- package/dist/esm/api/types/SonioxTtsParams.d.mts +29 -0
- package/dist/esm/api/types/SonioxTtsParams.mjs +2 -0
- package/dist/esm/api/types/StepfunAsr.d.mts +10 -0
- package/dist/esm/api/types/StepfunAsr.mjs +2 -0
- package/dist/esm/api/types/StepfunAsrParams.d.mts +9 -0
- package/dist/esm/api/types/StepfunAsrParams.mjs +2 -0
- package/dist/esm/api/types/Tts.d.mts +7 -4
- package/dist/esm/api/types/index.d.mts +12 -2
- package/dist/esm/api/types/index.mjs +12 -2
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/index.mjs +5 -5
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/HumeAiTtsParams.d.ts +0 -29
- package/dist/cjs/api/types/HumeAiTtsParams.js +0 -12
- package/dist/esm/api/types/HumeAiTtsParams.d.mts +0 -29
- package/dist/esm/api/types/HumeAiTtsParams.mjs +0 -9
- /package/dist/cjs/api/types/{HumeAiTts.js → ElevenLabsAsr.js} +0 -0
- /package/dist/esm/api/types/{HumeAiTts.mjs → ElevenLabsAsr.mjs} +0 -0
|
@@ -8,6 +8,28 @@ import { type MiniMaxPresetModel, type OpenAITtsPresetModel } from "../presets.m
|
|
|
8
8
|
import type { TtsConfig } from "../types.mjs";
|
|
9
9
|
import type { CartesiaSampleRate, ElevenLabsSampleRate, GoogleTTSSampleRate, MicrosoftSampleRate } from "./base.mjs";
|
|
10
10
|
import { BaseTTS } from "./base.mjs";
|
|
11
|
+
export interface SonioxTTSOptions {
|
|
12
|
+
apiKey: string;
|
|
13
|
+
baseUrl?: string;
|
|
14
|
+
model?: string;
|
|
15
|
+
language?: string;
|
|
16
|
+
voice?: string;
|
|
17
|
+
sampleRate?: number;
|
|
18
|
+
/** Speech rate multiplier, from 0.7 to 1.3 inclusive. */
|
|
19
|
+
speed?: number;
|
|
20
|
+
reduceSilence?: boolean;
|
|
21
|
+
returnTimestamps?: boolean;
|
|
22
|
+
clientReferenceId?: string;
|
|
23
|
+
dump?: boolean;
|
|
24
|
+
skipPatterns?: number[];
|
|
25
|
+
additionalParams?: Record<string, unknown>;
|
|
26
|
+
}
|
|
27
|
+
/** Soniox streaming TTS. Only apiKey is required. */
|
|
28
|
+
export declare class SonioxTTS extends BaseTTS {
|
|
29
|
+
private readonly options;
|
|
30
|
+
constructor(options: SonioxTTSOptions);
|
|
31
|
+
toConfig(): TtsConfig;
|
|
32
|
+
}
|
|
11
33
|
/** Gemini 3.8 Flash TTS model. */
|
|
12
34
|
export declare const GeminiTTSModels: {
|
|
13
35
|
readonly Flash38: "gemini-3.8-flash-tts";
|
|
@@ -377,44 +399,6 @@ export declare class TypecastTTS extends BaseTTS {
|
|
|
377
399
|
constructor(options: TypecastTTSOptions);
|
|
378
400
|
toConfig(): TtsConfig;
|
|
379
401
|
}
|
|
380
|
-
/**
|
|
381
|
-
* Constructor options for Hume AI TTS.
|
|
382
|
-
*/
|
|
383
|
-
export interface HumeAITTSOptions {
|
|
384
|
-
/** Hume AI API key */
|
|
385
|
-
key: string;
|
|
386
|
-
/** Configuration ID */
|
|
387
|
-
configId?: string;
|
|
388
|
-
/** Hume AI voice ID */
|
|
389
|
-
voiceId: string;
|
|
390
|
-
/** Base URL for the Hume AI API */
|
|
391
|
-
baseUrl?: string;
|
|
392
|
-
/** Voice provider type */
|
|
393
|
-
provider: "HUME_AI" | "CUSTOM_VOICE";
|
|
394
|
-
/** Playback speed of the generated speech */
|
|
395
|
-
speed?: number;
|
|
396
|
-
/** Duration of silence in seconds to add at the end of each utterance */
|
|
397
|
-
trailingSilence?: number;
|
|
398
|
-
/** Skip patterns for bracketed content */
|
|
399
|
-
skipPatterns?: number[];
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* Hume AI TTS vendor.
|
|
403
|
-
*
|
|
404
|
-
* @example
|
|
405
|
-
* ```typescript
|
|
406
|
-
* const tts = new HumeAITTS({
|
|
407
|
-
* key: process.env.HUME_API_KEY,
|
|
408
|
-
* voiceId: 'voice-id',
|
|
409
|
-
* provider: 'CUSTOM_VOICE',
|
|
410
|
-
* });
|
|
411
|
-
* ```
|
|
412
|
-
*/
|
|
413
|
-
export declare class HumeAITTS extends BaseTTS {
|
|
414
|
-
private readonly options;
|
|
415
|
-
constructor(options: HumeAITTSOptions);
|
|
416
|
-
toConfig(): TtsConfig;
|
|
417
|
-
}
|
|
418
402
|
/**
|
|
419
403
|
* Constructor options for Rime TTS.
|
|
420
404
|
*
|
|
@@ -5,6 +5,21 @@ import { SarvamTtsParams as SarvamTtsParamsNS } from "../../api/types/SarvamTtsP
|
|
|
5
5
|
import { CredentialMode } from "../constants.mjs";
|
|
6
6
|
import { MiniMaxPresetModels, OpenAITtsPresetModels, } from "../presets.mjs";
|
|
7
7
|
import { BaseTTS } from "./base.mjs";
|
|
8
|
+
/** Soniox streaming TTS. Only apiKey is required. */
|
|
9
|
+
export class SonioxTTS extends BaseTTS {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
super();
|
|
12
|
+
this.options = options;
|
|
13
|
+
requireString(options.apiKey, "apiKey", "SonioxTTS");
|
|
14
|
+
if (options.speed !== undefined && !(options.speed >= 0.7 && options.speed <= 1.3)) {
|
|
15
|
+
throw new Error("SonioxTTS speed must be between 0.7 and 1.3");
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
toConfig() {
|
|
19
|
+
const { apiKey, baseUrl, model, language, voice, sampleRate, speed, reduceSilence, returnTimestamps, clientReferenceId, dump, skipPatterns, additionalParams, } = this.options;
|
|
20
|
+
return Object.assign({ vendor: "soniox", params: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, additionalParams), { api_key: apiKey }), (baseUrl !== undefined && { base_url: baseUrl })), (model !== undefined && { model })), (language !== undefined && { language })), (voice !== undefined && { voice })), (sampleRate !== undefined && { sample_rate: sampleRate })), (speed !== undefined && { speed })), (reduceSilence !== undefined && { reduce_silence: reduceSilence })), (returnTimestamps !== undefined && { return_timestamps: returnTimestamps })), (clientReferenceId !== undefined && { client_reference_id: clientReferenceId })), (dump !== undefined && { dump })) }, (skipPatterns !== undefined && { skip_patterns: skipPatterns }));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
8
23
|
/** Gemini 3.8 Flash TTS model. */
|
|
9
24
|
export const GeminiTTSModels = {
|
|
10
25
|
Flash38: "gemini-3.8-flash-tts",
|
|
@@ -262,28 +277,6 @@ export class TypecastTTS extends BaseTTS {
|
|
|
262
277
|
return Object.assign({ vendor: "typecast", params: Object.assign(Object.assign({}, additionalParams), { api_key: apiKey, voice_id: voiceId, model }) }, (skipPatterns && { skip_patterns: skipPatterns }));
|
|
263
278
|
}
|
|
264
279
|
}
|
|
265
|
-
/**
|
|
266
|
-
* Hume AI TTS vendor.
|
|
267
|
-
*
|
|
268
|
-
* @example
|
|
269
|
-
* ```typescript
|
|
270
|
-
* const tts = new HumeAITTS({
|
|
271
|
-
* key: process.env.HUME_API_KEY,
|
|
272
|
-
* voiceId: 'voice-id',
|
|
273
|
-
* provider: 'CUSTOM_VOICE',
|
|
274
|
-
* });
|
|
275
|
-
* ```
|
|
276
|
-
*/
|
|
277
|
-
export class HumeAITTS extends BaseTTS {
|
|
278
|
-
constructor(options) {
|
|
279
|
-
super();
|
|
280
|
-
this.options = options;
|
|
281
|
-
}
|
|
282
|
-
toConfig() {
|
|
283
|
-
const { key, configId, voiceId, baseUrl, provider, speed, trailingSilence, skipPatterns } = this.options;
|
|
284
|
-
return Object.assign({ vendor: "humeai", params: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ key, voice_id: voiceId }, (baseUrl && { base_url: baseUrl })), { provider }), (speed !== undefined && { speed })), (trailingSilence !== undefined && { trailing_silence: trailingSilence })), (configId && { config_id: configId })) }, (skipPatterns && { skip_patterns: skipPatterns }));
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
280
|
/**
|
|
288
281
|
* Rime TTS vendor.
|
|
289
282
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as Agora from "../index.mjs";
|
|
2
|
-
export type Asr = Agora.Asr.Ares | Agora.Asr.Fengming | Agora.Asr.Tencent | Agora.Asr.Microsoft | Agora.Asr.Deepgram | Agora.Asr.Openai | Agora.Asr.Google | Agora.Asr.Gemini | Agora.Asr.Amazon | Agora.Asr.Assemblyai | Agora.Asr.Speechmatics | Agora.Asr.Sarvam | Agora.Asr.Rtzr | Agora.Asr.Xai | Agora.Asr.Xfyun | Agora.Asr.XfyunBigmodel | Agora.Asr.XfyunDialect | Agora.Asr.Smallestai;
|
|
2
|
+
export type Asr = Agora.Asr.Ares | Agora.Asr.Fengming | Agora.Asr.Tencent | Agora.Asr.Microsoft | Agora.Asr.Deepgram | Agora.Asr.Openai | Agora.Asr.Google | Agora.Asr.Gemini | Agora.Asr.Amazon | Agora.Asr.Assemblyai | Agora.Asr.Speechmatics | Agora.Asr.Sarvam | Agora.Asr.Rtzr | Agora.Asr.Xai | Agora.Asr.Xfyun | Agora.Asr.XfyunBigmodel | Agora.Asr.XfyunDialect | Agora.Asr.Smallestai | Agora.Asr.Stepfun | Agora.Asr.Elevenlabs | Agora.Asr.Fishaudio | Agora.Asr.Qwen;
|
|
3
3
|
export declare namespace Asr {
|
|
4
4
|
interface Ares extends Agora.AresAsr {
|
|
5
5
|
vendor: "ares";
|
|
@@ -55,4 +55,16 @@ export declare namespace Asr {
|
|
|
55
55
|
interface Smallestai extends Agora.SmallestAiAsr {
|
|
56
56
|
vendor: "smallestai";
|
|
57
57
|
}
|
|
58
|
+
interface Stepfun extends Agora.StepfunAsr {
|
|
59
|
+
vendor: "stepfun";
|
|
60
|
+
}
|
|
61
|
+
interface Elevenlabs extends Agora.ElevenLabsAsr {
|
|
62
|
+
vendor: "elevenlabs";
|
|
63
|
+
}
|
|
64
|
+
interface Fishaudio extends Agora.FishAudioAsr {
|
|
65
|
+
vendor: "fishaudio";
|
|
66
|
+
}
|
|
67
|
+
interface Qwen extends Agora.QwenAsr {
|
|
68
|
+
vendor: "qwen";
|
|
69
|
+
}
|
|
58
70
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Agora from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* ElevenLabs ASR configuration.
|
|
4
|
+
*/
|
|
5
|
+
export interface ElevenLabsAsr {
|
|
6
|
+
language?: Agora.AsrLanguage;
|
|
7
|
+
params: Agora.ElevenLabsAsrParams;
|
|
8
|
+
/** Accepts any additional properties */
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Agora from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* MiniMax duplex streaming Text-to-Speech configuration.
|
|
4
|
+
*/
|
|
5
|
+
export interface MinimaxDuplexTts {
|
|
6
|
+
/** Whether to enable batch processing for MiniMax duplex streaming TTS. Omit this field to use the server default of true. */
|
|
7
|
+
batch?: boolean;
|
|
8
|
+
/** Whether to enable word-level output for MiniMax duplex streaming TTS. Omit this field to leave it unset in the request. */
|
|
9
|
+
enable_words?: boolean;
|
|
10
|
+
params: Agora.MinimaxDuplexTtsParams;
|
|
11
|
+
/** Controls whether the TTS module skips bracketed content when reading LLM response text. */
|
|
12
|
+
skip_patterns?: number[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax duplex streaming TTS configuration parameters.
|
|
3
|
+
*/
|
|
4
|
+
export interface MinimaxDuplexTtsParams {
|
|
5
|
+
/** MiniMax API key. */
|
|
6
|
+
key: string;
|
|
7
|
+
/** WebSocket endpoint (e.g., wss://api.minimax.cn/ws/v1/t2a_v2_bidi). */
|
|
8
|
+
url?: string;
|
|
9
|
+
/** MiniMax model identifier (e.g., speech-2.8-turbo). */
|
|
10
|
+
model: string;
|
|
11
|
+
voice_setting: MinimaxDuplexTtsParams.VoiceSetting;
|
|
12
|
+
/** Audio output settings. */
|
|
13
|
+
audio_setting?: MinimaxDuplexTtsParams.AudioSetting;
|
|
14
|
+
/** Language boost mode (e.g., Chinese). */
|
|
15
|
+
language_boost?: string;
|
|
16
|
+
/** Text normalization mode (e.g., basic). */
|
|
17
|
+
text_normalization_mode?: string;
|
|
18
|
+
/** Custom pronunciation dictionary settings. */
|
|
19
|
+
pronunciation_dict?: MinimaxDuplexTtsParams.PronunciationDict;
|
|
20
|
+
/** Voice modification settings. */
|
|
21
|
+
voice_modify?: MinimaxDuplexTtsParams.VoiceModify;
|
|
22
|
+
/** Whether to enable subtitles. */
|
|
23
|
+
subtitle_enable?: boolean;
|
|
24
|
+
/** Subtitle granularity (e.g., word). */
|
|
25
|
+
subtitle_type?: string;
|
|
26
|
+
/** Whether to enable continuous sound. */
|
|
27
|
+
continuous_sound?: boolean;
|
|
28
|
+
/** Optional MiniMax provider session identifier. */
|
|
29
|
+
session_id?: string;
|
|
30
|
+
/** Accepts any additional properties */
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace MinimaxDuplexTtsParams {
|
|
34
|
+
interface VoiceSetting {
|
|
35
|
+
/** Voice identifier (e.g., female-shaonv). */
|
|
36
|
+
voice_id: string;
|
|
37
|
+
/** Speech speed multiplier. */
|
|
38
|
+
speed?: number;
|
|
39
|
+
/** Voice volume multiplier. */
|
|
40
|
+
vol?: number;
|
|
41
|
+
/** Voice pitch adjustment. */
|
|
42
|
+
pitch?: number;
|
|
43
|
+
/** Emotion preset. */
|
|
44
|
+
emotion?: string;
|
|
45
|
+
/** Whether to read LaTeX expressions. */
|
|
46
|
+
latex_read?: boolean;
|
|
47
|
+
/** Accepts any additional properties */
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Audio output settings.
|
|
52
|
+
*/
|
|
53
|
+
interface AudioSetting {
|
|
54
|
+
/** Audio sample rate in Hz. */
|
|
55
|
+
sample_rate?: number;
|
|
56
|
+
/** Audio output format (e.g., pcm). */
|
|
57
|
+
format?: string;
|
|
58
|
+
/** Number of audio channels. */
|
|
59
|
+
channels?: number;
|
|
60
|
+
/** Accepts any additional properties */
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Custom pronunciation dictionary settings.
|
|
65
|
+
*/
|
|
66
|
+
interface PronunciationDict {
|
|
67
|
+
/** Pronunciation override list. */
|
|
68
|
+
tone?: string[];
|
|
69
|
+
/** Accepts any additional properties */
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Voice modification settings.
|
|
74
|
+
*/
|
|
75
|
+
interface VoiceModify {
|
|
76
|
+
/** Voice modification pitch adjustment. */
|
|
77
|
+
pitch?: number;
|
|
78
|
+
/** Voice intensity adjustment. */
|
|
79
|
+
intensity?: number;
|
|
80
|
+
/** Voice timbre adjustment. */
|
|
81
|
+
timbre?: number;
|
|
82
|
+
/** Sound effect preset (e.g., spacious_echo). */
|
|
83
|
+
sound_effects?: string;
|
|
84
|
+
/** Accepts any additional properties */
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as Agora from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Soniox Text-to-Speech configuration.
|
|
4
4
|
*/
|
|
5
|
-
export interface
|
|
6
|
-
params: Agora.
|
|
5
|
+
export interface SonioxTts {
|
|
6
|
+
params: Agora.SonioxTtsParams;
|
|
7
7
|
/** Controls whether the TTS module skips bracketed content when reading LLM response text. */
|
|
8
8
|
skip_patterns?: number[];
|
|
9
9
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Soniox TTS configuration parameters. Only api_key is required.
|
|
3
|
+
*/
|
|
4
|
+
export interface SonioxTtsParams {
|
|
5
|
+
/** Soniox API key. */
|
|
6
|
+
api_key: string;
|
|
7
|
+
/** WebSocket endpoint for Soniox streaming speech synthesis. */
|
|
8
|
+
base_url?: string;
|
|
9
|
+
/** Soniox TTS model name. */
|
|
10
|
+
model?: string;
|
|
11
|
+
/** Language code for speech synthesis. */
|
|
12
|
+
language?: string;
|
|
13
|
+
/** Soniox voice name. */
|
|
14
|
+
voice?: string;
|
|
15
|
+
/** Output audio sample rate in Hz. */
|
|
16
|
+
sample_rate?: number;
|
|
17
|
+
/** Speech rate multiplier, from 0.7 to 1.3 inclusive. */
|
|
18
|
+
speed?: number;
|
|
19
|
+
/** Whether to reduce silence in synthesized speech. */
|
|
20
|
+
reduce_silence?: boolean;
|
|
21
|
+
/** Whether to return timestamps for synthesized speech. */
|
|
22
|
+
return_timestamps?: boolean;
|
|
23
|
+
/** Client-provided reference identifier. */
|
|
24
|
+
client_reference_id?: string;
|
|
25
|
+
/** Whether to enable diagnostic dumping. */
|
|
26
|
+
dump?: boolean;
|
|
27
|
+
/** Accepts any additional properties */
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as Agora from "../index.mjs";
|
|
2
|
-
export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.
|
|
2
|
+
export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.MinimaxDuplex | Agora.Tts.Murf | Agora.Tts.Cartesia | Agora.Tts.Openai | Agora.Tts.Rime | Agora.Tts.Fishaudio | Agora.Tts.Google | Agora.Tts.Gemini | Agora.Tts.Amazon | Agora.Tts.Sarvam | Agora.Tts.GenericHttp | Agora.Tts.Xai | Agora.Tts.Deepgram | Agora.Tts.Cosyvoice | Agora.Tts.BytedanceDuplex | Agora.Tts.Stepfun | Agora.Tts.Gradium | Agora.Tts.Mistral | Agora.Tts.Typecast | Agora.Tts.Smallestai | Agora.Tts.Soniox;
|
|
3
3
|
export declare namespace Tts {
|
|
4
4
|
interface Tencent extends Agora.TencentTts {
|
|
5
5
|
vendor: "tencent";
|
|
@@ -16,6 +16,9 @@ export declare namespace Tts {
|
|
|
16
16
|
interface Minimax extends Agora.MinimaxTts {
|
|
17
17
|
vendor: "minimax";
|
|
18
18
|
}
|
|
19
|
+
interface MinimaxDuplex extends Agora.MinimaxDuplexTts {
|
|
20
|
+
vendor: "minimax_duplex";
|
|
21
|
+
}
|
|
19
22
|
interface Murf extends Agora.MurfTts {
|
|
20
23
|
vendor: "murf";
|
|
21
24
|
}
|
|
@@ -25,9 +28,6 @@ export declare namespace Tts {
|
|
|
25
28
|
interface Openai extends Agora.OpenAiTts {
|
|
26
29
|
vendor: "openai";
|
|
27
30
|
}
|
|
28
|
-
interface Humeai extends Agora.HumeAiTts {
|
|
29
|
-
vendor: "humeai";
|
|
30
|
-
}
|
|
31
31
|
interface Rime extends Agora.RimeTts {
|
|
32
32
|
vendor: "rime";
|
|
33
33
|
}
|
|
@@ -76,4 +76,7 @@ export declare namespace Tts {
|
|
|
76
76
|
interface Smallestai extends Agora.SmallestAiTts {
|
|
77
77
|
vendor: "smallestai";
|
|
78
78
|
}
|
|
79
|
+
interface Soniox extends Agora.SonioxTts {
|
|
80
|
+
vendor: "soniox";
|
|
81
|
+
}
|
|
79
82
|
}
|
|
@@ -24,10 +24,14 @@ export * from "./DeepgramAsr.mjs";
|
|
|
24
24
|
export * from "./DeepgramAsrParams.mjs";
|
|
25
25
|
export * from "./DeepgramTts.mjs";
|
|
26
26
|
export * from "./DeepgramTtsParams.mjs";
|
|
27
|
+
export * from "./ElevenLabsAsr.mjs";
|
|
28
|
+
export * from "./ElevenLabsAsrParams.mjs";
|
|
27
29
|
export * from "./ElevenLabsTts.mjs";
|
|
28
30
|
export * from "./ElevenLabsTtsParams.mjs";
|
|
29
31
|
export * from "./FengmingAsr.mjs";
|
|
30
32
|
export * from "./FengmingAsrParams.mjs";
|
|
33
|
+
export * from "./FishAudioAsr.mjs";
|
|
34
|
+
export * from "./FishAudioAsrParams.mjs";
|
|
31
35
|
export * from "./FishAudioTts.mjs";
|
|
32
36
|
export * from "./FishAudioTtsParams.mjs";
|
|
33
37
|
export * from "./GeminiAsr.mjs";
|
|
@@ -44,8 +48,6 @@ export * from "./GoogleTtsParams.mjs";
|
|
|
44
48
|
export * from "./GoogleTtsVoiceSelectionParams.mjs";
|
|
45
49
|
export * from "./GradiumTts.mjs";
|
|
46
50
|
export * from "./GradiumTtsParams.mjs";
|
|
47
|
-
export * from "./HumeAiTts.mjs";
|
|
48
|
-
export * from "./HumeAiTtsParams.mjs";
|
|
49
51
|
export * from "./Llm.mjs";
|
|
50
52
|
export * from "./LlmParams.mjs";
|
|
51
53
|
export * from "./LlmTool.mjs";
|
|
@@ -57,6 +59,8 @@ export * from "./MicrosoftAsr.mjs";
|
|
|
57
59
|
export * from "./MicrosoftAsrParams.mjs";
|
|
58
60
|
export * from "./MicrosoftTts.mjs";
|
|
59
61
|
export * from "./MicrosoftTtsParams.mjs";
|
|
62
|
+
export * from "./MinimaxDuplexTts.mjs";
|
|
63
|
+
export * from "./MinimaxDuplexTtsParams.mjs";
|
|
60
64
|
export * from "./MinimaxTts.mjs";
|
|
61
65
|
export * from "./MinimaxTtsParams.mjs";
|
|
62
66
|
export * from "./MistralTts.mjs";
|
|
@@ -73,6 +77,8 @@ export * from "./OpenAiAsrParams.mjs";
|
|
|
73
77
|
export * from "./OpenAiInputAudioTranscription.mjs";
|
|
74
78
|
export * from "./OpenAiTts.mjs";
|
|
75
79
|
export * from "./OpenAiTtsParams.mjs";
|
|
80
|
+
export * from "./QwenAsr.mjs";
|
|
81
|
+
export * from "./QwenAsrParams.mjs";
|
|
76
82
|
export * from "./RimeTts.mjs";
|
|
77
83
|
export * from "./RimeTtsParams.mjs";
|
|
78
84
|
export * from "./RtzrAsr.mjs";
|
|
@@ -86,9 +92,13 @@ export * from "./SmallestAiAsr.mjs";
|
|
|
86
92
|
export * from "./SmallestAiAsrParams.mjs";
|
|
87
93
|
export * from "./SmallestAiTts.mjs";
|
|
88
94
|
export * from "./SmallestAiTtsParams.mjs";
|
|
95
|
+
export * from "./SonioxTts.mjs";
|
|
96
|
+
export * from "./SonioxTtsParams.mjs";
|
|
89
97
|
export * from "./SpatiusAvatarParams.mjs";
|
|
90
98
|
export * from "./SpeechmaticsAsr.mjs";
|
|
91
99
|
export * from "./SpeechmaticsAsrParams.mjs";
|
|
100
|
+
export * from "./StepfunAsr.mjs";
|
|
101
|
+
export * from "./StepfunAsrParams.mjs";
|
|
92
102
|
export * from "./StepfunTts.mjs";
|
|
93
103
|
export * from "./StepfunTtsParams.mjs";
|
|
94
104
|
export * from "./TelephonyErrorResponse.mjs";
|
|
@@ -24,10 +24,14 @@ export * from "./DeepgramAsr.mjs";
|
|
|
24
24
|
export * from "./DeepgramAsrParams.mjs";
|
|
25
25
|
export * from "./DeepgramTts.mjs";
|
|
26
26
|
export * from "./DeepgramTtsParams.mjs";
|
|
27
|
+
export * from "./ElevenLabsAsr.mjs";
|
|
28
|
+
export * from "./ElevenLabsAsrParams.mjs";
|
|
27
29
|
export * from "./ElevenLabsTts.mjs";
|
|
28
30
|
export * from "./ElevenLabsTtsParams.mjs";
|
|
29
31
|
export * from "./FengmingAsr.mjs";
|
|
30
32
|
export * from "./FengmingAsrParams.mjs";
|
|
33
|
+
export * from "./FishAudioAsr.mjs";
|
|
34
|
+
export * from "./FishAudioAsrParams.mjs";
|
|
31
35
|
export * from "./FishAudioTts.mjs";
|
|
32
36
|
export * from "./FishAudioTtsParams.mjs";
|
|
33
37
|
export * from "./GeminiAsr.mjs";
|
|
@@ -44,8 +48,6 @@ export * from "./GoogleTtsParams.mjs";
|
|
|
44
48
|
export * from "./GoogleTtsVoiceSelectionParams.mjs";
|
|
45
49
|
export * from "./GradiumTts.mjs";
|
|
46
50
|
export * from "./GradiumTtsParams.mjs";
|
|
47
|
-
export * from "./HumeAiTts.mjs";
|
|
48
|
-
export * from "./HumeAiTtsParams.mjs";
|
|
49
51
|
export * from "./Llm.mjs";
|
|
50
52
|
export * from "./LlmParams.mjs";
|
|
51
53
|
export * from "./LlmTool.mjs";
|
|
@@ -57,6 +59,8 @@ export * from "./MicrosoftAsr.mjs";
|
|
|
57
59
|
export * from "./MicrosoftAsrParams.mjs";
|
|
58
60
|
export * from "./MicrosoftTts.mjs";
|
|
59
61
|
export * from "./MicrosoftTtsParams.mjs";
|
|
62
|
+
export * from "./MinimaxDuplexTts.mjs";
|
|
63
|
+
export * from "./MinimaxDuplexTtsParams.mjs";
|
|
60
64
|
export * from "./MinimaxTts.mjs";
|
|
61
65
|
export * from "./MinimaxTtsParams.mjs";
|
|
62
66
|
export * from "./MistralTts.mjs";
|
|
@@ -73,6 +77,8 @@ export * from "./OpenAiAsrParams.mjs";
|
|
|
73
77
|
export * from "./OpenAiInputAudioTranscription.mjs";
|
|
74
78
|
export * from "./OpenAiTts.mjs";
|
|
75
79
|
export * from "./OpenAiTtsParams.mjs";
|
|
80
|
+
export * from "./QwenAsr.mjs";
|
|
81
|
+
export * from "./QwenAsrParams.mjs";
|
|
76
82
|
export * from "./RimeTts.mjs";
|
|
77
83
|
export * from "./RimeTtsParams.mjs";
|
|
78
84
|
export * from "./RtzrAsr.mjs";
|
|
@@ -86,9 +92,13 @@ export * from "./SmallestAiAsr.mjs";
|
|
|
86
92
|
export * from "./SmallestAiAsrParams.mjs";
|
|
87
93
|
export * from "./SmallestAiTts.mjs";
|
|
88
94
|
export * from "./SmallestAiTtsParams.mjs";
|
|
95
|
+
export * from "./SonioxTts.mjs";
|
|
96
|
+
export * from "./SonioxTtsParams.mjs";
|
|
89
97
|
export * from "./SpatiusAvatarParams.mjs";
|
|
90
98
|
export * from "./SpeechmaticsAsr.mjs";
|
|
91
99
|
export * from "./SpeechmaticsAsrParams.mjs";
|
|
100
|
+
export * from "./StepfunAsr.mjs";
|
|
101
|
+
export * from "./StepfunAsrParams.mjs";
|
|
92
102
|
export * from "./StepfunTts.mjs";
|
|
93
103
|
export * from "./StepfunTtsParams.mjs";
|
|
94
104
|
export * from "./TelephonyErrorResponse.mjs";
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type { AgoraAuthMode } from "./AgoraPoolClient.mjs";
|
|
2
2
|
export { AgoraClient } from "./AgoraPoolClient.mjs";
|
|
3
3
|
export type { AgoraArea, AreaScope, GlobalArea } from "./agentkit/area.mjs";
|
|
4
|
-
export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentPreset, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AliyunLLMOptions, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AsrPreset, AsrVendorName, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AvatarWireVendor, AzureOpenAIOptions, AzureOpenAIRealtimeOptions, AzureOpenAIRealtimeParams, BaseMllmOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, CNAvatarVendor, CNLlmVendor, CNMllmVendor, CNSttVendor, CNTtsVendor, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, DeepSeekLLMOptions, DifyOptions, Eagerness, ElevenLabsSampleRate, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FengmingSTTOptions, FillerWordsConfig, FillerWordsContent, FillerWordsContentGeneratedConfig, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsGeneratedLlmProvider, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiAsrParams, GeminiLiveModel, GeminiLiveOptions, GeminiLiveVoice, GeminiOptions, GeminiPreviewVoice, GeminiSTTModel, GeminiSTTOptions, GeminiThinkingLevel, GenerateClientTokenOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalMllmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate,
|
|
5
|
-
export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, AzureOpenAIRealtime, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, createPreviewRoute, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, GEMINI_MLLM_DEFAULT_MODEL, GEMINI_MLLM_URL, GEMINI_PREVIEW_MLLM_URL, Gemini, GeminiLive, GeminiLiveModels, GeminiSTT, GeminiSTTModels, GeminiThinkingLevels, GeminiTranscriptionMode, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateClientToken, generateConvoAIToken, generateRtcToken, HeyGenAvatar,
|
|
4
|
+
export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentPreset, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AliyunLLMOptions, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AsrPreset, AsrVendorName, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AvatarWireVendor, AzureOpenAIOptions, AzureOpenAIRealtimeOptions, AzureOpenAIRealtimeParams, BaseMllmOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, CNAvatarVendor, CNLlmVendor, CNMllmVendor, CNSttVendor, CNTtsVendor, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, DeepSeekLLMOptions, DifyOptions, Eagerness, ElevenLabsSampleRate, ElevenLabsSTTOptions, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FengmingSTTOptions, FillerWordsConfig, FillerWordsContent, FillerWordsContentGeneratedConfig, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsGeneratedLlmProvider, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioSTTOptions, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiAsrParams, GeminiLiveModel, GeminiLiveOptions, GeminiLiveVoice, GeminiOptions, GeminiPreviewVoice, GeminiSTTModel, GeminiSTTOptions, GeminiThinkingLevel, GenerateClientTokenOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalMllmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LemonSliceOptions, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmTool, LlmToolExecution, LlmToolFunction, LlmToolServer, LlmVendor, McpServer, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxDuplexTTSOptions, MiniMaxTTSOptions, MinimaxDuplexTts, MinimaxDuplexTtsParams, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIGPTLiveOptions, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, PreviewFeature, PreviewRoute, ProtofaceOptions, QwenOmniOptions, QwenSTTOptions, RimeTTSOptions, RimeTts, RimeTtsParams, RTZRSTTOptions, RtcConfig, RtzrAsr, RtzrAsrParams, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SmallestAISTTOptions, SmallestAITTSOptions, SmallestAiAsr, SmallestAiAsrParams, SmallestAiTts, SmallestAiTtsParams, SonioxTTSOptions, SonioxTts, SonioxTtsParams, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakConfig, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunSTTOptions, StepFunTTSOptions, StepfunAsr, StepfunAsrParams, StrictAvatarConfig, SttConfig, SttVendor, TavusOptions, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TtsPreset, TtsVendor, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, TypecastTTSOptions, TypecastTts, TypecastTtsParams, VertexAILLMOptions, VertexAIOptions, XAiAsr, XAiAsrParams, XAiSTTOptions, XAiTTSOptions, XAiTts, XAiTtsParams, XaiGrokOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./agentkit/index.mjs";
|
|
5
|
+
export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, AzureOpenAIRealtime, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, createPreviewRoute, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsSTT, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioSTT, FishAudioTTS, GEMINI_MLLM_DEFAULT_MODEL, GEMINI_MLLM_URL, GEMINI_PREVIEW_MLLM_URL, Gemini, GeminiLive, GeminiLiveModels, GeminiSTT, GeminiSTTModels, GeminiThinkingLevels, GeminiTranscriptionMode, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateClientToken, generateConvoAIToken, generateRtcToken, HeyGenAvatar, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LemonSlice, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxDuplexTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIGPTLive, OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, Protoface, previewRequestHeaders, QwenOmni, QwenSTT, REDACTED, RimeTTS, RTZRSTT, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SarvamTTSLanguage, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, SonioxTTS, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunSTT, StepFunTTS, Tavus, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, TypecastTTS, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.mjs";
|
|
6
6
|
export type { GeminiTTSConfig, GeminiTTSModel, GeminiTTSOptions } from "./agentkit/vendors/tts.mjs";
|
|
7
7
|
export { GeminiTTS, GeminiTTSModels } from "./agentkit/vendors/tts.mjs";
|
|
8
8
|
export * as Agora from "./api/index.mjs";
|