@qvac/sdk 0.13.5 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +95 -1151
- package/README.md +1 -2
- package/bare-imports.json +0 -5
- package/dist/client/api/bci-transcribe.js +2 -1
- package/dist/client/api/download-asset.js +2 -1
- package/dist/client/api/finetune.js +6 -5
- package/dist/client/api/index.d.ts +1 -0
- package/dist/client/api/index.js +1 -0
- package/dist/client/api/load-model.d.ts +11 -8
- package/dist/client/api/load-model.js +6 -6
- package/dist/client/api/subscribe-logs.d.ts +28 -0
- package/dist/client/api/subscribe-logs.js +43 -0
- package/dist/client/api/text-to-speech.js +2 -1
- package/dist/client/config-loader/config-utils.js +2 -4
- package/dist/client/config-loader/resolve-config.bare.js +4 -3
- package/dist/client/parse-input.d.ts +3 -0
- package/dist/client/parse-input.js +14 -0
- package/dist/client/rpc/expo-rpc-client.js +2 -11
- package/dist/client/rpc/node-rpc-client.js +8 -2
- package/dist/client/rpc/rpc-client.js +39 -7
- package/dist/commands/bundle/constants.js +2 -1
- package/dist/examples/bci/bci-filesystem-streaming.js +14 -14
- package/dist/examples/bci/bci-filesystem.js +17 -13
- package/dist/examples/cache-management.js +38 -38
- package/dist/examples/cancel-by-request-id.js +9 -9
- package/dist/examples/completion-events.js +20 -14
- package/dist/examples/completion-stop-reason.js +13 -7
- package/dist/examples/concurrent-completion-collision.js +7 -7
- package/dist/examples/config-reload.js +7 -8
- package/dist/examples/default-config-usage.js +4 -4
- package/dist/examples/delegated-inference/composite.js +14 -10
- package/dist/examples/delegated-inference/consumer-profiled.js +13 -13
- package/dist/examples/delegated-inference/consumer.js +16 -12
- package/dist/examples/delegated-inference/provider.js +12 -12
- package/dist/examples/diffusion-esrgan-upscale.js +19 -15
- package/dist/examples/diffusion-flux2-klein-img2img.js +16 -11
- package/dist/examples/diffusion-flux2-klein.js +14 -9
- package/dist/examples/diffusion-img2img.js +9 -10
- package/dist/examples/diffusion-img2vid.js +17 -12
- package/dist/examples/diffusion-simple.js +1 -1
- package/dist/examples/diffusion-txt2img.js +14 -9
- package/dist/examples/diffusion-txt2vid.js +15 -10
- package/dist/examples/download-with-blind-relays.js +16 -21
- package/dist/examples/download-with-cancel.js +15 -16
- package/dist/examples/embed-multi-gpu.js +3 -4
- package/dist/examples/embed-p2p.js +11 -7
- package/dist/examples/finetune/llamacpp-finetune.js +7 -7
- package/dist/examples/kv-cache-cleanup.js +35 -35
- package/dist/examples/kv-cache-custom-key.js +24 -24
- package/dist/examples/kv-cache-example.js +9 -9
- package/dist/examples/llamacpp-cache.js +18 -14
- package/dist/examples/llamacpp-dynamic-tools.js +15 -9
- package/dist/examples/llamacpp-filesystem.js +15 -9
- package/dist/examples/llamacpp-http.js +12 -10
- package/dist/examples/llamacpp-multi-gpu.js +4 -4
- package/dist/examples/llamacpp-multimodal.js +13 -9
- package/dist/examples/llamacpp-p2p.js +8 -4
- package/dist/examples/llamacpp-sharded.js +5 -5
- package/dist/examples/llamacpp-structured-output.js +15 -9
- package/dist/examples/logging-file-transport.js +3 -3
- package/dist/examples/logging-global.d.ts +2 -0
- package/dist/examples/logging-global.js +34 -0
- package/dist/examples/logging-streaming.js +7 -10
- package/dist/examples/mcp-websearch.js +24 -18
- package/dist/examples/multi-model-demo.js +17 -11
- package/dist/examples/ocr-fasttext.js +14 -16
- package/dist/examples/parallel-download.js +7 -7
- package/dist/examples/plugins.js +40 -28
- package/dist/examples/profiling/basic.js +16 -10
- package/dist/examples/profiling/per-call.js +17 -11
- package/dist/examples/quickstart.bare.d.ts +2 -0
- package/dist/examples/quickstart.bare.js +18 -0
- package/dist/examples/quickstart.js +10 -3
- package/dist/examples/rag/rag-chromadb.js +18 -14
- package/dist/examples/rag/rag-hyperdb/cancellation.js +17 -14
- package/dist/examples/rag/rag-hyperdb/ingest.js +14 -12
- package/dist/examples/rag/rag-hyperdb/pipeline.js +19 -17
- package/dist/examples/rag/rag-hyperdb/workspaces.js +31 -27
- package/dist/examples/rag/rag-lancedb.js +12 -8
- package/dist/examples/rag/rag-sqlite.js +11 -7
- package/dist/examples/registry-query.js +17 -17
- package/dist/examples/seed-p2p.js +10 -6
- package/dist/examples/suspend-resume.js +20 -16
- package/dist/examples/tools/llamacpp-native-tools.js +24 -18
- package/dist/examples/tools/llamacpp-tools-gemma4.js +14 -8
- package/dist/examples/tools/llamacpp-tools-harmony-multiturn.js +20 -14
- package/dist/examples/tools/llamacpp-tools-pythonic.js +14 -8
- package/dist/examples/tools/llamacpp-tools-qwen35.js +14 -8
- package/dist/examples/transcription/parakeet-ctc-filesystem.js +12 -9
- package/dist/examples/transcription/parakeet-microphone-record.js +15 -9
- package/dist/examples/transcription/parakeet-microphone-stream.js +15 -9
- package/dist/examples/transcription/parakeet-sortformer-streaming.js +12 -6
- package/dist/examples/transcription/parakeet-sortformer.js +3 -5
- package/dist/examples/transcription/parakeet-tdt-filesystem.js +13 -10
- package/dist/examples/transcription/whispercpp-filesystem-streaming.js +16 -17
- package/dist/examples/transcription/whispercpp-filesystem.js +14 -10
- package/dist/examples/transcription/whispercpp-microphone-conversation.js +10 -10
- package/dist/examples/transcription/whispercpp-microphone-record.js +6 -6
- package/dist/examples/transcription/whispercpp-prompt.js +14 -10
- package/dist/examples/translation/translation-bergamot-batch.js +11 -7
- package/dist/examples/translation/translation-bergamot-pivot.js +13 -9
- package/dist/examples/translation/translation-bergamot.js +8 -4
- package/dist/examples/translation/translation-indic.js +8 -4
- package/dist/examples/translation/translation-llm-afriquegemma.js +7 -3
- package/dist/examples/translation/translation-llm-context.js +8 -4
- package/dist/examples/translation/translation-llm.js +7 -3
- package/dist/examples/translation/translation-stream.js +4 -4
- package/dist/examples/tts/chatterbox.js +19 -11
- package/dist/examples/tts/llm-to-tts-streaming.js +27 -14
- package/dist/examples/tts/supertonic-multilingual.js +18 -14
- package/dist/examples/tts/supertonic.js +19 -15
- package/dist/examples/tts/utils.js +1 -1
- package/dist/examples/vla-pi05.js +18 -14
- package/dist/examples/vla-smolvla.js +18 -14
- package/dist/examples/voice-assistant/voice-assistant.js +12 -12
- package/dist/index.d.ts +3 -4
- package/dist/index.js +3 -4
- package/dist/logging/client-logger.js +2 -1
- package/dist/logging/index.d.ts +1 -1
- package/dist/logging/index.js +1 -1
- package/dist/logging/namespaces.d.ts +1 -0
- package/dist/logging/namespaces.js +2 -0
- package/dist/logging/server-logger.js +1 -4
- package/dist/logging/utils.js +6 -1
- package/dist/models/registry/index.d.ts +17 -0
- package/dist/models/registry/index.js +20 -1
- package/dist/models/registry/models.d.ts +1062 -38
- package/dist/models/registry/models.js +3546 -2490
- package/dist/pear/pre.js +2 -2
- package/dist/schemas/bci-config.d.ts +37 -0
- package/dist/schemas/bci-config.js +2 -0
- package/dist/schemas/bci.d.ts +2 -0
- package/dist/schemas/common.d.ts +171 -94
- package/dist/schemas/completion-stream.d.ts +6 -3
- package/dist/schemas/completion-stream.js +10 -2
- package/dist/schemas/download-asset.d.ts +5 -5
- package/dist/schemas/engine-addon-map.d.ts +1 -1
- package/dist/schemas/engine-addon-map.js +6 -3
- package/dist/schemas/error.js +6 -1
- package/dist/schemas/llamacpp-config.d.ts +27 -8
- package/dist/schemas/llamacpp-config.js +19 -2
- package/dist/schemas/load-model.d.ts +4170 -570
- package/dist/schemas/load-model.js +85 -26
- package/dist/schemas/logging-stream.js +7 -1
- package/dist/schemas/model-src-utils.d.ts +6 -6
- package/dist/schemas/model-types.d.ts +14 -15
- package/dist/schemas/model-types.js +10 -11
- package/dist/schemas/ocr.d.ts +10 -8
- package/dist/schemas/ocr.js +8 -6
- package/dist/schemas/plugin.d.ts +6 -5
- package/dist/schemas/plugin.js +4 -4
- package/dist/schemas/rag.d.ts +4 -4
- package/dist/schemas/registry.d.ts +8 -8
- package/dist/schemas/registry.js +1 -1
- package/dist/schemas/reload-config.d.ts +6 -6
- package/dist/schemas/sdcpp-config.d.ts +12 -12
- package/dist/schemas/sdk-config.d.ts +171 -117
- package/dist/schemas/sdk-config.js +5 -5
- package/dist/schemas/sdk-errors-client.d.ts +1 -0
- package/dist/schemas/sdk-errors-client.js +7 -2
- package/dist/schemas/text-to-speech.d.ts +157 -13
- package/dist/schemas/text-to-speech.js +70 -7
- package/dist/schemas/transcription-config.d.ts +5 -1
- package/dist/schemas/transcription-config.js +2 -0
- package/dist/schemas/transcription.d.ts +3 -0
- package/dist/schemas/transcription.js +2 -1
- package/dist/schemas/translate.d.ts +6 -6
- package/dist/schemas/translate.js +2 -3
- package/dist/schemas/translation-config.d.ts +20 -20
- package/dist/server/bare/hyperswarm.js +3 -3
- package/dist/server/bare/ops/transcribe.js +46 -15
- package/dist/server/bare/plugins/bci-whispercpp-transcription/args.d.ts +3 -0
- package/dist/server/bare/plugins/bci-whispercpp-transcription/args.js +13 -0
- package/dist/server/bare/plugins/bci-whispercpp-transcription/plugin.d.ts +41 -0
- package/dist/server/bare/plugins/bci-whispercpp-transcription/plugin.js +6 -11
- package/dist/server/bare/plugins/bci-whispercpp-transcription/resolve-config.d.ts +75 -0
- package/dist/server/bare/plugins/bci-whispercpp-transcription/resolve-config.js +11 -0
- package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/plugin.d.ts +16 -10
- package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/plugin.js +25 -18
- package/dist/server/bare/plugins/index.d.ts +1 -1
- package/dist/server/bare/plugins/index.js +1 -1
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stats.d.ts +10 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stats.js +29 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +4 -22
- package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +15 -7
- package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +7 -7
- package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +2 -0
- package/dist/server/bare/plugins/sdcpp-generation/plugin.d.ts +10 -10
- package/dist/server/bare/plugins/tts-ggml/plugin.d.ts +14 -8
- package/dist/server/bare/plugins/tts-ggml/plugin.js +12 -0
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +3 -1
- package/dist/server/bare/registry/logging-stream-registry.d.ts +4 -2
- package/dist/server/bare/registry/logging-stream-registry.js +12 -7
- package/dist/server/bare/registry/model-config-utils.js +2 -2
- package/dist/server/bare/registry/registry-client.js +1 -1
- package/dist/server/bare/runtime-lifecycle.d.ts +9 -0
- package/dist/server/bare/runtime-lifecycle.js +24 -0
- package/dist/server/bare/types/addon-responses.d.ts +1 -0
- package/dist/server/env.js +7 -10
- package/dist/server/plugins/registry.js +2 -4
- package/dist/server/rpc/handlers/load-model/handler.js +2 -4
- package/dist/server/rpc/handlers/load-model/http.js +253 -51
- package/dist/server/rpc/handlers/logging-stream.js +4 -2
- package/dist/server/rpc/handlers/plugin-invoke.js +5 -16
- package/dist/server/utils/completion-normalizer.js +13 -4
- package/dist/server/utils/worker-lock.js +5 -5
- package/dist/server/worker-core.d.ts +1 -1
- package/dist/server/worker-core.js +28 -18
- package/dist/utils/errors-client.d.ts +3 -0
- package/dist/utils/errors-client.js +5 -0
- package/dist/utils/errors-server.d.ts +2 -0
- package/dist/utils/errors-server.js +3 -0
- package/dist/utils/zod-error.d.ts +3 -0
- package/dist/utils/zod-error.js +4 -0
- package/package.json +21 -24
- package/dist/polyfills/bare-globals.d.ts +0 -2
- package/dist/polyfills/bare-globals.js +0 -4
- package/dist/polyfills/bare-globals.noop.d.ts +0 -2
- package/dist/polyfills/bare-globals.noop.js +0 -1
- /package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/ops/ocr-stream.d.ts +0 -0
- /package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/ops/ocr-stream.js +0 -0
|
@@ -91,7 +91,7 @@ export declare const reloadConfigOptionsSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
91
91
|
"onnx-tts": "onnx-tts";
|
|
92
92
|
"tts-ggml": "tts-ggml";
|
|
93
93
|
"parakeet-transcription": "parakeet-transcription";
|
|
94
|
-
"
|
|
94
|
+
"ggml-ocr": "ggml-ocr";
|
|
95
95
|
"sdcpp-generation": "sdcpp-generation";
|
|
96
96
|
"ggml-vla": "ggml-vla";
|
|
97
97
|
"ggml-classification": "ggml-classification";
|
|
@@ -196,7 +196,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
196
196
|
"onnx-tts": "onnx-tts";
|
|
197
197
|
"tts-ggml": "tts-ggml";
|
|
198
198
|
"parakeet-transcription": "parakeet-transcription";
|
|
199
|
-
"
|
|
199
|
+
"ggml-ocr": "ggml-ocr";
|
|
200
200
|
"sdcpp-generation": "sdcpp-generation";
|
|
201
201
|
"ggml-vla": "ggml-vla";
|
|
202
202
|
"ggml-classification": "ggml-classification";
|
|
@@ -278,7 +278,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
278
278
|
engine?: string | undefined;
|
|
279
279
|
expectedSize?: number | undefined;
|
|
280
280
|
sha256Checksum?: string | undefined;
|
|
281
|
-
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "
|
|
281
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
282
282
|
} | undefined;
|
|
283
283
|
};
|
|
284
284
|
}, {
|
|
@@ -349,7 +349,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
349
349
|
engine?: string | undefined;
|
|
350
350
|
expectedSize?: number | undefined;
|
|
351
351
|
sha256Checksum?: string | undefined;
|
|
352
|
-
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "
|
|
352
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
353
353
|
} | undefined;
|
|
354
354
|
};
|
|
355
355
|
}>>]>;
|
|
@@ -449,7 +449,7 @@ export declare const reloadConfigWhisperRequestSchema: z.ZodObject<{
|
|
|
449
449
|
"onnx-tts": "onnx-tts";
|
|
450
450
|
"tts-ggml": "tts-ggml";
|
|
451
451
|
"parakeet-transcription": "parakeet-transcription";
|
|
452
|
-
"
|
|
452
|
+
"ggml-ocr": "ggml-ocr";
|
|
453
453
|
"sdcpp-generation": "sdcpp-generation";
|
|
454
454
|
"ggml-vla": "ggml-vla";
|
|
455
455
|
"ggml-classification": "ggml-classification";
|
|
@@ -559,7 +559,7 @@ export declare const reloadConfigRequestSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
559
559
|
"onnx-tts": "onnx-tts";
|
|
560
560
|
"tts-ggml": "tts-ggml";
|
|
561
561
|
"parakeet-transcription": "parakeet-transcription";
|
|
562
|
-
"
|
|
562
|
+
"ggml-ocr": "ggml-ocr";
|
|
563
563
|
"sdcpp-generation": "sdcpp-generation";
|
|
564
564
|
"ggml-vla": "ggml-vla";
|
|
565
565
|
"ggml-classification": "ggml-classification";
|
|
@@ -81,7 +81,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
81
81
|
"onnx-tts": "onnx-tts";
|
|
82
82
|
"tts-ggml": "tts-ggml";
|
|
83
83
|
"parakeet-transcription": "parakeet-transcription";
|
|
84
|
-
"
|
|
84
|
+
"ggml-ocr": "ggml-ocr";
|
|
85
85
|
"sdcpp-generation": "sdcpp-generation";
|
|
86
86
|
"ggml-vla": "ggml-vla";
|
|
87
87
|
"ggml-classification": "ggml-classification";
|
|
@@ -118,7 +118,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
118
118
|
"onnx-tts": "onnx-tts";
|
|
119
119
|
"tts-ggml": "tts-ggml";
|
|
120
120
|
"parakeet-transcription": "parakeet-transcription";
|
|
121
|
-
"
|
|
121
|
+
"ggml-ocr": "ggml-ocr";
|
|
122
122
|
"sdcpp-generation": "sdcpp-generation";
|
|
123
123
|
"ggml-vla": "ggml-vla";
|
|
124
124
|
"ggml-classification": "ggml-classification";
|
|
@@ -155,7 +155,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
155
155
|
"onnx-tts": "onnx-tts";
|
|
156
156
|
"tts-ggml": "tts-ggml";
|
|
157
157
|
"parakeet-transcription": "parakeet-transcription";
|
|
158
|
-
"
|
|
158
|
+
"ggml-ocr": "ggml-ocr";
|
|
159
159
|
"sdcpp-generation": "sdcpp-generation";
|
|
160
160
|
"ggml-vla": "ggml-vla";
|
|
161
161
|
"ggml-classification": "ggml-classification";
|
|
@@ -192,7 +192,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
192
192
|
"onnx-tts": "onnx-tts";
|
|
193
193
|
"tts-ggml": "tts-ggml";
|
|
194
194
|
"parakeet-transcription": "parakeet-transcription";
|
|
195
|
-
"
|
|
195
|
+
"ggml-ocr": "ggml-ocr";
|
|
196
196
|
"sdcpp-generation": "sdcpp-generation";
|
|
197
197
|
"ggml-vla": "ggml-vla";
|
|
198
198
|
"ggml-classification": "ggml-classification";
|
|
@@ -229,7 +229,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
229
229
|
"onnx-tts": "onnx-tts";
|
|
230
230
|
"tts-ggml": "tts-ggml";
|
|
231
231
|
"parakeet-transcription": "parakeet-transcription";
|
|
232
|
-
"
|
|
232
|
+
"ggml-ocr": "ggml-ocr";
|
|
233
233
|
"sdcpp-generation": "sdcpp-generation";
|
|
234
234
|
"ggml-vla": "ggml-vla";
|
|
235
235
|
"ggml-classification": "ggml-classification";
|
|
@@ -266,7 +266,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
266
266
|
"onnx-tts": "onnx-tts";
|
|
267
267
|
"tts-ggml": "tts-ggml";
|
|
268
268
|
"parakeet-transcription": "parakeet-transcription";
|
|
269
|
-
"
|
|
269
|
+
"ggml-ocr": "ggml-ocr";
|
|
270
270
|
"sdcpp-generation": "sdcpp-generation";
|
|
271
271
|
"ggml-vla": "ggml-vla";
|
|
272
272
|
"ggml-classification": "ggml-classification";
|
|
@@ -303,7 +303,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
303
303
|
"onnx-tts": "onnx-tts";
|
|
304
304
|
"tts-ggml": "tts-ggml";
|
|
305
305
|
"parakeet-transcription": "parakeet-transcription";
|
|
306
|
-
"
|
|
306
|
+
"ggml-ocr": "ggml-ocr";
|
|
307
307
|
"sdcpp-generation": "sdcpp-generation";
|
|
308
308
|
"ggml-vla": "ggml-vla";
|
|
309
309
|
"ggml-classification": "ggml-classification";
|
|
@@ -342,7 +342,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
|
|
|
342
342
|
"onnx-tts": "onnx-tts";
|
|
343
343
|
"tts-ggml": "tts-ggml";
|
|
344
344
|
"parakeet-transcription": "parakeet-transcription";
|
|
345
|
-
"
|
|
345
|
+
"ggml-ocr": "ggml-ocr";
|
|
346
346
|
"sdcpp-generation": "sdcpp-generation";
|
|
347
347
|
"ggml-vla": "ggml-vla";
|
|
348
348
|
"ggml-classification": "ggml-classification";
|
|
@@ -377,6 +377,8 @@ export declare const diffusionStatsSchema: z.ZodObject<{
|
|
|
377
377
|
export type DiffusionStats = z.infer<typeof diffusionStatsSchema>;
|
|
378
378
|
export declare const videoStatsSchema: z.ZodObject<{
|
|
379
379
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
380
382
|
modelLoadMs: z.ZodOptional<z.ZodNumber>;
|
|
381
383
|
generationMs: z.ZodOptional<z.ZodNumber>;
|
|
382
384
|
totalGenerationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -385,8 +387,6 @@ export declare const videoStatsSchema: z.ZodObject<{
|
|
|
385
387
|
totalGenerations: z.ZodOptional<z.ZodNumber>;
|
|
386
388
|
totalImages: z.ZodOptional<z.ZodNumber>;
|
|
387
389
|
totalPixels: z.ZodOptional<z.ZodNumber>;
|
|
388
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
389
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
390
390
|
totalVideos: z.ZodOptional<z.ZodNumber>;
|
|
391
391
|
totalVideoFrames: z.ZodOptional<z.ZodNumber>;
|
|
392
392
|
videoFrames: z.ZodOptional<z.ZodNumber>;
|
|
@@ -426,6 +426,8 @@ export declare const videoStreamResponseSchema: z.ZodObject<{
|
|
|
426
426
|
done: z.ZodOptional<z.ZodBoolean>;
|
|
427
427
|
stats: z.ZodOptional<z.ZodObject<{
|
|
428
428
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
429
431
|
modelLoadMs: z.ZodOptional<z.ZodNumber>;
|
|
430
432
|
generationMs: z.ZodOptional<z.ZodNumber>;
|
|
431
433
|
totalGenerationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -434,8 +436,6 @@ export declare const videoStreamResponseSchema: z.ZodObject<{
|
|
|
434
436
|
totalGenerations: z.ZodOptional<z.ZodNumber>;
|
|
435
437
|
totalImages: z.ZodOptional<z.ZodNumber>;
|
|
436
438
|
totalPixels: z.ZodOptional<z.ZodNumber>;
|
|
437
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
438
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
439
439
|
totalVideos: z.ZodOptional<z.ZodNumber>;
|
|
440
440
|
totalVideoFrames: z.ZodOptional<z.ZodNumber>;
|
|
441
441
|
videoFrames: z.ZodOptional<z.ZodNumber>;
|