@qvac/sdk 0.17.0 → 0.18.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.
Files changed (154) hide show
  1. package/NOTICE +83 -18
  2. package/README.md +19 -0
  3. package/dist/client/api/audio-gen.d.ts +17 -0
  4. package/dist/client/api/audio-gen.js +17 -0
  5. package/dist/client/api/finetune.d.ts +2 -0
  6. package/dist/client/api/finetune.js +7 -1
  7. package/dist/client/api/index.d.ts +1 -1
  8. package/dist/client/api/index.js +1 -1
  9. package/dist/client/api/load-model.d.ts +8 -0
  10. package/dist/client/api/transcribe.d.ts +19 -2
  11. package/dist/client/api/transcribe.js +66 -27
  12. package/dist/client/api/translate.d.ts +3 -2
  13. package/dist/client/api/translate.js +42 -21
  14. package/dist/client/api/vla.d.ts +42 -1
  15. package/dist/client/api/vla.js +50 -1
  16. package/dist/commands/bundle/entry-gen.d.ts +4 -0
  17. package/dist/commands/bundle/entry-gen.js +6 -0
  18. package/dist/commands/bundle/index.js +19 -12
  19. package/dist/examples/asr/parakeet-indic-conformer-filesystem.d.ts +2 -0
  20. package/dist/examples/asr/parakeet-indic-conformer-filesystem.js +52 -0
  21. package/dist/examples/audiogen/generate-cover.d.ts +2 -0
  22. package/dist/examples/audiogen/generate-cover.js +100 -0
  23. package/dist/examples/llamacpp-fallback.d.ts +2 -0
  24. package/dist/examples/llamacpp-fallback.js +34 -0
  25. package/dist/examples/multi-job-completion.d.ts +28 -0
  26. package/dist/examples/multi-job-completion.js +128 -0
  27. package/dist/examples/profiling/basic.js +32 -1
  28. package/dist/examples/system-resources.d.ts +2 -0
  29. package/dist/examples/system-resources.js +86 -0
  30. package/dist/examples/tts/audio8.d.ts +2 -0
  31. package/dist/examples/tts/audio8.js +54 -0
  32. package/dist/examples/tts/cosyvoice3.d.ts +2 -0
  33. package/dist/examples/tts/cosyvoice3.js +52 -0
  34. package/dist/examples/vla-groot.js +92 -49
  35. package/dist/index.d.ts +2 -2
  36. package/dist/index.js +2 -2
  37. package/dist/models/registry/models.d.ts +782 -6
  38. package/dist/models/registry/models.js +2664 -1859
  39. package/dist/schemas/audio-gen.d.ts +103 -0
  40. package/dist/schemas/audio-gen.js +135 -4
  41. package/dist/schemas/common.d.ts +550 -11
  42. package/dist/schemas/constants-registry.d.ts +18 -4
  43. package/dist/schemas/constants-registry.js +16 -3
  44. package/dist/schemas/index.d.ts +1 -1
  45. package/dist/schemas/index.js +1 -1
  46. package/dist/schemas/llamacpp-config.d.ts +10 -10
  47. package/dist/schemas/llamacpp-config.js +12 -5
  48. package/dist/schemas/load-model.d.ts +3678 -323
  49. package/dist/schemas/load-model.js +21 -3
  50. package/dist/schemas/sdk-config.d.ts +60 -24
  51. package/dist/schemas/sdk-errors-server.d.ts +1 -0
  52. package/dist/schemas/sdk-errors-server.js +5 -0
  53. package/dist/schemas/text-to-speech.d.ts +1086 -110
  54. package/dist/schemas/text-to-speech.js +194 -4
  55. package/dist/schemas/tools.d.ts +0 -16
  56. package/dist/schemas/tools.js +0 -15
  57. package/dist/schemas/transcription-config.d.ts +2 -0
  58. package/dist/schemas/transcription-config.js +10 -4
  59. package/dist/schemas/transcription.d.ts +3 -0
  60. package/dist/schemas/vla.d.ts +83 -0
  61. package/dist/schemas/vla.js +105 -2
  62. package/dist/scripts/link-workspace-inference.d.ts +2 -0
  63. package/dist/scripts/link-workspace-inference.js +31 -0
  64. package/dist/server/bare/ops/cancel.d.ts +1 -1
  65. package/dist/server/bare/ops/cancel.js +1 -1
  66. package/dist/server/bare/ops/kv-cache-retention.js +11 -0
  67. package/dist/server/bare/ops/kv-cache-utils.d.ts +1 -1
  68. package/dist/server/bare/ops/kv-cache-utils.js +40 -12
  69. package/dist/server/bare/ops/transcribe.d.ts +2 -2
  70. package/dist/server/bare/ops/transcribe.js +54 -48
  71. package/dist/server/bare/ops/translate-stats.d.ts +5 -0
  72. package/dist/server/bare/ops/translate-stats.js +11 -0
  73. package/dist/server/bare/ops/translate.js +66 -38
  74. package/dist/server/bare/ops/unload-model.js +30 -24
  75. package/dist/server/bare/plugins/audiogen-ggml/ops/audio-gen-input.d.ts +20 -0
  76. package/dist/server/bare/plugins/audiogen-ggml/ops/audio-gen-input.js +153 -0
  77. package/dist/server/bare/plugins/audiogen-ggml/ops/audio-gen-stream.js +52 -1
  78. package/dist/server/bare/plugins/audiogen-ggml/plugin.d.ts +28 -0
  79. package/dist/server/bare/plugins/ggml-ocr/plugin.js +3 -1
  80. package/dist/server/bare/plugins/ggml-vla/ops/vla-set-embodiment.d.ts +3 -0
  81. package/dist/server/bare/plugins/ggml-vla/ops/vla-set-embodiment.js +9 -0
  82. package/dist/server/bare/plugins/ggml-vla/plugin.d.ts +37 -0
  83. package/dist/server/bare/plugins/ggml-vla/plugin.js +21 -4
  84. package/dist/server/bare/plugins/llamacpp-completion/ops/batch-completion-stream.js +16 -15
  85. package/dist/server/bare/plugins/llamacpp-completion/ops/cache-logger.d.ts +1 -1
  86. package/dist/server/bare/plugins/llamacpp-completion/ops/cache-logger.js +2 -2
  87. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stats.d.ts +6 -0
  88. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stats.js +10 -0
  89. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.d.ts +1 -0
  90. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +131 -123
  91. package/dist/server/bare/plugins/llamacpp-completion/ops/finetune.js +110 -20
  92. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-session.d.ts +49 -23
  93. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-session.js +308 -143
  94. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-state.d.ts +1 -0
  95. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-state.js +2 -2
  96. package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +6 -6
  97. package/dist/server/bare/plugins/llamacpp-completion/plugin.js +55 -36
  98. package/dist/server/bare/plugins/llamacpp-completion/transform.js +1 -7
  99. package/dist/server/bare/plugins/llamacpp-embedding/plugin.js +2 -3
  100. package/dist/server/bare/plugins/nmtcpp-translation/plugin.js +6 -5
  101. package/dist/server/bare/plugins/parakeet-transcription/plugin.js +27 -16
  102. package/dist/server/bare/plugins/tts-ggml/ops/parler-options.js +23 -3
  103. package/dist/server/bare/plugins/tts-ggml/plugin.d.ts +302 -4
  104. package/dist/server/bare/plugins/tts-ggml/plugin.js +131 -0
  105. package/dist/server/bare/plugins/whispercpp-transcription/plugin.js +48 -39
  106. package/dist/server/bare/registry/model-registry.d.ts +1 -0
  107. package/dist/server/bare/runtime/request-registry-singleton.js +29 -15
  108. package/dist/server/bare/runtime/request-registry.d.ts +27 -0
  109. package/dist/server/bare/runtime/request-registry.js +246 -76
  110. package/dist/server/bare/types/addon-responses.d.ts +4 -12
  111. package/dist/server/rpc/handlers/load-model/handler.js +2 -2
  112. package/dist/server/rpc/handlers/load-model/resolve-session.d.ts +1 -1
  113. package/dist/server/rpc/handlers/load-model/resolve-session.js +3 -3
  114. package/dist/server/rpc/handlers/load-model/resolve.d.ts +12 -2
  115. package/dist/server/rpc/handlers/load-model/resolve.js +90 -12
  116. package/dist/server/utils/audio/decoder.d.ts +37 -1
  117. package/dist/server/utils/audio/decoder.js +81 -51
  118. package/dist/server/utils/config-transform.d.ts +3 -0
  119. package/dist/server/utils/config-transform.js +6 -0
  120. package/dist/server/utils/index.d.ts +0 -1
  121. package/dist/server/utils/index.js +0 -1
  122. package/dist/server/utils/shard-utils.d.ts +1 -0
  123. package/dist/server/utils/shard-utils.js +14 -0
  124. package/dist/server/utils/tool-integration.d.ts +3 -10
  125. package/dist/server/utils/tool-integration.js +3 -12
  126. package/dist/utils/errors-server.d.ts +3 -0
  127. package/dist/utils/errors-server.js +5 -0
  128. package/package.json +12 -14
  129. package/dist/examples/llamacpp-dynamic-tools.d.ts +0 -2
  130. package/dist/examples/llamacpp-dynamic-tools.js +0 -152
  131. package/dist/models/update-models/codegen.d.ts +0 -3
  132. package/dist/models/update-models/codegen.js +0 -196
  133. package/dist/models/update-models/companions.d.ts +0 -30
  134. package/dist/models/update-models/companions.js +0 -296
  135. package/dist/models/update-models/history.d.ts +0 -24
  136. package/dist/models/update-models/history.js +0 -107
  137. package/dist/models/update-models/index.d.ts +0 -2
  138. package/dist/models/update-models/index.js +0 -123
  139. package/dist/models/update-models/naming.d.ts +0 -4
  140. package/dist/models/update-models/naming.js +0 -396
  141. package/dist/models/update-models/processing.d.ts +0 -8
  142. package/dist/models/update-models/processing.js +0 -65
  143. package/dist/models/update-models/registry.d.ts +0 -5
  144. package/dist/models/update-models/registry.js +0 -87
  145. package/dist/models/update-models/shards.d.ts +0 -4
  146. package/dist/models/update-models/shards.js +0 -57
  147. package/dist/models/update-models/types.d.ts +0 -88
  148. package/dist/models/update-models/types.js +0 -1
  149. package/dist/models/update-models/utils.d.ts +0 -3
  150. package/dist/models/update-models/utils.js +0 -21
  151. package/dist/server/bare/plugins/llamacpp-completion/ops/batch-cancelled.d.ts +0 -23
  152. package/dist/server/bare/plugins/llamacpp-completion/ops/batch-cancelled.js +0 -30
  153. package/dist/server/utils/expand-gguf-shards.d.ts +0 -3
  154. package/dist/server/utils/expand-gguf-shards.js +0 -22
@@ -2,6 +2,20 @@ import { z } from 'zod';
2
2
  export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3
3
  type: z.ZodLiteral<"audioGenStream">;
4
4
  requestId: z.ZodOptional<z.ZodString>;
5
+ referenceAudio: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6
+ type: z.ZodLiteral<"base64">;
7
+ value: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ type: z.ZodLiteral<"filePath">;
10
+ value: z.ZodString;
11
+ }, z.core.$strip>], "type">>;
12
+ sourceAudio: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
13
+ type: z.ZodLiteral<"base64">;
14
+ value: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ type: z.ZodLiteral<"filePath">;
17
+ value: z.ZodString;
18
+ }, z.core.$strip>], "type">>;
5
19
  modelId: z.ZodString;
6
20
  caption: z.ZodString;
7
21
  lyrics: z.ZodOptional<z.ZodString>;
@@ -11,6 +25,20 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
11
25
  keyscale: z.ZodOptional<z.ZodString>;
12
26
  timesignature: z.ZodOptional<z.ZodString>;
13
27
  duration: z.ZodOptional<z.ZodNumber>;
28
+ lmTemperature: z.ZodOptional<z.ZodNumber>;
29
+ lmTopP: z.ZodOptional<z.ZodNumber>;
30
+ lmTopK: z.ZodOptional<z.ZodNumber>;
31
+ lmCfgScale: z.ZodOptional<z.ZodNumber>;
32
+ lmPhase1: z.ZodOptional<z.ZodBoolean>;
33
+ dcwEnabled: z.ZodOptional<z.ZodBoolean>;
34
+ dcwScaler: z.ZodOptional<z.ZodNumber>;
35
+ dcwHighScaler: z.ZodOptional<z.ZodNumber>;
36
+ taskType: z.ZodOptional<z.ZodEnum<{
37
+ text2music: "text2music";
38
+ "cover-nofsq": "cover-nofsq";
39
+ }>>;
40
+ audioCoverStrength: z.ZodOptional<z.ZodNumber>;
41
+ coverNoiseStrength: z.ZodOptional<z.ZodNumber>;
14
42
  }, z.core.$strict>, z.ZodObject<{
15
43
  type: z.ZodLiteral<"heartbeat">;
16
44
  delegate: z.ZodOptional<z.ZodObject<{
@@ -31,6 +59,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
31
59
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
32
60
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
33
61
  }, z.core.$strip>>;
62
+ fallbackSrc: z.ZodOptional<z.ZodString>;
34
63
  requestId: z.ZodOptional<z.ZodString>;
35
64
  modelType: z.ZodLiteral<"llamacpp-completion">;
36
65
  modelConfig: z.ZodObject<{
@@ -58,10 +87,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
58
87
  n_discarded: z.ZodOptional<z.ZodNumber>;
59
88
  parallel: z.ZodOptional<z.ZodNumber>;
60
89
  tools: z.ZodOptional<z.ZodBoolean>;
61
- toolsMode: z.ZodOptional<z.ZodEnum<{
62
- static: "static";
63
- dynamic: "dynamic";
64
- }>>;
65
90
  'cache-type-k': z.ZodOptional<z.ZodString>;
66
91
  'cache-type-v': z.ZodOptional<z.ZodString>;
67
92
  'main-gpu': z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
@@ -120,6 +145,10 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
120
145
  batched: "batched";
121
146
  sequential: "sequential";
122
147
  }>>;
148
+ image_no_upscale: z.ZodOptional<z.ZodEnum<{
149
+ on: "on";
150
+ off: "off";
151
+ }>>;
123
152
  'mmproj-use-gpu': z.ZodOptional<z.ZodBoolean>;
124
153
  }, z.core.$strip>;
125
154
  }, z.core.$strict>, z.ZodObject<{
@@ -135,6 +164,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
135
164
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
136
165
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
137
166
  }, z.core.$strip>>;
167
+ fallbackSrc: z.ZodOptional<z.ZodString>;
138
168
  requestId: z.ZodOptional<z.ZodString>;
139
169
  modelType: z.ZodLiteral<"whispercpp-transcription">;
140
170
  modelConfig: z.ZodObject<{
@@ -250,6 +280,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
250
280
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
251
281
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
252
282
  }, z.core.$strip>>;
283
+ fallbackSrc: z.ZodOptional<z.ZodString>;
253
284
  requestId: z.ZodOptional<z.ZodString>;
254
285
  modelType: z.ZodLiteral<"bci-whispercpp-transcription">;
255
286
  modelConfig: z.ZodObject<{
@@ -337,6 +368,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
337
368
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
338
369
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
339
370
  }, z.core.$strip>>;
371
+ fallbackSrc: z.ZodOptional<z.ZodString>;
340
372
  requestId: z.ZodOptional<z.ZodString>;
341
373
  modelType: z.ZodLiteral<"parakeet-transcription">;
342
374
  modelConfig: z.ZodOptional<z.ZodObject<{
@@ -355,6 +387,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
355
387
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
356
388
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
357
389
  }, z.core.$strip>>;
390
+ fallbackSrc: z.ZodOptional<z.ZodString>;
358
391
  requestId: z.ZodOptional<z.ZodString>;
359
392
  modelType: z.ZodLiteral<"llamacpp-embedding">;
360
393
  modelConfig: z.ZodObject<{
@@ -412,6 +445,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
412
445
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
413
446
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
414
447
  }, z.core.$strip>>;
448
+ fallbackSrc: z.ZodOptional<z.ZodString>;
415
449
  requestId: z.ZodOptional<z.ZodString>;
416
450
  modelType: z.ZodLiteral<"nmtcpp-translation">;
417
451
  modelConfig: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1040,6 +1074,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1040
1074
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1041
1075
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1042
1076
  }, z.core.$strip>>;
1077
+ fallbackSrc: z.ZodOptional<z.ZodString>;
1043
1078
  requestId: z.ZodOptional<z.ZodString>;
1044
1079
  modelType: z.ZodLiteral<"tts-ggml">;
1045
1080
  modelConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1078,12 +1113,273 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1078
1113
  surprise: "surprise";
1079
1114
  }>>;
1080
1115
  pitch: z.ZodOptional<z.ZodString>;
1081
- pace: z.ZodOptional<z.ZodString>;
1116
+ pace: z.ZodOptional<z.ZodEnum<{
1117
+ slow: "slow";
1118
+ moderate: "moderate";
1119
+ fast: "fast";
1120
+ }>>;
1082
1121
  expressivity: z.ZodOptional<z.ZodString>;
1083
1122
  noise: z.ZodOptional<z.ZodString>;
1084
1123
  reverb: z.ZodOptional<z.ZodString>;
1085
1124
  quality: z.ZodOptional<z.ZodString>;
1086
1125
  ttsEngine: z.ZodLiteral<"parler">;
1126
+ }, z.core.$strict>, z.ZodObject<{
1127
+ lavasrEnhancerModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1128
+ src: z.ZodString;
1129
+ name: z.ZodOptional<z.ZodString>;
1130
+ modelId: z.ZodOptional<z.ZodString>;
1131
+ registryPath: z.ZodOptional<z.ZodString>;
1132
+ registrySource: z.ZodOptional<z.ZodString>;
1133
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1134
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1135
+ engine: z.ZodOptional<z.ZodString>;
1136
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1137
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1138
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1139
+ embeddings: "embeddings";
1140
+ diffusion: "diffusion";
1141
+ audiogen: "audiogen";
1142
+ tts: "tts";
1143
+ ocr: "ocr";
1144
+ vla: "vla";
1145
+ "llamacpp-completion": "llamacpp-completion";
1146
+ "whispercpp-transcription": "whispercpp-transcription";
1147
+ "bci-whispercpp-transcription": "bci-whispercpp-transcription";
1148
+ "llamacpp-embedding": "llamacpp-embedding";
1149
+ "nmtcpp-translation": "nmtcpp-translation";
1150
+ "onnx-tts": "onnx-tts";
1151
+ "tts-ggml": "tts-ggml";
1152
+ "parakeet-transcription": "parakeet-transcription";
1153
+ "ggml-ocr": "ggml-ocr";
1154
+ "sdcpp-generation": "sdcpp-generation";
1155
+ "audiogen-ggml": "audiogen-ggml";
1156
+ "ggml-vla": "ggml-vla";
1157
+ "ggml-classification": "ggml-classification";
1158
+ llm: "llm";
1159
+ whisper: "whisper";
1160
+ bci: "bci";
1161
+ nmt: "nmt";
1162
+ parakeet: "parakeet";
1163
+ classification: "classification";
1164
+ }>, z.ZodLiteral<"vad">]>>;
1165
+ }, z.core.$strip>]>>;
1166
+ lavasrDenoiserModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1167
+ src: z.ZodString;
1168
+ name: z.ZodOptional<z.ZodString>;
1169
+ modelId: z.ZodOptional<z.ZodString>;
1170
+ registryPath: z.ZodOptional<z.ZodString>;
1171
+ registrySource: z.ZodOptional<z.ZodString>;
1172
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1173
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1174
+ engine: z.ZodOptional<z.ZodString>;
1175
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1176
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1177
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1178
+ embeddings: "embeddings";
1179
+ diffusion: "diffusion";
1180
+ audiogen: "audiogen";
1181
+ tts: "tts";
1182
+ ocr: "ocr";
1183
+ vla: "vla";
1184
+ "llamacpp-completion": "llamacpp-completion";
1185
+ "whispercpp-transcription": "whispercpp-transcription";
1186
+ "bci-whispercpp-transcription": "bci-whispercpp-transcription";
1187
+ "llamacpp-embedding": "llamacpp-embedding";
1188
+ "nmtcpp-translation": "nmtcpp-translation";
1189
+ "onnx-tts": "onnx-tts";
1190
+ "tts-ggml": "tts-ggml";
1191
+ "parakeet-transcription": "parakeet-transcription";
1192
+ "ggml-ocr": "ggml-ocr";
1193
+ "sdcpp-generation": "sdcpp-generation";
1194
+ "audiogen-ggml": "audiogen-ggml";
1195
+ "ggml-vla": "ggml-vla";
1196
+ "ggml-classification": "ggml-classification";
1197
+ llm: "llm";
1198
+ whisper: "whisper";
1199
+ bci: "bci";
1200
+ nmt: "nmt";
1201
+ parakeet: "parakeet";
1202
+ classification: "classification";
1203
+ }>, z.ZodLiteral<"vad">]>>;
1204
+ }, z.core.$strip>]>>;
1205
+ ttsEngine: z.ZodLiteral<"cosyvoice3">;
1206
+ emotion: z.ZodOptional<z.ZodEnum<{
1207
+ anger: "anger";
1208
+ happy: "happy";
1209
+ neutral: "neutral";
1210
+ sad: "sad";
1211
+ }>>;
1212
+ pace: z.ZodOptional<z.ZodEnum<{
1213
+ slow: "slow";
1214
+ moderate: "moderate";
1215
+ fast: "fast";
1216
+ }>>;
1217
+ instruct: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1218
+ dialect: z.ZodOptional<z.ZodEnum<{
1219
+ cantonese: "cantonese";
1220
+ northeastern: "northeastern";
1221
+ gansu: "gansu";
1222
+ guizhou: "guizhou";
1223
+ henan: "henan";
1224
+ hubei: "hubei";
1225
+ hunan: "hunan";
1226
+ jiangxi: "jiangxi";
1227
+ minnan: "minnan";
1228
+ ningxia: "ningxia";
1229
+ shanxi: "shanxi";
1230
+ shaanxi: "shaanxi";
1231
+ shandong: "shandong";
1232
+ shanghai: "shanghai";
1233
+ sichuan: "sichuan";
1234
+ tianjin: "tianjin";
1235
+ yunnan: "yunnan";
1236
+ }>>;
1237
+ volume: z.ZodOptional<z.ZodEnum<{
1238
+ loud: "loud";
1239
+ soft: "soft";
1240
+ }>>;
1241
+ style: z.ZodOptional<z.ZodEnum<{
1242
+ peppa: "peppa";
1243
+ robot: "robot";
1244
+ }>>;
1245
+ }, z.core.$strict>]>>;
1246
+ useGPU: z.ZodOptional<z.ZodBoolean>;
1247
+ outputSampleRate: z.ZodOptional<z.ZodNumber>;
1248
+ streamChunkTokens: z.ZodOptional<z.ZodNumber>;
1249
+ streamFirstChunkTokens: z.ZodOptional<z.ZodNumber>;
1250
+ threads: z.ZodOptional<z.ZodNumber>;
1251
+ nGpuLayers: z.ZodOptional<z.ZodNumber>;
1252
+ seed: z.ZodOptional<z.ZodNumber>;
1253
+ }, z.core.$strict>, z.ZodObject<{
1254
+ audio8CodecDecoderModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1255
+ src: z.ZodString;
1256
+ name: z.ZodOptional<z.ZodString>;
1257
+ modelId: z.ZodOptional<z.ZodString>;
1258
+ registryPath: z.ZodOptional<z.ZodString>;
1259
+ registrySource: z.ZodOptional<z.ZodString>;
1260
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1261
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1262
+ engine: z.ZodOptional<z.ZodString>;
1263
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1264
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1265
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1266
+ embeddings: "embeddings";
1267
+ diffusion: "diffusion";
1268
+ audiogen: "audiogen";
1269
+ tts: "tts";
1270
+ ocr: "ocr";
1271
+ vla: "vla";
1272
+ "llamacpp-completion": "llamacpp-completion";
1273
+ "whispercpp-transcription": "whispercpp-transcription";
1274
+ "bci-whispercpp-transcription": "bci-whispercpp-transcription";
1275
+ "llamacpp-embedding": "llamacpp-embedding";
1276
+ "nmtcpp-translation": "nmtcpp-translation";
1277
+ "onnx-tts": "onnx-tts";
1278
+ "tts-ggml": "tts-ggml";
1279
+ "parakeet-transcription": "parakeet-transcription";
1280
+ "ggml-ocr": "ggml-ocr";
1281
+ "sdcpp-generation": "sdcpp-generation";
1282
+ "audiogen-ggml": "audiogen-ggml";
1283
+ "ggml-vla": "ggml-vla";
1284
+ "ggml-classification": "ggml-classification";
1285
+ llm: "llm";
1286
+ whisper: "whisper";
1287
+ bci: "bci";
1288
+ nmt: "nmt";
1289
+ parakeet: "parakeet";
1290
+ classification: "classification";
1291
+ }>, z.ZodLiteral<"vad">]>>;
1292
+ }, z.core.$strip>]>;
1293
+ audio8CodecEncoderModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1294
+ src: z.ZodString;
1295
+ name: z.ZodOptional<z.ZodString>;
1296
+ modelId: z.ZodOptional<z.ZodString>;
1297
+ registryPath: z.ZodOptional<z.ZodString>;
1298
+ registrySource: z.ZodOptional<z.ZodString>;
1299
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1300
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1301
+ engine: z.ZodOptional<z.ZodString>;
1302
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1303
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1304
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1305
+ embeddings: "embeddings";
1306
+ diffusion: "diffusion";
1307
+ audiogen: "audiogen";
1308
+ tts: "tts";
1309
+ ocr: "ocr";
1310
+ vla: "vla";
1311
+ "llamacpp-completion": "llamacpp-completion";
1312
+ "whispercpp-transcription": "whispercpp-transcription";
1313
+ "bci-whispercpp-transcription": "bci-whispercpp-transcription";
1314
+ "llamacpp-embedding": "llamacpp-embedding";
1315
+ "nmtcpp-translation": "nmtcpp-translation";
1316
+ "onnx-tts": "onnx-tts";
1317
+ "tts-ggml": "tts-ggml";
1318
+ "parakeet-transcription": "parakeet-transcription";
1319
+ "ggml-ocr": "ggml-ocr";
1320
+ "sdcpp-generation": "sdcpp-generation";
1321
+ "audiogen-ggml": "audiogen-ggml";
1322
+ "ggml-vla": "ggml-vla";
1323
+ "ggml-classification": "ggml-classification";
1324
+ llm: "llm";
1325
+ whisper: "whisper";
1326
+ bci: "bci";
1327
+ nmt: "nmt";
1328
+ parakeet: "parakeet";
1329
+ classification: "classification";
1330
+ }>, z.ZodLiteral<"vad">]>>;
1331
+ }, z.core.$strip>]>>;
1332
+ referenceAudioSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1333
+ src: z.ZodString;
1334
+ name: z.ZodOptional<z.ZodString>;
1335
+ modelId: z.ZodOptional<z.ZodString>;
1336
+ registryPath: z.ZodOptional<z.ZodString>;
1337
+ registrySource: z.ZodOptional<z.ZodString>;
1338
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1339
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1340
+ engine: z.ZodOptional<z.ZodString>;
1341
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1342
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1343
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1344
+ embeddings: "embeddings";
1345
+ diffusion: "diffusion";
1346
+ audiogen: "audiogen";
1347
+ tts: "tts";
1348
+ ocr: "ocr";
1349
+ vla: "vla";
1350
+ "llamacpp-completion": "llamacpp-completion";
1351
+ "whispercpp-transcription": "whispercpp-transcription";
1352
+ "bci-whispercpp-transcription": "bci-whispercpp-transcription";
1353
+ "llamacpp-embedding": "llamacpp-embedding";
1354
+ "nmtcpp-translation": "nmtcpp-translation";
1355
+ "onnx-tts": "onnx-tts";
1356
+ "tts-ggml": "tts-ggml";
1357
+ "parakeet-transcription": "parakeet-transcription";
1358
+ "ggml-ocr": "ggml-ocr";
1359
+ "sdcpp-generation": "sdcpp-generation";
1360
+ "audiogen-ggml": "audiogen-ggml";
1361
+ "ggml-vla": "ggml-vla";
1362
+ "ggml-classification": "ggml-classification";
1363
+ llm: "llm";
1364
+ whisper: "whisper";
1365
+ bci: "bci";
1366
+ nmt: "nmt";
1367
+ parakeet: "parakeet";
1368
+ classification: "classification";
1369
+ }>, z.ZodLiteral<"vad">]>>;
1370
+ }, z.core.$strip>]>>;
1371
+ ttsEngine: z.ZodLiteral<"audio8">;
1372
+ referenceText: z.ZodOptional<z.ZodString>;
1373
+ greedy: z.ZodOptional<z.ZodBoolean>;
1374
+ temperature: z.ZodOptional<z.ZodNumber>;
1375
+ topK: z.ZodOptional<z.ZodNumber>;
1376
+ topP: z.ZodOptional<z.ZodNumber>;
1377
+ maxFrames: z.ZodOptional<z.ZodNumber>;
1378
+ useGPU: z.ZodOptional<z.ZodBoolean>;
1379
+ outputSampleRate: z.ZodOptional<z.ZodNumber>;
1380
+ threads: z.ZodOptional<z.ZodNumber>;
1381
+ nGpuLayers: z.ZodOptional<z.ZodNumber>;
1382
+ seed: z.ZodOptional<z.ZodNumber>;
1087
1383
  }, z.core.$strict>], "ttsEngine">;
1088
1384
  }, z.core.$strict>, z.ZodObject<{
1089
1385
  type: z.ZodLiteral<"loadModel">;
@@ -1098,6 +1394,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1098
1394
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1099
1395
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1100
1396
  }, z.core.$strip>>;
1397
+ fallbackSrc: z.ZodOptional<z.ZodString>;
1101
1398
  requestId: z.ZodOptional<z.ZodString>;
1102
1399
  modelType: z.ZodLiteral<"ggml-ocr">;
1103
1400
  modelConfig: z.ZodObject<{
@@ -1173,6 +1470,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1173
1470
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1174
1471
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1175
1472
  }, z.core.$strip>>;
1473
+ fallbackSrc: z.ZodOptional<z.ZodString>;
1176
1474
  requestId: z.ZodOptional<z.ZodString>;
1177
1475
  modelType: z.ZodLiteral<"sdcpp-generation">;
1178
1476
  modelConfig: z.ZodOptional<z.ZodObject<{
@@ -1686,6 +1984,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1686
1984
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1687
1985
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1688
1986
  }, z.core.$strip>>;
1987
+ fallbackSrc: z.ZodOptional<z.ZodString>;
1689
1988
  requestId: z.ZodOptional<z.ZodString>;
1690
1989
  modelType: z.ZodLiteral<"audiogen-ggml">;
1691
1990
  modelConfig: z.ZodObject<{
@@ -1865,6 +2164,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1865
2164
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1866
2165
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1867
2166
  }, z.core.$strip>>;
2167
+ fallbackSrc: z.ZodOptional<z.ZodString>;
1868
2168
  requestId: z.ZodOptional<z.ZodString>;
1869
2169
  modelType: z.ZodLiteral<"ggml-vla">;
1870
2170
  modelConfig: z.ZodOptional<z.ZodObject<{
@@ -1873,6 +2173,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1873
2173
  auto: "auto";
1874
2174
  }>>;
1875
2175
  verbosity: z.ZodOptional<z.ZodNumber>;
2176
+ embodiment: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
2177
+ tag: z.ZodOptional<z.ZodString>;
2178
+ catId: z.ZodOptional<z.ZodNumber>;
2179
+ numCameras: z.ZodOptional<z.ZodNumber>;
2180
+ }, z.core.$strip>]>>;
1876
2181
  }, z.core.$strip>>;
1877
2182
  }, z.core.$strict>, z.ZodObject<{
1878
2183
  type: z.ZodLiteral<"loadModel">;
@@ -1887,6 +2192,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1887
2192
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1888
2193
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1889
2194
  }, z.core.$strip>>;
2195
+ fallbackSrc: z.ZodOptional<z.ZodString>;
1890
2196
  requestId: z.ZodOptional<z.ZodString>;
1891
2197
  modelType: z.ZodLiteral<"ggml-classification">;
1892
2198
  modelConfig: z.ZodOptional<z.ZodObject<{
@@ -1907,6 +2213,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1907
2213
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1908
2214
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1909
2215
  }, z.core.$strip>>;
2216
+ fallbackSrc: z.ZodOptional<z.ZodString>;
1910
2217
  requestId: z.ZodOptional<z.ZodString>;
1911
2218
  modelType: z.ZodString;
1912
2219
  modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1935,7 +2242,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1935
2242
  n_discarded?: number | undefined;
1936
2243
  parallel?: number | undefined;
1937
2244
  tools?: boolean | undefined;
1938
- toolsMode?: "static" | "dynamic" | undefined;
1939
2245
  'cache-type-k'?: string | undefined;
1940
2246
  'cache-type-v'?: string | undefined;
1941
2247
  'main-gpu'?: number | "integrated" | "dedicated" | undefined;
@@ -1957,6 +2263,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1957
2263
  addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
1958
2264
  } | undefined;
1959
2265
  image_tile_mode?: "disabled" | "batched" | "sequential" | undefined;
2266
+ image_no_upscale?: "on" | "off" | undefined;
1960
2267
  'mmproj-use-gpu'?: boolean | undefined;
1961
2268
  };
1962
2269
  modelName?: string | undefined;
@@ -1968,6 +2275,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1968
2275
  timeout?: number | undefined;
1969
2276
  healthCheckTimeout?: number | undefined;
1970
2277
  } | undefined;
2278
+ fallbackSrc?: string | undefined;
1971
2279
  requestId?: string | undefined;
1972
2280
  } | {
1973
2281
  seed: boolean;
@@ -2051,6 +2359,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2051
2359
  timeout?: number | undefined;
2052
2360
  healthCheckTimeout?: number | undefined;
2053
2361
  } | undefined;
2362
+ fallbackSrc?: string | undefined;
2054
2363
  requestId?: string | undefined;
2055
2364
  } | {
2056
2365
  seed: boolean;
@@ -2112,6 +2421,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2112
2421
  timeout?: number | undefined;
2113
2422
  healthCheckTimeout?: number | undefined;
2114
2423
  } | undefined;
2424
+ fallbackSrc?: string | undefined;
2115
2425
  requestId?: string | undefined;
2116
2426
  } | {
2117
2427
  seed: boolean;
@@ -2127,6 +2437,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2127
2437
  timeout?: number | undefined;
2128
2438
  healthCheckTimeout?: number | undefined;
2129
2439
  } | undefined;
2440
+ fallbackSrc?: string | undefined;
2130
2441
  requestId?: string | undefined;
2131
2442
  modelConfig?: Record<string, unknown> | undefined;
2132
2443
  } | {
@@ -2157,6 +2468,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2157
2468
  timeout?: number | undefined;
2158
2469
  healthCheckTimeout?: number | undefined;
2159
2470
  } | undefined;
2471
+ fallbackSrc?: string | undefined;
2160
2472
  requestId?: string | undefined;
2161
2473
  } | {
2162
2474
  seed: boolean;
@@ -2277,6 +2589,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2277
2589
  timeout?: number | undefined;
2278
2590
  healthCheckTimeout?: number | undefined;
2279
2591
  } | undefined;
2592
+ fallbackSrc?: string | undefined;
2280
2593
  requestId?: string | undefined;
2281
2594
  } | {
2282
2595
  seed: boolean;
@@ -2303,11 +2616,105 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2303
2616
  voice?: string | undefined;
2304
2617
  emotion?: "command" | "anger" | "narration" | "conversation" | "disgust" | "fear" | "happy" | "neutral" | "proper noun" | "news" | "sad" | "surprise" | undefined;
2305
2618
  pitch?: string | undefined;
2306
- pace?: string | undefined;
2619
+ pace?: "slow" | "moderate" | "fast" | undefined;
2307
2620
  expressivity?: string | undefined;
2308
2621
  noise?: string | undefined;
2309
2622
  reverb?: string | undefined;
2310
2623
  quality?: string | undefined;
2624
+ } | {
2625
+ ttsEngine: "cosyvoice3";
2626
+ lavasrEnhancerModelSrc?: string | {
2627
+ src: string;
2628
+ name?: string | undefined;
2629
+ modelId?: string | undefined;
2630
+ registryPath?: string | undefined;
2631
+ registrySource?: string | undefined;
2632
+ blobCoreKey?: string | undefined;
2633
+ blobIndex?: number | undefined;
2634
+ engine?: string | undefined;
2635
+ expectedSize?: number | undefined;
2636
+ sha256Checksum?: string | undefined;
2637
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
2638
+ } | undefined;
2639
+ lavasrDenoiserModelSrc?: string | {
2640
+ src: string;
2641
+ name?: string | undefined;
2642
+ modelId?: string | undefined;
2643
+ registryPath?: string | undefined;
2644
+ registrySource?: string | undefined;
2645
+ blobCoreKey?: string | undefined;
2646
+ blobIndex?: number | undefined;
2647
+ engine?: string | undefined;
2648
+ expectedSize?: number | undefined;
2649
+ sha256Checksum?: string | undefined;
2650
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
2651
+ } | undefined;
2652
+ emotion?: "anger" | "happy" | "neutral" | "sad" | undefined;
2653
+ pace?: "slow" | "moderate" | "fast" | undefined;
2654
+ instruct?: string | {
2655
+ dialect?: "cantonese" | "northeastern" | "gansu" | "guizhou" | "henan" | "hubei" | "hunan" | "jiangxi" | "minnan" | "ningxia" | "shanxi" | "shaanxi" | "shandong" | "shanghai" | "sichuan" | "tianjin" | "yunnan" | undefined;
2656
+ volume?: "loud" | "soft" | undefined;
2657
+ style?: "peppa" | "robot" | undefined;
2658
+ } | undefined;
2659
+ useGPU?: boolean | undefined;
2660
+ outputSampleRate?: number | undefined;
2661
+ streamChunkTokens?: number | undefined;
2662
+ streamFirstChunkTokens?: number | undefined;
2663
+ threads?: number | undefined;
2664
+ nGpuLayers?: number | undefined;
2665
+ seed?: number | undefined;
2666
+ } | {
2667
+ audio8CodecDecoderModelSrc: string | {
2668
+ src: string;
2669
+ name?: string | undefined;
2670
+ modelId?: string | undefined;
2671
+ registryPath?: string | undefined;
2672
+ registrySource?: string | undefined;
2673
+ blobCoreKey?: string | undefined;
2674
+ blobIndex?: number | undefined;
2675
+ engine?: string | undefined;
2676
+ expectedSize?: number | undefined;
2677
+ sha256Checksum?: string | undefined;
2678
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
2679
+ };
2680
+ ttsEngine: "audio8";
2681
+ audio8CodecEncoderModelSrc?: string | {
2682
+ src: string;
2683
+ name?: string | undefined;
2684
+ modelId?: string | undefined;
2685
+ registryPath?: string | undefined;
2686
+ registrySource?: string | undefined;
2687
+ blobCoreKey?: string | undefined;
2688
+ blobIndex?: number | undefined;
2689
+ engine?: string | undefined;
2690
+ expectedSize?: number | undefined;
2691
+ sha256Checksum?: string | undefined;
2692
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
2693
+ } | undefined;
2694
+ referenceAudioSrc?: string | {
2695
+ src: string;
2696
+ name?: string | undefined;
2697
+ modelId?: string | undefined;
2698
+ registryPath?: string | undefined;
2699
+ registrySource?: string | undefined;
2700
+ blobCoreKey?: string | undefined;
2701
+ blobIndex?: number | undefined;
2702
+ engine?: string | undefined;
2703
+ expectedSize?: number | undefined;
2704
+ sha256Checksum?: string | undefined;
2705
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
2706
+ } | undefined;
2707
+ referenceText?: string | undefined;
2708
+ greedy?: boolean | undefined;
2709
+ temperature?: number | undefined;
2710
+ topK?: number | undefined;
2711
+ topP?: number | undefined;
2712
+ maxFrames?: number | undefined;
2713
+ useGPU?: boolean | undefined;
2714
+ outputSampleRate?: number | undefined;
2715
+ threads?: number | undefined;
2716
+ nGpuLayers?: number | undefined;
2717
+ seed?: number | undefined;
2311
2718
  };
2312
2719
  modelName?: string | undefined;
2313
2720
  withProgress?: boolean | undefined;
@@ -2318,6 +2725,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2318
2725
  timeout?: number | undefined;
2319
2726
  healthCheckTimeout?: number | undefined;
2320
2727
  } | undefined;
2728
+ fallbackSrc?: string | undefined;
2321
2729
  requestId?: string | undefined;
2322
2730
  } | {
2323
2731
  seed: boolean;
@@ -2359,6 +2767,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2359
2767
  timeout?: number | undefined;
2360
2768
  healthCheckTimeout?: number | undefined;
2361
2769
  } | undefined;
2770
+ fallbackSrc?: string | undefined;
2362
2771
  requestId?: string | undefined;
2363
2772
  } | {
2364
2773
  seed: boolean;
@@ -2374,6 +2783,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2374
2783
  timeout?: number | undefined;
2375
2784
  healthCheckTimeout?: number | undefined;
2376
2785
  } | undefined;
2786
+ fallbackSrc?: string | undefined;
2377
2787
  requestId?: string | undefined;
2378
2788
  modelConfig?: {
2379
2789
  mode: "diffusion" | "upscale" | "video";
@@ -2617,6 +3027,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2617
3027
  timeout?: number | undefined;
2618
3028
  healthCheckTimeout?: number | undefined;
2619
3029
  } | undefined;
3030
+ fallbackSrc?: string | undefined;
2620
3031
  requestId?: string | undefined;
2621
3032
  } | {
2622
3033
  seed: boolean;
@@ -2632,10 +3043,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2632
3043
  timeout?: number | undefined;
2633
3044
  healthCheckTimeout?: number | undefined;
2634
3045
  } | undefined;
3046
+ fallbackSrc?: string | undefined;
2635
3047
  requestId?: string | undefined;
2636
3048
  modelConfig?: {
2637
3049
  backend?: "cpu" | "auto" | undefined;
2638
3050
  verbosity?: number | undefined;
3051
+ embodiment?: string | number | {
3052
+ tag?: string | undefined;
3053
+ catId?: number | undefined;
3054
+ numCameras?: number | undefined;
3055
+ } | undefined;
2639
3056
  } | undefined;
2640
3057
  } | {
2641
3058
  seed: boolean;
@@ -2651,6 +3068,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2651
3068
  timeout?: number | undefined;
2652
3069
  healthCheckTimeout?: number | undefined;
2653
3070
  } | undefined;
3071
+ fallbackSrc?: string | undefined;
2654
3072
  requestId?: string | undefined;
2655
3073
  modelConfig?: {
2656
3074
  modelPath?: string | undefined;
@@ -2671,6 +3089,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2671
3089
  timeout?: number | undefined;
2672
3090
  healthCheckTimeout?: number | undefined;
2673
3091
  } | undefined;
3092
+ fallbackSrc?: string | undefined;
2674
3093
  requestId?: string | undefined;
2675
3094
  modelConfig?: Record<string, unknown> | undefined;
2676
3095
  }, {
@@ -2697,7 +3116,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2697
3116
  n_discarded?: number | undefined;
2698
3117
  parallel?: number | undefined;
2699
3118
  tools?: boolean | undefined;
2700
- toolsMode?: "static" | "dynamic" | undefined;
2701
3119
  'cache-type-k'?: string | undefined;
2702
3120
  'cache-type-v'?: string | undefined;
2703
3121
  'main-gpu'?: number | "integrated" | "dedicated" | undefined;
@@ -2719,6 +3137,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2719
3137
  addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
2720
3138
  } | undefined;
2721
3139
  image_tile_mode?: "disabled" | "batched" | "sequential" | undefined;
3140
+ image_no_upscale?: "on" | "off" | undefined;
2722
3141
  'mmproj-use-gpu'?: boolean | undefined;
2723
3142
  };
2724
3143
  modelName?: string | undefined;
@@ -2731,6 +3150,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2731
3150
  timeout?: number | undefined;
2732
3151
  healthCheckTimeout?: number | undefined;
2733
3152
  } | undefined;
3153
+ fallbackSrc?: string | undefined;
2734
3154
  requestId?: string | undefined;
2735
3155
  } | {
2736
3156
  type: "loadModel";
@@ -2814,6 +3234,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2814
3234
  timeout?: number | undefined;
2815
3235
  healthCheckTimeout?: number | undefined;
2816
3236
  } | undefined;
3237
+ fallbackSrc?: string | undefined;
2817
3238
  requestId?: string | undefined;
2818
3239
  } | {
2819
3240
  type: "loadModel";
@@ -2875,6 +3296,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2875
3296
  timeout?: number | undefined;
2876
3297
  healthCheckTimeout?: number | undefined;
2877
3298
  } | undefined;
3299
+ fallbackSrc?: string | undefined;
2878
3300
  requestId?: string | undefined;
2879
3301
  } | {
2880
3302
  type: "loadModel";
@@ -2890,6 +3312,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2890
3312
  timeout?: number | undefined;
2891
3313
  healthCheckTimeout?: number | undefined;
2892
3314
  } | undefined;
3315
+ fallbackSrc?: string | undefined;
2893
3316
  requestId?: string | undefined;
2894
3317
  modelConfig?: Record<string, unknown> | undefined;
2895
3318
  } | {
@@ -2920,6 +3343,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2920
3343
  timeout?: number | undefined;
2921
3344
  healthCheckTimeout?: number | undefined;
2922
3345
  } | undefined;
3346
+ fallbackSrc?: string | undefined;
2923
3347
  requestId?: string | undefined;
2924
3348
  } | {
2925
3349
  type: "loadModel";
@@ -3040,6 +3464,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3040
3464
  timeout?: number | undefined;
3041
3465
  healthCheckTimeout?: number | undefined;
3042
3466
  } | undefined;
3467
+ fallbackSrc?: string | undefined;
3043
3468
  requestId?: string | undefined;
3044
3469
  } | {
3045
3470
  type: "loadModel";
@@ -3065,11 +3490,105 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3065
3490
  voice?: string | undefined;
3066
3491
  emotion?: "command" | "anger" | "narration" | "conversation" | "disgust" | "fear" | "happy" | "neutral" | "proper noun" | "news" | "sad" | "surprise" | undefined;
3067
3492
  pitch?: string | undefined;
3068
- pace?: string | undefined;
3493
+ pace?: "slow" | "moderate" | "fast" | undefined;
3069
3494
  expressivity?: string | undefined;
3070
3495
  noise?: string | undefined;
3071
3496
  reverb?: string | undefined;
3072
3497
  quality?: string | undefined;
3498
+ } | {
3499
+ ttsEngine: "cosyvoice3";
3500
+ lavasrEnhancerModelSrc?: string | {
3501
+ src: string;
3502
+ name?: string | undefined;
3503
+ modelId?: string | undefined;
3504
+ registryPath?: string | undefined;
3505
+ registrySource?: string | undefined;
3506
+ blobCoreKey?: string | undefined;
3507
+ blobIndex?: number | undefined;
3508
+ engine?: string | undefined;
3509
+ expectedSize?: number | undefined;
3510
+ sha256Checksum?: string | undefined;
3511
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
3512
+ } | undefined;
3513
+ lavasrDenoiserModelSrc?: string | {
3514
+ src: string;
3515
+ name?: string | undefined;
3516
+ modelId?: string | undefined;
3517
+ registryPath?: string | undefined;
3518
+ registrySource?: string | undefined;
3519
+ blobCoreKey?: string | undefined;
3520
+ blobIndex?: number | undefined;
3521
+ engine?: string | undefined;
3522
+ expectedSize?: number | undefined;
3523
+ sha256Checksum?: string | undefined;
3524
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
3525
+ } | undefined;
3526
+ emotion?: "anger" | "happy" | "neutral" | "sad" | undefined;
3527
+ pace?: "slow" | "moderate" | "fast" | undefined;
3528
+ instruct?: string | {
3529
+ dialect?: "cantonese" | "northeastern" | "gansu" | "guizhou" | "henan" | "hubei" | "hunan" | "jiangxi" | "minnan" | "ningxia" | "shanxi" | "shaanxi" | "shandong" | "shanghai" | "sichuan" | "tianjin" | "yunnan" | undefined;
3530
+ volume?: "loud" | "soft" | undefined;
3531
+ style?: "peppa" | "robot" | undefined;
3532
+ } | undefined;
3533
+ useGPU?: boolean | undefined;
3534
+ outputSampleRate?: number | undefined;
3535
+ streamChunkTokens?: number | undefined;
3536
+ streamFirstChunkTokens?: number | undefined;
3537
+ threads?: number | undefined;
3538
+ nGpuLayers?: number | undefined;
3539
+ seed?: number | undefined;
3540
+ } | {
3541
+ audio8CodecDecoderModelSrc: string | {
3542
+ src: string;
3543
+ name?: string | undefined;
3544
+ modelId?: string | undefined;
3545
+ registryPath?: string | undefined;
3546
+ registrySource?: string | undefined;
3547
+ blobCoreKey?: string | undefined;
3548
+ blobIndex?: number | undefined;
3549
+ engine?: string | undefined;
3550
+ expectedSize?: number | undefined;
3551
+ sha256Checksum?: string | undefined;
3552
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
3553
+ };
3554
+ ttsEngine: "audio8";
3555
+ audio8CodecEncoderModelSrc?: string | {
3556
+ src: string;
3557
+ name?: string | undefined;
3558
+ modelId?: string | undefined;
3559
+ registryPath?: string | undefined;
3560
+ registrySource?: string | undefined;
3561
+ blobCoreKey?: string | undefined;
3562
+ blobIndex?: number | undefined;
3563
+ engine?: string | undefined;
3564
+ expectedSize?: number | undefined;
3565
+ sha256Checksum?: string | undefined;
3566
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
3567
+ } | undefined;
3568
+ referenceAudioSrc?: string | {
3569
+ src: string;
3570
+ name?: string | undefined;
3571
+ modelId?: string | undefined;
3572
+ registryPath?: string | undefined;
3573
+ registrySource?: string | undefined;
3574
+ blobCoreKey?: string | undefined;
3575
+ blobIndex?: number | undefined;
3576
+ engine?: string | undefined;
3577
+ expectedSize?: number | undefined;
3578
+ sha256Checksum?: string | undefined;
3579
+ addon?: "embeddings" | "diffusion" | "audiogen" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "audiogen-ggml" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
3580
+ } | undefined;
3581
+ referenceText?: string | undefined;
3582
+ greedy?: boolean | undefined;
3583
+ temperature?: number | undefined;
3584
+ topK?: number | undefined;
3585
+ topP?: number | undefined;
3586
+ maxFrames?: number | undefined;
3587
+ useGPU?: boolean | undefined;
3588
+ outputSampleRate?: number | undefined;
3589
+ threads?: number | undefined;
3590
+ nGpuLayers?: number | undefined;
3591
+ seed?: number | undefined;
3073
3592
  };
3074
3593
  modelName?: string | undefined;
3075
3594
  withProgress?: boolean | undefined;
@@ -3081,6 +3600,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3081
3600
  timeout?: number | undefined;
3082
3601
  healthCheckTimeout?: number | undefined;
3083
3602
  } | undefined;
3603
+ fallbackSrc?: string | undefined;
3084
3604
  requestId?: string | undefined;
3085
3605
  } | {
3086
3606
  type: "loadModel";
@@ -3122,6 +3642,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3122
3642
  timeout?: number | undefined;
3123
3643
  healthCheckTimeout?: number | undefined;
3124
3644
  } | undefined;
3645
+ fallbackSrc?: string | undefined;
3125
3646
  requestId?: string | undefined;
3126
3647
  } | {
3127
3648
  type: "loadModel";
@@ -3137,6 +3658,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3137
3658
  timeout?: number | undefined;
3138
3659
  healthCheckTimeout?: number | undefined;
3139
3660
  } | undefined;
3661
+ fallbackSrc?: string | undefined;
3140
3662
  requestId?: string | undefined;
3141
3663
  modelConfig?: {
3142
3664
  mode: "diffusion" | "upscale" | "video";
@@ -3380,6 +3902,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3380
3902
  timeout?: number | undefined;
3381
3903
  healthCheckTimeout?: number | undefined;
3382
3904
  } | undefined;
3905
+ fallbackSrc?: string | undefined;
3383
3906
  requestId?: string | undefined;
3384
3907
  } | {
3385
3908
  type: "loadModel";
@@ -3395,10 +3918,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3395
3918
  timeout?: number | undefined;
3396
3919
  healthCheckTimeout?: number | undefined;
3397
3920
  } | undefined;
3921
+ fallbackSrc?: string | undefined;
3398
3922
  requestId?: string | undefined;
3399
3923
  modelConfig?: {
3400
3924
  backend?: "cpu" | "auto" | undefined;
3401
3925
  verbosity?: number | undefined;
3926
+ embodiment?: string | number | {
3927
+ tag?: string | undefined;
3928
+ catId?: number | undefined;
3929
+ numCameras?: number | undefined;
3930
+ } | undefined;
3402
3931
  } | undefined;
3403
3932
  } | {
3404
3933
  type: "loadModel";
@@ -3414,6 +3943,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3414
3943
  timeout?: number | undefined;
3415
3944
  healthCheckTimeout?: number | undefined;
3416
3945
  } | undefined;
3946
+ fallbackSrc?: string | undefined;
3417
3947
  requestId?: string | undefined;
3418
3948
  modelConfig?: {
3419
3949
  modelPath?: string | undefined;
@@ -3434,6 +3964,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3434
3964
  timeout?: number | undefined;
3435
3965
  healthCheckTimeout?: number | undefined;
3436
3966
  } | undefined;
3967
+ fallbackSrc?: string | undefined;
3437
3968
  requestId?: string | undefined;
3438
3969
  modelConfig?: Record<string, unknown> | undefined;
3439
3970
  }>>, z.ZodUnion<readonly [z.ZodObject<{
@@ -3894,7 +4425,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3894
4425
  surprise: "surprise";
3895
4426
  }>>;
3896
4427
  pitch: z.ZodOptional<z.ZodString>;
3897
- pace: z.ZodOptional<z.ZodString>;
4428
+ pace: z.ZodOptional<z.ZodEnum<{
4429
+ slow: "slow";
4430
+ moderate: "moderate";
4431
+ fast: "fast";
4432
+ }>>;
3898
4433
  expressivity: z.ZodOptional<z.ZodString>;
3899
4434
  noise: z.ZodOptional<z.ZodString>;
3900
4435
  reverb: z.ZodOptional<z.ZodString>;
@@ -3926,7 +4461,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3926
4461
  surprise: "surprise";
3927
4462
  }>>;
3928
4463
  pitch: z.ZodOptional<z.ZodString>;
3929
- pace: z.ZodOptional<z.ZodString>;
4464
+ pace: z.ZodOptional<z.ZodEnum<{
4465
+ slow: "slow";
4466
+ moderate: "moderate";
4467
+ fast: "fast";
4468
+ }>>;
3930
4469
  expressivity: z.ZodOptional<z.ZodString>;
3931
4470
  noise: z.ZodOptional<z.ZodString>;
3932
4471
  reverb: z.ZodOptional<z.ZodString>;