@qvac/sdk 0.8.3 → 0.9.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 +267 -63
- package/dist/client/api/diffusion.d.ts +32 -0
- package/dist/client/api/diffusion.js +103 -0
- package/dist/client/api/embed.d.ts +9 -3
- package/dist/client/api/embed.js +4 -1
- package/dist/client/api/finetune.d.ts +69 -0
- package/dist/client/api/finetune.js +139 -0
- package/dist/client/api/get-model-info.d.ts +1 -1
- package/dist/client/api/index.d.ts +4 -0
- package/dist/client/api/index.js +4 -0
- package/dist/client/api/rag.d.ts +1 -1
- package/dist/client/api/rag.js +1 -1
- package/dist/client/api/resume.d.ts +14 -0
- package/dist/client/api/resume.js +20 -0
- package/dist/client/api/suspend.d.ts +13 -0
- package/dist/client/api/suspend.js +19 -0
- package/dist/client/api/transcribe.d.ts +25 -17
- package/dist/client/api/transcribe.js +115 -35
- package/dist/client/rpc/bare-client.d.ts +5 -1
- package/dist/client/rpc/bare-client.js +70 -57
- package/dist/client/rpc/expo-rpc-client.d.ts +4 -0
- package/dist/client/rpc/expo-rpc-client.js +8 -0
- package/dist/client/rpc/node-rpc-client.d.ts +4 -0
- package/dist/client/rpc/node-rpc-client.js +8 -0
- package/dist/client/rpc/rpc-client.d.ts +13 -0
- package/dist/client/rpc/rpc-client.js +131 -1
- package/dist/examples/delegated-inference/composite.d.ts +2 -0
- package/dist/examples/delegated-inference/composite.js +99 -0
- package/dist/examples/diffusion-flux2-klein.d.ts +2 -0
- package/dist/examples/diffusion-flux2-klein.js +46 -0
- package/dist/examples/diffusion-simple.d.ts +2 -0
- package/dist/examples/diffusion-simple.js +17 -0
- package/dist/examples/diffusion-txt2img.d.ts +2 -0
- package/dist/examples/diffusion-txt2img.js +40 -0
- package/dist/examples/embed-p2p.js +2 -2
- package/dist/examples/finetune/llamacpp-finetune.d.ts +2 -0
- package/dist/examples/finetune/llamacpp-finetune.js +78 -0
- package/dist/examples/logging-streaming.js +1 -1
- package/dist/examples/mcp-websearch.js +2 -0
- package/dist/examples/ocr-fasttext.js +11 -0
- package/dist/examples/profiling/per-call.js +3 -3
- package/dist/examples/rag/rag-chromadb.js +2 -2
- package/dist/examples/rag/rag-hyperdb/pipeline.js +1 -1
- package/dist/examples/rag/rag-lancedb.js +2 -2
- package/dist/examples/rag/rag-sqlite.js +2 -2
- package/dist/examples/suspend-resume.d.ts +2 -0
- package/dist/examples/suspend-resume.js +52 -0
- package/dist/examples/transcription/parakeet-ctc-filesystem.js +3 -5
- package/dist/examples/transcription/parakeet-microphone-record.js +42 -33
- package/dist/examples/transcription/parakeet-sortformer.js +13 -3
- package/dist/examples/transcription/parakeet-tdt-filesystem.js +5 -7
- package/dist/examples/transcription/whispercpp-filesystem-streaming.d.ts +2 -0
- package/dist/examples/transcription/whispercpp-filesystem-streaming.js +99 -0
- package/dist/examples/transcription/whispercpp-microphone-record.js +78 -299
- package/dist/examples/transcription/whispercpp-prompt.js +11 -0
- package/dist/examples/translation/translation-llm.js +2 -2
- package/dist/examples/tts/supertonic-multilingual.d.ts +2 -0
- package/dist/examples/tts/supertonic-multilingual.js +56 -0
- package/dist/examples/tts/supertonic.js +12 -7
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/logging/utils.js +1 -1
- package/dist/models/registry/models.d.ts +15176 -4264
- package/dist/models/registry/models.js +18657 -7404
- package/dist/models/update-models/codegen.js +2 -2
- package/dist/models/update-models/naming.js +26 -0
- package/dist/pear/pre.js +2 -0
- package/dist/polyfills/bare-globals.d.ts +2 -0
- package/dist/polyfills/bare-globals.js +4 -0
- package/dist/polyfills/bare-globals.noop.d.ts +2 -0
- package/dist/polyfills/bare-globals.noop.js +1 -0
- package/dist/profiling/exporters.js +16 -11
- package/dist/profiling/model-execution.d.ts +16 -0
- package/dist/profiling/model-execution.js +33 -0
- package/dist/schemas/common.d.ts +967 -198
- package/dist/schemas/common.js +16 -1
- package/dist/schemas/completion-stream.d.ts +14 -6
- package/dist/schemas/completion-stream.js +4 -3
- package/dist/schemas/download-asset.d.ts +7 -3
- package/dist/schemas/embed.d.ts +19 -0
- package/dist/schemas/embed.js +7 -0
- package/dist/schemas/engine-addon-map.js +4 -1
- package/dist/schemas/finetune.d.ts +620 -0
- package/dist/schemas/finetune.js +161 -0
- package/dist/schemas/get-model-info.d.ts +2 -0
- package/dist/schemas/get-model-info.js +1 -0
- package/dist/schemas/index.d.ts +5 -1
- package/dist/schemas/index.js +5 -1
- package/dist/schemas/llamacpp-config.d.ts +26 -6
- package/dist/schemas/llamacpp-config.js +12 -0
- package/dist/schemas/load-model.d.ts +4005 -1400
- package/dist/schemas/load-model.js +34 -1
- package/dist/schemas/model-src-utils.d.ts +10 -2
- package/dist/schemas/model-types.d.ts +19 -1
- package/dist/schemas/model-types.js +11 -0
- package/dist/schemas/ocr.d.ts +2 -0
- package/dist/schemas/plugin.d.ts +24 -3
- package/dist/schemas/plugin.js +14 -0
- package/dist/schemas/profiling.d.ts +4 -0
- package/dist/schemas/profiling.js +4 -0
- package/dist/schemas/registry.d.ts +18 -0
- package/dist/schemas/registry.js +2 -0
- package/dist/schemas/reload-config.d.ts +9 -1
- package/dist/schemas/resume.d.ts +10 -0
- package/dist/schemas/resume.js +7 -0
- package/dist/schemas/sdcpp-config.d.ts +327 -0
- package/dist/schemas/sdcpp-config.js +102 -0
- package/dist/schemas/sdk-config.d.ts +1225 -235
- package/dist/schemas/sdk-config.js +4 -0
- package/dist/schemas/sdk-errors-server.d.ts +2 -0
- package/dist/schemas/sdk-errors-server.js +12 -0
- package/dist/schemas/suspend.d.ts +10 -0
- package/dist/schemas/suspend.js +7 -0
- package/dist/schemas/text-to-speech.d.ts +187 -10
- package/dist/schemas/text-to-speech.js +12 -4
- package/dist/schemas/transcription-config.d.ts +16 -56
- package/dist/schemas/transcription-config.js +0 -2
- package/dist/schemas/transcription.d.ts +66 -6
- package/dist/schemas/transcription.js +29 -7
- package/dist/schemas/translate.d.ts +14 -4
- package/dist/schemas/translate.js +10 -2
- package/dist/schemas/translation-config.d.ts +30 -10
- package/dist/server/bare/delegate-rpc-client.js +3 -3
- package/dist/server/bare/hyperswarm.js +15 -3
- package/dist/server/bare/ops/embed.d.ts +8 -4
- package/dist/server/bare/ops/embed.js +15 -4
- package/dist/server/bare/ops/transcribe.d.ts +6 -2
- package/dist/server/bare/ops/transcribe.js +53 -1
- package/dist/server/bare/ops/translate.d.ts +4 -1
- package/dist/server/bare/ops/translate.js +28 -65
- package/dist/server/bare/ops/unload-model.js +2 -0
- package/dist/server/bare/plugins/index.d.ts +1 -0
- package/dist/server/bare/plugins/index.js +1 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.d.ts +3 -1
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +45 -9
- package/dist/server/bare/plugins/llamacpp-completion/ops/finetune.d.ts +11 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/finetune.js +112 -0
- package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +175 -5
- package/dist/server/bare/plugins/llamacpp-completion/plugin.js +45 -35
- package/dist/server/bare/plugins/llamacpp-embedding/plugin.d.ts +11 -1
- package/dist/server/bare/plugins/llamacpp-embedding/plugin.js +9 -4
- package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +17 -2
- package/dist/server/bare/plugins/nmtcpp-translation/plugin.js +16 -15
- package/dist/server/bare/plugins/onnx-ocr/ops/ocr-stream.d.ts +5 -7
- package/dist/server/bare/plugins/onnx-ocr/ops/ocr-stream.js +11 -3
- package/dist/server/bare/plugins/onnx-ocr/plugin.d.ts +2 -0
- package/dist/server/bare/plugins/onnx-ocr/plugin.js +24 -19
- package/dist/server/bare/plugins/onnx-tts/ops/text-to-speech.d.ts +7 -2
- package/dist/server/bare/plugins/onnx-tts/ops/text-to-speech.js +22 -97
- package/dist/server/bare/plugins/onnx-tts/plugin.d.ts +98 -9
- package/dist/server/bare/plugins/onnx-tts/plugin.js +85 -46
- package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +30 -60
- package/dist/server/bare/plugins/parakeet-transcription/plugin.js +49 -37
- package/dist/server/bare/plugins/sdcpp-generation/ops/diffusion.d.ts +3 -0
- package/dist/server/bare/plugins/sdcpp-generation/ops/diffusion.js +51 -0
- package/dist/server/bare/plugins/sdcpp-generation/plugin.d.ts +278 -0
- package/dist/server/bare/plugins/sdcpp-generation/plugin.js +70 -0
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +38 -2
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.js +43 -22
- package/dist/server/bare/rag-hyperdb/handlers/ingest.js +2 -1
- package/dist/server/bare/rag-hyperdb/handlers/search.js +2 -1
- package/dist/server/bare/rag-hyperdb/rag-workspace-manager.js +7 -0
- package/dist/server/bare/registry/model-config-utils.js +3 -0
- package/dist/server/bare/registry/model-registry.d.ts +2 -2
- package/dist/server/bare/registry/model-registry.js +1 -1
- package/dist/server/bare/registry/registry-client.js +21 -0
- package/dist/server/bare/runtime-lifecycle.d.ts +28 -0
- package/dist/server/bare/runtime-lifecycle.js +132 -0
- package/dist/server/bare/types/addon-responses.d.ts +62 -0
- package/dist/server/bare/types/addon-responses.js +1 -0
- package/dist/server/env.js +3 -1
- package/dist/server/rpc/delegate-transport.js +1 -1
- package/dist/server/rpc/handle-request.js +50 -4
- package/dist/server/rpc/handler-registry.js +20 -1
- package/dist/server/rpc/handler-utils.d.ts +5 -3
- package/dist/server/rpc/handler-utils.js +52 -50
- package/dist/server/rpc/handlers/delete-cache.js +3 -0
- package/dist/server/rpc/handlers/diffusion-stream.d.ts +3 -0
- package/dist/server/rpc/handlers/diffusion-stream.js +4 -0
- package/dist/server/rpc/handlers/finetune.d.ts +3 -0
- package/dist/server/rpc/handlers/finetune.js +16 -0
- package/dist/server/rpc/handlers/index.d.ts +10 -0
- package/dist/server/rpc/handlers/index.js +10 -0
- package/dist/server/rpc/handlers/load-model/hyperdrive.js +24 -9
- package/dist/server/rpc/handlers/load-model/registry.d.ts +11 -0
- package/dist/server/rpc/handlers/load-model/registry.js +31 -4
- package/dist/server/rpc/handlers/plugin-dispatch.d.ts +1 -13
- package/dist/server/rpc/handlers/plugin-dispatch.js +21 -21
- package/dist/server/rpc/handlers/resume.d.ts +3 -0
- package/dist/server/rpc/handlers/resume.js +11 -0
- package/dist/server/rpc/handlers/suspend.d.ts +3 -0
- package/dist/server/rpc/handlers/suspend.js +11 -0
- package/dist/server/rpc/handlers/transcribe-stream.d.ts +1 -1
- package/dist/server/rpc/handlers/transcribe-stream.js +2 -2
- package/dist/server/rpc/handlers/transcribe.d.ts +3 -0
- package/dist/server/rpc/handlers/transcribe.js +4 -0
- package/dist/server/rpc/profiling/operation-metrics.js +107 -16
- package/dist/server/rpc/profiling/operation-wrappers.d.ts +1 -1
- package/dist/server/rpc/profiling/operation-wrappers.js +51 -19
- package/dist/server/rpc/progress-throttle.d.ts +8 -0
- package/dist/server/rpc/progress-throttle.js +47 -0
- package/dist/server/rpc/rpc-utils.d.ts +5 -0
- package/dist/server/rpc/rpc-utils.js +11 -0
- package/dist/server/utils/path-security.js +1 -1
- package/dist/server/utils/tool-integration.js +10 -0
- package/dist/server/utils/tool-parser.js +9 -5
- package/dist/server/worker-core.d.ts +2 -0
- package/dist/server/worker-core.js +26 -23
- package/dist/server/worker.js +2 -1
- package/dist/utils/encoding.d.ts +9 -0
- package/dist/utils/encoding.js +14 -0
- package/dist/utils/errors-server.d.ts +6 -0
- package/dist/utils/errors-server.js +11 -0
- package/package.json +36 -25
- package/dist/server/rpc/delegate-utils.d.ts +0 -2
- package/dist/server/rpc/delegate-utils.js +0 -5
|
@@ -4,6 +4,7 @@ import { ModelType } from "./model-types.js";
|
|
|
4
4
|
import { llmConfigBaseSchema, embedConfigBaseSchema } from "./llamacpp-config.js";
|
|
5
5
|
import { whisperConfigSchema, parakeetConfigSchema, } from "./transcription-config.js";
|
|
6
6
|
import { ocrConfigSchema } from "./ocr.js";
|
|
7
|
+
import { sdcppConfigSchema } from "./sdcpp-config.js";
|
|
7
8
|
import { runtimeContextSchema } from "./runtime-context.js";
|
|
8
9
|
// Alias keys for user convenience (maps to canonical types)
|
|
9
10
|
const AliasKeys = {
|
|
@@ -14,6 +15,7 @@ const AliasKeys = {
|
|
|
14
15
|
parakeet: "parakeet",
|
|
15
16
|
tts: "tts",
|
|
16
17
|
ocr: "ocr",
|
|
18
|
+
diffusion: "diffusion",
|
|
17
19
|
};
|
|
18
20
|
/**
|
|
19
21
|
* Device match criteria for device-specific config defaults.
|
|
@@ -48,6 +50,7 @@ export const deviceConfigDefaultsSchema = z
|
|
|
48
50
|
[ModelType.nmtcppTranslation]: z.record(z.string(), z.unknown()).optional(),
|
|
49
51
|
[ModelType.onnxTts]: z.record(z.string(), z.unknown()).optional(),
|
|
50
52
|
[ModelType.onnxOcr]: ocrConfigSchema.partial().optional(),
|
|
53
|
+
[ModelType.sdcppGeneration]: sdcppConfigSchema.partial().optional(),
|
|
51
54
|
// Alias keys (user-friendly)
|
|
52
55
|
[AliasKeys.llm]: llmConfigBaseSchema.optional(),
|
|
53
56
|
[AliasKeys.embeddings]: embedConfigBaseSchema.optional(),
|
|
@@ -56,6 +59,7 @@ export const deviceConfigDefaultsSchema = z
|
|
|
56
59
|
[AliasKeys.nmt]: z.record(z.string(), z.unknown()).optional(),
|
|
57
60
|
[AliasKeys.tts]: z.record(z.string(), z.unknown()).optional(),
|
|
58
61
|
[AliasKeys.ocr]: ocrConfigSchema.partial().optional(),
|
|
62
|
+
[AliasKeys.diffusion]: sdcppConfigSchema.partial().optional(),
|
|
59
63
|
})
|
|
60
64
|
.partial();
|
|
61
65
|
/**
|
|
@@ -81,6 +81,8 @@ export declare const SDK_SERVER_ERROR_CODES: {
|
|
|
81
81
|
readonly PLUGIN_DEFINITION_INVALID: 53857;
|
|
82
82
|
readonly PLUGIN_MODEL_TYPE_RESERVED: 53858;
|
|
83
83
|
readonly PLUGIN_LOAD_CONFIG_VALIDATION_FAILED: 53859;
|
|
84
|
+
readonly LIFECYCLE_SUSPEND_FAILED: 53600;
|
|
85
|
+
readonly LIFECYCLE_RESUME_FAILED: 53601;
|
|
84
86
|
readonly PATH_TRAVERSAL: 53900;
|
|
85
87
|
readonly QVAC_MODEL_REGISTRY_QUERY_FAILED: 53950;
|
|
86
88
|
};
|
|
@@ -92,6 +92,9 @@ export const SDK_SERVER_ERROR_CODES = {
|
|
|
92
92
|
PLUGIN_DEFINITION_INVALID: 53857,
|
|
93
93
|
PLUGIN_MODEL_TYPE_RESERVED: 53858,
|
|
94
94
|
PLUGIN_LOAD_CONFIG_VALIDATION_FAILED: 53859,
|
|
95
|
+
// Lifecycle (53,600-53,610)
|
|
96
|
+
LIFECYCLE_SUSPEND_FAILED: 53600,
|
|
97
|
+
LIFECYCLE_RESUME_FAILED: 53601,
|
|
95
98
|
// Security (53,900-53,949)
|
|
96
99
|
PATH_TRAVERSAL: 53900,
|
|
97
100
|
// QVAC Model Registry Operations (53,950-54,000)
|
|
@@ -435,6 +438,15 @@ const serverErrorDefinitions = {
|
|
|
435
438
|
name: "PLUGIN_LOAD_CONFIG_VALIDATION_FAILED",
|
|
436
439
|
message: (modelType, details) => `modelConfig validation failed for "${modelType}": ${details}`,
|
|
437
440
|
},
|
|
441
|
+
// Lifecycle (53,600-53,610)
|
|
442
|
+
[SDK_SERVER_ERROR_CODES.LIFECYCLE_SUSPEND_FAILED]: {
|
|
443
|
+
name: "LIFECYCLE_SUSPEND_FAILED",
|
|
444
|
+
message: (details) => `Runtime suspend failed${details ? `: ${details}` : ""}`,
|
|
445
|
+
},
|
|
446
|
+
[SDK_SERVER_ERROR_CODES.LIFECYCLE_RESUME_FAILED]: {
|
|
447
|
+
name: "LIFECYCLE_RESUME_FAILED",
|
|
448
|
+
message: (details) => `Runtime resume failed${details ? `: ${details}` : ""}`,
|
|
449
|
+
},
|
|
438
450
|
// Security (53,900-53,949)
|
|
439
451
|
[SDK_SERVER_ERROR_CODES.PATH_TRAVERSAL]: {
|
|
440
452
|
name: "PATH_TRAVERSAL",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const suspendRequestSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"suspend">;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const suspendResponseSchema: z.ZodObject<{
|
|
6
|
+
type: z.ZodLiteral<"suspend">;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type SuspendRequest = z.infer<typeof suspendRequestSchema>;
|
|
9
|
+
export type SuspendResponse = z.infer<typeof suspendResponseSchema>;
|
|
10
|
+
//# sourceMappingURL=suspend.d.ts.map
|
|
@@ -19,6 +19,7 @@ export declare const ttsSupertonicRuntimeConfigSchema: z.ZodObject<{
|
|
|
19
19
|
}>;
|
|
20
20
|
ttsSpeed: z.ZodOptional<z.ZodNumber>;
|
|
21
21
|
ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
ttsSupertonicMultilingual: z.ZodOptional<z.ZodBoolean>;
|
|
22
23
|
}, z.core.$strip>;
|
|
23
24
|
export declare const ttsRuntimeConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
24
25
|
ttsEngine: z.ZodLiteral<"chatterbox">;
|
|
@@ -38,6 +39,7 @@ export declare const ttsRuntimeConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
38
39
|
}>;
|
|
39
40
|
ttsSpeed: z.ZodOptional<z.ZodNumber>;
|
|
40
41
|
ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
ttsSupertonicMultilingual: z.ZodOptional<z.ZodBoolean>;
|
|
41
43
|
}, z.core.$strip>]>;
|
|
42
44
|
export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
43
45
|
ttsEngine: z.ZodLiteral<"chatterbox">;
|
|
@@ -66,6 +68,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
66
68
|
"onnx-tts": "onnx-tts";
|
|
67
69
|
"parakeet-transcription": "parakeet-transcription";
|
|
68
70
|
"onnx-ocr": "onnx-ocr";
|
|
71
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
69
72
|
llm: "llm";
|
|
70
73
|
whisper: "whisper";
|
|
71
74
|
embeddings: "embeddings";
|
|
@@ -73,6 +76,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
73
76
|
parakeet: "parakeet";
|
|
74
77
|
tts: "tts";
|
|
75
78
|
ocr: "ocr";
|
|
79
|
+
diffusion: "diffusion";
|
|
76
80
|
}>, z.ZodLiteral<"vad">]>>;
|
|
77
81
|
}, z.core.$strip>]>;
|
|
78
82
|
ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -94,6 +98,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
94
98
|
"onnx-tts": "onnx-tts";
|
|
95
99
|
"parakeet-transcription": "parakeet-transcription";
|
|
96
100
|
"onnx-ocr": "onnx-ocr";
|
|
101
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
97
102
|
llm: "llm";
|
|
98
103
|
whisper: "whisper";
|
|
99
104
|
embeddings: "embeddings";
|
|
@@ -101,6 +106,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
101
106
|
parakeet: "parakeet";
|
|
102
107
|
tts: "tts";
|
|
103
108
|
ocr: "ocr";
|
|
109
|
+
diffusion: "diffusion";
|
|
104
110
|
}>, z.ZodLiteral<"vad">]>>;
|
|
105
111
|
}, z.core.$strip>]>;
|
|
106
112
|
ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -122,6 +128,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
122
128
|
"onnx-tts": "onnx-tts";
|
|
123
129
|
"parakeet-transcription": "parakeet-transcription";
|
|
124
130
|
"onnx-ocr": "onnx-ocr";
|
|
131
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
125
132
|
llm: "llm";
|
|
126
133
|
whisper: "whisper";
|
|
127
134
|
embeddings: "embeddings";
|
|
@@ -129,6 +136,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
129
136
|
parakeet: "parakeet";
|
|
130
137
|
tts: "tts";
|
|
131
138
|
ocr: "ocr";
|
|
139
|
+
diffusion: "diffusion";
|
|
132
140
|
}>, z.ZodLiteral<"vad">]>>;
|
|
133
141
|
}, z.core.$strip>]>;
|
|
134
142
|
ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -150,6 +158,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
150
158
|
"onnx-tts": "onnx-tts";
|
|
151
159
|
"parakeet-transcription": "parakeet-transcription";
|
|
152
160
|
"onnx-ocr": "onnx-ocr";
|
|
161
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
153
162
|
llm: "llm";
|
|
154
163
|
whisper: "whisper";
|
|
155
164
|
embeddings: "embeddings";
|
|
@@ -157,6 +166,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
157
166
|
parakeet: "parakeet";
|
|
158
167
|
tts: "tts";
|
|
159
168
|
ocr: "ocr";
|
|
169
|
+
diffusion: "diffusion";
|
|
160
170
|
}>, z.ZodLiteral<"vad">]>>;
|
|
161
171
|
}, z.core.$strip>]>;
|
|
162
172
|
ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -178,6 +188,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
178
188
|
"onnx-tts": "onnx-tts";
|
|
179
189
|
"parakeet-transcription": "parakeet-transcription";
|
|
180
190
|
"onnx-ocr": "onnx-ocr";
|
|
191
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
181
192
|
llm: "llm";
|
|
182
193
|
whisper: "whisper";
|
|
183
194
|
embeddings: "embeddings";
|
|
@@ -185,6 +196,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
185
196
|
parakeet: "parakeet";
|
|
186
197
|
tts: "tts";
|
|
187
198
|
ocr: "ocr";
|
|
199
|
+
diffusion: "diffusion";
|
|
188
200
|
}>, z.ZodLiteral<"vad">]>>;
|
|
189
201
|
}, z.core.$strip>]>;
|
|
190
202
|
referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -206,6 +218,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
206
218
|
"onnx-tts": "onnx-tts";
|
|
207
219
|
"parakeet-transcription": "parakeet-transcription";
|
|
208
220
|
"onnx-ocr": "onnx-ocr";
|
|
221
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
209
222
|
llm: "llm";
|
|
210
223
|
whisper: "whisper";
|
|
211
224
|
embeddings: "embeddings";
|
|
@@ -213,6 +226,7 @@ export declare const ttsChatterboxConfigSchema: z.ZodObject<{
|
|
|
213
226
|
parakeet: "parakeet";
|
|
214
227
|
tts: "tts";
|
|
215
228
|
ocr: "ocr";
|
|
229
|
+
diffusion: "diffusion";
|
|
216
230
|
}>, z.ZodLiteral<"vad">]>>;
|
|
217
231
|
}, z.core.$strip>]>;
|
|
218
232
|
}, z.core.$strip>;
|
|
@@ -226,7 +240,8 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
226
240
|
}>;
|
|
227
241
|
ttsSpeed: z.ZodOptional<z.ZodNumber>;
|
|
228
242
|
ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
|
|
229
|
-
|
|
243
|
+
ttsSupertonicMultilingual: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
+
ttsTextEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
230
245
|
src: z.ZodString;
|
|
231
246
|
name: z.ZodOptional<z.ZodString>;
|
|
232
247
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -245,6 +260,7 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
245
260
|
"onnx-tts": "onnx-tts";
|
|
246
261
|
"parakeet-transcription": "parakeet-transcription";
|
|
247
262
|
"onnx-ocr": "onnx-ocr";
|
|
263
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
248
264
|
llm: "llm";
|
|
249
265
|
whisper: "whisper";
|
|
250
266
|
embeddings: "embeddings";
|
|
@@ -252,9 +268,40 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
252
268
|
parakeet: "parakeet";
|
|
253
269
|
tts: "tts";
|
|
254
270
|
ocr: "ocr";
|
|
271
|
+
diffusion: "diffusion";
|
|
255
272
|
}>, z.ZodLiteral<"vad">]>>;
|
|
256
273
|
}, z.core.$strip>]>;
|
|
257
|
-
|
|
274
|
+
ttsDurationPredictorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
275
|
+
src: z.ZodString;
|
|
276
|
+
name: z.ZodOptional<z.ZodString>;
|
|
277
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
278
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
279
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
280
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
281
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
283
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
284
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
285
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
286
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
287
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
288
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
289
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
290
|
+
"onnx-tts": "onnx-tts";
|
|
291
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
292
|
+
"onnx-ocr": "onnx-ocr";
|
|
293
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
294
|
+
llm: "llm";
|
|
295
|
+
whisper: "whisper";
|
|
296
|
+
embeddings: "embeddings";
|
|
297
|
+
nmt: "nmt";
|
|
298
|
+
parakeet: "parakeet";
|
|
299
|
+
tts: "tts";
|
|
300
|
+
ocr: "ocr";
|
|
301
|
+
diffusion: "diffusion";
|
|
302
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
303
|
+
}, z.core.$strip>]>;
|
|
304
|
+
ttsVectorEstimatorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
258
305
|
src: z.ZodString;
|
|
259
306
|
name: z.ZodOptional<z.ZodString>;
|
|
260
307
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -273,6 +320,7 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
273
320
|
"onnx-tts": "onnx-tts";
|
|
274
321
|
"parakeet-transcription": "parakeet-transcription";
|
|
275
322
|
"onnx-ocr": "onnx-ocr";
|
|
323
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
276
324
|
llm: "llm";
|
|
277
325
|
whisper: "whisper";
|
|
278
326
|
embeddings: "embeddings";
|
|
@@ -280,9 +328,10 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
280
328
|
parakeet: "parakeet";
|
|
281
329
|
tts: "tts";
|
|
282
330
|
ocr: "ocr";
|
|
331
|
+
diffusion: "diffusion";
|
|
283
332
|
}>, z.ZodLiteral<"vad">]>>;
|
|
284
333
|
}, z.core.$strip>]>;
|
|
285
|
-
|
|
334
|
+
ttsVocoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
286
335
|
src: z.ZodString;
|
|
287
336
|
name: z.ZodOptional<z.ZodString>;
|
|
288
337
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -301,6 +350,7 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
301
350
|
"onnx-tts": "onnx-tts";
|
|
302
351
|
"parakeet-transcription": "parakeet-transcription";
|
|
303
352
|
"onnx-ocr": "onnx-ocr";
|
|
353
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
304
354
|
llm: "llm";
|
|
305
355
|
whisper: "whisper";
|
|
306
356
|
embeddings: "embeddings";
|
|
@@ -308,9 +358,10 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
308
358
|
parakeet: "parakeet";
|
|
309
359
|
tts: "tts";
|
|
310
360
|
ocr: "ocr";
|
|
361
|
+
diffusion: "diffusion";
|
|
311
362
|
}>, z.ZodLiteral<"vad">]>>;
|
|
312
363
|
}, z.core.$strip>]>;
|
|
313
|
-
|
|
364
|
+
ttsUnicodeIndexerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
314
365
|
src: z.ZodString;
|
|
315
366
|
name: z.ZodOptional<z.ZodString>;
|
|
316
367
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -329,6 +380,7 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
329
380
|
"onnx-tts": "onnx-tts";
|
|
330
381
|
"parakeet-transcription": "parakeet-transcription";
|
|
331
382
|
"onnx-ocr": "onnx-ocr";
|
|
383
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
332
384
|
llm: "llm";
|
|
333
385
|
whisper: "whisper";
|
|
334
386
|
embeddings: "embeddings";
|
|
@@ -336,9 +388,10 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
336
388
|
parakeet: "parakeet";
|
|
337
389
|
tts: "tts";
|
|
338
390
|
ocr: "ocr";
|
|
391
|
+
diffusion: "diffusion";
|
|
339
392
|
}>, z.ZodLiteral<"vad">]>>;
|
|
340
393
|
}, z.core.$strip>]>;
|
|
341
|
-
|
|
394
|
+
ttsTtsConfigSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
342
395
|
src: z.ZodString;
|
|
343
396
|
name: z.ZodOptional<z.ZodString>;
|
|
344
397
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -357,6 +410,7 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
357
410
|
"onnx-tts": "onnx-tts";
|
|
358
411
|
"parakeet-transcription": "parakeet-transcription";
|
|
359
412
|
"onnx-ocr": "onnx-ocr";
|
|
413
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
360
414
|
llm: "llm";
|
|
361
415
|
whisper: "whisper";
|
|
362
416
|
embeddings: "embeddings";
|
|
@@ -364,6 +418,37 @@ export declare const ttsSupertonicConfigSchema: z.ZodObject<{
|
|
|
364
418
|
parakeet: "parakeet";
|
|
365
419
|
tts: "tts";
|
|
366
420
|
ocr: "ocr";
|
|
421
|
+
diffusion: "diffusion";
|
|
422
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
423
|
+
}, z.core.$strip>]>;
|
|
424
|
+
ttsVoiceStyleSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
425
|
+
src: z.ZodString;
|
|
426
|
+
name: z.ZodOptional<z.ZodString>;
|
|
427
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
428
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
429
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
430
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
431
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
433
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
435
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
436
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
437
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
438
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
439
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
440
|
+
"onnx-tts": "onnx-tts";
|
|
441
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
442
|
+
"onnx-ocr": "onnx-ocr";
|
|
443
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
444
|
+
llm: "llm";
|
|
445
|
+
whisper: "whisper";
|
|
446
|
+
embeddings: "embeddings";
|
|
447
|
+
nmt: "nmt";
|
|
448
|
+
parakeet: "parakeet";
|
|
449
|
+
tts: "tts";
|
|
450
|
+
ocr: "ocr";
|
|
451
|
+
diffusion: "diffusion";
|
|
367
452
|
}>, z.ZodLiteral<"vad">]>>;
|
|
368
453
|
}, z.core.$strip>]>;
|
|
369
454
|
}, z.core.$strip>;
|
|
@@ -394,6 +479,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
394
479
|
"onnx-tts": "onnx-tts";
|
|
395
480
|
"parakeet-transcription": "parakeet-transcription";
|
|
396
481
|
"onnx-ocr": "onnx-ocr";
|
|
482
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
397
483
|
llm: "llm";
|
|
398
484
|
whisper: "whisper";
|
|
399
485
|
embeddings: "embeddings";
|
|
@@ -401,6 +487,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
401
487
|
parakeet: "parakeet";
|
|
402
488
|
tts: "tts";
|
|
403
489
|
ocr: "ocr";
|
|
490
|
+
diffusion: "diffusion";
|
|
404
491
|
}>, z.ZodLiteral<"vad">]>>;
|
|
405
492
|
}, z.core.$strip>]>;
|
|
406
493
|
ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -422,6 +509,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
422
509
|
"onnx-tts": "onnx-tts";
|
|
423
510
|
"parakeet-transcription": "parakeet-transcription";
|
|
424
511
|
"onnx-ocr": "onnx-ocr";
|
|
512
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
425
513
|
llm: "llm";
|
|
426
514
|
whisper: "whisper";
|
|
427
515
|
embeddings: "embeddings";
|
|
@@ -429,6 +517,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
429
517
|
parakeet: "parakeet";
|
|
430
518
|
tts: "tts";
|
|
431
519
|
ocr: "ocr";
|
|
520
|
+
diffusion: "diffusion";
|
|
432
521
|
}>, z.ZodLiteral<"vad">]>>;
|
|
433
522
|
}, z.core.$strip>]>;
|
|
434
523
|
ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -450,6 +539,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
450
539
|
"onnx-tts": "onnx-tts";
|
|
451
540
|
"parakeet-transcription": "parakeet-transcription";
|
|
452
541
|
"onnx-ocr": "onnx-ocr";
|
|
542
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
453
543
|
llm: "llm";
|
|
454
544
|
whisper: "whisper";
|
|
455
545
|
embeddings: "embeddings";
|
|
@@ -457,6 +547,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
457
547
|
parakeet: "parakeet";
|
|
458
548
|
tts: "tts";
|
|
459
549
|
ocr: "ocr";
|
|
550
|
+
diffusion: "diffusion";
|
|
460
551
|
}>, z.ZodLiteral<"vad">]>>;
|
|
461
552
|
}, z.core.$strip>]>;
|
|
462
553
|
ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -478,6 +569,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
478
569
|
"onnx-tts": "onnx-tts";
|
|
479
570
|
"parakeet-transcription": "parakeet-transcription";
|
|
480
571
|
"onnx-ocr": "onnx-ocr";
|
|
572
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
481
573
|
llm: "llm";
|
|
482
574
|
whisper: "whisper";
|
|
483
575
|
embeddings: "embeddings";
|
|
@@ -485,6 +577,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
485
577
|
parakeet: "parakeet";
|
|
486
578
|
tts: "tts";
|
|
487
579
|
ocr: "ocr";
|
|
580
|
+
diffusion: "diffusion";
|
|
488
581
|
}>, z.ZodLiteral<"vad">]>>;
|
|
489
582
|
}, z.core.$strip>]>;
|
|
490
583
|
ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -506,6 +599,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
506
599
|
"onnx-tts": "onnx-tts";
|
|
507
600
|
"parakeet-transcription": "parakeet-transcription";
|
|
508
601
|
"onnx-ocr": "onnx-ocr";
|
|
602
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
509
603
|
llm: "llm";
|
|
510
604
|
whisper: "whisper";
|
|
511
605
|
embeddings: "embeddings";
|
|
@@ -513,6 +607,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
513
607
|
parakeet: "parakeet";
|
|
514
608
|
tts: "tts";
|
|
515
609
|
ocr: "ocr";
|
|
610
|
+
diffusion: "diffusion";
|
|
516
611
|
}>, z.ZodLiteral<"vad">]>>;
|
|
517
612
|
}, z.core.$strip>]>;
|
|
518
613
|
referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -534,6 +629,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
534
629
|
"onnx-tts": "onnx-tts";
|
|
535
630
|
"parakeet-transcription": "parakeet-transcription";
|
|
536
631
|
"onnx-ocr": "onnx-ocr";
|
|
632
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
537
633
|
llm: "llm";
|
|
538
634
|
whisper: "whisper";
|
|
539
635
|
embeddings: "embeddings";
|
|
@@ -541,6 +637,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
541
637
|
parakeet: "parakeet";
|
|
542
638
|
tts: "tts";
|
|
543
639
|
ocr: "ocr";
|
|
640
|
+
diffusion: "diffusion";
|
|
544
641
|
}>, z.ZodLiteral<"vad">]>>;
|
|
545
642
|
}, z.core.$strip>]>;
|
|
546
643
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -553,7 +650,8 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
553
650
|
}>;
|
|
554
651
|
ttsSpeed: z.ZodOptional<z.ZodNumber>;
|
|
555
652
|
ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
|
|
556
|
-
|
|
653
|
+
ttsSupertonicMultilingual: z.ZodOptional<z.ZodBoolean>;
|
|
654
|
+
ttsTextEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
557
655
|
src: z.ZodString;
|
|
558
656
|
name: z.ZodOptional<z.ZodString>;
|
|
559
657
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -572,6 +670,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
572
670
|
"onnx-tts": "onnx-tts";
|
|
573
671
|
"parakeet-transcription": "parakeet-transcription";
|
|
574
672
|
"onnx-ocr": "onnx-ocr";
|
|
673
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
575
674
|
llm: "llm";
|
|
576
675
|
whisper: "whisper";
|
|
577
676
|
embeddings: "embeddings";
|
|
@@ -579,9 +678,40 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
579
678
|
parakeet: "parakeet";
|
|
580
679
|
tts: "tts";
|
|
581
680
|
ocr: "ocr";
|
|
681
|
+
diffusion: "diffusion";
|
|
582
682
|
}>, z.ZodLiteral<"vad">]>>;
|
|
583
683
|
}, z.core.$strip>]>;
|
|
584
|
-
|
|
684
|
+
ttsDurationPredictorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
685
|
+
src: z.ZodString;
|
|
686
|
+
name: z.ZodOptional<z.ZodString>;
|
|
687
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
688
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
689
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
690
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
691
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
693
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
694
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
695
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
696
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
697
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
698
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
699
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
700
|
+
"onnx-tts": "onnx-tts";
|
|
701
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
702
|
+
"onnx-ocr": "onnx-ocr";
|
|
703
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
704
|
+
llm: "llm";
|
|
705
|
+
whisper: "whisper";
|
|
706
|
+
embeddings: "embeddings";
|
|
707
|
+
nmt: "nmt";
|
|
708
|
+
parakeet: "parakeet";
|
|
709
|
+
tts: "tts";
|
|
710
|
+
ocr: "ocr";
|
|
711
|
+
diffusion: "diffusion";
|
|
712
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
713
|
+
}, z.core.$strip>]>;
|
|
714
|
+
ttsVectorEstimatorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
585
715
|
src: z.ZodString;
|
|
586
716
|
name: z.ZodOptional<z.ZodString>;
|
|
587
717
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -600,6 +730,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
600
730
|
"onnx-tts": "onnx-tts";
|
|
601
731
|
"parakeet-transcription": "parakeet-transcription";
|
|
602
732
|
"onnx-ocr": "onnx-ocr";
|
|
733
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
603
734
|
llm: "llm";
|
|
604
735
|
whisper: "whisper";
|
|
605
736
|
embeddings: "embeddings";
|
|
@@ -607,9 +738,10 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
607
738
|
parakeet: "parakeet";
|
|
608
739
|
tts: "tts";
|
|
609
740
|
ocr: "ocr";
|
|
741
|
+
diffusion: "diffusion";
|
|
610
742
|
}>, z.ZodLiteral<"vad">]>>;
|
|
611
743
|
}, z.core.$strip>]>;
|
|
612
|
-
|
|
744
|
+
ttsVocoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
613
745
|
src: z.ZodString;
|
|
614
746
|
name: z.ZodOptional<z.ZodString>;
|
|
615
747
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -628,6 +760,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
628
760
|
"onnx-tts": "onnx-tts";
|
|
629
761
|
"parakeet-transcription": "parakeet-transcription";
|
|
630
762
|
"onnx-ocr": "onnx-ocr";
|
|
763
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
631
764
|
llm: "llm";
|
|
632
765
|
whisper: "whisper";
|
|
633
766
|
embeddings: "embeddings";
|
|
@@ -635,9 +768,10 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
635
768
|
parakeet: "parakeet";
|
|
636
769
|
tts: "tts";
|
|
637
770
|
ocr: "ocr";
|
|
771
|
+
diffusion: "diffusion";
|
|
638
772
|
}>, z.ZodLiteral<"vad">]>>;
|
|
639
773
|
}, z.core.$strip>]>;
|
|
640
|
-
|
|
774
|
+
ttsUnicodeIndexerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
641
775
|
src: z.ZodString;
|
|
642
776
|
name: z.ZodOptional<z.ZodString>;
|
|
643
777
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -656,6 +790,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
656
790
|
"onnx-tts": "onnx-tts";
|
|
657
791
|
"parakeet-transcription": "parakeet-transcription";
|
|
658
792
|
"onnx-ocr": "onnx-ocr";
|
|
793
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
659
794
|
llm: "llm";
|
|
660
795
|
whisper: "whisper";
|
|
661
796
|
embeddings: "embeddings";
|
|
@@ -663,9 +798,10 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
663
798
|
parakeet: "parakeet";
|
|
664
799
|
tts: "tts";
|
|
665
800
|
ocr: "ocr";
|
|
801
|
+
diffusion: "diffusion";
|
|
666
802
|
}>, z.ZodLiteral<"vad">]>>;
|
|
667
803
|
}, z.core.$strip>]>;
|
|
668
|
-
|
|
804
|
+
ttsTtsConfigSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
669
805
|
src: z.ZodString;
|
|
670
806
|
name: z.ZodOptional<z.ZodString>;
|
|
671
807
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -684,6 +820,7 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
684
820
|
"onnx-tts": "onnx-tts";
|
|
685
821
|
"parakeet-transcription": "parakeet-transcription";
|
|
686
822
|
"onnx-ocr": "onnx-ocr";
|
|
823
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
687
824
|
llm: "llm";
|
|
688
825
|
whisper: "whisper";
|
|
689
826
|
embeddings: "embeddings";
|
|
@@ -691,6 +828,37 @@ export declare const ttsConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
691
828
|
parakeet: "parakeet";
|
|
692
829
|
tts: "tts";
|
|
693
830
|
ocr: "ocr";
|
|
831
|
+
diffusion: "diffusion";
|
|
832
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
833
|
+
}, z.core.$strip>]>;
|
|
834
|
+
ttsVoiceStyleSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
835
|
+
src: z.ZodString;
|
|
836
|
+
name: z.ZodOptional<z.ZodString>;
|
|
837
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
838
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
839
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
840
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
841
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
842
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
843
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
844
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
845
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
846
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
847
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
848
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
849
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
850
|
+
"onnx-tts": "onnx-tts";
|
|
851
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
852
|
+
"onnx-ocr": "onnx-ocr";
|
|
853
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
854
|
+
llm: "llm";
|
|
855
|
+
whisper: "whisper";
|
|
856
|
+
embeddings: "embeddings";
|
|
857
|
+
nmt: "nmt";
|
|
858
|
+
parakeet: "parakeet";
|
|
859
|
+
tts: "tts";
|
|
860
|
+
ocr: "ocr";
|
|
861
|
+
diffusion: "diffusion";
|
|
694
862
|
}>, z.ZodLiteral<"vad">]>>;
|
|
695
863
|
}, z.core.$strip>]>;
|
|
696
864
|
}, z.core.$strip>]>;
|
|
@@ -707,10 +875,18 @@ export declare const ttsRequestSchema: z.ZodObject<{
|
|
|
707
875
|
stream: z.ZodDefault<z.ZodBoolean>;
|
|
708
876
|
type: z.ZodLiteral<"textToSpeech">;
|
|
709
877
|
}, z.core.$strip>;
|
|
878
|
+
export declare const ttsStatsSchema: z.ZodObject<{
|
|
879
|
+
audioDuration: z.ZodOptional<z.ZodNumber>;
|
|
880
|
+
totalSamples: z.ZodOptional<z.ZodNumber>;
|
|
881
|
+
}, z.core.$strip>;
|
|
710
882
|
export declare const ttsResponseSchema: z.ZodObject<{
|
|
711
883
|
type: z.ZodLiteral<"textToSpeech">;
|
|
712
884
|
buffer: z.ZodArray<z.ZodNumber>;
|
|
713
885
|
done: z.ZodDefault<z.ZodBoolean>;
|
|
886
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
887
|
+
audioDuration: z.ZodOptional<z.ZodNumber>;
|
|
888
|
+
totalSamples: z.ZodOptional<z.ZodNumber>;
|
|
889
|
+
}, z.core.$strip>>;
|
|
714
890
|
}, z.core.$strip>;
|
|
715
891
|
export type TtsLanguage = (typeof TTS_LANGUAGES)[number];
|
|
716
892
|
export type TtsChatterboxConfig = z.infer<typeof ttsChatterboxConfigSchema>;
|
|
@@ -722,4 +898,5 @@ export type TtsRuntimeConfig = z.infer<typeof ttsRuntimeConfigSchema>;
|
|
|
722
898
|
export type TtsClientParams = z.infer<typeof ttsClientParamsSchema>;
|
|
723
899
|
export type TtsRequest = z.infer<typeof ttsRequestSchema>;
|
|
724
900
|
export type TtsResponse = z.infer<typeof ttsResponseSchema>;
|
|
901
|
+
export type TtsStats = z.infer<typeof ttsStatsSchema>;
|
|
725
902
|
//# sourceMappingURL=text-to-speech.d.ts.map
|