@qvac/sdk 0.8.3 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +267 -63
- package/README.md +1 -1
- 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
package/dist/schemas/common.d.ts
CHANGED
|
@@ -41,6 +41,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
41
41
|
stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
42
|
n_discarded: z.ZodOptional<z.ZodNumber>;
|
|
43
43
|
tools: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
"cache-type-k": z.ZodOptional<z.ZodString>;
|
|
45
|
+
"cache-type-v": z.ZodOptional<z.ZodString>;
|
|
46
|
+
openclCacheDir: z.ZodOptional<z.ZodString>;
|
|
44
47
|
projectionModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
45
48
|
src: z.ZodString;
|
|
46
49
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -60,6 +63,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
60
63
|
"onnx-tts": "onnx-tts";
|
|
61
64
|
"parakeet-transcription": "parakeet-transcription";
|
|
62
65
|
"onnx-ocr": "onnx-ocr";
|
|
66
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
63
67
|
llm: "llm";
|
|
64
68
|
whisper: "whisper";
|
|
65
69
|
embeddings: "embeddings";
|
|
@@ -67,6 +71,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
67
71
|
parakeet: "parakeet";
|
|
68
72
|
tts: "tts";
|
|
69
73
|
ocr: "ocr";
|
|
74
|
+
diffusion: "diffusion";
|
|
70
75
|
}>, z.ZodLiteral<"vad">]>>;
|
|
71
76
|
}, z.core.$strip>]>>;
|
|
72
77
|
}, z.core.$strip>;
|
|
@@ -164,6 +169,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
164
169
|
"onnx-tts": "onnx-tts";
|
|
165
170
|
"parakeet-transcription": "parakeet-transcription";
|
|
166
171
|
"onnx-ocr": "onnx-ocr";
|
|
172
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
167
173
|
llm: "llm";
|
|
168
174
|
whisper: "whisper";
|
|
169
175
|
embeddings: "embeddings";
|
|
@@ -171,6 +177,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
171
177
|
parakeet: "parakeet";
|
|
172
178
|
tts: "tts";
|
|
173
179
|
ocr: "ocr";
|
|
180
|
+
diffusion: "diffusion";
|
|
174
181
|
}>, z.ZodLiteral<"vad">]>>;
|
|
175
182
|
}, z.core.$strip>]>>;
|
|
176
183
|
}, z.core.$strip>;
|
|
@@ -220,6 +227,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
220
227
|
"onnx-tts": "onnx-tts";
|
|
221
228
|
"parakeet-transcription": "parakeet-transcription";
|
|
222
229
|
"onnx-ocr": "onnx-ocr";
|
|
230
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
223
231
|
llm: "llm";
|
|
224
232
|
whisper: "whisper";
|
|
225
233
|
embeddings: "embeddings";
|
|
@@ -227,34 +235,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
227
235
|
parakeet: "parakeet";
|
|
228
236
|
tts: "tts";
|
|
229
237
|
ocr: "ocr";
|
|
230
|
-
|
|
231
|
-
}, z.core.$strip>]>>;
|
|
232
|
-
parakeetEncoderDataSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
233
|
-
src: z.ZodString;
|
|
234
|
-
name: z.ZodOptional<z.ZodString>;
|
|
235
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
236
|
-
registryPath: z.ZodOptional<z.ZodString>;
|
|
237
|
-
registrySource: z.ZodOptional<z.ZodString>;
|
|
238
|
-
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
239
|
-
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
240
|
-
engine: z.ZodOptional<z.ZodString>;
|
|
241
|
-
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
242
|
-
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
243
|
-
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
244
|
-
"llamacpp-completion": "llamacpp-completion";
|
|
245
|
-
"whispercpp-transcription": "whispercpp-transcription";
|
|
246
|
-
"llamacpp-embedding": "llamacpp-embedding";
|
|
247
|
-
"nmtcpp-translation": "nmtcpp-translation";
|
|
248
|
-
"onnx-tts": "onnx-tts";
|
|
249
|
-
"parakeet-transcription": "parakeet-transcription";
|
|
250
|
-
"onnx-ocr": "onnx-ocr";
|
|
251
|
-
llm: "llm";
|
|
252
|
-
whisper: "whisper";
|
|
253
|
-
embeddings: "embeddings";
|
|
254
|
-
nmt: "nmt";
|
|
255
|
-
parakeet: "parakeet";
|
|
256
|
-
tts: "tts";
|
|
257
|
-
ocr: "ocr";
|
|
238
|
+
diffusion: "diffusion";
|
|
258
239
|
}>, z.ZodLiteral<"vad">]>>;
|
|
259
240
|
}, z.core.$strip>]>>;
|
|
260
241
|
parakeetDecoderSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -276,6 +257,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
276
257
|
"onnx-tts": "onnx-tts";
|
|
277
258
|
"parakeet-transcription": "parakeet-transcription";
|
|
278
259
|
"onnx-ocr": "onnx-ocr";
|
|
260
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
279
261
|
llm: "llm";
|
|
280
262
|
whisper: "whisper";
|
|
281
263
|
embeddings: "embeddings";
|
|
@@ -283,6 +265,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
283
265
|
parakeet: "parakeet";
|
|
284
266
|
tts: "tts";
|
|
285
267
|
ocr: "ocr";
|
|
268
|
+
diffusion: "diffusion";
|
|
286
269
|
}>, z.ZodLiteral<"vad">]>>;
|
|
287
270
|
}, z.core.$strip>]>>;
|
|
288
271
|
parakeetVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -304,6 +287,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
304
287
|
"onnx-tts": "onnx-tts";
|
|
305
288
|
"parakeet-transcription": "parakeet-transcription";
|
|
306
289
|
"onnx-ocr": "onnx-ocr";
|
|
290
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
307
291
|
llm: "llm";
|
|
308
292
|
whisper: "whisper";
|
|
309
293
|
embeddings: "embeddings";
|
|
@@ -311,6 +295,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
311
295
|
parakeet: "parakeet";
|
|
312
296
|
tts: "tts";
|
|
313
297
|
ocr: "ocr";
|
|
298
|
+
diffusion: "diffusion";
|
|
314
299
|
}>, z.ZodLiteral<"vad">]>>;
|
|
315
300
|
}, z.core.$strip>]>>;
|
|
316
301
|
parakeetPreprocessorSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -332,6 +317,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
332
317
|
"onnx-tts": "onnx-tts";
|
|
333
318
|
"parakeet-transcription": "parakeet-transcription";
|
|
334
319
|
"onnx-ocr": "onnx-ocr";
|
|
320
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
335
321
|
llm: "llm";
|
|
336
322
|
whisper: "whisper";
|
|
337
323
|
embeddings: "embeddings";
|
|
@@ -339,6 +325,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
339
325
|
parakeet: "parakeet";
|
|
340
326
|
tts: "tts";
|
|
341
327
|
ocr: "ocr";
|
|
328
|
+
diffusion: "diffusion";
|
|
342
329
|
}>, z.ZodLiteral<"vad">]>>;
|
|
343
330
|
}, z.core.$strip>]>>;
|
|
344
331
|
parakeetCtcModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -360,6 +347,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
360
347
|
"onnx-tts": "onnx-tts";
|
|
361
348
|
"parakeet-transcription": "parakeet-transcription";
|
|
362
349
|
"onnx-ocr": "onnx-ocr";
|
|
350
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
363
351
|
llm: "llm";
|
|
364
352
|
whisper: "whisper";
|
|
365
353
|
embeddings: "embeddings";
|
|
@@ -367,34 +355,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
367
355
|
parakeet: "parakeet";
|
|
368
356
|
tts: "tts";
|
|
369
357
|
ocr: "ocr";
|
|
370
|
-
|
|
371
|
-
}, z.core.$strip>]>>;
|
|
372
|
-
parakeetCtcModelDataSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
373
|
-
src: z.ZodString;
|
|
374
|
-
name: z.ZodOptional<z.ZodString>;
|
|
375
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
376
|
-
registryPath: z.ZodOptional<z.ZodString>;
|
|
377
|
-
registrySource: z.ZodOptional<z.ZodString>;
|
|
378
|
-
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
379
|
-
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
380
|
-
engine: z.ZodOptional<z.ZodString>;
|
|
381
|
-
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
382
|
-
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
383
|
-
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
384
|
-
"llamacpp-completion": "llamacpp-completion";
|
|
385
|
-
"whispercpp-transcription": "whispercpp-transcription";
|
|
386
|
-
"llamacpp-embedding": "llamacpp-embedding";
|
|
387
|
-
"nmtcpp-translation": "nmtcpp-translation";
|
|
388
|
-
"onnx-tts": "onnx-tts";
|
|
389
|
-
"parakeet-transcription": "parakeet-transcription";
|
|
390
|
-
"onnx-ocr": "onnx-ocr";
|
|
391
|
-
llm: "llm";
|
|
392
|
-
whisper: "whisper";
|
|
393
|
-
embeddings: "embeddings";
|
|
394
|
-
nmt: "nmt";
|
|
395
|
-
parakeet: "parakeet";
|
|
396
|
-
tts: "tts";
|
|
397
|
-
ocr: "ocr";
|
|
358
|
+
diffusion: "diffusion";
|
|
398
359
|
}>, z.ZodLiteral<"vad">]>>;
|
|
399
360
|
}, z.core.$strip>]>>;
|
|
400
361
|
parakeetTokenizerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -416,6 +377,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
416
377
|
"onnx-tts": "onnx-tts";
|
|
417
378
|
"parakeet-transcription": "parakeet-transcription";
|
|
418
379
|
"onnx-ocr": "onnx-ocr";
|
|
380
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
419
381
|
llm: "llm";
|
|
420
382
|
whisper: "whisper";
|
|
421
383
|
embeddings: "embeddings";
|
|
@@ -423,6 +385,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
423
385
|
parakeet: "parakeet";
|
|
424
386
|
tts: "tts";
|
|
425
387
|
ocr: "ocr";
|
|
388
|
+
diffusion: "diffusion";
|
|
426
389
|
}>, z.ZodLiteral<"vad">]>>;
|
|
427
390
|
}, z.core.$strip>]>>;
|
|
428
391
|
parakeetSortformerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -444,6 +407,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
444
407
|
"onnx-tts": "onnx-tts";
|
|
445
408
|
"parakeet-transcription": "parakeet-transcription";
|
|
446
409
|
"onnx-ocr": "onnx-ocr";
|
|
410
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
447
411
|
llm: "llm";
|
|
448
412
|
whisper: "whisper";
|
|
449
413
|
embeddings: "embeddings";
|
|
@@ -451,6 +415,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
451
415
|
parakeet: "parakeet";
|
|
452
416
|
tts: "tts";
|
|
453
417
|
ocr: "ocr";
|
|
418
|
+
diffusion: "diffusion";
|
|
454
419
|
}>, z.ZodLiteral<"vad">]>>;
|
|
455
420
|
}, z.core.$strip>]>>;
|
|
456
421
|
}, z.core.$strip>;
|
|
@@ -472,8 +437,8 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
472
437
|
modelConfig: z.ZodObject<{
|
|
473
438
|
gpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
474
439
|
device: z.ZodOptional<z.ZodEnum<{
|
|
475
|
-
gpu: "gpu";
|
|
476
440
|
cpu: "cpu";
|
|
441
|
+
gpu: "gpu";
|
|
477
442
|
}>>;
|
|
478
443
|
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
479
444
|
pooling: z.ZodOptional<z.ZodEnum<{
|
|
@@ -498,6 +463,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
498
463
|
dedicated: "dedicated";
|
|
499
464
|
}>]>>;
|
|
500
465
|
verbosity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
466
|
+
openclCacheDir: z.ZodOptional<z.ZodString>;
|
|
501
467
|
}, z.core.$strip>;
|
|
502
468
|
}, z.core.$strict>, z.ZodObject<{
|
|
503
469
|
type: z.ZodLiteral<"loadModel">;
|
|
@@ -629,6 +595,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
629
595
|
"onnx-tts": "onnx-tts";
|
|
630
596
|
"parakeet-transcription": "parakeet-transcription";
|
|
631
597
|
"onnx-ocr": "onnx-ocr";
|
|
598
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
632
599
|
llm: "llm";
|
|
633
600
|
whisper: "whisper";
|
|
634
601
|
embeddings: "embeddings";
|
|
@@ -636,6 +603,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
636
603
|
parakeet: "parakeet";
|
|
637
604
|
tts: "tts";
|
|
638
605
|
ocr: "ocr";
|
|
606
|
+
diffusion: "diffusion";
|
|
639
607
|
}>, z.ZodLiteral<"vad">]>>;
|
|
640
608
|
}, z.core.$strip>]>>;
|
|
641
609
|
dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -657,6 +625,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
657
625
|
"onnx-tts": "onnx-tts";
|
|
658
626
|
"parakeet-transcription": "parakeet-transcription";
|
|
659
627
|
"onnx-ocr": "onnx-ocr";
|
|
628
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
660
629
|
llm: "llm";
|
|
661
630
|
whisper: "whisper";
|
|
662
631
|
embeddings: "embeddings";
|
|
@@ -664,6 +633,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
664
633
|
parakeet: "parakeet";
|
|
665
634
|
tts: "tts";
|
|
666
635
|
ocr: "ocr";
|
|
636
|
+
diffusion: "diffusion";
|
|
667
637
|
}>, z.ZodLiteral<"vad">]>>;
|
|
668
638
|
}, z.core.$strip>]>>;
|
|
669
639
|
normalize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -698,6 +668,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
698
668
|
"onnx-tts": "onnx-tts";
|
|
699
669
|
"parakeet-transcription": "parakeet-transcription";
|
|
700
670
|
"onnx-ocr": "onnx-ocr";
|
|
671
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
701
672
|
llm: "llm";
|
|
702
673
|
whisper: "whisper";
|
|
703
674
|
embeddings: "embeddings";
|
|
@@ -705,6 +676,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
705
676
|
parakeet: "parakeet";
|
|
706
677
|
tts: "tts";
|
|
707
678
|
ocr: "ocr";
|
|
679
|
+
diffusion: "diffusion";
|
|
708
680
|
}>, z.ZodLiteral<"vad">]>>;
|
|
709
681
|
}, z.core.$strip>]>;
|
|
710
682
|
srcVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -726,6 +698,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
726
698
|
"onnx-tts": "onnx-tts";
|
|
727
699
|
"parakeet-transcription": "parakeet-transcription";
|
|
728
700
|
"onnx-ocr": "onnx-ocr";
|
|
701
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
729
702
|
llm: "llm";
|
|
730
703
|
whisper: "whisper";
|
|
731
704
|
embeddings: "embeddings";
|
|
@@ -733,6 +706,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
733
706
|
parakeet: "parakeet";
|
|
734
707
|
tts: "tts";
|
|
735
708
|
ocr: "ocr";
|
|
709
|
+
diffusion: "diffusion";
|
|
736
710
|
}>, z.ZodLiteral<"vad">]>>;
|
|
737
711
|
}, z.core.$strip>]>>;
|
|
738
712
|
dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -754,6 +728,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
754
728
|
"onnx-tts": "onnx-tts";
|
|
755
729
|
"parakeet-transcription": "parakeet-transcription";
|
|
756
730
|
"onnx-ocr": "onnx-ocr";
|
|
731
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
757
732
|
llm: "llm";
|
|
758
733
|
whisper: "whisper";
|
|
759
734
|
embeddings: "embeddings";
|
|
@@ -761,6 +736,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
761
736
|
parakeet: "parakeet";
|
|
762
737
|
tts: "tts";
|
|
763
738
|
ocr: "ocr";
|
|
739
|
+
diffusion: "diffusion";
|
|
764
740
|
}>, z.ZodLiteral<"vad">]>>;
|
|
765
741
|
}, z.core.$strip>]>>;
|
|
766
742
|
normalize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -871,7 +847,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
871
847
|
engine?: string | undefined;
|
|
872
848
|
expectedSize?: number | undefined;
|
|
873
849
|
sha256Checksum?: string | undefined;
|
|
874
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
850
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
875
851
|
} | undefined;
|
|
876
852
|
dstVocabSrc?: string | {
|
|
877
853
|
src: string;
|
|
@@ -884,7 +860,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
884
860
|
engine?: string | undefined;
|
|
885
861
|
expectedSize?: number | undefined;
|
|
886
862
|
sha256Checksum?: string | undefined;
|
|
887
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
863
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
888
864
|
} | undefined;
|
|
889
865
|
normalize?: number | undefined;
|
|
890
866
|
pivotModel?: {
|
|
@@ -899,7 +875,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
899
875
|
engine?: string | undefined;
|
|
900
876
|
expectedSize?: number | undefined;
|
|
901
877
|
sha256Checksum?: string | undefined;
|
|
902
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
878
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
903
879
|
};
|
|
904
880
|
mode?: "full" | undefined;
|
|
905
881
|
beamsize?: number | undefined;
|
|
@@ -921,7 +897,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
921
897
|
engine?: string | undefined;
|
|
922
898
|
expectedSize?: number | undefined;
|
|
923
899
|
sha256Checksum?: string | undefined;
|
|
924
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
900
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
925
901
|
} | undefined;
|
|
926
902
|
dstVocabSrc?: string | {
|
|
927
903
|
src: string;
|
|
@@ -934,7 +910,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
934
910
|
engine?: string | undefined;
|
|
935
911
|
expectedSize?: number | undefined;
|
|
936
912
|
sha256Checksum?: string | undefined;
|
|
937
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
913
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
938
914
|
} | undefined;
|
|
939
915
|
normalize?: number | undefined;
|
|
940
916
|
} | undefined;
|
|
@@ -988,7 +964,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
988
964
|
engine?: string | undefined;
|
|
989
965
|
expectedSize?: number | undefined;
|
|
990
966
|
sha256Checksum?: string | undefined;
|
|
991
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
967
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
992
968
|
} | undefined;
|
|
993
969
|
dstVocabSrc?: string | {
|
|
994
970
|
src: string;
|
|
@@ -1001,7 +977,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1001
977
|
engine?: string | undefined;
|
|
1002
978
|
expectedSize?: number | undefined;
|
|
1003
979
|
sha256Checksum?: string | undefined;
|
|
1004
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
980
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1005
981
|
} | undefined;
|
|
1006
982
|
normalize?: number | undefined;
|
|
1007
983
|
pivotModel?: {
|
|
@@ -1016,7 +992,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1016
992
|
engine?: string | undefined;
|
|
1017
993
|
expectedSize?: number | undefined;
|
|
1018
994
|
sha256Checksum?: string | undefined;
|
|
1019
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
995
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1020
996
|
};
|
|
1021
997
|
mode?: "full" | undefined;
|
|
1022
998
|
beamsize?: number | undefined;
|
|
@@ -1038,7 +1014,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1038
1014
|
engine?: string | undefined;
|
|
1039
1015
|
expectedSize?: number | undefined;
|
|
1040
1016
|
sha256Checksum?: string | undefined;
|
|
1041
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1017
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1042
1018
|
} | undefined;
|
|
1043
1019
|
dstVocabSrc?: string | {
|
|
1044
1020
|
src: string;
|
|
@@ -1051,7 +1027,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1051
1027
|
engine?: string | undefined;
|
|
1052
1028
|
expectedSize?: number | undefined;
|
|
1053
1029
|
sha256Checksum?: string | undefined;
|
|
1054
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1030
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1055
1031
|
} | undefined;
|
|
1056
1032
|
normalize?: number | undefined;
|
|
1057
1033
|
} | undefined;
|
|
@@ -1111,6 +1087,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1111
1087
|
"onnx-tts": "onnx-tts";
|
|
1112
1088
|
"parakeet-transcription": "parakeet-transcription";
|
|
1113
1089
|
"onnx-ocr": "onnx-ocr";
|
|
1090
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1114
1091
|
llm: "llm";
|
|
1115
1092
|
whisper: "whisper";
|
|
1116
1093
|
embeddings: "embeddings";
|
|
@@ -1118,6 +1095,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1118
1095
|
parakeet: "parakeet";
|
|
1119
1096
|
tts: "tts";
|
|
1120
1097
|
ocr: "ocr";
|
|
1098
|
+
diffusion: "diffusion";
|
|
1121
1099
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1122
1100
|
}, z.core.$strip>]>;
|
|
1123
1101
|
ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1139,6 +1117,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1139
1117
|
"onnx-tts": "onnx-tts";
|
|
1140
1118
|
"parakeet-transcription": "parakeet-transcription";
|
|
1141
1119
|
"onnx-ocr": "onnx-ocr";
|
|
1120
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1142
1121
|
llm: "llm";
|
|
1143
1122
|
whisper: "whisper";
|
|
1144
1123
|
embeddings: "embeddings";
|
|
@@ -1146,6 +1125,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1146
1125
|
parakeet: "parakeet";
|
|
1147
1126
|
tts: "tts";
|
|
1148
1127
|
ocr: "ocr";
|
|
1128
|
+
diffusion: "diffusion";
|
|
1149
1129
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1150
1130
|
}, z.core.$strip>]>;
|
|
1151
1131
|
ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1167,6 +1147,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1167
1147
|
"onnx-tts": "onnx-tts";
|
|
1168
1148
|
"parakeet-transcription": "parakeet-transcription";
|
|
1169
1149
|
"onnx-ocr": "onnx-ocr";
|
|
1150
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1170
1151
|
llm: "llm";
|
|
1171
1152
|
whisper: "whisper";
|
|
1172
1153
|
embeddings: "embeddings";
|
|
@@ -1174,6 +1155,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1174
1155
|
parakeet: "parakeet";
|
|
1175
1156
|
tts: "tts";
|
|
1176
1157
|
ocr: "ocr";
|
|
1158
|
+
diffusion: "diffusion";
|
|
1177
1159
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1178
1160
|
}, z.core.$strip>]>;
|
|
1179
1161
|
ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1195,6 +1177,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1195
1177
|
"onnx-tts": "onnx-tts";
|
|
1196
1178
|
"parakeet-transcription": "parakeet-transcription";
|
|
1197
1179
|
"onnx-ocr": "onnx-ocr";
|
|
1180
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1198
1181
|
llm: "llm";
|
|
1199
1182
|
whisper: "whisper";
|
|
1200
1183
|
embeddings: "embeddings";
|
|
@@ -1202,6 +1185,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1202
1185
|
parakeet: "parakeet";
|
|
1203
1186
|
tts: "tts";
|
|
1204
1187
|
ocr: "ocr";
|
|
1188
|
+
diffusion: "diffusion";
|
|
1205
1189
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1206
1190
|
}, z.core.$strip>]>;
|
|
1207
1191
|
ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1223,6 +1207,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1223
1207
|
"onnx-tts": "onnx-tts";
|
|
1224
1208
|
"parakeet-transcription": "parakeet-transcription";
|
|
1225
1209
|
"onnx-ocr": "onnx-ocr";
|
|
1210
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1226
1211
|
llm: "llm";
|
|
1227
1212
|
whisper: "whisper";
|
|
1228
1213
|
embeddings: "embeddings";
|
|
@@ -1230,6 +1215,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1230
1215
|
parakeet: "parakeet";
|
|
1231
1216
|
tts: "tts";
|
|
1232
1217
|
ocr: "ocr";
|
|
1218
|
+
diffusion: "diffusion";
|
|
1233
1219
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1234
1220
|
}, z.core.$strip>]>;
|
|
1235
1221
|
referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1251,6 +1237,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1251
1237
|
"onnx-tts": "onnx-tts";
|
|
1252
1238
|
"parakeet-transcription": "parakeet-transcription";
|
|
1253
1239
|
"onnx-ocr": "onnx-ocr";
|
|
1240
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1254
1241
|
llm: "llm";
|
|
1255
1242
|
whisper: "whisper";
|
|
1256
1243
|
embeddings: "embeddings";
|
|
@@ -1258,6 +1245,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1258
1245
|
parakeet: "parakeet";
|
|
1259
1246
|
tts: "tts";
|
|
1260
1247
|
ocr: "ocr";
|
|
1248
|
+
diffusion: "diffusion";
|
|
1261
1249
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1262
1250
|
}, z.core.$strip>]>;
|
|
1263
1251
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1270,7 +1258,8 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1270
1258
|
}>;
|
|
1271
1259
|
ttsSpeed: z.ZodOptional<z.ZodNumber>;
|
|
1272
1260
|
ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
|
|
1273
|
-
|
|
1261
|
+
ttsSupertonicMultilingual: z.ZodOptional<z.ZodBoolean>;
|
|
1262
|
+
ttsTextEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1274
1263
|
src: z.ZodString;
|
|
1275
1264
|
name: z.ZodOptional<z.ZodString>;
|
|
1276
1265
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1289,6 +1278,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1289
1278
|
"onnx-tts": "onnx-tts";
|
|
1290
1279
|
"parakeet-transcription": "parakeet-transcription";
|
|
1291
1280
|
"onnx-ocr": "onnx-ocr";
|
|
1281
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1292
1282
|
llm: "llm";
|
|
1293
1283
|
whisper: "whisper";
|
|
1294
1284
|
embeddings: "embeddings";
|
|
@@ -1296,9 +1286,10 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1296
1286
|
parakeet: "parakeet";
|
|
1297
1287
|
tts: "tts";
|
|
1298
1288
|
ocr: "ocr";
|
|
1289
|
+
diffusion: "diffusion";
|
|
1299
1290
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1300
1291
|
}, z.core.$strip>]>;
|
|
1301
|
-
|
|
1292
|
+
ttsDurationPredictorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1302
1293
|
src: z.ZodString;
|
|
1303
1294
|
name: z.ZodOptional<z.ZodString>;
|
|
1304
1295
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1317,6 +1308,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1317
1308
|
"onnx-tts": "onnx-tts";
|
|
1318
1309
|
"parakeet-transcription": "parakeet-transcription";
|
|
1319
1310
|
"onnx-ocr": "onnx-ocr";
|
|
1311
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1320
1312
|
llm: "llm";
|
|
1321
1313
|
whisper: "whisper";
|
|
1322
1314
|
embeddings: "embeddings";
|
|
@@ -1324,9 +1316,10 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1324
1316
|
parakeet: "parakeet";
|
|
1325
1317
|
tts: "tts";
|
|
1326
1318
|
ocr: "ocr";
|
|
1319
|
+
diffusion: "diffusion";
|
|
1327
1320
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1328
1321
|
}, z.core.$strip>]>;
|
|
1329
|
-
|
|
1322
|
+
ttsVectorEstimatorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1330
1323
|
src: z.ZodString;
|
|
1331
1324
|
name: z.ZodOptional<z.ZodString>;
|
|
1332
1325
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1345,6 +1338,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1345
1338
|
"onnx-tts": "onnx-tts";
|
|
1346
1339
|
"parakeet-transcription": "parakeet-transcription";
|
|
1347
1340
|
"onnx-ocr": "onnx-ocr";
|
|
1341
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1348
1342
|
llm: "llm";
|
|
1349
1343
|
whisper: "whisper";
|
|
1350
1344
|
embeddings: "embeddings";
|
|
@@ -1352,9 +1346,10 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1352
1346
|
parakeet: "parakeet";
|
|
1353
1347
|
tts: "tts";
|
|
1354
1348
|
ocr: "ocr";
|
|
1349
|
+
diffusion: "diffusion";
|
|
1355
1350
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1356
1351
|
}, z.core.$strip>]>;
|
|
1357
|
-
|
|
1352
|
+
ttsVocoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1358
1353
|
src: z.ZodString;
|
|
1359
1354
|
name: z.ZodOptional<z.ZodString>;
|
|
1360
1355
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1373,6 +1368,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1373
1368
|
"onnx-tts": "onnx-tts";
|
|
1374
1369
|
"parakeet-transcription": "parakeet-transcription";
|
|
1375
1370
|
"onnx-ocr": "onnx-ocr";
|
|
1371
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1376
1372
|
llm: "llm";
|
|
1377
1373
|
whisper: "whisper";
|
|
1378
1374
|
embeddings: "embeddings";
|
|
@@ -1380,9 +1376,10 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1380
1376
|
parakeet: "parakeet";
|
|
1381
1377
|
tts: "tts";
|
|
1382
1378
|
ocr: "ocr";
|
|
1379
|
+
diffusion: "diffusion";
|
|
1383
1380
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1384
1381
|
}, z.core.$strip>]>;
|
|
1385
|
-
|
|
1382
|
+
ttsUnicodeIndexerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1386
1383
|
src: z.ZodString;
|
|
1387
1384
|
name: z.ZodOptional<z.ZodString>;
|
|
1388
1385
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1401,6 +1398,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1401
1398
|
"onnx-tts": "onnx-tts";
|
|
1402
1399
|
"parakeet-transcription": "parakeet-transcription";
|
|
1403
1400
|
"onnx-ocr": "onnx-ocr";
|
|
1401
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1404
1402
|
llm: "llm";
|
|
1405
1403
|
whisper: "whisper";
|
|
1406
1404
|
embeddings: "embeddings";
|
|
@@ -1408,6 +1406,67 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1408
1406
|
parakeet: "parakeet";
|
|
1409
1407
|
tts: "tts";
|
|
1410
1408
|
ocr: "ocr";
|
|
1409
|
+
diffusion: "diffusion";
|
|
1410
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1411
|
+
}, z.core.$strip>]>;
|
|
1412
|
+
ttsTtsConfigSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1413
|
+
src: z.ZodString;
|
|
1414
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1419
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1420
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1422
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1424
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1425
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1426
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1427
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1428
|
+
"onnx-tts": "onnx-tts";
|
|
1429
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1430
|
+
"onnx-ocr": "onnx-ocr";
|
|
1431
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1432
|
+
llm: "llm";
|
|
1433
|
+
whisper: "whisper";
|
|
1434
|
+
embeddings: "embeddings";
|
|
1435
|
+
nmt: "nmt";
|
|
1436
|
+
parakeet: "parakeet";
|
|
1437
|
+
tts: "tts";
|
|
1438
|
+
ocr: "ocr";
|
|
1439
|
+
diffusion: "diffusion";
|
|
1440
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1441
|
+
}, z.core.$strip>]>;
|
|
1442
|
+
ttsVoiceStyleSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1443
|
+
src: z.ZodString;
|
|
1444
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1450
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1452
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1453
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1454
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1455
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1456
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1457
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1458
|
+
"onnx-tts": "onnx-tts";
|
|
1459
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1460
|
+
"onnx-ocr": "onnx-ocr";
|
|
1461
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1462
|
+
llm: "llm";
|
|
1463
|
+
whisper: "whisper";
|
|
1464
|
+
embeddings: "embeddings";
|
|
1465
|
+
nmt: "nmt";
|
|
1466
|
+
parakeet: "parakeet";
|
|
1467
|
+
tts: "tts";
|
|
1468
|
+
ocr: "ocr";
|
|
1469
|
+
diffusion: "diffusion";
|
|
1411
1470
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1412
1471
|
}, z.core.$strip>]>;
|
|
1413
1472
|
}, z.core.$strip>]>;
|
|
@@ -1463,6 +1522,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1463
1522
|
"onnx-tts": "onnx-tts";
|
|
1464
1523
|
"parakeet-transcription": "parakeet-transcription";
|
|
1465
1524
|
"onnx-ocr": "onnx-ocr";
|
|
1525
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1466
1526
|
llm: "llm";
|
|
1467
1527
|
whisper: "whisper";
|
|
1468
1528
|
embeddings: "embeddings";
|
|
@@ -1470,9 +1530,222 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1470
1530
|
parakeet: "parakeet";
|
|
1471
1531
|
tts: "tts";
|
|
1472
1532
|
ocr: "ocr";
|
|
1533
|
+
diffusion: "diffusion";
|
|
1473
1534
|
}>, z.ZodLiteral<"vad">]>>;
|
|
1474
1535
|
}, z.core.$strip>]>>;
|
|
1475
1536
|
}, z.core.$strip>;
|
|
1537
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1538
|
+
type: z.ZodLiteral<"loadModel">;
|
|
1539
|
+
modelSrc: z.ZodString;
|
|
1540
|
+
modelName: z.ZodOptional<z.ZodString>;
|
|
1541
|
+
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
1542
|
+
seed: z.ZodOptional<z.ZodBoolean>;
|
|
1543
|
+
delegate: z.ZodOptional<z.ZodObject<{
|
|
1544
|
+
topic: z.ZodString;
|
|
1545
|
+
providerPublicKey: z.ZodString;
|
|
1546
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1547
|
+
healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
|
|
1548
|
+
fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1549
|
+
forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1550
|
+
}, z.core.$strip>>;
|
|
1551
|
+
modelType: z.ZodLiteral<"sdcpp-generation">;
|
|
1552
|
+
modelConfig: z.ZodOptional<z.ZodObject<{
|
|
1553
|
+
threads: z.ZodOptional<z.ZodNumber>;
|
|
1554
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
1555
|
+
cpu: "cpu";
|
|
1556
|
+
gpu: "gpu";
|
|
1557
|
+
}>>;
|
|
1558
|
+
prediction: z.ZodOptional<z.ZodEnum<{
|
|
1559
|
+
auto: "auto";
|
|
1560
|
+
eps: "eps";
|
|
1561
|
+
v: "v";
|
|
1562
|
+
edm_v: "edm_v";
|
|
1563
|
+
flow: "flow";
|
|
1564
|
+
flux_flow: "flux_flow";
|
|
1565
|
+
flux2_flow: "flux2_flow";
|
|
1566
|
+
}>>;
|
|
1567
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1568
|
+
auto: "auto";
|
|
1569
|
+
f32: "f32";
|
|
1570
|
+
f16: "f16";
|
|
1571
|
+
bf16: "bf16";
|
|
1572
|
+
q2_k: "q2_k";
|
|
1573
|
+
q3_k: "q3_k";
|
|
1574
|
+
q4_0: "q4_0";
|
|
1575
|
+
q4_1: "q4_1";
|
|
1576
|
+
q4_k: "q4_k";
|
|
1577
|
+
q5_0: "q5_0";
|
|
1578
|
+
q5_1: "q5_1";
|
|
1579
|
+
q5_k: "q5_k";
|
|
1580
|
+
q6_k: "q6_k";
|
|
1581
|
+
q8_0: "q8_0";
|
|
1582
|
+
}>>;
|
|
1583
|
+
rng: z.ZodOptional<z.ZodEnum<{
|
|
1584
|
+
cpu: "cpu";
|
|
1585
|
+
cuda: "cuda";
|
|
1586
|
+
std_default: "std_default";
|
|
1587
|
+
}>>;
|
|
1588
|
+
sampler_rng: z.ZodOptional<z.ZodEnum<{
|
|
1589
|
+
cpu: "cpu";
|
|
1590
|
+
cuda: "cuda";
|
|
1591
|
+
std_default: "std_default";
|
|
1592
|
+
}>>;
|
|
1593
|
+
clip_on_cpu: z.ZodOptional<z.ZodBoolean>;
|
|
1594
|
+
vae_on_cpu: z.ZodOptional<z.ZodBoolean>;
|
|
1595
|
+
vae_tiling: z.ZodOptional<z.ZodBoolean>;
|
|
1596
|
+
flash_attn: z.ZodOptional<z.ZodBoolean>;
|
|
1597
|
+
verbosity: z.ZodOptional<z.ZodNumber>;
|
|
1598
|
+
clipLModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1599
|
+
src: z.ZodString;
|
|
1600
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1601
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1602
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1605
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1606
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1607
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1608
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1609
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1610
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1611
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1612
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1613
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1614
|
+
"onnx-tts": "onnx-tts";
|
|
1615
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1616
|
+
"onnx-ocr": "onnx-ocr";
|
|
1617
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1618
|
+
llm: "llm";
|
|
1619
|
+
whisper: "whisper";
|
|
1620
|
+
embeddings: "embeddings";
|
|
1621
|
+
nmt: "nmt";
|
|
1622
|
+
parakeet: "parakeet";
|
|
1623
|
+
tts: "tts";
|
|
1624
|
+
ocr: "ocr";
|
|
1625
|
+
diffusion: "diffusion";
|
|
1626
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1627
|
+
}, z.core.$strip>]>>;
|
|
1628
|
+
clipGModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1629
|
+
src: z.ZodString;
|
|
1630
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1633
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1636
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1638
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1640
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1641
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1642
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1643
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1644
|
+
"onnx-tts": "onnx-tts";
|
|
1645
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1646
|
+
"onnx-ocr": "onnx-ocr";
|
|
1647
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1648
|
+
llm: "llm";
|
|
1649
|
+
whisper: "whisper";
|
|
1650
|
+
embeddings: "embeddings";
|
|
1651
|
+
nmt: "nmt";
|
|
1652
|
+
parakeet: "parakeet";
|
|
1653
|
+
tts: "tts";
|
|
1654
|
+
ocr: "ocr";
|
|
1655
|
+
diffusion: "diffusion";
|
|
1656
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1657
|
+
}, z.core.$strip>]>>;
|
|
1658
|
+
t5XxlModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1659
|
+
src: z.ZodString;
|
|
1660
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1666
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1668
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1669
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1670
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1671
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1672
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1673
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1674
|
+
"onnx-tts": "onnx-tts";
|
|
1675
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1676
|
+
"onnx-ocr": "onnx-ocr";
|
|
1677
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1678
|
+
llm: "llm";
|
|
1679
|
+
whisper: "whisper";
|
|
1680
|
+
embeddings: "embeddings";
|
|
1681
|
+
nmt: "nmt";
|
|
1682
|
+
parakeet: "parakeet";
|
|
1683
|
+
tts: "tts";
|
|
1684
|
+
ocr: "ocr";
|
|
1685
|
+
diffusion: "diffusion";
|
|
1686
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1687
|
+
}, z.core.$strip>]>>;
|
|
1688
|
+
llmModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1689
|
+
src: z.ZodString;
|
|
1690
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1691
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1692
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1693
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1694
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1695
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1696
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1698
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1700
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1701
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1702
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1703
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1704
|
+
"onnx-tts": "onnx-tts";
|
|
1705
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1706
|
+
"onnx-ocr": "onnx-ocr";
|
|
1707
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1708
|
+
llm: "llm";
|
|
1709
|
+
whisper: "whisper";
|
|
1710
|
+
embeddings: "embeddings";
|
|
1711
|
+
nmt: "nmt";
|
|
1712
|
+
parakeet: "parakeet";
|
|
1713
|
+
tts: "tts";
|
|
1714
|
+
ocr: "ocr";
|
|
1715
|
+
diffusion: "diffusion";
|
|
1716
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1717
|
+
}, z.core.$strip>]>>;
|
|
1718
|
+
vaeModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1719
|
+
src: z.ZodString;
|
|
1720
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1725
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1726
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1728
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1730
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1731
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1732
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1733
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1734
|
+
"onnx-tts": "onnx-tts";
|
|
1735
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1736
|
+
"onnx-ocr": "onnx-ocr";
|
|
1737
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
1738
|
+
llm: "llm";
|
|
1739
|
+
whisper: "whisper";
|
|
1740
|
+
embeddings: "embeddings";
|
|
1741
|
+
nmt: "nmt";
|
|
1742
|
+
parakeet: "parakeet";
|
|
1743
|
+
tts: "tts";
|
|
1744
|
+
ocr: "ocr";
|
|
1745
|
+
diffusion: "diffusion";
|
|
1746
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1747
|
+
}, z.core.$strip>]>>;
|
|
1748
|
+
}, z.core.$strip>>;
|
|
1476
1749
|
}, z.core.$strict>, z.ZodObject<{
|
|
1477
1750
|
type: z.ZodLiteral<"loadModel">;
|
|
1478
1751
|
modelSrc: z.ZodString;
|
|
@@ -1513,6 +1786,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1513
1786
|
stop_sequences?: string[] | undefined;
|
|
1514
1787
|
n_discarded?: number | undefined;
|
|
1515
1788
|
tools?: boolean | undefined;
|
|
1789
|
+
"cache-type-k"?: string | undefined;
|
|
1790
|
+
"cache-type-v"?: string | undefined;
|
|
1791
|
+
openclCacheDir?: string | undefined;
|
|
1516
1792
|
projectionModelSrc?: string | {
|
|
1517
1793
|
src: string;
|
|
1518
1794
|
name?: string | undefined;
|
|
@@ -1524,7 +1800,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1524
1800
|
engine?: string | undefined;
|
|
1525
1801
|
expectedSize?: number | undefined;
|
|
1526
1802
|
sha256Checksum?: string | undefined;
|
|
1527
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1803
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1528
1804
|
} | undefined;
|
|
1529
1805
|
};
|
|
1530
1806
|
modelName?: string | undefined;
|
|
@@ -1607,7 +1883,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1607
1883
|
engine?: string | undefined;
|
|
1608
1884
|
expectedSize?: number | undefined;
|
|
1609
1885
|
sha256Checksum?: string | undefined;
|
|
1610
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1886
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1611
1887
|
} | undefined;
|
|
1612
1888
|
};
|
|
1613
1889
|
modelName?: string | undefined;
|
|
@@ -1644,20 +1920,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1644
1920
|
engine?: string | undefined;
|
|
1645
1921
|
expectedSize?: number | undefined;
|
|
1646
1922
|
sha256Checksum?: string | undefined;
|
|
1647
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1648
|
-
} | undefined;
|
|
1649
|
-
parakeetEncoderDataSrc?: string | {
|
|
1650
|
-
src: string;
|
|
1651
|
-
name?: string | undefined;
|
|
1652
|
-
modelId?: string | undefined;
|
|
1653
|
-
registryPath?: string | undefined;
|
|
1654
|
-
registrySource?: string | undefined;
|
|
1655
|
-
blobCoreKey?: string | undefined;
|
|
1656
|
-
blobIndex?: number | undefined;
|
|
1657
|
-
engine?: string | undefined;
|
|
1658
|
-
expectedSize?: number | undefined;
|
|
1659
|
-
sha256Checksum?: string | undefined;
|
|
1660
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1923
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1661
1924
|
} | undefined;
|
|
1662
1925
|
parakeetDecoderSrc?: string | {
|
|
1663
1926
|
src: string;
|
|
@@ -1670,7 +1933,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1670
1933
|
engine?: string | undefined;
|
|
1671
1934
|
expectedSize?: number | undefined;
|
|
1672
1935
|
sha256Checksum?: string | undefined;
|
|
1673
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1936
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1674
1937
|
} | undefined;
|
|
1675
1938
|
parakeetVocabSrc?: string | {
|
|
1676
1939
|
src: string;
|
|
@@ -1683,7 +1946,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1683
1946
|
engine?: string | undefined;
|
|
1684
1947
|
expectedSize?: number | undefined;
|
|
1685
1948
|
sha256Checksum?: string | undefined;
|
|
1686
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1949
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1687
1950
|
} | undefined;
|
|
1688
1951
|
parakeetPreprocessorSrc?: string | {
|
|
1689
1952
|
src: string;
|
|
@@ -1696,7 +1959,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1696
1959
|
engine?: string | undefined;
|
|
1697
1960
|
expectedSize?: number | undefined;
|
|
1698
1961
|
sha256Checksum?: string | undefined;
|
|
1699
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1962
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1700
1963
|
} | undefined;
|
|
1701
1964
|
parakeetCtcModelSrc?: string | {
|
|
1702
1965
|
src: string;
|
|
@@ -1709,20 +1972,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1709
1972
|
engine?: string | undefined;
|
|
1710
1973
|
expectedSize?: number | undefined;
|
|
1711
1974
|
sha256Checksum?: string | undefined;
|
|
1712
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1713
|
-
} | undefined;
|
|
1714
|
-
parakeetCtcModelDataSrc?: string | {
|
|
1715
|
-
src: string;
|
|
1716
|
-
name?: string | undefined;
|
|
1717
|
-
modelId?: string | undefined;
|
|
1718
|
-
registryPath?: string | undefined;
|
|
1719
|
-
registrySource?: string | undefined;
|
|
1720
|
-
blobCoreKey?: string | undefined;
|
|
1721
|
-
blobIndex?: number | undefined;
|
|
1722
|
-
engine?: string | undefined;
|
|
1723
|
-
expectedSize?: number | undefined;
|
|
1724
|
-
sha256Checksum?: string | undefined;
|
|
1725
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1975
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1726
1976
|
} | undefined;
|
|
1727
1977
|
parakeetTokenizerSrc?: string | {
|
|
1728
1978
|
src: string;
|
|
@@ -1735,7 +1985,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1735
1985
|
engine?: string | undefined;
|
|
1736
1986
|
expectedSize?: number | undefined;
|
|
1737
1987
|
sha256Checksum?: string | undefined;
|
|
1738
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1988
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1739
1989
|
} | undefined;
|
|
1740
1990
|
parakeetSortformerSrc?: string | {
|
|
1741
1991
|
src: string;
|
|
@@ -1748,7 +1998,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1748
1998
|
engine?: string | undefined;
|
|
1749
1999
|
expectedSize?: number | undefined;
|
|
1750
2000
|
sha256Checksum?: string | undefined;
|
|
1751
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2001
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1752
2002
|
} | undefined;
|
|
1753
2003
|
};
|
|
1754
2004
|
modelName?: string | undefined;
|
|
@@ -1768,7 +2018,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1768
2018
|
modelType: "llamacpp-embedding";
|
|
1769
2019
|
modelConfig: {
|
|
1770
2020
|
gpuLayers?: number | undefined;
|
|
1771
|
-
device?: "
|
|
2021
|
+
device?: "cpu" | "gpu" | undefined;
|
|
1772
2022
|
batchSize?: number | undefined;
|
|
1773
2023
|
pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined;
|
|
1774
2024
|
attention?: "causal" | "non-causal" | undefined;
|
|
@@ -1776,6 +2026,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1776
2026
|
flashAttention?: "on" | "off" | "auto" | undefined;
|
|
1777
2027
|
mainGpu?: number | "integrated" | "dedicated" | undefined;
|
|
1778
2028
|
verbosity?: 0 | 3 | 2 | 1 | undefined;
|
|
2029
|
+
openclCacheDir?: string | undefined;
|
|
1779
2030
|
};
|
|
1780
2031
|
modelName?: string | undefined;
|
|
1781
2032
|
withProgress?: boolean | undefined;
|
|
@@ -1829,7 +2080,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1829
2080
|
engine?: string | undefined;
|
|
1830
2081
|
expectedSize?: number | undefined;
|
|
1831
2082
|
sha256Checksum?: string | undefined;
|
|
1832
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2083
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1833
2084
|
} | undefined;
|
|
1834
2085
|
dstVocabSrc?: string | {
|
|
1835
2086
|
src: string;
|
|
@@ -1842,7 +2093,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1842
2093
|
engine?: string | undefined;
|
|
1843
2094
|
expectedSize?: number | undefined;
|
|
1844
2095
|
sha256Checksum?: string | undefined;
|
|
1845
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2096
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1846
2097
|
} | undefined;
|
|
1847
2098
|
normalize?: number | undefined;
|
|
1848
2099
|
pivotModel?: {
|
|
@@ -1857,7 +2108,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1857
2108
|
engine?: string | undefined;
|
|
1858
2109
|
expectedSize?: number | undefined;
|
|
1859
2110
|
sha256Checksum?: string | undefined;
|
|
1860
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2111
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1861
2112
|
};
|
|
1862
2113
|
mode?: "full" | undefined;
|
|
1863
2114
|
beamsize?: number | undefined;
|
|
@@ -1879,7 +2130,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1879
2130
|
engine?: string | undefined;
|
|
1880
2131
|
expectedSize?: number | undefined;
|
|
1881
2132
|
sha256Checksum?: string | undefined;
|
|
1882
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2133
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1883
2134
|
} | undefined;
|
|
1884
2135
|
dstVocabSrc?: string | {
|
|
1885
2136
|
src: string;
|
|
@@ -1892,7 +2143,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1892
2143
|
engine?: string | undefined;
|
|
1893
2144
|
expectedSize?: number | undefined;
|
|
1894
2145
|
sha256Checksum?: string | undefined;
|
|
1895
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2146
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1896
2147
|
} | undefined;
|
|
1897
2148
|
normalize?: number | undefined;
|
|
1898
2149
|
} | undefined;
|
|
@@ -1939,7 +2190,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1939
2190
|
engine?: string | undefined;
|
|
1940
2191
|
expectedSize?: number | undefined;
|
|
1941
2192
|
sha256Checksum?: string | undefined;
|
|
1942
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2193
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1943
2194
|
};
|
|
1944
2195
|
ttsSpeechEncoderSrc: string | {
|
|
1945
2196
|
src: string;
|
|
@@ -1952,7 +2203,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1952
2203
|
engine?: string | undefined;
|
|
1953
2204
|
expectedSize?: number | undefined;
|
|
1954
2205
|
sha256Checksum?: string | undefined;
|
|
1955
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2206
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1956
2207
|
};
|
|
1957
2208
|
ttsEmbedTokensSrc: string | {
|
|
1958
2209
|
src: string;
|
|
@@ -1965,7 +2216,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1965
2216
|
engine?: string | undefined;
|
|
1966
2217
|
expectedSize?: number | undefined;
|
|
1967
2218
|
sha256Checksum?: string | undefined;
|
|
1968
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2219
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1969
2220
|
};
|
|
1970
2221
|
ttsConditionalDecoderSrc: string | {
|
|
1971
2222
|
src: string;
|
|
@@ -1978,7 +2229,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1978
2229
|
engine?: string | undefined;
|
|
1979
2230
|
expectedSize?: number | undefined;
|
|
1980
2231
|
sha256Checksum?: string | undefined;
|
|
1981
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2232
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1982
2233
|
};
|
|
1983
2234
|
ttsLanguageModelSrc: string | {
|
|
1984
2235
|
src: string;
|
|
@@ -1991,9 +2242,38 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1991
2242
|
engine?: string | undefined;
|
|
1992
2243
|
expectedSize?: number | undefined;
|
|
1993
2244
|
sha256Checksum?: string | undefined;
|
|
1994
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2245
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2246
|
+
};
|
|
2247
|
+
referenceAudioSrc: string | {
|
|
2248
|
+
src: string;
|
|
2249
|
+
name?: string | undefined;
|
|
2250
|
+
modelId?: string | undefined;
|
|
2251
|
+
registryPath?: string | undefined;
|
|
2252
|
+
registrySource?: string | undefined;
|
|
2253
|
+
blobCoreKey?: string | undefined;
|
|
2254
|
+
blobIndex?: number | undefined;
|
|
2255
|
+
engine?: string | undefined;
|
|
2256
|
+
expectedSize?: number | undefined;
|
|
2257
|
+
sha256Checksum?: string | undefined;
|
|
2258
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2259
|
+
};
|
|
2260
|
+
} | {
|
|
2261
|
+
ttsEngine: "supertonic";
|
|
2262
|
+
language: "en" | "de" | "es" | "it";
|
|
2263
|
+
ttsTextEncoderSrc: string | {
|
|
2264
|
+
src: string;
|
|
2265
|
+
name?: string | undefined;
|
|
2266
|
+
modelId?: string | undefined;
|
|
2267
|
+
registryPath?: string | undefined;
|
|
2268
|
+
registrySource?: string | undefined;
|
|
2269
|
+
blobCoreKey?: string | undefined;
|
|
2270
|
+
blobIndex?: number | undefined;
|
|
2271
|
+
engine?: string | undefined;
|
|
2272
|
+
expectedSize?: number | undefined;
|
|
2273
|
+
sha256Checksum?: string | undefined;
|
|
2274
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
1995
2275
|
};
|
|
1996
|
-
|
|
2276
|
+
ttsDurationPredictorSrc: string | {
|
|
1997
2277
|
src: string;
|
|
1998
2278
|
name?: string | undefined;
|
|
1999
2279
|
modelId?: string | undefined;
|
|
@@ -2004,12 +2284,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2004
2284
|
engine?: string | undefined;
|
|
2005
2285
|
expectedSize?: number | undefined;
|
|
2006
2286
|
sha256Checksum?: string | undefined;
|
|
2007
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2287
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2008
2288
|
};
|
|
2009
|
-
|
|
2010
|
-
ttsEngine: "supertonic";
|
|
2011
|
-
language: "en" | "de" | "es" | "it";
|
|
2012
|
-
ttsTokenizerSrc: string | {
|
|
2289
|
+
ttsVectorEstimatorSrc: string | {
|
|
2013
2290
|
src: string;
|
|
2014
2291
|
name?: string | undefined;
|
|
2015
2292
|
modelId?: string | undefined;
|
|
@@ -2020,9 +2297,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2020
2297
|
engine?: string | undefined;
|
|
2021
2298
|
expectedSize?: number | undefined;
|
|
2022
2299
|
sha256Checksum?: string | undefined;
|
|
2023
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2300
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2024
2301
|
};
|
|
2025
|
-
|
|
2302
|
+
ttsVocoderSrc: string | {
|
|
2026
2303
|
src: string;
|
|
2027
2304
|
name?: string | undefined;
|
|
2028
2305
|
modelId?: string | undefined;
|
|
@@ -2033,9 +2310,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2033
2310
|
engine?: string | undefined;
|
|
2034
2311
|
expectedSize?: number | undefined;
|
|
2035
2312
|
sha256Checksum?: string | undefined;
|
|
2036
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2313
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2037
2314
|
};
|
|
2038
|
-
|
|
2315
|
+
ttsUnicodeIndexerSrc: string | {
|
|
2039
2316
|
src: string;
|
|
2040
2317
|
name?: string | undefined;
|
|
2041
2318
|
modelId?: string | undefined;
|
|
@@ -2046,9 +2323,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2046
2323
|
engine?: string | undefined;
|
|
2047
2324
|
expectedSize?: number | undefined;
|
|
2048
2325
|
sha256Checksum?: string | undefined;
|
|
2049
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2326
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2050
2327
|
};
|
|
2051
|
-
|
|
2328
|
+
ttsTtsConfigSrc: string | {
|
|
2052
2329
|
src: string;
|
|
2053
2330
|
name?: string | undefined;
|
|
2054
2331
|
modelId?: string | undefined;
|
|
@@ -2059,9 +2336,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2059
2336
|
engine?: string | undefined;
|
|
2060
2337
|
expectedSize?: number | undefined;
|
|
2061
2338
|
sha256Checksum?: string | undefined;
|
|
2062
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2339
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2063
2340
|
};
|
|
2064
|
-
|
|
2341
|
+
ttsVoiceStyleSrc: string | {
|
|
2065
2342
|
src: string;
|
|
2066
2343
|
name?: string | undefined;
|
|
2067
2344
|
modelId?: string | undefined;
|
|
@@ -2072,10 +2349,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2072
2349
|
engine?: string | undefined;
|
|
2073
2350
|
expectedSize?: number | undefined;
|
|
2074
2351
|
sha256Checksum?: string | undefined;
|
|
2075
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2352
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2076
2353
|
};
|
|
2077
2354
|
ttsSpeed?: number | undefined;
|
|
2078
2355
|
ttsNumInferenceSteps?: number | undefined;
|
|
2356
|
+
ttsSupertonicMultilingual?: boolean | undefined;
|
|
2079
2357
|
};
|
|
2080
2358
|
modelName?: string | undefined;
|
|
2081
2359
|
withProgress?: boolean | undefined;
|
|
@@ -2115,7 +2393,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2115
2393
|
engine?: string | undefined;
|
|
2116
2394
|
expectedSize?: number | undefined;
|
|
2117
2395
|
sha256Checksum?: string | undefined;
|
|
2118
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2396
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2119
2397
|
} | undefined;
|
|
2120
2398
|
};
|
|
2121
2399
|
modelName?: string | undefined;
|
|
@@ -2128,6 +2406,99 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2128
2406
|
timeout?: number | undefined;
|
|
2129
2407
|
healthCheckTimeout?: number | undefined;
|
|
2130
2408
|
} | undefined;
|
|
2409
|
+
} | {
|
|
2410
|
+
seed: boolean;
|
|
2411
|
+
type: "loadModel";
|
|
2412
|
+
modelSrc: string;
|
|
2413
|
+
modelType: "sdcpp-generation";
|
|
2414
|
+
modelName?: string | undefined;
|
|
2415
|
+
withProgress?: boolean | undefined;
|
|
2416
|
+
delegate?: {
|
|
2417
|
+
topic: string;
|
|
2418
|
+
providerPublicKey: string;
|
|
2419
|
+
fallbackToLocal: boolean;
|
|
2420
|
+
forceNewConnection: boolean;
|
|
2421
|
+
timeout?: number | undefined;
|
|
2422
|
+
healthCheckTimeout?: number | undefined;
|
|
2423
|
+
} | undefined;
|
|
2424
|
+
modelConfig?: {
|
|
2425
|
+
threads?: number | undefined;
|
|
2426
|
+
device?: "cpu" | "gpu" | undefined;
|
|
2427
|
+
prediction?: "auto" | "eps" | "v" | "edm_v" | "flow" | "flux_flow" | "flux2_flow" | undefined;
|
|
2428
|
+
type?: "auto" | "f32" | "f16" | "bf16" | "q2_k" | "q3_k" | "q4_0" | "q4_1" | "q4_k" | "q5_0" | "q5_1" | "q5_k" | "q6_k" | "q8_0" | undefined;
|
|
2429
|
+
rng?: "cpu" | "cuda" | "std_default" | undefined;
|
|
2430
|
+
sampler_rng?: "cpu" | "cuda" | "std_default" | undefined;
|
|
2431
|
+
clip_on_cpu?: boolean | undefined;
|
|
2432
|
+
vae_on_cpu?: boolean | undefined;
|
|
2433
|
+
vae_tiling?: boolean | undefined;
|
|
2434
|
+
flash_attn?: boolean | undefined;
|
|
2435
|
+
verbosity?: number | undefined;
|
|
2436
|
+
clipLModelSrc?: string | {
|
|
2437
|
+
src: string;
|
|
2438
|
+
name?: string | undefined;
|
|
2439
|
+
modelId?: string | undefined;
|
|
2440
|
+
registryPath?: string | undefined;
|
|
2441
|
+
registrySource?: string | undefined;
|
|
2442
|
+
blobCoreKey?: string | undefined;
|
|
2443
|
+
blobIndex?: number | undefined;
|
|
2444
|
+
engine?: string | undefined;
|
|
2445
|
+
expectedSize?: number | undefined;
|
|
2446
|
+
sha256Checksum?: string | undefined;
|
|
2447
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2448
|
+
} | undefined;
|
|
2449
|
+
clipGModelSrc?: string | {
|
|
2450
|
+
src: string;
|
|
2451
|
+
name?: string | undefined;
|
|
2452
|
+
modelId?: string | undefined;
|
|
2453
|
+
registryPath?: string | undefined;
|
|
2454
|
+
registrySource?: string | undefined;
|
|
2455
|
+
blobCoreKey?: string | undefined;
|
|
2456
|
+
blobIndex?: number | undefined;
|
|
2457
|
+
engine?: string | undefined;
|
|
2458
|
+
expectedSize?: number | undefined;
|
|
2459
|
+
sha256Checksum?: string | undefined;
|
|
2460
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2461
|
+
} | undefined;
|
|
2462
|
+
t5XxlModelSrc?: string | {
|
|
2463
|
+
src: string;
|
|
2464
|
+
name?: string | undefined;
|
|
2465
|
+
modelId?: string | undefined;
|
|
2466
|
+
registryPath?: string | undefined;
|
|
2467
|
+
registrySource?: string | undefined;
|
|
2468
|
+
blobCoreKey?: string | undefined;
|
|
2469
|
+
blobIndex?: number | undefined;
|
|
2470
|
+
engine?: string | undefined;
|
|
2471
|
+
expectedSize?: number | undefined;
|
|
2472
|
+
sha256Checksum?: string | undefined;
|
|
2473
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2474
|
+
} | undefined;
|
|
2475
|
+
llmModelSrc?: string | {
|
|
2476
|
+
src: string;
|
|
2477
|
+
name?: string | undefined;
|
|
2478
|
+
modelId?: string | undefined;
|
|
2479
|
+
registryPath?: string | undefined;
|
|
2480
|
+
registrySource?: string | undefined;
|
|
2481
|
+
blobCoreKey?: string | undefined;
|
|
2482
|
+
blobIndex?: number | undefined;
|
|
2483
|
+
engine?: string | undefined;
|
|
2484
|
+
expectedSize?: number | undefined;
|
|
2485
|
+
sha256Checksum?: string | undefined;
|
|
2486
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2487
|
+
} | undefined;
|
|
2488
|
+
vaeModelSrc?: string | {
|
|
2489
|
+
src: string;
|
|
2490
|
+
name?: string | undefined;
|
|
2491
|
+
modelId?: string | undefined;
|
|
2492
|
+
registryPath?: string | undefined;
|
|
2493
|
+
registrySource?: string | undefined;
|
|
2494
|
+
blobCoreKey?: string | undefined;
|
|
2495
|
+
blobIndex?: number | undefined;
|
|
2496
|
+
engine?: string | undefined;
|
|
2497
|
+
expectedSize?: number | undefined;
|
|
2498
|
+
sha256Checksum?: string | undefined;
|
|
2499
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2500
|
+
} | undefined;
|
|
2501
|
+
} | undefined;
|
|
2131
2502
|
} | {
|
|
2132
2503
|
seed: boolean;
|
|
2133
2504
|
type: "loadModel";
|
|
@@ -2167,6 +2538,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2167
2538
|
stop_sequences?: string[] | undefined;
|
|
2168
2539
|
n_discarded?: number | undefined;
|
|
2169
2540
|
tools?: boolean | undefined;
|
|
2541
|
+
"cache-type-k"?: string | undefined;
|
|
2542
|
+
"cache-type-v"?: string | undefined;
|
|
2543
|
+
openclCacheDir?: string | undefined;
|
|
2170
2544
|
projectionModelSrc?: string | {
|
|
2171
2545
|
src: string;
|
|
2172
2546
|
name?: string | undefined;
|
|
@@ -2178,7 +2552,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2178
2552
|
engine?: string | undefined;
|
|
2179
2553
|
expectedSize?: number | undefined;
|
|
2180
2554
|
sha256Checksum?: string | undefined;
|
|
2181
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2555
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2182
2556
|
} | undefined;
|
|
2183
2557
|
};
|
|
2184
2558
|
modelName?: string | undefined;
|
|
@@ -2261,7 +2635,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2261
2635
|
engine?: string | undefined;
|
|
2262
2636
|
expectedSize?: number | undefined;
|
|
2263
2637
|
sha256Checksum?: string | undefined;
|
|
2264
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2638
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2265
2639
|
} | undefined;
|
|
2266
2640
|
};
|
|
2267
2641
|
modelName?: string | undefined;
|
|
@@ -2298,20 +2672,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2298
2672
|
engine?: string | undefined;
|
|
2299
2673
|
expectedSize?: number | undefined;
|
|
2300
2674
|
sha256Checksum?: string | undefined;
|
|
2301
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2302
|
-
} | undefined;
|
|
2303
|
-
parakeetEncoderDataSrc?: string | {
|
|
2304
|
-
src: string;
|
|
2305
|
-
name?: string | undefined;
|
|
2306
|
-
modelId?: string | undefined;
|
|
2307
|
-
registryPath?: string | undefined;
|
|
2308
|
-
registrySource?: string | undefined;
|
|
2309
|
-
blobCoreKey?: string | undefined;
|
|
2310
|
-
blobIndex?: number | undefined;
|
|
2311
|
-
engine?: string | undefined;
|
|
2312
|
-
expectedSize?: number | undefined;
|
|
2313
|
-
sha256Checksum?: string | undefined;
|
|
2314
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2675
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2315
2676
|
} | undefined;
|
|
2316
2677
|
parakeetDecoderSrc?: string | {
|
|
2317
2678
|
src: string;
|
|
@@ -2324,7 +2685,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2324
2685
|
engine?: string | undefined;
|
|
2325
2686
|
expectedSize?: number | undefined;
|
|
2326
2687
|
sha256Checksum?: string | undefined;
|
|
2327
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2688
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2328
2689
|
} | undefined;
|
|
2329
2690
|
parakeetVocabSrc?: string | {
|
|
2330
2691
|
src: string;
|
|
@@ -2337,7 +2698,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2337
2698
|
engine?: string | undefined;
|
|
2338
2699
|
expectedSize?: number | undefined;
|
|
2339
2700
|
sha256Checksum?: string | undefined;
|
|
2340
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2701
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2341
2702
|
} | undefined;
|
|
2342
2703
|
parakeetPreprocessorSrc?: string | {
|
|
2343
2704
|
src: string;
|
|
@@ -2350,7 +2711,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2350
2711
|
engine?: string | undefined;
|
|
2351
2712
|
expectedSize?: number | undefined;
|
|
2352
2713
|
sha256Checksum?: string | undefined;
|
|
2353
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2714
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2354
2715
|
} | undefined;
|
|
2355
2716
|
parakeetCtcModelSrc?: string | {
|
|
2356
2717
|
src: string;
|
|
@@ -2363,20 +2724,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2363
2724
|
engine?: string | undefined;
|
|
2364
2725
|
expectedSize?: number | undefined;
|
|
2365
2726
|
sha256Checksum?: string | undefined;
|
|
2366
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2367
|
-
} | undefined;
|
|
2368
|
-
parakeetCtcModelDataSrc?: string | {
|
|
2369
|
-
src: string;
|
|
2370
|
-
name?: string | undefined;
|
|
2371
|
-
modelId?: string | undefined;
|
|
2372
|
-
registryPath?: string | undefined;
|
|
2373
|
-
registrySource?: string | undefined;
|
|
2374
|
-
blobCoreKey?: string | undefined;
|
|
2375
|
-
blobIndex?: number | undefined;
|
|
2376
|
-
engine?: string | undefined;
|
|
2377
|
-
expectedSize?: number | undefined;
|
|
2378
|
-
sha256Checksum?: string | undefined;
|
|
2379
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2727
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2380
2728
|
} | undefined;
|
|
2381
2729
|
parakeetTokenizerSrc?: string | {
|
|
2382
2730
|
src: string;
|
|
@@ -2389,7 +2737,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2389
2737
|
engine?: string | undefined;
|
|
2390
2738
|
expectedSize?: number | undefined;
|
|
2391
2739
|
sha256Checksum?: string | undefined;
|
|
2392
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2740
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2393
2741
|
} | undefined;
|
|
2394
2742
|
parakeetSortformerSrc?: string | {
|
|
2395
2743
|
src: string;
|
|
@@ -2402,7 +2750,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2402
2750
|
engine?: string | undefined;
|
|
2403
2751
|
expectedSize?: number | undefined;
|
|
2404
2752
|
sha256Checksum?: string | undefined;
|
|
2405
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2753
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2406
2754
|
} | undefined;
|
|
2407
2755
|
};
|
|
2408
2756
|
modelName?: string | undefined;
|
|
@@ -2422,7 +2770,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2422
2770
|
modelType: "llamacpp-embedding";
|
|
2423
2771
|
modelConfig: {
|
|
2424
2772
|
gpuLayers?: number | undefined;
|
|
2425
|
-
device?: "
|
|
2773
|
+
device?: "cpu" | "gpu" | undefined;
|
|
2426
2774
|
batchSize?: number | undefined;
|
|
2427
2775
|
pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined;
|
|
2428
2776
|
attention?: "causal" | "non-causal" | undefined;
|
|
@@ -2430,6 +2778,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2430
2778
|
flashAttention?: "on" | "off" | "auto" | undefined;
|
|
2431
2779
|
mainGpu?: number | "integrated" | "dedicated" | undefined;
|
|
2432
2780
|
verbosity?: 0 | 3 | 2 | 1 | undefined;
|
|
2781
|
+
openclCacheDir?: string | undefined;
|
|
2433
2782
|
};
|
|
2434
2783
|
modelName?: string | undefined;
|
|
2435
2784
|
withProgress?: boolean | undefined;
|
|
@@ -2483,7 +2832,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2483
2832
|
engine?: string | undefined;
|
|
2484
2833
|
expectedSize?: number | undefined;
|
|
2485
2834
|
sha256Checksum?: string | undefined;
|
|
2486
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2835
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2487
2836
|
} | undefined;
|
|
2488
2837
|
dstVocabSrc?: string | {
|
|
2489
2838
|
src: string;
|
|
@@ -2496,7 +2845,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2496
2845
|
engine?: string | undefined;
|
|
2497
2846
|
expectedSize?: number | undefined;
|
|
2498
2847
|
sha256Checksum?: string | undefined;
|
|
2499
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2848
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2500
2849
|
} | undefined;
|
|
2501
2850
|
normalize?: number | undefined;
|
|
2502
2851
|
pivotModel?: {
|
|
@@ -2511,7 +2860,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2511
2860
|
engine?: string | undefined;
|
|
2512
2861
|
expectedSize?: number | undefined;
|
|
2513
2862
|
sha256Checksum?: string | undefined;
|
|
2514
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2863
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2515
2864
|
};
|
|
2516
2865
|
mode?: "full" | undefined;
|
|
2517
2866
|
beamsize?: number | undefined;
|
|
@@ -2533,7 +2882,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2533
2882
|
engine?: string | undefined;
|
|
2534
2883
|
expectedSize?: number | undefined;
|
|
2535
2884
|
sha256Checksum?: string | undefined;
|
|
2536
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2885
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2537
2886
|
} | undefined;
|
|
2538
2887
|
dstVocabSrc?: string | {
|
|
2539
2888
|
src: string;
|
|
@@ -2546,7 +2895,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2546
2895
|
engine?: string | undefined;
|
|
2547
2896
|
expectedSize?: number | undefined;
|
|
2548
2897
|
sha256Checksum?: string | undefined;
|
|
2549
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2898
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2550
2899
|
} | undefined;
|
|
2551
2900
|
normalize?: number | undefined;
|
|
2552
2901
|
} | undefined;
|
|
@@ -2593,7 +2942,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2593
2942
|
engine?: string | undefined;
|
|
2594
2943
|
expectedSize?: number | undefined;
|
|
2595
2944
|
sha256Checksum?: string | undefined;
|
|
2596
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2945
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2597
2946
|
};
|
|
2598
2947
|
ttsSpeechEncoderSrc: string | {
|
|
2599
2948
|
src: string;
|
|
@@ -2606,7 +2955,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2606
2955
|
engine?: string | undefined;
|
|
2607
2956
|
expectedSize?: number | undefined;
|
|
2608
2957
|
sha256Checksum?: string | undefined;
|
|
2609
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2958
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2610
2959
|
};
|
|
2611
2960
|
ttsEmbedTokensSrc: string | {
|
|
2612
2961
|
src: string;
|
|
@@ -2619,7 +2968,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2619
2968
|
engine?: string | undefined;
|
|
2620
2969
|
expectedSize?: number | undefined;
|
|
2621
2970
|
sha256Checksum?: string | undefined;
|
|
2622
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2971
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2623
2972
|
};
|
|
2624
2973
|
ttsConditionalDecoderSrc: string | {
|
|
2625
2974
|
src: string;
|
|
@@ -2632,7 +2981,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2632
2981
|
engine?: string | undefined;
|
|
2633
2982
|
expectedSize?: number | undefined;
|
|
2634
2983
|
sha256Checksum?: string | undefined;
|
|
2635
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2984
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2636
2985
|
};
|
|
2637
2986
|
ttsLanguageModelSrc: string | {
|
|
2638
2987
|
src: string;
|
|
@@ -2645,7 +2994,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2645
2994
|
engine?: string | undefined;
|
|
2646
2995
|
expectedSize?: number | undefined;
|
|
2647
2996
|
sha256Checksum?: string | undefined;
|
|
2648
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2997
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2649
2998
|
};
|
|
2650
2999
|
referenceAudioSrc: string | {
|
|
2651
3000
|
src: string;
|
|
@@ -2658,12 +3007,12 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2658
3007
|
engine?: string | undefined;
|
|
2659
3008
|
expectedSize?: number | undefined;
|
|
2660
3009
|
sha256Checksum?: string | undefined;
|
|
2661
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
3010
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2662
3011
|
};
|
|
2663
3012
|
} | {
|
|
2664
3013
|
ttsEngine: "supertonic";
|
|
2665
3014
|
language: "en" | "de" | "es" | "it";
|
|
2666
|
-
|
|
3015
|
+
ttsTextEncoderSrc: string | {
|
|
2667
3016
|
src: string;
|
|
2668
3017
|
name?: string | undefined;
|
|
2669
3018
|
modelId?: string | undefined;
|
|
@@ -2674,9 +3023,35 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2674
3023
|
engine?: string | undefined;
|
|
2675
3024
|
expectedSize?: number | undefined;
|
|
2676
3025
|
sha256Checksum?: string | undefined;
|
|
2677
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
3026
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2678
3027
|
};
|
|
2679
|
-
|
|
3028
|
+
ttsDurationPredictorSrc: string | {
|
|
3029
|
+
src: string;
|
|
3030
|
+
name?: string | undefined;
|
|
3031
|
+
modelId?: string | undefined;
|
|
3032
|
+
registryPath?: string | undefined;
|
|
3033
|
+
registrySource?: string | undefined;
|
|
3034
|
+
blobCoreKey?: string | undefined;
|
|
3035
|
+
blobIndex?: number | undefined;
|
|
3036
|
+
engine?: string | undefined;
|
|
3037
|
+
expectedSize?: number | undefined;
|
|
3038
|
+
sha256Checksum?: string | undefined;
|
|
3039
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
3040
|
+
};
|
|
3041
|
+
ttsVectorEstimatorSrc: string | {
|
|
3042
|
+
src: string;
|
|
3043
|
+
name?: string | undefined;
|
|
3044
|
+
modelId?: string | undefined;
|
|
3045
|
+
registryPath?: string | undefined;
|
|
3046
|
+
registrySource?: string | undefined;
|
|
3047
|
+
blobCoreKey?: string | undefined;
|
|
3048
|
+
blobIndex?: number | undefined;
|
|
3049
|
+
engine?: string | undefined;
|
|
3050
|
+
expectedSize?: number | undefined;
|
|
3051
|
+
sha256Checksum?: string | undefined;
|
|
3052
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
3053
|
+
};
|
|
3054
|
+
ttsVocoderSrc: string | {
|
|
2680
3055
|
src: string;
|
|
2681
3056
|
name?: string | undefined;
|
|
2682
3057
|
modelId?: string | undefined;
|
|
@@ -2687,9 +3062,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2687
3062
|
engine?: string | undefined;
|
|
2688
3063
|
expectedSize?: number | undefined;
|
|
2689
3064
|
sha256Checksum?: string | undefined;
|
|
2690
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
3065
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2691
3066
|
};
|
|
2692
|
-
|
|
3067
|
+
ttsUnicodeIndexerSrc: string | {
|
|
2693
3068
|
src: string;
|
|
2694
3069
|
name?: string | undefined;
|
|
2695
3070
|
modelId?: string | undefined;
|
|
@@ -2700,9 +3075,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2700
3075
|
engine?: string | undefined;
|
|
2701
3076
|
expectedSize?: number | undefined;
|
|
2702
3077
|
sha256Checksum?: string | undefined;
|
|
2703
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
3078
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2704
3079
|
};
|
|
2705
|
-
|
|
3080
|
+
ttsTtsConfigSrc: string | {
|
|
2706
3081
|
src: string;
|
|
2707
3082
|
name?: string | undefined;
|
|
2708
3083
|
modelId?: string | undefined;
|
|
@@ -2713,9 +3088,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2713
3088
|
engine?: string | undefined;
|
|
2714
3089
|
expectedSize?: number | undefined;
|
|
2715
3090
|
sha256Checksum?: string | undefined;
|
|
2716
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
3091
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2717
3092
|
};
|
|
2718
|
-
|
|
3093
|
+
ttsVoiceStyleSrc: string | {
|
|
2719
3094
|
src: string;
|
|
2720
3095
|
name?: string | undefined;
|
|
2721
3096
|
modelId?: string | undefined;
|
|
@@ -2726,10 +3101,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2726
3101
|
engine?: string | undefined;
|
|
2727
3102
|
expectedSize?: number | undefined;
|
|
2728
3103
|
sha256Checksum?: string | undefined;
|
|
2729
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
3104
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2730
3105
|
};
|
|
2731
3106
|
ttsSpeed?: number | undefined;
|
|
2732
3107
|
ttsNumInferenceSteps?: number | undefined;
|
|
3108
|
+
ttsSupertonicMultilingual?: boolean | undefined;
|
|
2733
3109
|
};
|
|
2734
3110
|
modelName?: string | undefined;
|
|
2735
3111
|
withProgress?: boolean | undefined;
|
|
@@ -2769,7 +3145,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2769
3145
|
engine?: string | undefined;
|
|
2770
3146
|
expectedSize?: number | undefined;
|
|
2771
3147
|
sha256Checksum?: string | undefined;
|
|
2772
|
-
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
3148
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
2773
3149
|
} | undefined;
|
|
2774
3150
|
};
|
|
2775
3151
|
modelName?: string | undefined;
|
|
@@ -2783,6 +3159,99 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2783
3159
|
timeout?: number | undefined;
|
|
2784
3160
|
healthCheckTimeout?: number | undefined;
|
|
2785
3161
|
} | undefined;
|
|
3162
|
+
} | {
|
|
3163
|
+
type: "loadModel";
|
|
3164
|
+
modelSrc: string;
|
|
3165
|
+
modelType: "sdcpp-generation";
|
|
3166
|
+
modelName?: string | undefined;
|
|
3167
|
+
withProgress?: boolean | undefined;
|
|
3168
|
+
seed?: boolean | undefined;
|
|
3169
|
+
delegate?: {
|
|
3170
|
+
topic: string;
|
|
3171
|
+
providerPublicKey: string;
|
|
3172
|
+
fallbackToLocal: boolean;
|
|
3173
|
+
forceNewConnection: boolean;
|
|
3174
|
+
timeout?: number | undefined;
|
|
3175
|
+
healthCheckTimeout?: number | undefined;
|
|
3176
|
+
} | undefined;
|
|
3177
|
+
modelConfig?: {
|
|
3178
|
+
threads?: number | undefined;
|
|
3179
|
+
device?: "cpu" | "gpu" | undefined;
|
|
3180
|
+
prediction?: "auto" | "eps" | "v" | "edm_v" | "flow" | "flux_flow" | "flux2_flow" | undefined;
|
|
3181
|
+
type?: "auto" | "f32" | "f16" | "bf16" | "q2_k" | "q3_k" | "q4_0" | "q4_1" | "q4_k" | "q5_0" | "q5_1" | "q5_k" | "q6_k" | "q8_0" | undefined;
|
|
3182
|
+
rng?: "cpu" | "cuda" | "std_default" | undefined;
|
|
3183
|
+
sampler_rng?: "cpu" | "cuda" | "std_default" | undefined;
|
|
3184
|
+
clip_on_cpu?: boolean | undefined;
|
|
3185
|
+
vae_on_cpu?: boolean | undefined;
|
|
3186
|
+
vae_tiling?: boolean | undefined;
|
|
3187
|
+
flash_attn?: boolean | undefined;
|
|
3188
|
+
verbosity?: number | undefined;
|
|
3189
|
+
clipLModelSrc?: string | {
|
|
3190
|
+
src: string;
|
|
3191
|
+
name?: string | undefined;
|
|
3192
|
+
modelId?: string | undefined;
|
|
3193
|
+
registryPath?: string | undefined;
|
|
3194
|
+
registrySource?: string | undefined;
|
|
3195
|
+
blobCoreKey?: string | undefined;
|
|
3196
|
+
blobIndex?: number | undefined;
|
|
3197
|
+
engine?: string | undefined;
|
|
3198
|
+
expectedSize?: number | undefined;
|
|
3199
|
+
sha256Checksum?: string | undefined;
|
|
3200
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
3201
|
+
} | undefined;
|
|
3202
|
+
clipGModelSrc?: string | {
|
|
3203
|
+
src: string;
|
|
3204
|
+
name?: string | undefined;
|
|
3205
|
+
modelId?: string | undefined;
|
|
3206
|
+
registryPath?: string | undefined;
|
|
3207
|
+
registrySource?: string | undefined;
|
|
3208
|
+
blobCoreKey?: string | undefined;
|
|
3209
|
+
blobIndex?: number | undefined;
|
|
3210
|
+
engine?: string | undefined;
|
|
3211
|
+
expectedSize?: number | undefined;
|
|
3212
|
+
sha256Checksum?: string | undefined;
|
|
3213
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
3214
|
+
} | undefined;
|
|
3215
|
+
t5XxlModelSrc?: string | {
|
|
3216
|
+
src: string;
|
|
3217
|
+
name?: string | undefined;
|
|
3218
|
+
modelId?: string | undefined;
|
|
3219
|
+
registryPath?: string | undefined;
|
|
3220
|
+
registrySource?: string | undefined;
|
|
3221
|
+
blobCoreKey?: string | undefined;
|
|
3222
|
+
blobIndex?: number | undefined;
|
|
3223
|
+
engine?: string | undefined;
|
|
3224
|
+
expectedSize?: number | undefined;
|
|
3225
|
+
sha256Checksum?: string | undefined;
|
|
3226
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
3227
|
+
} | undefined;
|
|
3228
|
+
llmModelSrc?: string | {
|
|
3229
|
+
src: string;
|
|
3230
|
+
name?: string | undefined;
|
|
3231
|
+
modelId?: string | undefined;
|
|
3232
|
+
registryPath?: string | undefined;
|
|
3233
|
+
registrySource?: string | undefined;
|
|
3234
|
+
blobCoreKey?: string | undefined;
|
|
3235
|
+
blobIndex?: number | undefined;
|
|
3236
|
+
engine?: string | undefined;
|
|
3237
|
+
expectedSize?: number | undefined;
|
|
3238
|
+
sha256Checksum?: string | undefined;
|
|
3239
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
3240
|
+
} | undefined;
|
|
3241
|
+
vaeModelSrc?: string | {
|
|
3242
|
+
src: string;
|
|
3243
|
+
name?: string | undefined;
|
|
3244
|
+
modelId?: string | undefined;
|
|
3245
|
+
registryPath?: string | undefined;
|
|
3246
|
+
registrySource?: string | undefined;
|
|
3247
|
+
blobCoreKey?: string | undefined;
|
|
3248
|
+
blobIndex?: number | undefined;
|
|
3249
|
+
engine?: string | undefined;
|
|
3250
|
+
expectedSize?: number | undefined;
|
|
3251
|
+
sha256Checksum?: string | undefined;
|
|
3252
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
|
|
3253
|
+
} | undefined;
|
|
3254
|
+
} | undefined;
|
|
2786
3255
|
} | {
|
|
2787
3256
|
type: "loadModel";
|
|
2788
3257
|
modelSrc: string;
|
|
@@ -2889,6 +3358,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2889
3358
|
"onnx-tts": "onnx-tts";
|
|
2890
3359
|
"parakeet-transcription": "parakeet-transcription";
|
|
2891
3360
|
"onnx-ocr": "onnx-ocr";
|
|
3361
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
2892
3362
|
llm: "llm";
|
|
2893
3363
|
whisper: "whisper";
|
|
2894
3364
|
embeddings: "embeddings";
|
|
@@ -2896,6 +3366,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2896
3366
|
parakeet: "parakeet";
|
|
2897
3367
|
tts: "tts";
|
|
2898
3368
|
ocr: "ocr";
|
|
3369
|
+
diffusion: "diffusion";
|
|
2899
3370
|
}>, z.ZodLiteral<"vad">]>>;
|
|
2900
3371
|
}, z.core.$strip>]>>>;
|
|
2901
3372
|
}, z.core.$strip>;
|
|
@@ -2963,6 +3434,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2963
3434
|
type: z.ZodLiteral<"unloadModel">;
|
|
2964
3435
|
}, z.core.$strip>, z.ZodObject<{
|
|
2965
3436
|
modelId: z.ZodString;
|
|
3437
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2966
3438
|
audioChunk: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2967
3439
|
type: z.ZodLiteral<"base64">;
|
|
2968
3440
|
value: z.ZodString;
|
|
@@ -2970,6 +3442,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2970
3442
|
type: z.ZodLiteral<"filePath">;
|
|
2971
3443
|
value: z.ZodString;
|
|
2972
3444
|
}, z.core.$strip>], "type">;
|
|
3445
|
+
type: z.ZodLiteral<"transcribe">;
|
|
3446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3447
|
+
modelId: z.ZodString;
|
|
2973
3448
|
prompt: z.ZodOptional<z.ZodString>;
|
|
2974
3449
|
type: z.ZodLiteral<"transcribeStream">;
|
|
2975
3450
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3153,6 +3628,176 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3153
3628
|
}, z.core.$strip>>;
|
|
3154
3629
|
type: z.ZodLiteral<"ocrStream">;
|
|
3155
3630
|
}, z.core.$strip>, z.ZodObject<{
|
|
3631
|
+
modelId: z.ZodString;
|
|
3632
|
+
prompt: z.ZodString;
|
|
3633
|
+
negative_prompt: z.ZodOptional<z.ZodString>;
|
|
3634
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3635
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3636
|
+
steps: z.ZodOptional<z.ZodNumber>;
|
|
3637
|
+
cfg_scale: z.ZodOptional<z.ZodNumber>;
|
|
3638
|
+
guidance: z.ZodOptional<z.ZodNumber>;
|
|
3639
|
+
sampling_method: z.ZodOptional<z.ZodEnum<{
|
|
3640
|
+
euler: "euler";
|
|
3641
|
+
euler_a: "euler_a";
|
|
3642
|
+
heun: "heun";
|
|
3643
|
+
dpm2: "dpm2";
|
|
3644
|
+
"dpm++2m": "dpm++2m";
|
|
3645
|
+
"dpm++2mv2": "dpm++2mv2";
|
|
3646
|
+
"dpm++2s_a": "dpm++2s_a";
|
|
3647
|
+
lcm: "lcm";
|
|
3648
|
+
ipndm: "ipndm";
|
|
3649
|
+
ipndm_v: "ipndm_v";
|
|
3650
|
+
ddim_trailing: "ddim_trailing";
|
|
3651
|
+
tcd: "tcd";
|
|
3652
|
+
res_multistep: "res_multistep";
|
|
3653
|
+
res_2s: "res_2s";
|
|
3654
|
+
}>>;
|
|
3655
|
+
scheduler: z.ZodOptional<z.ZodEnum<{
|
|
3656
|
+
lcm: "lcm";
|
|
3657
|
+
discrete: "discrete";
|
|
3658
|
+
karras: "karras";
|
|
3659
|
+
exponential: "exponential";
|
|
3660
|
+
ays: "ays";
|
|
3661
|
+
gits: "gits";
|
|
3662
|
+
sgm_uniform: "sgm_uniform";
|
|
3663
|
+
simple: "simple";
|
|
3664
|
+
smoothstep: "smoothstep";
|
|
3665
|
+
kl_optimal: "kl_optimal";
|
|
3666
|
+
bong_tangent: "bong_tangent";
|
|
3667
|
+
}>>;
|
|
3668
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
3669
|
+
batch_count: z.ZodOptional<z.ZodNumber>;
|
|
3670
|
+
vae_tiling: z.ZodOptional<z.ZodBoolean>;
|
|
3671
|
+
cache_preset: z.ZodOptional<z.ZodString>;
|
|
3672
|
+
type: z.ZodLiteral<"diffusionStream">;
|
|
3673
|
+
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
3674
|
+
modelId: z.ZodString;
|
|
3675
|
+
options: z.ZodObject<{
|
|
3676
|
+
trainDatasetDir: z.ZodString;
|
|
3677
|
+
validation: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3678
|
+
type: z.ZodLiteral<"none">;
|
|
3679
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3680
|
+
type: z.ZodLiteral<"split">;
|
|
3681
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
3682
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3683
|
+
type: z.ZodLiteral<"dataset">;
|
|
3684
|
+
path: z.ZodString;
|
|
3685
|
+
}, z.core.$strict>], "type">, z.ZodTransform<{
|
|
3686
|
+
type: "none";
|
|
3687
|
+
} | {
|
|
3688
|
+
type: "dataset";
|
|
3689
|
+
path: string;
|
|
3690
|
+
} | {
|
|
3691
|
+
fraction: number;
|
|
3692
|
+
type: "split";
|
|
3693
|
+
}, {
|
|
3694
|
+
type: "none";
|
|
3695
|
+
} | {
|
|
3696
|
+
type: "split";
|
|
3697
|
+
fraction?: number | undefined;
|
|
3698
|
+
} | {
|
|
3699
|
+
type: "dataset";
|
|
3700
|
+
path: string;
|
|
3701
|
+
}>>;
|
|
3702
|
+
outputParametersDir: z.ZodString;
|
|
3703
|
+
numberOfEpochs: z.ZodOptional<z.ZodNumber>;
|
|
3704
|
+
learningRate: z.ZodOptional<z.ZodNumber>;
|
|
3705
|
+
contextLength: z.ZodOptional<z.ZodNumber>;
|
|
3706
|
+
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
3707
|
+
microBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3708
|
+
assistantLossOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3709
|
+
loraRank: z.ZodOptional<z.ZodNumber>;
|
|
3710
|
+
loraAlpha: z.ZodOptional<z.ZodNumber>;
|
|
3711
|
+
loraInitStd: z.ZodOptional<z.ZodNumber>;
|
|
3712
|
+
loraSeed: z.ZodOptional<z.ZodNumber>;
|
|
3713
|
+
loraModules: z.ZodOptional<z.ZodString>;
|
|
3714
|
+
checkpointSaveDir: z.ZodOptional<z.ZodString>;
|
|
3715
|
+
checkpointSaveSteps: z.ZodOptional<z.ZodNumber>;
|
|
3716
|
+
chatTemplatePath: z.ZodOptional<z.ZodString>;
|
|
3717
|
+
lrScheduler: z.ZodOptional<z.ZodEnum<{
|
|
3718
|
+
constant: "constant";
|
|
3719
|
+
cosine: "cosine";
|
|
3720
|
+
linear: "linear";
|
|
3721
|
+
}>>;
|
|
3722
|
+
lrMin: z.ZodOptional<z.ZodNumber>;
|
|
3723
|
+
warmupRatio: z.ZodOptional<z.ZodNumber>;
|
|
3724
|
+
warmupRatioSet: z.ZodOptional<z.ZodBoolean>;
|
|
3725
|
+
warmupSteps: z.ZodOptional<z.ZodNumber>;
|
|
3726
|
+
warmupStepsSet: z.ZodOptional<z.ZodBoolean>;
|
|
3727
|
+
weightDecay: z.ZodOptional<z.ZodNumber>;
|
|
3728
|
+
}, z.core.$strict>;
|
|
3729
|
+
type: z.ZodLiteral<"finetune">;
|
|
3730
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
3731
|
+
start: "start";
|
|
3732
|
+
resume: "resume";
|
|
3733
|
+
}>>;
|
|
3734
|
+
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
3735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3736
|
+
modelId: z.ZodString;
|
|
3737
|
+
options: z.ZodObject<{
|
|
3738
|
+
trainDatasetDir: z.ZodString;
|
|
3739
|
+
validation: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3740
|
+
type: z.ZodLiteral<"none">;
|
|
3741
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3742
|
+
type: z.ZodLiteral<"split">;
|
|
3743
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
3744
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3745
|
+
type: z.ZodLiteral<"dataset">;
|
|
3746
|
+
path: z.ZodString;
|
|
3747
|
+
}, z.core.$strict>], "type">, z.ZodTransform<{
|
|
3748
|
+
type: "none";
|
|
3749
|
+
} | {
|
|
3750
|
+
type: "dataset";
|
|
3751
|
+
path: string;
|
|
3752
|
+
} | {
|
|
3753
|
+
fraction: number;
|
|
3754
|
+
type: "split";
|
|
3755
|
+
}, {
|
|
3756
|
+
type: "none";
|
|
3757
|
+
} | {
|
|
3758
|
+
type: "split";
|
|
3759
|
+
fraction?: number | undefined;
|
|
3760
|
+
} | {
|
|
3761
|
+
type: "dataset";
|
|
3762
|
+
path: string;
|
|
3763
|
+
}>>;
|
|
3764
|
+
outputParametersDir: z.ZodString;
|
|
3765
|
+
numberOfEpochs: z.ZodOptional<z.ZodNumber>;
|
|
3766
|
+
learningRate: z.ZodOptional<z.ZodNumber>;
|
|
3767
|
+
contextLength: z.ZodOptional<z.ZodNumber>;
|
|
3768
|
+
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
3769
|
+
microBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3770
|
+
assistantLossOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3771
|
+
loraRank: z.ZodOptional<z.ZodNumber>;
|
|
3772
|
+
loraAlpha: z.ZodOptional<z.ZodNumber>;
|
|
3773
|
+
loraInitStd: z.ZodOptional<z.ZodNumber>;
|
|
3774
|
+
loraSeed: z.ZodOptional<z.ZodNumber>;
|
|
3775
|
+
loraModules: z.ZodOptional<z.ZodString>;
|
|
3776
|
+
checkpointSaveDir: z.ZodOptional<z.ZodString>;
|
|
3777
|
+
checkpointSaveSteps: z.ZodOptional<z.ZodNumber>;
|
|
3778
|
+
chatTemplatePath: z.ZodOptional<z.ZodString>;
|
|
3779
|
+
lrScheduler: z.ZodOptional<z.ZodEnum<{
|
|
3780
|
+
constant: "constant";
|
|
3781
|
+
cosine: "cosine";
|
|
3782
|
+
linear: "linear";
|
|
3783
|
+
}>>;
|
|
3784
|
+
lrMin: z.ZodOptional<z.ZodNumber>;
|
|
3785
|
+
warmupRatio: z.ZodOptional<z.ZodNumber>;
|
|
3786
|
+
warmupRatioSet: z.ZodOptional<z.ZodBoolean>;
|
|
3787
|
+
warmupSteps: z.ZodOptional<z.ZodNumber>;
|
|
3788
|
+
warmupStepsSet: z.ZodOptional<z.ZodBoolean>;
|
|
3789
|
+
weightDecay: z.ZodOptional<z.ZodNumber>;
|
|
3790
|
+
}, z.core.$strict>;
|
|
3791
|
+
type: z.ZodLiteral<"finetune">;
|
|
3792
|
+
operation: z.ZodLiteral<"getState">;
|
|
3793
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3794
|
+
modelId: z.ZodString;
|
|
3795
|
+
type: z.ZodLiteral<"finetune">;
|
|
3796
|
+
operation: z.ZodEnum<{
|
|
3797
|
+
cancel: "cancel";
|
|
3798
|
+
pause: "pause";
|
|
3799
|
+
}>;
|
|
3800
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
3156
3801
|
type: z.ZodLiteral<"pluginInvoke">;
|
|
3157
3802
|
modelId: z.ZodString;
|
|
3158
3803
|
handler: z.ZodString;
|
|
@@ -3177,6 +3822,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3177
3822
|
parakeet: "parakeet";
|
|
3178
3823
|
tts: "tts";
|
|
3179
3824
|
ocr: "ocr";
|
|
3825
|
+
diffusion: "diffusion";
|
|
3180
3826
|
vad: "vad";
|
|
3181
3827
|
other: "other";
|
|
3182
3828
|
}>>;
|
|
@@ -3184,6 +3830,10 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3184
3830
|
type: z.ZodLiteral<"modelRegistryGetModel">;
|
|
3185
3831
|
registryPath: z.ZodString;
|
|
3186
3832
|
registrySource: z.ZodString;
|
|
3833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3834
|
+
type: z.ZodLiteral<"suspend">;
|
|
3835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3836
|
+
type: z.ZodLiteral<"resume">;
|
|
3187
3837
|
}, z.core.$strip>]>;
|
|
3188
3838
|
export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3189
3839
|
type: z.ZodLiteral<"heartbeat">;
|
|
@@ -3203,9 +3853,13 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3203
3853
|
token: z.ZodString;
|
|
3204
3854
|
done: z.ZodOptional<z.ZodBoolean>;
|
|
3205
3855
|
stats: z.ZodOptional<z.ZodObject<{
|
|
3206
|
-
timeToFirstToken: z.ZodNumber
|
|
3207
|
-
tokensPerSecond: z.ZodNumber
|
|
3208
|
-
cacheTokens: z.ZodNumber
|
|
3856
|
+
timeToFirstToken: z.ZodOptional<z.ZodNumber>;
|
|
3857
|
+
tokensPerSecond: z.ZodOptional<z.ZodNumber>;
|
|
3858
|
+
cacheTokens: z.ZodOptional<z.ZodNumber>;
|
|
3859
|
+
backendDevice: z.ZodOptional<z.ZodEnum<{
|
|
3860
|
+
cpu: "cpu";
|
|
3861
|
+
gpu: "gpu";
|
|
3862
|
+
}>>;
|
|
3209
3863
|
}, z.core.$strip>>;
|
|
3210
3864
|
toolCallEvent: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3211
3865
|
type: z.ZodLiteral<"toolCall">;
|
|
@@ -3263,10 +3917,39 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3263
3917
|
overallPercentage: z.ZodNumber;
|
|
3264
3918
|
}, z.core.$strip>>;
|
|
3265
3919
|
}, z.core.$strip>, z.ZodObject<{
|
|
3266
|
-
type: z.ZodLiteral<"transcribeStream">;
|
|
3267
3920
|
text: z.ZodOptional<z.ZodString>;
|
|
3268
3921
|
done: z.ZodOptional<z.ZodBoolean>;
|
|
3922
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
3923
|
+
audioDuration: z.ZodOptional<z.ZodNumber>;
|
|
3924
|
+
realTimeFactor: z.ZodOptional<z.ZodNumber>;
|
|
3925
|
+
tokensPerSecond: z.ZodOptional<z.ZodNumber>;
|
|
3926
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3927
|
+
totalSegments: z.ZodOptional<z.ZodNumber>;
|
|
3928
|
+
whisperEncodeTime: z.ZodOptional<z.ZodNumber>;
|
|
3929
|
+
whisperDecodeTime: z.ZodOptional<z.ZodNumber>;
|
|
3930
|
+
encoderTime: z.ZodOptional<z.ZodNumber>;
|
|
3931
|
+
decoderTime: z.ZodOptional<z.ZodNumber>;
|
|
3932
|
+
melSpecTime: z.ZodOptional<z.ZodNumber>;
|
|
3933
|
+
}, z.core.$strip>>;
|
|
3934
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3935
|
+
type: z.ZodLiteral<"transcribe">;
|
|
3936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3937
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3938
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
3939
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
3940
|
+
audioDuration: z.ZodOptional<z.ZodNumber>;
|
|
3941
|
+
realTimeFactor: z.ZodOptional<z.ZodNumber>;
|
|
3942
|
+
tokensPerSecond: z.ZodOptional<z.ZodNumber>;
|
|
3943
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3944
|
+
totalSegments: z.ZodOptional<z.ZodNumber>;
|
|
3945
|
+
whisperEncodeTime: z.ZodOptional<z.ZodNumber>;
|
|
3946
|
+
whisperDecodeTime: z.ZodOptional<z.ZodNumber>;
|
|
3947
|
+
encoderTime: z.ZodOptional<z.ZodNumber>;
|
|
3948
|
+
decoderTime: z.ZodOptional<z.ZodNumber>;
|
|
3949
|
+
melSpecTime: z.ZodOptional<z.ZodNumber>;
|
|
3950
|
+
}, z.core.$strip>>;
|
|
3269
3951
|
error: z.ZodOptional<z.ZodString>;
|
|
3952
|
+
type: z.ZodLiteral<"transcribeStream">;
|
|
3270
3953
|
}, z.core.$strip>, z.ZodObject<{
|
|
3271
3954
|
type: z.ZodLiteral<"loggingStream">;
|
|
3272
3955
|
id: z.ZodString;
|
|
@@ -3284,20 +3967,38 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3284
3967
|
type: z.ZodLiteral<"embed">;
|
|
3285
3968
|
success: z.ZodBoolean;
|
|
3286
3969
|
embedding: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodArray<z.ZodNumber>>]>>;
|
|
3970
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
3971
|
+
totalTime: z.ZodOptional<z.ZodNumber>;
|
|
3972
|
+
tokensPerSecond: z.ZodOptional<z.ZodNumber>;
|
|
3973
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3974
|
+
backendDevice: z.ZodOptional<z.ZodEnum<{
|
|
3975
|
+
cpu: "cpu";
|
|
3976
|
+
gpu: "gpu";
|
|
3977
|
+
}>>;
|
|
3978
|
+
}, z.core.$strip>>;
|
|
3287
3979
|
error: z.ZodOptional<z.ZodString>;
|
|
3288
3980
|
}, z.core.$strip>, z.ZodObject<{
|
|
3289
3981
|
type: z.ZodLiteral<"translate">;
|
|
3290
3982
|
token: z.ZodString;
|
|
3291
3983
|
done: z.ZodOptional<z.ZodBoolean>;
|
|
3292
3984
|
stats: z.ZodOptional<z.ZodObject<{
|
|
3293
|
-
|
|
3294
|
-
|
|
3985
|
+
totalTime: z.ZodOptional<z.ZodNumber>;
|
|
3986
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3987
|
+
tokensPerSecond: z.ZodOptional<z.ZodNumber>;
|
|
3988
|
+
timeToFirstToken: z.ZodOptional<z.ZodNumber>;
|
|
3989
|
+
decodeTime: z.ZodOptional<z.ZodNumber>;
|
|
3990
|
+
encodeTime: z.ZodOptional<z.ZodNumber>;
|
|
3991
|
+
cacheTokens: z.ZodOptional<z.ZodNumber>;
|
|
3295
3992
|
}, z.core.$strip>>;
|
|
3296
3993
|
error: z.ZodOptional<z.ZodString>;
|
|
3297
3994
|
}, z.core.$strip>, z.ZodObject<{
|
|
3298
3995
|
type: z.ZodLiteral<"textToSpeech">;
|
|
3299
3996
|
buffer: z.ZodArray<z.ZodNumber>;
|
|
3300
3997
|
done: z.ZodDefault<z.ZodBoolean>;
|
|
3998
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
3999
|
+
audioDuration: z.ZodOptional<z.ZodNumber>;
|
|
4000
|
+
totalSamples: z.ZodOptional<z.ZodNumber>;
|
|
4001
|
+
}, z.core.$strip>>;
|
|
3301
4002
|
}, z.core.$strip>, z.ZodObject<{
|
|
3302
4003
|
type: z.ZodLiteral<"cancel">;
|
|
3303
4004
|
success: z.ZodBoolean;
|
|
@@ -3438,6 +4139,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3438
4139
|
parakeet: "parakeet";
|
|
3439
4140
|
tts: "tts";
|
|
3440
4141
|
ocr: "ocr";
|
|
4142
|
+
diffusion: "diffusion";
|
|
3441
4143
|
vad: "vad";
|
|
3442
4144
|
other: "other";
|
|
3443
4145
|
}>;
|
|
@@ -3475,6 +4177,63 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3475
4177
|
totalTime: z.ZodOptional<z.ZodNumber>;
|
|
3476
4178
|
}, z.core.$strip>>;
|
|
3477
4179
|
}, z.core.$strip>, z.ZodObject<{
|
|
4180
|
+
type: z.ZodLiteral<"diffusionStream">;
|
|
4181
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
4182
|
+
totalSteps: z.ZodOptional<z.ZodNumber>;
|
|
4183
|
+
elapsedMs: z.ZodOptional<z.ZodNumber>;
|
|
4184
|
+
data: z.ZodOptional<z.ZodString>;
|
|
4185
|
+
outputIndex: z.ZodOptional<z.ZodNumber>;
|
|
4186
|
+
done: z.ZodOptional<z.ZodBoolean>;
|
|
4187
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
4188
|
+
modelLoadMs: z.ZodOptional<z.ZodNumber>;
|
|
4189
|
+
generationMs: z.ZodOptional<z.ZodNumber>;
|
|
4190
|
+
totalGenerationMs: z.ZodOptional<z.ZodNumber>;
|
|
4191
|
+
totalWallMs: z.ZodOptional<z.ZodNumber>;
|
|
4192
|
+
totalSteps: z.ZodOptional<z.ZodNumber>;
|
|
4193
|
+
totalGenerations: z.ZodOptional<z.ZodNumber>;
|
|
4194
|
+
totalImages: z.ZodOptional<z.ZodNumber>;
|
|
4195
|
+
totalPixels: z.ZodOptional<z.ZodNumber>;
|
|
4196
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4197
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4198
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
4199
|
+
}, z.core.$strip>>;
|
|
4200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4201
|
+
type: z.ZodLiteral<"finetune">;
|
|
4202
|
+
status: z.ZodEnum<{
|
|
4203
|
+
IDLE: "IDLE";
|
|
4204
|
+
RUNNING: "RUNNING";
|
|
4205
|
+
PAUSED: "PAUSED";
|
|
4206
|
+
CANCELLED: "CANCELLED";
|
|
4207
|
+
COMPLETED: "COMPLETED";
|
|
4208
|
+
}>;
|
|
4209
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
4210
|
+
train_loss: z.ZodOptional<z.ZodNumber>;
|
|
4211
|
+
train_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4212
|
+
val_loss: z.ZodOptional<z.ZodNumber>;
|
|
4213
|
+
val_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4214
|
+
train_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
4215
|
+
train_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4216
|
+
val_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
4217
|
+
val_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4218
|
+
learning_rate: z.ZodOptional<z.ZodNumber>;
|
|
4219
|
+
global_steps: z.ZodNumber;
|
|
4220
|
+
epochs_completed: z.ZodNumber;
|
|
4221
|
+
}, z.core.$strict>>;
|
|
4222
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4223
|
+
is_train: z.ZodBoolean;
|
|
4224
|
+
loss: z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4225
|
+
loss_uncertainty: z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4226
|
+
accuracy: z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4227
|
+
accuracy_uncertainty: z.ZodNullable<z.ZodXor<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4228
|
+
global_steps: z.ZodNumber;
|
|
4229
|
+
current_epoch: z.ZodNumber;
|
|
4230
|
+
current_batch: z.ZodNumber;
|
|
4231
|
+
total_batches: z.ZodNumber;
|
|
4232
|
+
elapsed_ms: z.ZodNumber;
|
|
4233
|
+
eta_ms: z.ZodNumber;
|
|
4234
|
+
type: z.ZodLiteral<"finetune:progress">;
|
|
4235
|
+
modelId: z.ZodString;
|
|
4236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3478
4237
|
type: z.ZodLiteral<"pluginInvoke">;
|
|
3479
4238
|
result: z.ZodUnknown;
|
|
3480
4239
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3501,6 +4260,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3501
4260
|
parakeet: "parakeet";
|
|
3502
4261
|
tts: "tts";
|
|
3503
4262
|
ocr: "ocr";
|
|
4263
|
+
diffusion: "diffusion";
|
|
3504
4264
|
vad: "vad";
|
|
3505
4265
|
other: "other";
|
|
3506
4266
|
}>;
|
|
@@ -3514,6 +4274,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3514
4274
|
"onnx-tts": "onnx-tts";
|
|
3515
4275
|
"parakeet-transcription": "parakeet-transcription";
|
|
3516
4276
|
"onnx-ocr": "onnx-ocr";
|
|
4277
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
3517
4278
|
"onnx-vad": "onnx-vad";
|
|
3518
4279
|
}>;
|
|
3519
4280
|
quantization: z.ZodString;
|
|
@@ -3540,6 +4301,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3540
4301
|
parakeet: "parakeet";
|
|
3541
4302
|
tts: "tts";
|
|
3542
4303
|
ocr: "ocr";
|
|
4304
|
+
diffusion: "diffusion";
|
|
3543
4305
|
vad: "vad";
|
|
3544
4306
|
other: "other";
|
|
3545
4307
|
}>;
|
|
@@ -3553,6 +4315,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3553
4315
|
"onnx-tts": "onnx-tts";
|
|
3554
4316
|
"parakeet-transcription": "parakeet-transcription";
|
|
3555
4317
|
"onnx-ocr": "onnx-ocr";
|
|
4318
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
3556
4319
|
"onnx-vad": "onnx-vad";
|
|
3557
4320
|
}>;
|
|
3558
4321
|
quantization: z.ZodString;
|
|
@@ -3579,6 +4342,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3579
4342
|
parakeet: "parakeet";
|
|
3580
4343
|
tts: "tts";
|
|
3581
4344
|
ocr: "ocr";
|
|
4345
|
+
diffusion: "diffusion";
|
|
3582
4346
|
vad: "vad";
|
|
3583
4347
|
other: "other";
|
|
3584
4348
|
}>;
|
|
@@ -3592,12 +4356,17 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3592
4356
|
"onnx-tts": "onnx-tts";
|
|
3593
4357
|
"parakeet-transcription": "parakeet-transcription";
|
|
3594
4358
|
"onnx-ocr": "onnx-ocr";
|
|
4359
|
+
"sdcpp-generation": "sdcpp-generation";
|
|
3595
4360
|
"onnx-vad": "onnx-vad";
|
|
3596
4361
|
}>;
|
|
3597
4362
|
quantization: z.ZodString;
|
|
3598
4363
|
params: z.ZodString;
|
|
3599
4364
|
}, z.core.$strip>>;
|
|
3600
4365
|
error: z.ZodOptional<z.ZodString>;
|
|
4366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4367
|
+
type: z.ZodLiteral<"suspend">;
|
|
4368
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4369
|
+
type: z.ZodLiteral<"resume">;
|
|
3601
4370
|
}, z.core.$strip>], "type">;
|
|
3602
4371
|
export declare const rpcOptionsSchema: z.ZodObject<{
|
|
3603
4372
|
timeout: z.ZodOptional<z.ZodNumber>;
|