agora-agents 2.13.1 → 2.14.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/AgentSession.js +8 -5
- package/dist/cjs/agentkit/index.d.ts +5 -4
- package/dist/cjs/agentkit/index.js +6 -3
- package/dist/cjs/agentkit/vendors/cn.d.ts +34 -0
- package/dist/cjs/agentkit/vendors/cn.js +33 -1
- package/dist/cjs/agentkit/vendors/tts.d.ts +22 -0
- package/dist/cjs/agentkit/vendors/tts.js +17 -1
- package/dist/cjs/api/types/Asr.d.ts +4 -1
- 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/SonioxTts.d.ts +9 -0
- 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 -1
- package/dist/cjs/api/types/index.d.ts +6 -0
- package/dist/cjs/api/types/index.js +6 -0
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +6 -3
- 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/AgentSession.mjs +8 -5
- package/dist/esm/agentkit/index.d.mts +5 -4
- package/dist/esm/agentkit/index.mjs +2 -2
- package/dist/esm/agentkit/vendors/cn.d.mts +34 -0
- package/dist/esm/agentkit/vendors/cn.mjs +30 -0
- package/dist/esm/agentkit/vendors/tts.d.mts +22 -0
- package/dist/esm/agentkit/vendors/tts.mjs +15 -0
- package/dist/esm/api/types/Asr.d.mts +4 -1
- 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/SonioxTts.d.mts +9 -0
- 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 -1
- package/dist/esm/api/types/index.d.mts +6 -0
- package/dist/esm/api/types/index.mjs +6 -0
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "agora-agents",
|
|
44
|
-
"X-Fern-SDK-Version": "v2.
|
|
45
|
-
"User-Agent": "agora-agents/v2.
|
|
44
|
+
"X-Fern-SDK-Version": "v2.14.0",
|
|
45
|
+
"User-Agent": "agora-agents/v2.14.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -233,6 +233,7 @@ class AgentSession {
|
|
|
233
233
|
* @throws {Error} If configuration is invalid
|
|
234
234
|
*/
|
|
235
235
|
_validateAvatarConfig() {
|
|
236
|
+
var _a;
|
|
236
237
|
const agentConfig = this._agent.config;
|
|
237
238
|
const avatar = agentConfig.avatar;
|
|
238
239
|
const tts = this._agent.tts;
|
|
@@ -264,11 +265,13 @@ class AgentSession {
|
|
|
264
265
|
// Note: tts can be a string (shorthand) or an object with params
|
|
265
266
|
// Sample-rate fields vary by provider, so check the generated wire names dynamically.
|
|
266
267
|
const ttsParams = tts && typeof tts !== "string" ? tts.params : undefined;
|
|
267
|
-
const sampleRate =
|
|
268
|
-
?
|
|
269
|
-
: ttsParams && "
|
|
270
|
-
? ttsParams.
|
|
271
|
-
:
|
|
268
|
+
const sampleRate = tts && typeof tts !== "string" && tts.vendor === "minimax_duplex"
|
|
269
|
+
? (_a = tts.params.audio_setting) === null || _a === void 0 ? void 0 : _a.sample_rate
|
|
270
|
+
: ttsParams && "sample_rate" in ttsParams
|
|
271
|
+
? ttsParams.sample_rate
|
|
272
|
+
: ttsParams && "speech_sample_rate" in ttsParams
|
|
273
|
+
? ttsParams.speech_sample_rate
|
|
274
|
+
: undefined;
|
|
272
275
|
if (typeof sampleRate === "number") {
|
|
273
276
|
if ((0, avatar_types_js_1.isHeyGenAvatar)(strictAvatar) || (0, avatar_types_js_1.isLiveAvatarAvatar)(strictAvatar) || (0, avatar_types_js_1.isAkoolAvatar)(strictAvatar)) {
|
|
274
277
|
(0, avatar_types_js_1.validateTtsSampleRate)(strictAvatar, sampleRate);
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* 3. **Convenience methods** (say, stop, interrupt, etc.) are the only
|
|
19
19
|
* parts that need manual updates when adding new sugar.
|
|
20
20
|
*/
|
|
21
|
+
export type { MinimaxDuplexTts, MinimaxDuplexTtsParams, SonioxTts, SonioxTtsParams, StepfunAsr, StepfunAsrParams, } from "../api/index.js";
|
|
21
22
|
export type { AgentsClient } from "../api/resources/agents/client/Client.js";
|
|
22
23
|
export type { AgentOptions } from "./Agent.js";
|
|
23
24
|
export { Agent } from "./Agent.js";
|
|
@@ -39,13 +40,13 @@ export type { AkoolAvatarOptions, AnamAvatarOptions, GenericAvatarOptions, HeyGe
|
|
|
39
40
|
export { AkoolAvatar, AnamAvatar, GenericAvatar, HeyGenAvatar, LemonSlice, LiveAvatarAvatar, Protoface, Tavus, } from "./vendors/avatar.js";
|
|
40
41
|
export type { AkoolSampleRate, CartesiaSampleRate, ElevenLabsSampleRate, HeyGenSampleRate, LiveAvatarSampleRate, MicrosoftSampleRate, SampleRate, } from "./vendors/base.js";
|
|
41
42
|
export { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, type BaseLlmOptions, BaseMLLM, type BaseMllmOptions, BaseSTT, BaseTTS, type GoogleTTSSampleRate, } from "./vendors/base.js";
|
|
42
|
-
export type { AliyunLLMOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CosyVoiceTTSOptions, DeepSeekLLMOptions, FengmingSTTOptions, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MiniMaxCNTTSOptions, SensetimeAvatarOptions, SpatiusAvatarOptions, StepFunTTSOptions, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./vendors/cn.js";
|
|
43
|
-
export { AliyunLLM, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CosyVoiceTTS, DeepSeekLLM, FengmingSTT, MicrosoftCNSTT, MicrosoftCNTTS, MiniMaxCNTTS, SensetimeAvatar, SpatiusAvatar, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./vendors/cn.js";
|
|
43
|
+
export type { AliyunLLMOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CosyVoiceTTSOptions, DeepSeekLLMOptions, FengmingSTTOptions, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MiniMaxCNTTSOptions, MiniMaxDuplexTTSOptions, SensetimeAvatarOptions, SpatiusAvatarOptions, StepFunSTTOptions, StepFunTTSOptions, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./vendors/cn.js";
|
|
44
|
+
export { AliyunLLM, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CosyVoiceTTS, DeepSeekLLM, FengmingSTT, MicrosoftCNSTT, MicrosoftCNTTS, MiniMaxCNTTS, MiniMaxDuplexTTS, SensetimeAvatar, SpatiusAvatar, StepFunSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./vendors/cn.js";
|
|
44
45
|
export type { AmazonBedrockOptions, AnthropicOptions, AzureOpenAIOptions, CustomLLMOptions, DifyOptions, GeminiOptions, GroqOptions, OpenAIOptions, VertexAILLMOptions, } from "./vendors/llm.js";
|
|
45
46
|
export { AmazonBedrock, Anthropic, AzureOpenAI, CustomLLM, Dify, Gemini, Groq, OpenAI, VertexAILLM, } from "./vendors/llm.js";
|
|
46
47
|
export type { AzureOpenAIRealtimeOptions, AzureOpenAIRealtimeParams, GeminiLiveModel, GeminiLiveOptions, GeminiLiveVoice, GeminiPreviewVoice, GeminiThinkingLevel, OpenAIGPTLiveOptions, OpenAIRealtimeOptions, QwenOmniOptions, VertexAIOptions, XaiGrokOptions, } from "./vendors/mllm.js";
|
|
47
48
|
export { AzureOpenAIRealtime, GEMINI_MLLM_DEFAULT_MODEL, GEMINI_MLLM_URL, GEMINI_PREVIEW_MLLM_URL, GeminiLive, GeminiLiveModels, GeminiThinkingLevels, OpenAIGPTLive, OpenAIRealtime, QwenOmni, VertexAI, XaiGrok, } from "./vendors/mllm.js";
|
|
48
49
|
export type { AmazonSTTOptions, AresSTTOptions, AssemblyAISTTOptions, DeepgramSTTOptions, GeminiSTTModel, GeminiSTTOptions, GoogleSTTOptions, MicrosoftSTTOptions, OpenAISTTOptions, RTZRSTTOptions, SarvamSTTOptions, SmallestAISTTOptions, SpeechmaticsSTTOptions, XAiSTTOptions, } from "./vendors/stt.js";
|
|
49
50
|
export { AmazonSTT, AresSTT, AssemblyAISTT, DeepgramSTT, GeminiSTT, GeminiSTTModels, GeminiTranscriptionMode, GoogleSTT, MicrosoftSTT, OpenAISTT, RTZRSTT, SarvamSTT, SmallestAISTT, SpeechmaticsSTT, XAiSTT, } from "./vendors/stt.js";
|
|
50
|
-
export type { AmazonTTSOptions, CartesiaTTSOptions, DeepgramTTSOptions, ElevenLabsTTSOptions, FishAudioTTSOptions, GeminiTTSConfig, GeminiTTSModel, GeminiTTSOptions, GenericTTSOptions, GoogleTTSOptions, GradiumTTSOptions, HumeAITTSOptions, MicrosoftTTSOptions, MiniMaxTTSOptions, MistralTTSOptions, MurfTTSOptions, OpenAITTSOptions, RimeTTSOptions, SarvamTTSOptions, SmallestAITTSOptions, TypecastTTSOptions, XAiTTSOptions, } from "./vendors/tts.js";
|
|
51
|
-
export { AmazonTTS, CartesiaTTS, DeepgramTTS, ElevenLabsTTS, FishAudioTTS, GeminiTTS, GeminiTTSModels, GenericTTS, GoogleTTS, GradiumTTS, HumeAITTS, MicrosoftTTS, MiniMaxTTS, MistralTTS, MurfTTS, OpenAITTS, RimeTTS, SarvamTTS, SarvamTTSLanguage, SmallestAITTS, TypecastTTS, XAiTTS, } from "./vendors/tts.js";
|
|
51
|
+
export type { AmazonTTSOptions, CartesiaTTSOptions, DeepgramTTSOptions, ElevenLabsTTSOptions, FishAudioTTSOptions, GeminiTTSConfig, GeminiTTSModel, GeminiTTSOptions, GenericTTSOptions, GoogleTTSOptions, GradiumTTSOptions, HumeAITTSOptions, MicrosoftTTSOptions, MiniMaxTTSOptions, MistralTTSOptions, MurfTTSOptions, OpenAITTSOptions, RimeTTSOptions, SarvamTTSOptions, SmallestAITTSOptions, SonioxTTSOptions, TypecastTTSOptions, XAiTTSOptions, } from "./vendors/tts.js";
|
|
52
|
+
export { AmazonTTS, CartesiaTTS, DeepgramTTS, ElevenLabsTTS, FishAudioTTS, GeminiTTS, GeminiTTSModels, GenericTTS, GoogleTTS, GradiumTTS, HumeAITTS, MicrosoftTTS, MiniMaxTTS, MistralTTS, MurfTTS, OpenAITTS, RimeTTS, SarvamTTS, SarvamTTSLanguage, SmallestAITTS, SonioxTTS, TypecastTTS, XAiTTS, } from "./vendors/tts.js";
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
*/
|
|
22
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
23
|
exports.PREVIEW_FEATURE_HEADER = exports.PREVIEW_API_BASE_URL = exports.createPreviewRoute = exports.normalizePresetInput = exports.AgentPresets = exports.redactSecrets = exports.redactHeadersForDebug = exports.REDACTED = exports.TurnDetectionTypeValues = exports.ThinkOnThinkingActionInterrupt = exports.ThinkOnThinkingActionIgnore = exports.ThinkOnSpeakingActionInterrupt = exports.ThinkOnSpeakingActionIgnore = exports.ThinkOnListeningActionInterrupt = exports.ThinkOnListeningActionInject = exports.ThinkOnListeningActionIgnore = exports.SpeakPriorityValues = exports.SpeakPriorityInterrupt = exports.SpeakPriorityIgnore = exports.SpeakPriorityAppend = exports.SilenceActionValues = exports.SalModeValues = exports.MllmTurnDetectionModeValues = exports.MllmTurnDetectionModeServerVad = exports.MllmTurnDetectionModeSemanticVad = exports.MllmTurnDetectionModeAgoraVad = exports.InterruptionModeValues = exports.InterruptionModeStartOfSpeech = exports.InterruptionModeKeywords = exports.InterruptionDisabledStrategyIgnore = exports.InterruptionDisabledStrategyAppend = exports.InterruptionDisabledStrategy = exports.Geofence = exports.FillerWordsSelectionRule = exports.DataChannel = exports.CredentialMode = exports.AudioScenario = exports.validateTtsSampleRate = exports.validateAvatarConfig = exports.toBaseAvatarConfig = exports.isSpatiusAvatar = exports.isSensetimeAvatar = exports.isLiveAvatarAvatar = exports.isHeyGenAvatar = exports.isGenericAvatar = exports.isAvatarTokenManaged = exports.isAnamAvatar = exports.isAkoolAvatar = exports.AgentSession = exports.Agent = void 0;
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.XAiTTS = exports.TypecastTTS = exports.SmallestAITTS = void 0;
|
|
24
|
+
exports.AzureOpenAI = exports.Anthropic = exports.AmazonBedrock = exports.XfyunSTT = exports.XfyunDialectSTT = exports.XfyunBigModelSTT = exports.TencentTTS = exports.TencentSTT = exports.TencentLLM = exports.StepFunTTS = exports.StepFunSTT = exports.SpatiusAvatar = exports.SensetimeAvatar = exports.MiniMaxDuplexTTS = exports.MiniMaxCNTTS = exports.MicrosoftCNTTS = exports.MicrosoftCNSTT = exports.FengmingSTT = exports.DeepSeekLLM = exports.CosyVoiceTTS = exports.BytedanceTTS = exports.BytedanceLLM = exports.BytedanceDuplexTTS = exports.AliyunLLM = exports.BaseTTS = exports.BaseSTT = exports.BaseMLLM = exports.BaseLLM = exports.BaseCNTTS = exports.BaseCNSTT = exports.BaseCNMLLM = exports.BaseCNLLM = exports.BaseCNAvatar = exports.BaseAvatar = exports.Tavus = exports.Protoface = exports.LiveAvatarAvatar = exports.LemonSlice = exports.HeyGenAvatar = exports.GenericAvatar = exports.AnamAvatar = exports.AkoolAvatar = exports.MAX_EXPIRY_SECONDS = exports.generateRtcToken = exports.generateConvoAIToken = exports.generateClientToken = exports.ExpiresIn = exports.requiredPreviewFeatures = exports.previewRequestHeaders = exports.PreviewFeatures = void 0;
|
|
25
|
+
exports.RimeTTS = exports.OpenAITTS = exports.MurfTTS = exports.MistralTTS = exports.MiniMaxTTS = exports.MicrosoftTTS = exports.HumeAITTS = exports.GradiumTTS = exports.GoogleTTS = exports.GenericTTS = exports.GeminiTTSModels = exports.GeminiTTS = exports.FishAudioTTS = exports.ElevenLabsTTS = exports.DeepgramTTS = exports.CartesiaTTS = exports.AmazonTTS = exports.XAiSTT = exports.SpeechmaticsSTT = exports.SmallestAISTT = exports.SarvamSTT = exports.RTZRSTT = exports.OpenAISTT = exports.MicrosoftSTT = exports.GoogleSTT = exports.GeminiTranscriptionMode = exports.GeminiSTTModels = exports.GeminiSTT = exports.DeepgramSTT = exports.AssemblyAISTT = exports.AresSTT = exports.AmazonSTT = exports.XaiGrok = exports.VertexAI = exports.QwenOmni = exports.OpenAIRealtime = exports.OpenAIGPTLive = exports.GeminiThinkingLevels = exports.GeminiLiveModels = exports.GeminiLive = exports.GEMINI_PREVIEW_MLLM_URL = exports.GEMINI_MLLM_URL = exports.GEMINI_MLLM_DEFAULT_MODEL = exports.AzureOpenAIRealtime = exports.VertexAILLM = exports.OpenAI = exports.Groq = exports.Gemini = exports.Dify = exports.CustomLLM = void 0;
|
|
26
|
+
exports.XAiTTS = exports.TypecastTTS = exports.SonioxTTS = exports.SmallestAITTS = exports.SarvamTTSLanguage = exports.SarvamTTS = void 0;
|
|
27
27
|
// Core classes
|
|
28
28
|
var Agent_js_1 = require("./Agent.js");
|
|
29
29
|
Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return Agent_js_1.Agent; } });
|
|
@@ -126,8 +126,10 @@ Object.defineProperty(exports, "FengmingSTT", { enumerable: true, get: function
|
|
|
126
126
|
Object.defineProperty(exports, "MicrosoftCNSTT", { enumerable: true, get: function () { return cn_js_1.MicrosoftCNSTT; } });
|
|
127
127
|
Object.defineProperty(exports, "MicrosoftCNTTS", { enumerable: true, get: function () { return cn_js_1.MicrosoftCNTTS; } });
|
|
128
128
|
Object.defineProperty(exports, "MiniMaxCNTTS", { enumerable: true, get: function () { return cn_js_1.MiniMaxCNTTS; } });
|
|
129
|
+
Object.defineProperty(exports, "MiniMaxDuplexTTS", { enumerable: true, get: function () { return cn_js_1.MiniMaxDuplexTTS; } });
|
|
129
130
|
Object.defineProperty(exports, "SensetimeAvatar", { enumerable: true, get: function () { return cn_js_1.SensetimeAvatar; } });
|
|
130
131
|
Object.defineProperty(exports, "SpatiusAvatar", { enumerable: true, get: function () { return cn_js_1.SpatiusAvatar; } });
|
|
132
|
+
Object.defineProperty(exports, "StepFunSTT", { enumerable: true, get: function () { return cn_js_1.StepFunSTT; } });
|
|
131
133
|
Object.defineProperty(exports, "StepFunTTS", { enumerable: true, get: function () { return cn_js_1.StepFunTTS; } });
|
|
132
134
|
Object.defineProperty(exports, "TencentLLM", { enumerable: true, get: function () { return cn_js_1.TencentLLM; } });
|
|
133
135
|
Object.defineProperty(exports, "TencentSTT", { enumerable: true, get: function () { return cn_js_1.TencentSTT; } });
|
|
@@ -199,5 +201,6 @@ Object.defineProperty(exports, "RimeTTS", { enumerable: true, get: function () {
|
|
|
199
201
|
Object.defineProperty(exports, "SarvamTTS", { enumerable: true, get: function () { return tts_js_1.SarvamTTS; } });
|
|
200
202
|
Object.defineProperty(exports, "SarvamTTSLanguage", { enumerable: true, get: function () { return tts_js_1.SarvamTTSLanguage; } });
|
|
201
203
|
Object.defineProperty(exports, "SmallestAITTS", { enumerable: true, get: function () { return tts_js_1.SmallestAITTS; } });
|
|
204
|
+
Object.defineProperty(exports, "SonioxTTS", { enumerable: true, get: function () { return tts_js_1.SonioxTTS; } });
|
|
202
205
|
Object.defineProperty(exports, "TypecastTTS", { enumerable: true, get: function () { return tts_js_1.TypecastTTS; } });
|
|
203
206
|
Object.defineProperty(exports, "XAiTTS", { enumerable: true, get: function () { return tts_js_1.XAiTTS; } });
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MinimaxDuplexTtsParams } from "../../api/index.js";
|
|
1
2
|
import type { AvatarConfig, LlmConfig, SttConfig, TtsConfig } from "../types.js";
|
|
2
3
|
import { BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, type BaseLlmOptions } from "./base.js";
|
|
3
4
|
export interface FengmingSTTOptions {
|
|
@@ -11,6 +12,16 @@ export declare class FengmingSTT extends BaseCNSTT {
|
|
|
11
12
|
constructor(options?: FengmingSTTOptions);
|
|
12
13
|
toConfig(): SttConfig;
|
|
13
14
|
}
|
|
15
|
+
export interface StepFunSTTOptions {
|
|
16
|
+
apiKey: string;
|
|
17
|
+
additionalParams?: Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
/** StepFun ASR for mainland China. */
|
|
20
|
+
export declare class StepFunSTT extends BaseCNSTT {
|
|
21
|
+
private readonly options;
|
|
22
|
+
constructor(options: StepFunSTTOptions);
|
|
23
|
+
toConfig(): SttConfig;
|
|
24
|
+
}
|
|
14
25
|
export interface MicrosoftCNSTTOptions {
|
|
15
26
|
key: string;
|
|
16
27
|
region: string;
|
|
@@ -74,6 +85,29 @@ export declare class XfyunDialectSTT extends BaseCNSTT {
|
|
|
74
85
|
constructor(options: XfyunDialectSTTOptions);
|
|
75
86
|
toConfig(): SttConfig;
|
|
76
87
|
}
|
|
88
|
+
export interface MiniMaxDuplexTTSOptions {
|
|
89
|
+
key: string;
|
|
90
|
+
model: string;
|
|
91
|
+
url?: string;
|
|
92
|
+
voiceSetting: MinimaxDuplexTtsParams.VoiceSetting;
|
|
93
|
+
audioSetting?: MinimaxDuplexTtsParams.AudioSetting;
|
|
94
|
+
pronunciationDict?: MinimaxDuplexTtsParams.PronunciationDict;
|
|
95
|
+
voiceModify?: MinimaxDuplexTtsParams.VoiceModify;
|
|
96
|
+
languageBoost?: string;
|
|
97
|
+
textNormalizationMode?: string;
|
|
98
|
+
subtitleEnable?: boolean;
|
|
99
|
+
subtitleType?: string;
|
|
100
|
+
continuousSound?: boolean;
|
|
101
|
+
sessionId?: string;
|
|
102
|
+
skipPatterns?: number[];
|
|
103
|
+
additionalParams?: Record<string, unknown>;
|
|
104
|
+
}
|
|
105
|
+
/** MiniMax duplex streaming TTS. Currently available only in mainland China. */
|
|
106
|
+
export declare class MiniMaxDuplexTTS extends BaseCNTTS {
|
|
107
|
+
private readonly options;
|
|
108
|
+
constructor(options: MiniMaxDuplexTTSOptions);
|
|
109
|
+
toConfig(): TtsConfig;
|
|
110
|
+
}
|
|
77
111
|
export interface MiniMaxCNVoiceSetting {
|
|
78
112
|
voice_id: string;
|
|
79
113
|
speed?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SpatiusAvatar = exports.SensetimeAvatar = exports.TencentLLM = exports.DeepSeekLLM = exports.BytedanceLLM = exports.AliyunLLM = exports.StepFunTTS = exports.BytedanceDuplexTTS = exports.CosyVoiceTTS = exports.BytedanceTTS = exports.TencentTTS = exports.MicrosoftCNTTS = exports.MiniMaxCNTTS = exports.XfyunDialectSTT = exports.XfyunBigModelSTT = exports.XfyunSTT = exports.TencentSTT = exports.MicrosoftCNSTT = exports.FengmingSTT = void 0;
|
|
3
|
+
exports.SpatiusAvatar = exports.SensetimeAvatar = exports.TencentLLM = exports.DeepSeekLLM = exports.BytedanceLLM = exports.AliyunLLM = exports.StepFunTTS = exports.BytedanceDuplexTTS = exports.CosyVoiceTTS = exports.BytedanceTTS = exports.TencentTTS = exports.MicrosoftCNTTS = exports.MiniMaxCNTTS = exports.MiniMaxDuplexTTS = exports.XfyunDialectSTT = exports.XfyunBigModelSTT = exports.XfyunSTT = exports.TencentSTT = exports.MicrosoftCNSTT = exports.StepFunSTT = exports.FengmingSTT = void 0;
|
|
4
4
|
const base_js_1 = require("./base.js");
|
|
5
5
|
function requireString(value, field, vendor) {
|
|
6
6
|
if (typeof value !== "string" || value.length === 0) {
|
|
@@ -23,6 +23,21 @@ class FengmingSTT extends base_js_1.BaseCNSTT {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
exports.FengmingSTT = FengmingSTT;
|
|
26
|
+
/** StepFun ASR for mainland China. */
|
|
27
|
+
class StepFunSTT extends base_js_1.BaseCNSTT {
|
|
28
|
+
constructor(options) {
|
|
29
|
+
super();
|
|
30
|
+
this.options = options;
|
|
31
|
+
requireString(options.apiKey, "apiKey", "StepFunSTT");
|
|
32
|
+
}
|
|
33
|
+
toConfig() {
|
|
34
|
+
return {
|
|
35
|
+
vendor: "stepfun",
|
|
36
|
+
params: Object.assign(Object.assign({}, this.options.additionalParams), { api_key: this.options.apiKey }),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.StepFunSTT = StepFunSTT;
|
|
26
41
|
class MicrosoftCNSTT extends base_js_1.BaseCNSTT {
|
|
27
42
|
constructor(options) {
|
|
28
43
|
super();
|
|
@@ -116,6 +131,23 @@ class XfyunDialectSTT extends base_js_1.BaseCNSTT {
|
|
|
116
131
|
}
|
|
117
132
|
}
|
|
118
133
|
exports.XfyunDialectSTT = XfyunDialectSTT;
|
|
134
|
+
/** MiniMax duplex streaming TTS. Currently available only in mainland China. */
|
|
135
|
+
class MiniMaxDuplexTTS extends base_js_1.BaseCNTTS {
|
|
136
|
+
constructor(options) {
|
|
137
|
+
var _a;
|
|
138
|
+
super();
|
|
139
|
+
this.options = options;
|
|
140
|
+
requireString(options.key, "key", "MiniMaxDuplexTTS");
|
|
141
|
+
requireString(options.model, "model", "MiniMaxDuplexTTS");
|
|
142
|
+
requireString((_a = options.voiceSetting) === null || _a === void 0 ? void 0 : _a.voice_id, "voiceSetting.voice_id", "MiniMaxDuplexTTS");
|
|
143
|
+
}
|
|
144
|
+
toConfig() {
|
|
145
|
+
const { key, model, url, voiceSetting, audioSetting, pronunciationDict, voiceModify, languageBoost, textNormalizationMode, subtitleEnable, subtitleType, continuousSound, sessionId, skipPatterns, additionalParams, } = this.options;
|
|
146
|
+
return Object.assign({ vendor: "minimax_duplex", 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), { key,
|
|
147
|
+
model, voice_setting: voiceSetting }), (url !== undefined && { url })), (audioSetting !== undefined && { audio_setting: audioSetting })), (pronunciationDict !== undefined && { pronunciation_dict: pronunciationDict })), (voiceModify !== undefined && { voice_modify: voiceModify })), (languageBoost !== undefined && { language_boost: languageBoost })), (textNormalizationMode !== undefined && { text_normalization_mode: textNormalizationMode })), (subtitleEnable !== undefined && { subtitle_enable: subtitleEnable })), (subtitleType !== undefined && { subtitle_type: subtitleType })), (continuousSound !== undefined && { continuous_sound: continuousSound })), (sessionId !== undefined && { session_id: sessionId })) }, (skipPatterns !== undefined && { skip_patterns: skipPatterns }));
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.MiniMaxDuplexTTS = MiniMaxDuplexTTS;
|
|
119
151
|
class MiniMaxCNTTS extends base_js_1.BaseCNTTS {
|
|
120
152
|
constructor(options) {
|
|
121
153
|
super();
|
|
@@ -8,6 +8,28 @@ import { type MiniMaxPresetModel, type OpenAITtsPresetModel } from "../presets.j
|
|
|
8
8
|
import type { TtsConfig } from "../types.js";
|
|
9
9
|
import type { CartesiaSampleRate, ElevenLabsSampleRate, GoogleTTSSampleRate, MicrosoftSampleRate } from "./base.js";
|
|
10
10
|
import { BaseTTS } from "./base.js";
|
|
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";
|
|
@@ -3,11 +3,27 @@
|
|
|
3
3
|
* Type-safe TTS (Text-to-Speech) vendor classes.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.SmallestAITTS = exports.XAiTTS = exports.GenericTTS = exports.MurfTTS = exports.SarvamTTS = exports.SarvamTTSLanguage = exports.MiniMaxTTS = exports.FishAudioTTS = exports.RimeTTS = exports.HumeAITTS = exports.TypecastTTS = exports.MistralTTS = exports.GradiumTTS = exports.DeepgramTTS = exports.AmazonTTS = exports.GoogleTTS = exports.CartesiaTTS = exports.OpenAITTS = exports.MicrosoftTTS = exports.ElevenLabsTTS = exports.GeminiTTS = exports.GeminiTTSModels = void 0;
|
|
6
|
+
exports.SmallestAITTS = exports.XAiTTS = exports.GenericTTS = exports.MurfTTS = exports.SarvamTTS = exports.SarvamTTSLanguage = exports.MiniMaxTTS = exports.FishAudioTTS = exports.RimeTTS = exports.HumeAITTS = exports.TypecastTTS = exports.MistralTTS = exports.GradiumTTS = exports.DeepgramTTS = exports.AmazonTTS = exports.GoogleTTS = exports.CartesiaTTS = exports.OpenAITTS = exports.MicrosoftTTS = exports.ElevenLabsTTS = exports.GeminiTTS = exports.GeminiTTSModels = exports.SonioxTTS = void 0;
|
|
7
7
|
const SarvamTtsParams_js_1 = require("../../api/types/SarvamTtsParams.js");
|
|
8
8
|
const constants_js_1 = require("../constants.js");
|
|
9
9
|
const presets_js_1 = require("../presets.js");
|
|
10
10
|
const base_js_1 = require("./base.js");
|
|
11
|
+
/** Soniox streaming TTS. Only apiKey is required. */
|
|
12
|
+
class SonioxTTS extends base_js_1.BaseTTS {
|
|
13
|
+
constructor(options) {
|
|
14
|
+
super();
|
|
15
|
+
this.options = options;
|
|
16
|
+
requireString(options.apiKey, "apiKey", "SonioxTTS");
|
|
17
|
+
if (options.speed !== undefined && !(options.speed >= 0.7 && options.speed <= 1.3)) {
|
|
18
|
+
throw new Error("SonioxTTS speed must be between 0.7 and 1.3");
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
toConfig() {
|
|
22
|
+
const { apiKey, baseUrl, model, language, voice, sampleRate, speed, reduceSilence, returnTimestamps, clientReferenceId, dump, skipPatterns, additionalParams, } = this.options;
|
|
23
|
+
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 }));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.SonioxTTS = SonioxTTS;
|
|
11
27
|
/** Gemini 3.8 Flash TTS model. */
|
|
12
28
|
exports.GeminiTTSModels = {
|
|
13
29
|
Flash38: "gemini-3.8-flash-tts",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as Agora from "../index.js";
|
|
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;
|
|
3
3
|
export declare namespace Asr {
|
|
4
4
|
interface Ares extends Agora.AresAsr {
|
|
5
5
|
vendor: "ares";
|
|
@@ -55,4 +55,7 @@ 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
|
+
}
|
|
58
61
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Agora from "../index.js";
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Agora from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Soniox Text-to-Speech configuration.
|
|
4
|
+
*/
|
|
5
|
+
export interface SonioxTts {
|
|
6
|
+
params: Agora.SonioxTtsParams;
|
|
7
|
+
/** Controls whether the TTS module skips bracketed content when reading LLM response text. */
|
|
8
|
+
skip_patterns?: number[];
|
|
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.js";
|
|
2
|
-
export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.Murf | Agora.Tts.Cartesia | Agora.Tts.Openai | Agora.Tts.Humeai | 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;
|
|
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.Humeai | 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
|
}
|
|
@@ -76,4 +79,7 @@ export declare namespace Tts {
|
|
|
76
79
|
interface Smallestai extends Agora.SmallestAiTts {
|
|
77
80
|
vendor: "smallestai";
|
|
78
81
|
}
|
|
82
|
+
interface Soniox extends Agora.SonioxTts {
|
|
83
|
+
vendor: "soniox";
|
|
84
|
+
}
|
|
79
85
|
}
|
|
@@ -57,6 +57,8 @@ export * from "./MicrosoftAsr.js";
|
|
|
57
57
|
export * from "./MicrosoftAsrParams.js";
|
|
58
58
|
export * from "./MicrosoftTts.js";
|
|
59
59
|
export * from "./MicrosoftTtsParams.js";
|
|
60
|
+
export * from "./MinimaxDuplexTts.js";
|
|
61
|
+
export * from "./MinimaxDuplexTtsParams.js";
|
|
60
62
|
export * from "./MinimaxTts.js";
|
|
61
63
|
export * from "./MinimaxTtsParams.js";
|
|
62
64
|
export * from "./MistralTts.js";
|
|
@@ -86,9 +88,13 @@ export * from "./SmallestAiAsr.js";
|
|
|
86
88
|
export * from "./SmallestAiAsrParams.js";
|
|
87
89
|
export * from "./SmallestAiTts.js";
|
|
88
90
|
export * from "./SmallestAiTtsParams.js";
|
|
91
|
+
export * from "./SonioxTts.js";
|
|
92
|
+
export * from "./SonioxTtsParams.js";
|
|
89
93
|
export * from "./SpatiusAvatarParams.js";
|
|
90
94
|
export * from "./SpeechmaticsAsr.js";
|
|
91
95
|
export * from "./SpeechmaticsAsrParams.js";
|
|
96
|
+
export * from "./StepfunAsr.js";
|
|
97
|
+
export * from "./StepfunAsrParams.js";
|
|
92
98
|
export * from "./StepfunTts.js";
|
|
93
99
|
export * from "./StepfunTtsParams.js";
|
|
94
100
|
export * from "./TelephonyErrorResponse.js";
|
|
@@ -73,6 +73,8 @@ __exportStar(require("./MicrosoftAsr.js"), exports);
|
|
|
73
73
|
__exportStar(require("./MicrosoftAsrParams.js"), exports);
|
|
74
74
|
__exportStar(require("./MicrosoftTts.js"), exports);
|
|
75
75
|
__exportStar(require("./MicrosoftTtsParams.js"), exports);
|
|
76
|
+
__exportStar(require("./MinimaxDuplexTts.js"), exports);
|
|
77
|
+
__exportStar(require("./MinimaxDuplexTtsParams.js"), exports);
|
|
76
78
|
__exportStar(require("./MinimaxTts.js"), exports);
|
|
77
79
|
__exportStar(require("./MinimaxTtsParams.js"), exports);
|
|
78
80
|
__exportStar(require("./MistralTts.js"), exports);
|
|
@@ -102,9 +104,13 @@ __exportStar(require("./SmallestAiAsr.js"), exports);
|
|
|
102
104
|
__exportStar(require("./SmallestAiAsrParams.js"), exports);
|
|
103
105
|
__exportStar(require("./SmallestAiTts.js"), exports);
|
|
104
106
|
__exportStar(require("./SmallestAiTtsParams.js"), exports);
|
|
107
|
+
__exportStar(require("./SonioxTts.js"), exports);
|
|
108
|
+
__exportStar(require("./SonioxTtsParams.js"), exports);
|
|
105
109
|
__exportStar(require("./SpatiusAvatarParams.js"), exports);
|
|
106
110
|
__exportStar(require("./SpeechmaticsAsr.js"), exports);
|
|
107
111
|
__exportStar(require("./SpeechmaticsAsrParams.js"), exports);
|
|
112
|
+
__exportStar(require("./StepfunAsr.js"), exports);
|
|
113
|
+
__exportStar(require("./StepfunAsrParams.js"), exports);
|
|
108
114
|
__exportStar(require("./StepfunTts.js"), exports);
|
|
109
115
|
__exportStar(require("./StepfunTtsParams.js"), exports);
|
|
110
116
|
__exportStar(require("./TelephonyErrorResponse.js"), exports);
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type { AgoraAuthMode } from "./AgoraPoolClient.js";
|
|
2
2
|
export { AgoraClient } from "./AgoraPoolClient.js";
|
|
3
3
|
export type { AgoraArea, AreaScope, GlobalArea } from "./agentkit/area.js";
|
|
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, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, 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, MiniMaxTTSOptions, 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, 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, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakConfig, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunTTSOptions, 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.js";
|
|
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, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LemonSlice, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIGPTLive, OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, Protoface, previewRequestHeaders, QwenOmni, REDACTED, RimeTTS, RTZRSTT, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SarvamTTSLanguage, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, 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.js";
|
|
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, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, 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, 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.js";
|
|
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, HumeAITTS, 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, 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.js";
|
|
6
6
|
export type { GeminiTTSConfig, GeminiTTSModel, GeminiTTSOptions } from "./agentkit/vendors/tts.js";
|
|
7
7
|
export { GeminiTTS, GeminiTTSModels } from "./agentkit/vendors/tts.js";
|
|
8
8
|
export * as Agora from "./api/index.js";
|