@qvac/inference 0.20.0 → 0.21.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/NOTICE +107 -33
- package/README.md +8 -5
- package/dist/api/assess-model-fit.d.ts +9 -4
- package/dist/api/assess-model-fit.js +9 -4
- package/dist/api/bci-transcribe.d.ts +4 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/rpc-server.d.ts +19 -0
- package/dist/api/rpc-server.js +44 -0
- package/dist/api/text-to-speech.d.ts +9 -0
- package/dist/api/text-to-speech.js +9 -0
- package/dist/api/transcribe.d.ts +11 -7
- package/dist/api/transcribe.js +47 -15
- package/dist/api/video-request.d.ts +5 -5
- package/dist/dispatch.js +39 -7
- package/dist/errors/index.d.ts +7 -0
- package/dist/errors/index.js +15 -0
- package/dist/handlers/assess-model-fit.d.ts +18 -6
- package/dist/handlers/assess-model-fit.js +215 -35
- package/dist/handlers/completion-orchestrate.js +17 -0
- package/dist/handlers/get-loaded-model-info.js +4 -1
- package/dist/handlers/get-model-info.js +29 -1
- package/dist/handlers/load-model/coreml-sidecars.d.ts +25 -0
- package/dist/handlers/load-model/coreml-sidecars.js +274 -0
- package/dist/handlers/load-model/hyperdrive.js +2 -2
- package/dist/handlers/load-model/registry-download-utils.d.ts +1 -0
- package/dist/handlers/load-model/registry-download-utils.js +2 -1
- package/dist/handlers/load-model/registry.js +59 -0
- package/dist/handlers/rpc-server.d.ts +23 -0
- package/dist/handlers/rpc-server.js +141 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/models/registry/models.d.ts +7731 -5672
- package/dist/models/registry/models.js +4652 -2526
- package/dist/models/registry/resource-profiles.js +481 -94
- package/dist/plugins/builtin/audiogen-ggml/plugin.d.ts +8 -6
- package/dist/plugins/builtin/audiogen-ggml/plugin.js +2 -1
- package/dist/plugins/builtin/bci-whispercpp-transcription/plugin.d.ts +73 -1
- package/dist/plugins/builtin/bci-whispercpp-transcription/plugin.js +37 -19
- package/dist/plugins/builtin/ggml-vla/plugin.d.ts +1 -1
- package/dist/plugins/builtin/llamacpp-completion/ops/batch-completion-stream.js +9 -5
- package/dist/plugins/builtin/llamacpp-completion/ops/completion-stats.d.ts +1 -1
- package/dist/plugins/builtin/llamacpp-completion/ops/completion-stream.js +16 -7
- package/dist/plugins/builtin/llamacpp-completion/plugin.d.ts +80 -8
- package/dist/plugins/builtin/llamacpp-completion/plugin.js +9 -3
- package/dist/plugins/builtin/llamacpp-completion/transform.js +19 -0
- package/dist/plugins/builtin/llamacpp-embedding/plugin.d.ts +5 -3
- package/dist/plugins/builtin/llamacpp-embedding/plugin.js +2 -1
- package/dist/plugins/builtin/parakeet-transcription/plugin.d.ts +121 -0
- package/dist/plugins/builtin/parakeet-transcription/plugin.js +56 -27
- package/dist/plugins/builtin/sdcpp-generation/plugin.d.ts +8 -2
- package/dist/plugins/builtin/sdcpp-generation/plugin.js +7 -2
- package/dist/plugins/builtin/tts-ggml/ops/parler-options.d.ts +2 -0
- package/dist/plugins/builtin/tts-ggml/ops/parler-options.js +5 -1
- package/dist/plugins/builtin/tts-ggml/ops/text-to-speech.js +27 -10
- package/dist/plugins/builtin/tts-ggml/plugin.d.ts +181 -0
- package/dist/plugins/builtin/tts-ggml/plugin.js +84 -2
- package/dist/plugins/builtin/whispercpp-transcription/plugin.d.ts +136 -0
- package/dist/plugins/builtin/whispercpp-transcription/plugin.js +18 -7
- package/dist/plugins/ops/bci-transcribe.d.ts +6 -2
- package/dist/plugins/ops/bci-transcribe.js +18 -13
- package/dist/plugins/ops/load-model.js +2 -2
- package/dist/plugins/ops/transcribe.d.ts +4 -2
- package/dist/plugins/ops/transcribe.js +39 -2
- package/dist/plugins/ops/translate-stats.d.ts +2 -1
- package/dist/plugins/ops/translate-stats.js +64 -7
- package/dist/plugins/ops/translate.js +20 -4
- package/dist/profiling/operation-metrics.js +56 -0
- package/dist/registry.js +4 -0
- package/dist/resources/model-fit/assess.d.ts +46 -2
- package/dist/resources/model-fit/assess.js +67 -3
- package/dist/resources/model-fit/estimators/llm.js +2 -2
- package/dist/resources/model-fit/estimators/whisper.js +3 -4
- package/dist/resources/model-fit/fit-stub/fetch-fit-stub.d.ts +102 -0
- package/dist/resources/model-fit/fit-stub/fetch-fit-stub.js +212 -0
- package/dist/resources/model-fit/fit-stub/project-fit-from-load.d.ts +27 -0
- package/dist/resources/model-fit/fit-stub/project-fit-from-load.js +31 -0
- package/dist/resources/model-fit/fit-stub/resolve-load-from-stubs.d.ts +38 -0
- package/dist/resources/model-fit/fit-stub/resolve-load-from-stubs.js +138 -0
- package/dist/resources/model-fit/floor.js +2 -2
- package/dist/resources/model-fit/native-probe/advisory-fit.d.ts +9 -6
- package/dist/resources/model-fit/native-probe/advisory-fit.js +129 -80
- package/dist/resources/model-fit/native-probe/child-engine-fit.d.ts +2 -0
- package/dist/resources/model-fit/native-probe/child-engine-fit.js +41 -0
- package/dist/resources/model-fit/native-probe/classify-fit.d.ts +6 -0
- package/dist/resources/model-fit/native-probe/classify-fit.js +135 -0
- package/dist/resources/model-fit/native-probe/create-fit-request.d.ts +28 -0
- package/dist/resources/model-fit/native-probe/create-fit-request.js +51 -0
- package/dist/resources/model-fit/native-probe/engine-fit.d.ts +59 -0
- package/dist/resources/model-fit/native-probe/engine-fit.js +13 -0
- package/dist/resources/model-fit/native-probe/engines/asr.d.ts +10 -0
- package/dist/resources/model-fit/native-probe/engines/asr.js +103 -0
- package/dist/resources/model-fit/native-probe/engines/audiogen.d.ts +8 -0
- package/dist/resources/model-fit/native-probe/engines/audiogen.js +35 -0
- package/dist/resources/model-fit/native-probe/engines/diffusion.d.ts +7 -0
- package/dist/resources/model-fit/native-probe/engines/diffusion.js +55 -0
- package/dist/resources/model-fit/native-probe/engines/gpu.d.ts +10 -0
- package/dist/resources/model-fit/native-probe/engines/gpu.js +21 -0
- package/dist/resources/model-fit/native-probe/engines/llama.d.ts +13 -0
- package/dist/resources/model-fit/native-probe/engines/llama.js +145 -0
- package/dist/resources/model-fit/native-probe/engines/tts.d.ts +8 -0
- package/dist/resources/model-fit/native-probe/engines/tts.js +106 -0
- package/dist/resources/model-fit/native-probe/fit-outcome.d.ts +16 -0
- package/dist/resources/model-fit/native-probe/fit-outcome.js +1 -0
- package/dist/resources/model-fit/native-probe/fit-process.d.ts +27 -0
- package/dist/resources/model-fit/native-probe/fit-process.js +55 -0
- package/dist/resources/model-fit/native-probe/fit-runner.d.ts +1 -0
- package/dist/resources/model-fit/native-probe/fit-runner.js +58 -0
- package/dist/resources/model-fit/native-probe/run-fit.d.ts +24 -0
- package/dist/resources/model-fit/native-probe/run-fit.js +20 -0
- package/dist/resources/model-fit/native-probe/run-in-process-fit.d.ts +14 -34
- package/dist/resources/model-fit/native-probe/run-in-process-fit.js +55 -139
- package/dist/resources/model-fit/native-probe/run-isolated-fit.d.ts +5 -12
- package/dist/resources/model-fit/native-probe/run-isolated-fit.js +13 -8
- package/dist/resources/model-fit/platform.d.ts +9 -0
- package/dist/resources/model-fit/platform.js +28 -0
- package/dist/rpc/device-map.d.ts +13 -0
- package/dist/rpc/device-map.js +22 -0
- package/dist/rpc/discovery.d.ts +12 -0
- package/dist/rpc/discovery.js +225 -0
- package/dist/rpc/ggml-provider.d.ts +4 -0
- package/dist/rpc/ggml-provider.js +25 -0
- package/dist/rpc/index.d.ts +2 -0
- package/dist/rpc/index.js +1 -0
- package/dist/rpc/instance.d.ts +6 -0
- package/dist/rpc/instance.js +21 -0
- package/dist/rpc/inventory.d.ts +5 -0
- package/dist/rpc/inventory.js +144 -0
- package/dist/rpc/manager.d.ts +14 -0
- package/dist/rpc/manager.js +174 -0
- package/dist/rpc/network.d.ts +11 -0
- package/dist/rpc/network.js +85 -0
- package/dist/rpc/provider.d.ts +6 -0
- package/dist/rpc/provider.js +24 -0
- package/dist/runtime/lifecycle.js +31 -13
- package/dist/runtime/request-context.d.ts +1 -1
- package/dist/runtime/state.js +5 -0
- package/dist/schemas/assess-model-fit.d.ts +284 -77
- package/dist/schemas/assess-model-fit.js +93 -55
- package/dist/schemas/audio-gen.d.ts +6 -6
- package/dist/schemas/audio-gen.js +2 -2
- package/dist/schemas/batch-completion-stream.d.ts +13 -5
- package/dist/schemas/batch-completion-stream.js +5 -3
- package/dist/schemas/bci-config.js +1 -1
- package/dist/schemas/bci.d.ts +86 -1
- package/dist/schemas/bci.js +21 -2
- package/dist/schemas/cancel.d.ts +10 -0
- package/dist/schemas/cancel.js +2 -0
- package/dist/schemas/common.d.ts +765 -56
- package/dist/schemas/common.js +7 -0
- package/dist/schemas/completion-event.d.ts +6 -6
- package/dist/schemas/completion-stream.d.ts +27 -8
- package/dist/schemas/completion-stream.js +41 -4
- package/dist/schemas/config.d.ts +236 -30
- package/dist/schemas/config.js +10 -0
- package/dist/schemas/embed.d.ts +2 -2
- package/dist/schemas/error.js +13 -0
- package/dist/schemas/errors.d.ts +1 -0
- package/dist/schemas/errors.js +5 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/llamacpp-config.d.ts +105 -14
- package/dist/schemas/llamacpp-config.js +113 -3
- package/dist/schemas/load-model.d.ts +3102 -627
- package/dist/schemas/load-model.js +2 -2
- package/dist/schemas/mcp-adapter.d.ts +4 -0
- package/dist/schemas/model-config-schemas.d.ts +205 -5
- package/dist/schemas/model-info.d.ts +56 -0
- package/dist/schemas/model-info.js +5 -1
- package/dist/schemas/plugin.d.ts +8 -2
- package/dist/schemas/profiling.d.ts +4 -4
- package/dist/schemas/reload-config.d.ts +30 -0
- package/dist/schemas/rpc-server.d.ts +101 -0
- package/dist/schemas/rpc-server.js +87 -0
- package/dist/schemas/sdcpp-config.d.ts +7 -3
- package/dist/schemas/sdcpp-config.js +37 -2
- package/dist/schemas/system-resources.d.ts +4 -4
- package/dist/schemas/text-to-speech.d.ts +529 -1
- package/dist/schemas/text-to-speech.js +122 -12
- package/dist/schemas/tools.d.ts +2 -0
- package/dist/schemas/tools.js +8 -0
- package/dist/schemas/transcription-config.d.ts +5 -0
- package/dist/schemas/transcription-config.js +20 -2
- package/dist/schemas/transcription.d.ts +164 -0
- package/dist/schemas/transcription.js +71 -4
- package/dist/schemas/vla.d.ts +1 -1
- package/dist/surface.d.ts +4 -1
- package/dist/surface.js +3 -1
- package/dist/utils/addon-responses.d.ts +5 -1
- package/dist/utils/archive.js +5 -1
- package/dist/utils/asr-diagnostics.d.ts +12 -0
- package/dist/utils/asr-diagnostics.js +42 -0
- package/dist/utils/asr-events.d.ts +1 -0
- package/dist/utils/asr-events.js +3 -2
- package/dist/utils/cache/paths.js +3 -2
- package/dist/utils/mcp-adapter.js +7 -1
- package/dist/utils/multi-gpu-mobile.d.ts +1 -1
- package/dist/utils/multi-gpu-mobile.js +8 -6
- package/dist/utils/path-security.d.ts +5 -0
- package/dist/utils/path-security.js +14 -0
- package/dist/utils/tool-helpers.d.ts +4 -0
- package/dist/utils/tool-helpers.js +2 -0
- package/dist/utils/tools/defer.d.ts +93 -0
- package/dist/utils/tools/defer.js +290 -0
- package/dist/utils/tools/index.d.ts +1 -0
- package/dist/utils/tools/index.js +1 -0
- package/dist/utils/transcribe-metadata.d.ts +21 -7
- package/dist/utils/transcribe-metadata.js +24 -8
- package/dist/utils/tts-stats.d.ts +6 -0
- package/dist/utils/tts-stats.js +14 -1
- package/package.json +44 -30
- package/dist/resources/model-fit/native-probe/create-llama-fit-request.d.ts +0 -26
- package/dist/resources/model-fit/native-probe/create-llama-fit-request.js +0 -171
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const TTS_CHATTERBOX_LANGUAGES: readonly ["en", "es", "fr", "de", "it", "ja", "pt", "nl", "pl", "tr", "sv", "da", "fi", "no", "el", "ms", "sw", "ar", "ko", "he", "ru", "zh", "hi"];
|
|
3
3
|
export declare const TTS_SUPERTONIC_LANGUAGES: readonly ["en", "ko", "ja", "ar", "bg", "cs", "da", "de", "el", "es", "et", "fi", "fr", "hi", "hr", "hu", "id", "it", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "tr", "uk", "vi"];
|
|
4
|
-
export declare const TTS_ENGINES: readonly ["chatterbox", "supertonic", "parler", "cosyvoice3", "audio8"];
|
|
4
|
+
export declare const TTS_ENGINES: readonly ["chatterbox", "supertonic", "parler", "cosyvoice3", "audio8", "moss"];
|
|
5
5
|
export declare const TTS_SENTENCE_DELIMITER_PRESETS: readonly ["latin", "cjk", "multilingual"];
|
|
6
6
|
export declare const TTS_PARLER_EMOTIONS: readonly ["command", "anger", "narration", "conversation", "disgust", "fear", "happy", "neutral", "proper noun", "news", "sad", "surprise"];
|
|
7
7
|
export declare const TTS_PACES: readonly ["slow", "moderate", "fast"];
|
|
@@ -250,6 +250,17 @@ export declare const ttsAudio8RuntimeConfigSchema: z.ZodObject<{
|
|
|
250
250
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
251
251
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
252
252
|
}, z.core.$strip>;
|
|
253
|
+
export declare const ttsMossRuntimeConfigSchema: z.ZodObject<{
|
|
254
|
+
backendsDir: z.ZodOptional<z.ZodString>;
|
|
255
|
+
ttsEngine: z.ZodLiteral<"moss">;
|
|
256
|
+
language: z.ZodOptional<z.ZodString>;
|
|
257
|
+
durationTokens: z.ZodOptional<z.ZodNumber>;
|
|
258
|
+
streamChunkTokens: z.ZodOptional<z.ZodNumber>;
|
|
259
|
+
useGPU: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
+
threads: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
}, z.core.$strip>;
|
|
253
264
|
export declare const ttsRuntimeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
254
265
|
openclCacheDir: z.ZodOptional<z.ZodString>;
|
|
255
266
|
backendsDir: z.ZodOptional<z.ZodString>;
|
|
@@ -456,6 +467,16 @@ export declare const ttsRuntimeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
456
467
|
threads: z.ZodOptional<z.ZodNumber>;
|
|
457
468
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
458
469
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
+
backendsDir: z.ZodOptional<z.ZodString>;
|
|
472
|
+
ttsEngine: z.ZodLiteral<"moss">;
|
|
473
|
+
language: z.ZodOptional<z.ZodString>;
|
|
474
|
+
durationTokens: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
streamChunkTokens: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
useGPU: z.ZodOptional<z.ZodBoolean>;
|
|
477
|
+
threads: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
459
480
|
}, z.core.$strip>], "ttsEngine">;
|
|
460
481
|
export declare const ttsChatterboxLoadConfigSchema: z.ZodObject<{
|
|
461
482
|
openclCacheDir: z.ZodOptional<z.ZodString>;
|
|
@@ -1370,6 +1391,173 @@ export declare const ttsAudio8LoadConfigSchema: z.ZodObject<{
|
|
|
1370
1391
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
1371
1392
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1372
1393
|
}, z.core.$strip>;
|
|
1394
|
+
export declare const ttsMossLoadConfigSchema: z.ZodObject<{
|
|
1395
|
+
mossCodecDecoderModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1396
|
+
src: z.ZodString;
|
|
1397
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1400
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1401
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1403
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1405
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1407
|
+
embeddings: "embeddings";
|
|
1408
|
+
diffusion: "diffusion";
|
|
1409
|
+
audiogen: "audiogen";
|
|
1410
|
+
tts: "tts";
|
|
1411
|
+
ocr: "ocr";
|
|
1412
|
+
vla: "vla";
|
|
1413
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1414
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1415
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
1416
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1417
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1418
|
+
"onnx-tts": "onnx-tts";
|
|
1419
|
+
"tts-ggml": "tts-ggml";
|
|
1420
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1421
|
+
"ggml-ocr": "ggml-ocr";
|
|
1422
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1423
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
1424
|
+
"ggml-vla": "ggml-vla";
|
|
1425
|
+
"ggml-classification": "ggml-classification";
|
|
1426
|
+
llm: "llm";
|
|
1427
|
+
whisper: "whisper";
|
|
1428
|
+
bci: "bci";
|
|
1429
|
+
nmt: "nmt";
|
|
1430
|
+
parakeet: "parakeet";
|
|
1431
|
+
classification: "classification";
|
|
1432
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1433
|
+
}, z.core.$strip>]>;
|
|
1434
|
+
mossCodecEncoderModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1435
|
+
src: z.ZodString;
|
|
1436
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1442
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1444
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1446
|
+
embeddings: "embeddings";
|
|
1447
|
+
diffusion: "diffusion";
|
|
1448
|
+
audiogen: "audiogen";
|
|
1449
|
+
tts: "tts";
|
|
1450
|
+
ocr: "ocr";
|
|
1451
|
+
vla: "vla";
|
|
1452
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1453
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1454
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
1455
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1456
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1457
|
+
"onnx-tts": "onnx-tts";
|
|
1458
|
+
"tts-ggml": "tts-ggml";
|
|
1459
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1460
|
+
"ggml-ocr": "ggml-ocr";
|
|
1461
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1462
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
1463
|
+
"ggml-vla": "ggml-vla";
|
|
1464
|
+
"ggml-classification": "ggml-classification";
|
|
1465
|
+
llm: "llm";
|
|
1466
|
+
whisper: "whisper";
|
|
1467
|
+
bci: "bci";
|
|
1468
|
+
nmt: "nmt";
|
|
1469
|
+
parakeet: "parakeet";
|
|
1470
|
+
classification: "classification";
|
|
1471
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1472
|
+
}, z.core.$strip>]>>;
|
|
1473
|
+
referenceAudioSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1474
|
+
src: z.ZodString;
|
|
1475
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1481
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1483
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1485
|
+
embeddings: "embeddings";
|
|
1486
|
+
diffusion: "diffusion";
|
|
1487
|
+
audiogen: "audiogen";
|
|
1488
|
+
tts: "tts";
|
|
1489
|
+
ocr: "ocr";
|
|
1490
|
+
vla: "vla";
|
|
1491
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1492
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1493
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
1494
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1495
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1496
|
+
"onnx-tts": "onnx-tts";
|
|
1497
|
+
"tts-ggml": "tts-ggml";
|
|
1498
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1499
|
+
"ggml-ocr": "ggml-ocr";
|
|
1500
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1501
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
1502
|
+
"ggml-vla": "ggml-vla";
|
|
1503
|
+
"ggml-classification": "ggml-classification";
|
|
1504
|
+
llm: "llm";
|
|
1505
|
+
whisper: "whisper";
|
|
1506
|
+
bci: "bci";
|
|
1507
|
+
nmt: "nmt";
|
|
1508
|
+
parakeet: "parakeet";
|
|
1509
|
+
classification: "classification";
|
|
1510
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1511
|
+
}, z.core.$strip>]>>;
|
|
1512
|
+
dialogueReferenceSrcs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1513
|
+
src: z.ZodString;
|
|
1514
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1519
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1520
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1523
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1524
|
+
embeddings: "embeddings";
|
|
1525
|
+
diffusion: "diffusion";
|
|
1526
|
+
audiogen: "audiogen";
|
|
1527
|
+
tts: "tts";
|
|
1528
|
+
ocr: "ocr";
|
|
1529
|
+
vla: "vla";
|
|
1530
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1531
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1532
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
1533
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1534
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1535
|
+
"onnx-tts": "onnx-tts";
|
|
1536
|
+
"tts-ggml": "tts-ggml";
|
|
1537
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1538
|
+
"ggml-ocr": "ggml-ocr";
|
|
1539
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1540
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
1541
|
+
"ggml-vla": "ggml-vla";
|
|
1542
|
+
"ggml-classification": "ggml-classification";
|
|
1543
|
+
llm: "llm";
|
|
1544
|
+
whisper: "whisper";
|
|
1545
|
+
bci: "bci";
|
|
1546
|
+
nmt: "nmt";
|
|
1547
|
+
parakeet: "parakeet";
|
|
1548
|
+
classification: "classification";
|
|
1549
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1550
|
+
}, z.core.$strip>]>>>;
|
|
1551
|
+
backendsDir: z.ZodOptional<z.ZodString>;
|
|
1552
|
+
ttsEngine: z.ZodLiteral<"moss">;
|
|
1553
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
durationTokens: z.ZodOptional<z.ZodNumber>;
|
|
1555
|
+
streamChunkTokens: z.ZodOptional<z.ZodNumber>;
|
|
1556
|
+
useGPU: z.ZodOptional<z.ZodBoolean>;
|
|
1557
|
+
threads: z.ZodOptional<z.ZodNumber>;
|
|
1558
|
+
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
1559
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
1560
|
+
}, z.core.$strip>;
|
|
1373
1561
|
export declare const ttsLoadConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1374
1562
|
openclCacheDir: z.ZodOptional<z.ZodString>;
|
|
1375
1563
|
backendsDir: z.ZodOptional<z.ZodString>;
|
|
@@ -2278,6 +2466,172 @@ export declare const ttsLoadConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2278
2466
|
threads: z.ZodOptional<z.ZodNumber>;
|
|
2279
2467
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
2280
2468
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2470
|
+
mossCodecDecoderModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2471
|
+
src: z.ZodString;
|
|
2472
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2473
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
2475
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
2476
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
2477
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
2478
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
2479
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
2480
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
2481
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2482
|
+
embeddings: "embeddings";
|
|
2483
|
+
diffusion: "diffusion";
|
|
2484
|
+
audiogen: "audiogen";
|
|
2485
|
+
tts: "tts";
|
|
2486
|
+
ocr: "ocr";
|
|
2487
|
+
vla: "vla";
|
|
2488
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
2489
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
2490
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
2491
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
2492
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
2493
|
+
"onnx-tts": "onnx-tts";
|
|
2494
|
+
"tts-ggml": "tts-ggml";
|
|
2495
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
2496
|
+
"ggml-ocr": "ggml-ocr";
|
|
2497
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
2498
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
2499
|
+
"ggml-vla": "ggml-vla";
|
|
2500
|
+
"ggml-classification": "ggml-classification";
|
|
2501
|
+
llm: "llm";
|
|
2502
|
+
whisper: "whisper";
|
|
2503
|
+
bci: "bci";
|
|
2504
|
+
nmt: "nmt";
|
|
2505
|
+
parakeet: "parakeet";
|
|
2506
|
+
classification: "classification";
|
|
2507
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
2508
|
+
}, z.core.$strip>]>;
|
|
2509
|
+
mossCodecEncoderModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2510
|
+
src: z.ZodString;
|
|
2511
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2512
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2513
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
2514
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
2515
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
2516
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
2517
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
2519
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2521
|
+
embeddings: "embeddings";
|
|
2522
|
+
diffusion: "diffusion";
|
|
2523
|
+
audiogen: "audiogen";
|
|
2524
|
+
tts: "tts";
|
|
2525
|
+
ocr: "ocr";
|
|
2526
|
+
vla: "vla";
|
|
2527
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
2528
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
2529
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
2530
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
2531
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
2532
|
+
"onnx-tts": "onnx-tts";
|
|
2533
|
+
"tts-ggml": "tts-ggml";
|
|
2534
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
2535
|
+
"ggml-ocr": "ggml-ocr";
|
|
2536
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
2537
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
2538
|
+
"ggml-vla": "ggml-vla";
|
|
2539
|
+
"ggml-classification": "ggml-classification";
|
|
2540
|
+
llm: "llm";
|
|
2541
|
+
whisper: "whisper";
|
|
2542
|
+
bci: "bci";
|
|
2543
|
+
nmt: "nmt";
|
|
2544
|
+
parakeet: "parakeet";
|
|
2545
|
+
classification: "classification";
|
|
2546
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
2547
|
+
}, z.core.$strip>]>>;
|
|
2548
|
+
referenceAudioSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2549
|
+
src: z.ZodString;
|
|
2550
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
2556
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
2557
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
2558
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
2559
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2560
|
+
embeddings: "embeddings";
|
|
2561
|
+
diffusion: "diffusion";
|
|
2562
|
+
audiogen: "audiogen";
|
|
2563
|
+
tts: "tts";
|
|
2564
|
+
ocr: "ocr";
|
|
2565
|
+
vla: "vla";
|
|
2566
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
2567
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
2568
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
2569
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
2570
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
2571
|
+
"onnx-tts": "onnx-tts";
|
|
2572
|
+
"tts-ggml": "tts-ggml";
|
|
2573
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
2574
|
+
"ggml-ocr": "ggml-ocr";
|
|
2575
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
2576
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
2577
|
+
"ggml-vla": "ggml-vla";
|
|
2578
|
+
"ggml-classification": "ggml-classification";
|
|
2579
|
+
llm: "llm";
|
|
2580
|
+
whisper: "whisper";
|
|
2581
|
+
bci: "bci";
|
|
2582
|
+
nmt: "nmt";
|
|
2583
|
+
parakeet: "parakeet";
|
|
2584
|
+
classification: "classification";
|
|
2585
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
2586
|
+
}, z.core.$strip>]>>;
|
|
2587
|
+
dialogueReferenceSrcs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2588
|
+
src: z.ZodString;
|
|
2589
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2590
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2591
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
2592
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
2593
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
2594
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
2595
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
2596
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
2597
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
2598
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2599
|
+
embeddings: "embeddings";
|
|
2600
|
+
diffusion: "diffusion";
|
|
2601
|
+
audiogen: "audiogen";
|
|
2602
|
+
tts: "tts";
|
|
2603
|
+
ocr: "ocr";
|
|
2604
|
+
vla: "vla";
|
|
2605
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
2606
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
2607
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
2608
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
2609
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
2610
|
+
"onnx-tts": "onnx-tts";
|
|
2611
|
+
"tts-ggml": "tts-ggml";
|
|
2612
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
2613
|
+
"ggml-ocr": "ggml-ocr";
|
|
2614
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
2615
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
2616
|
+
"ggml-vla": "ggml-vla";
|
|
2617
|
+
"ggml-classification": "ggml-classification";
|
|
2618
|
+
llm: "llm";
|
|
2619
|
+
whisper: "whisper";
|
|
2620
|
+
bci: "bci";
|
|
2621
|
+
nmt: "nmt";
|
|
2622
|
+
parakeet: "parakeet";
|
|
2623
|
+
classification: "classification";
|
|
2624
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
2625
|
+
}, z.core.$strip>]>>>;
|
|
2626
|
+
backendsDir: z.ZodOptional<z.ZodString>;
|
|
2627
|
+
ttsEngine: z.ZodLiteral<"moss">;
|
|
2628
|
+
language: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
durationTokens: z.ZodOptional<z.ZodNumber>;
|
|
2630
|
+
streamChunkTokens: z.ZodOptional<z.ZodNumber>;
|
|
2631
|
+
useGPU: z.ZodOptional<z.ZodBoolean>;
|
|
2632
|
+
threads: z.ZodOptional<z.ZodNumber>;
|
|
2633
|
+
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
2634
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2281
2635
|
}, z.core.$strip>], "ttsEngine">;
|
|
2282
2636
|
export declare const LEGACY_TTS_ONNX_MODEL_CONFIG_FIELDS: readonly ["ttsSupertonicMultilingual", "ttsTokenizerSrc", "ttsSpeechEncoderSrc", "ttsEmbedTokensSrc", "ttsConditionalDecoderSrc", "ttsLanguageModelSrc", "ttsTextEncoderSrc", "ttsDurationPredictorSrc", "ttsVectorEstimatorSrc", "ttsVocoderSrc", "ttsUnicodeIndexerSrc", "ttsTtsConfigSrc", "ttsVoiceStyleSrc"];
|
|
2283
2637
|
export declare const ttsConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2783,6 +3137,172 @@ export declare const ttsConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2783
3137
|
threads: z.ZodOptional<z.ZodNumber>;
|
|
2784
3138
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
2785
3139
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
3140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3141
|
+
mossCodecDecoderModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3142
|
+
src: z.ZodString;
|
|
3143
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
3145
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
3146
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
3147
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
3148
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
3149
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
3150
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
3151
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3153
|
+
embeddings: "embeddings";
|
|
3154
|
+
diffusion: "diffusion";
|
|
3155
|
+
audiogen: "audiogen";
|
|
3156
|
+
tts: "tts";
|
|
3157
|
+
ocr: "ocr";
|
|
3158
|
+
vla: "vla";
|
|
3159
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
3160
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
3161
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
3162
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
3163
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
3164
|
+
"onnx-tts": "onnx-tts";
|
|
3165
|
+
"tts-ggml": "tts-ggml";
|
|
3166
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
3167
|
+
"ggml-ocr": "ggml-ocr";
|
|
3168
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
3169
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
3170
|
+
"ggml-vla": "ggml-vla";
|
|
3171
|
+
"ggml-classification": "ggml-classification";
|
|
3172
|
+
llm: "llm";
|
|
3173
|
+
whisper: "whisper";
|
|
3174
|
+
bci: "bci";
|
|
3175
|
+
nmt: "nmt";
|
|
3176
|
+
parakeet: "parakeet";
|
|
3177
|
+
classification: "classification";
|
|
3178
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
3179
|
+
}, z.core.$strip>]>;
|
|
3180
|
+
mossCodecEncoderModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3181
|
+
src: z.ZodString;
|
|
3182
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3183
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
3184
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
3185
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
3186
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
3187
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
3188
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
3189
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
3190
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
3191
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3192
|
+
embeddings: "embeddings";
|
|
3193
|
+
diffusion: "diffusion";
|
|
3194
|
+
audiogen: "audiogen";
|
|
3195
|
+
tts: "tts";
|
|
3196
|
+
ocr: "ocr";
|
|
3197
|
+
vla: "vla";
|
|
3198
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
3199
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
3200
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
3201
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
3202
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
3203
|
+
"onnx-tts": "onnx-tts";
|
|
3204
|
+
"tts-ggml": "tts-ggml";
|
|
3205
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
3206
|
+
"ggml-ocr": "ggml-ocr";
|
|
3207
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
3208
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
3209
|
+
"ggml-vla": "ggml-vla";
|
|
3210
|
+
"ggml-classification": "ggml-classification";
|
|
3211
|
+
llm: "llm";
|
|
3212
|
+
whisper: "whisper";
|
|
3213
|
+
bci: "bci";
|
|
3214
|
+
nmt: "nmt";
|
|
3215
|
+
parakeet: "parakeet";
|
|
3216
|
+
classification: "classification";
|
|
3217
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
3218
|
+
}, z.core.$strip>]>>;
|
|
3219
|
+
referenceAudioSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3220
|
+
src: z.ZodString;
|
|
3221
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3222
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
3223
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
3226
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
3227
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
3228
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
3229
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
3230
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3231
|
+
embeddings: "embeddings";
|
|
3232
|
+
diffusion: "diffusion";
|
|
3233
|
+
audiogen: "audiogen";
|
|
3234
|
+
tts: "tts";
|
|
3235
|
+
ocr: "ocr";
|
|
3236
|
+
vla: "vla";
|
|
3237
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
3238
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
3239
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
3240
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
3241
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
3242
|
+
"onnx-tts": "onnx-tts";
|
|
3243
|
+
"tts-ggml": "tts-ggml";
|
|
3244
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
3245
|
+
"ggml-ocr": "ggml-ocr";
|
|
3246
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
3247
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
3248
|
+
"ggml-vla": "ggml-vla";
|
|
3249
|
+
"ggml-classification": "ggml-classification";
|
|
3250
|
+
llm: "llm";
|
|
3251
|
+
whisper: "whisper";
|
|
3252
|
+
bci: "bci";
|
|
3253
|
+
nmt: "nmt";
|
|
3254
|
+
parakeet: "parakeet";
|
|
3255
|
+
classification: "classification";
|
|
3256
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
3257
|
+
}, z.core.$strip>]>>;
|
|
3258
|
+
dialogueReferenceSrcs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3259
|
+
src: z.ZodString;
|
|
3260
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3261
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
3262
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
3264
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
3265
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
3266
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
3267
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
3268
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
3269
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3270
|
+
embeddings: "embeddings";
|
|
3271
|
+
diffusion: "diffusion";
|
|
3272
|
+
audiogen: "audiogen";
|
|
3273
|
+
tts: "tts";
|
|
3274
|
+
ocr: "ocr";
|
|
3275
|
+
vla: "vla";
|
|
3276
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
3277
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
3278
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
3279
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
3280
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
3281
|
+
"onnx-tts": "onnx-tts";
|
|
3282
|
+
"tts-ggml": "tts-ggml";
|
|
3283
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
3284
|
+
"ggml-ocr": "ggml-ocr";
|
|
3285
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
3286
|
+
"audiogen-ggml": "audiogen-ggml";
|
|
3287
|
+
"ggml-vla": "ggml-vla";
|
|
3288
|
+
"ggml-classification": "ggml-classification";
|
|
3289
|
+
llm: "llm";
|
|
3290
|
+
whisper: "whisper";
|
|
3291
|
+
bci: "bci";
|
|
3292
|
+
nmt: "nmt";
|
|
3293
|
+
parakeet: "parakeet";
|
|
3294
|
+
classification: "classification";
|
|
3295
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
3296
|
+
}, z.core.$strip>]>>>;
|
|
3297
|
+
backendsDir: z.ZodOptional<z.ZodString>;
|
|
3298
|
+
ttsEngine: z.ZodLiteral<"moss">;
|
|
3299
|
+
language: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
durationTokens: z.ZodOptional<z.ZodNumber>;
|
|
3301
|
+
streamChunkTokens: z.ZodOptional<z.ZodNumber>;
|
|
3302
|
+
useGPU: z.ZodOptional<z.ZodBoolean>;
|
|
3303
|
+
threads: z.ZodOptional<z.ZodNumber>;
|
|
3304
|
+
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
3305
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2786
3306
|
}, z.core.$strict>], "ttsEngine">;
|
|
2787
3307
|
export declare const ttsClientParamsSchema: z.ZodObject<{
|
|
2788
3308
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2871,6 +3391,8 @@ export declare const ttsStatsSchema: z.ZodObject<{
|
|
|
2871
3391
|
gpuUnsupported: z.ZodOptional<z.ZodNumber>;
|
|
2872
3392
|
enhancerBackendDevice: z.ZodOptional<z.ZodNumber>;
|
|
2873
3393
|
enhancerBackendId: z.ZodOptional<z.ZodNumber>;
|
|
3394
|
+
codecSidecarLoaded: z.ZodOptional<z.ZodNumber>;
|
|
3395
|
+
codecOnCoreml: z.ZodOptional<z.ZodNumber>;
|
|
2874
3396
|
}, z.core.$strip>;
|
|
2875
3397
|
export declare const ttsResponseSchema: z.ZodObject<{
|
|
2876
3398
|
type: z.ZodLiteral<"textToSpeech">;
|
|
@@ -2889,6 +3411,8 @@ export declare const ttsResponseSchema: z.ZodObject<{
|
|
|
2889
3411
|
gpuUnsupported: z.ZodOptional<z.ZodNumber>;
|
|
2890
3412
|
enhancerBackendDevice: z.ZodOptional<z.ZodNumber>;
|
|
2891
3413
|
enhancerBackendId: z.ZodOptional<z.ZodNumber>;
|
|
3414
|
+
codecSidecarLoaded: z.ZodOptional<z.ZodNumber>;
|
|
3415
|
+
codecOnCoreml: z.ZodOptional<z.ZodNumber>;
|
|
2892
3416
|
}, z.core.$strip>>;
|
|
2893
3417
|
chunkIndex: z.ZodOptional<z.ZodNumber>;
|
|
2894
3418
|
sentenceChunk: z.ZodOptional<z.ZodString>;
|
|
@@ -2996,6 +3520,8 @@ export declare const textToSpeechStreamResponseSchema: z.ZodObject<{
|
|
|
2996
3520
|
gpuUnsupported: z.ZodOptional<z.ZodNumber>;
|
|
2997
3521
|
enhancerBackendDevice: z.ZodOptional<z.ZodNumber>;
|
|
2998
3522
|
enhancerBackendId: z.ZodOptional<z.ZodNumber>;
|
|
3523
|
+
codecSidecarLoaded: z.ZodOptional<z.ZodNumber>;
|
|
3524
|
+
codecOnCoreml: z.ZodOptional<z.ZodNumber>;
|
|
2999
3525
|
}, z.core.$strip>>;
|
|
3000
3526
|
chunkIndex: z.ZodOptional<z.ZodNumber>;
|
|
3001
3527
|
sentenceChunk: z.ZodOptional<z.ZodString>;
|
|
@@ -3019,6 +3545,7 @@ export type TtsSupertonicLoadConfig = z.infer<typeof ttsSupertonicLoadConfigSche
|
|
|
3019
3545
|
export type TtsParlerLoadConfig = z.infer<typeof ttsParlerLoadConfigSchema>;
|
|
3020
3546
|
export type TtsCosyvoice3LoadConfig = z.infer<typeof ttsCosyvoice3LoadConfigSchema>;
|
|
3021
3547
|
export type TtsAudio8LoadConfig = z.infer<typeof ttsAudio8LoadConfigSchema>;
|
|
3548
|
+
export type TtsMossLoadConfig = z.infer<typeof ttsMossLoadConfigSchema>;
|
|
3022
3549
|
export type TtsLoadConfig = z.infer<typeof ttsLoadConfigSchema>;
|
|
3023
3550
|
/** @deprecated Use {@link TtsChatterboxLoadConfig} */
|
|
3024
3551
|
export type TtsChatterboxConfig = TtsChatterboxLoadConfig;
|
|
@@ -3029,6 +3556,7 @@ export type TtsSupertonicRuntimeConfig = z.infer<typeof ttsSupertonicRuntimeConf
|
|
|
3029
3556
|
export type TtsParlerRuntimeConfig = z.infer<typeof ttsParlerRuntimeConfigSchema>;
|
|
3030
3557
|
export type TtsCosyvoice3RuntimeConfig = z.infer<typeof ttsCosyvoice3RuntimeConfigSchema>;
|
|
3031
3558
|
export type TtsAudio8RuntimeConfig = z.infer<typeof ttsAudio8RuntimeConfigSchema>;
|
|
3559
|
+
export type TtsMossRuntimeConfig = z.infer<typeof ttsMossRuntimeConfigSchema>;
|
|
3032
3560
|
export type TtsRuntimeConfig = z.infer<typeof ttsRuntimeConfigSchema>;
|
|
3033
3561
|
export type TtsConfig = z.infer<typeof ttsConfigSchema>;
|
|
3034
3562
|
export type TtsClientParamsInput = z.input<typeof ttsClientParamsSchema>;
|