@qvac/sdk 0.10.2 → 0.11.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 (200) hide show
  1. package/NOTICE +92 -54
  2. package/dist/client/api/cancel.d.ts +24 -32
  3. package/dist/client/api/cancel.js +58 -31
  4. package/dist/client/api/client-request-id.d.ts +17 -0
  5. package/dist/client/api/client-request-id.js +27 -0
  6. package/dist/client/api/completion-stream.d.ts +1 -1
  7. package/dist/client/api/completion-stream.js +34 -3
  8. package/dist/client/api/diffusion.d.ts +46 -0
  9. package/dist/client/api/diffusion.js +50 -1
  10. package/dist/client/api/download-asset.d.ts +12 -2
  11. package/dist/client/api/download-asset.js +21 -3
  12. package/dist/client/api/embed.d.ts +8 -4
  13. package/dist/client/api/embed.js +14 -1
  14. package/dist/client/api/get-model-info.d.ts +1 -1
  15. package/dist/client/api/index.d.ts +1 -0
  16. package/dist/client/api/index.js +1 -0
  17. package/dist/client/api/load-model.d.ts +12 -4
  18. package/dist/client/api/load-model.js +25 -1
  19. package/dist/client/api/rag.d.ts +9 -3
  20. package/dist/client/api/rag.js +23 -3
  21. package/dist/client/api/transcribe.d.ts +20 -8
  22. package/dist/client/api/transcribe.js +58 -4
  23. package/dist/client/api/unload-model.d.ts +5 -2
  24. package/dist/client/api/unload-model.js +9 -4
  25. package/dist/client/api/upscale.d.ts +45 -0
  26. package/dist/client/api/upscale.js +99 -0
  27. package/dist/client/rpc/expo-rpc-client.js +2 -1
  28. package/dist/client/rpc/node-rpc-client.js +18 -7
  29. package/dist/client/rpc/rpc-client.d.ts +2 -2
  30. package/dist/client/rpc/rpc-client.js +10 -4
  31. package/dist/client/rpc/rpc-error.d.ts +9 -0
  32. package/dist/client/rpc/rpc-error.js +92 -0
  33. package/dist/examples/cancel-by-request-id.d.ts +38 -0
  34. package/dist/examples/cancel-by-request-id.js +103 -0
  35. package/dist/examples/diffusion-esrgan-upscale.d.ts +2 -0
  36. package/dist/examples/diffusion-esrgan-upscale.js +78 -0
  37. package/dist/examples/download-with-cancel.js +10 -10
  38. package/dist/examples/embed-multi-gpu.d.ts +2 -0
  39. package/dist/examples/embed-multi-gpu.js +46 -0
  40. package/dist/examples/llamacpp-multi-gpu.d.ts +2 -0
  41. package/dist/examples/llamacpp-multi-gpu.js +57 -0
  42. package/dist/examples/rag/rag-hyperdb/cancellation.js +20 -17
  43. package/dist/examples/tools/llamacpp-tools-gemma4.d.ts +2 -0
  44. package/dist/examples/tools/llamacpp-tools-gemma4.js +76 -0
  45. package/dist/examples/tools/llamacpp-tools-qwen35.d.ts +2 -0
  46. package/dist/examples/tools/llamacpp-tools-qwen35.js +70 -0
  47. package/dist/examples/transcription/whispercpp-microphone-conversation.d.ts +2 -0
  48. package/dist/examples/transcription/whispercpp-microphone-conversation.js +102 -0
  49. package/dist/examples/tts/supertonic.js +1 -1
  50. package/dist/expo/plugins/withMobileBundle.d.ts +20 -4
  51. package/dist/expo/plugins/withMobileBundle.js +44 -6
  52. package/dist/index.d.ts +5 -2
  53. package/dist/index.js +21 -1
  54. package/dist/models/registry/models.d.ts +186 -318
  55. package/dist/models/registry/models.js +1522 -1667
  56. package/dist/pear/pre.d.ts +3 -0
  57. package/dist/pear/pre.js +3 -0
  58. package/dist/schemas/cancel.d.ts +167 -28
  59. package/dist/schemas/cancel.js +119 -19
  60. package/dist/schemas/common.d.ts +427 -208
  61. package/dist/schemas/common.js +3 -1
  62. package/dist/schemas/completion-event.d.ts +14 -0
  63. package/dist/schemas/completion-event.js +11 -1
  64. package/dist/schemas/completion-stream.d.ts +15 -1
  65. package/dist/schemas/completion-stream.js +25 -7
  66. package/dist/schemas/download-asset.d.ts +15 -9
  67. package/dist/schemas/download-asset.js +17 -6
  68. package/dist/schemas/embed.d.ts +1 -0
  69. package/dist/schemas/embed.js +5 -0
  70. package/dist/schemas/error.d.ts +31 -0
  71. package/dist/schemas/error.js +29 -1
  72. package/dist/schemas/finetune.d.ts +2 -0
  73. package/dist/schemas/finetune.js +5 -0
  74. package/dist/schemas/get-model-info.d.ts +6 -6
  75. package/dist/schemas/llamacpp-config.d.ts +54 -8
  76. package/dist/schemas/llamacpp-config.js +12 -0
  77. package/dist/schemas/load-model.d.ts +1911 -1260
  78. package/dist/schemas/load-model.js +15 -0
  79. package/dist/schemas/model-src-utils.d.ts +14 -14
  80. package/dist/schemas/model-types.d.ts +10 -10
  81. package/dist/schemas/ocr.d.ts +3 -3
  82. package/dist/schemas/plugin.d.ts +40 -1
  83. package/dist/schemas/plugin.js +10 -1
  84. package/dist/schemas/rag.d.ts +9 -0
  85. package/dist/schemas/rag.js +17 -9
  86. package/dist/schemas/registry.d.ts +30 -30
  87. package/dist/schemas/reload-config.d.ts +14 -14
  88. package/dist/schemas/sdcpp-config.d.ts +131 -17
  89. package/dist/schemas/sdcpp-config.js +163 -1
  90. package/dist/schemas/sdk-config.d.ts +649 -271
  91. package/dist/schemas/sdk-errors-client.d.ts +1 -0
  92. package/dist/schemas/sdk-errors-client.js +5 -0
  93. package/dist/schemas/sdk-errors-server.d.ts +5 -0
  94. package/dist/schemas/sdk-errors-server.js +25 -0
  95. package/dist/schemas/text-to-speech.d.ts +78 -78
  96. package/dist/schemas/transcription-config.d.ts +24 -24
  97. package/dist/schemas/transcription.d.ts +56 -2
  98. package/dist/schemas/transcription.js +27 -0
  99. package/dist/schemas/translate.d.ts +2 -0
  100. package/dist/schemas/translate.js +13 -2
  101. package/dist/schemas/translation-config.d.ts +40 -40
  102. package/dist/schemas/unload-model.d.ts +2 -1
  103. package/dist/schemas/unload-model.js +4 -1
  104. package/dist/scripts/run-unit-tests.js +15 -2
  105. package/dist/server/bare/ops/cancel.d.ts +27 -1
  106. package/dist/server/bare/ops/cancel.js +36 -10
  107. package/dist/server/bare/ops/embed.d.ts +3 -3
  108. package/dist/server/bare/ops/embed.js +144 -28
  109. package/dist/server/bare/ops/kv-cache-utils.d.ts +0 -7
  110. package/dist/server/bare/ops/kv-cache-utils.js +8 -47
  111. package/dist/server/bare/ops/transcribe.d.ts +10 -5
  112. package/dist/server/bare/ops/transcribe.js +196 -41
  113. package/dist/server/bare/ops/translate.d.ts +1 -1
  114. package/dist/server/bare/ops/translate.js +197 -88
  115. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.d.ts +12 -3
  116. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +170 -172
  117. package/dist/server/bare/plugins/llamacpp-completion/ops/finetune.js +125 -21
  118. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-session.d.ts +154 -0
  119. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-session.js +448 -0
  120. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-state.d.ts +21 -73
  121. package/dist/server/bare/plugins/llamacpp-completion/ops/kv-cache-state.js +18 -101
  122. package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +30 -3
  123. package/dist/server/bare/plugins/llamacpp-completion/plugin.js +157 -85
  124. package/dist/server/bare/plugins/llamacpp-completion/transform.d.ts +10 -0
  125. package/dist/server/bare/plugins/llamacpp-completion/transform.js +34 -0
  126. package/dist/server/bare/plugins/llamacpp-embedding/plugin.d.ts +7 -0
  127. package/dist/server/bare/plugins/llamacpp-embedding/plugin.js +10 -1
  128. package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +17 -15
  129. package/dist/server/bare/plugins/nmtcpp-translation/plugin.js +5 -1
  130. package/dist/server/bare/plugins/onnx-ocr/plugin.d.ts +3 -3
  131. package/dist/server/bare/plugins/onnx-ocr/plugin.js +3 -0
  132. package/dist/server/bare/plugins/onnx-tts/plugin.d.ts +39 -39
  133. package/dist/server/bare/plugins/onnx-tts/plugin.js +6 -0
  134. package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +29 -21
  135. package/dist/server/bare/plugins/parakeet-transcription/plugin.js +4 -1
  136. package/dist/server/bare/plugins/sdcpp-generation/ops/diffusion.js +8 -0
  137. package/dist/server/bare/plugins/sdcpp-generation/ops/upscale.d.ts +3 -0
  138. package/dist/server/bare/plugins/sdcpp-generation/ops/upscale.js +40 -0
  139. package/dist/server/bare/plugins/sdcpp-generation/plugin.d.ts +91 -16
  140. package/dist/server/bare/plugins/sdcpp-generation/plugin.js +97 -7
  141. package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +22 -3
  142. package/dist/server/bare/plugins/whispercpp-transcription/plugin.js +50 -14
  143. package/dist/server/bare/rag-hyperdb/index.d.ts +1 -1
  144. package/dist/server/bare/rag-hyperdb/index.js +1 -1
  145. package/dist/server/bare/rag-hyperdb/rag-operation-manager.d.ts +26 -4
  146. package/dist/server/bare/rag-hyperdb/rag-operation-manager.js +65 -28
  147. package/dist/server/bare/runtime/disposable-scope.d.ts +36 -0
  148. package/dist/server/bare/runtime/disposable-scope.js +69 -0
  149. package/dist/server/bare/runtime/index.d.ts +8 -0
  150. package/dist/server/bare/runtime/index.js +3 -0
  151. package/dist/server/bare/runtime/request-context.d.ts +49 -0
  152. package/dist/server/bare/runtime/request-context.js +1 -0
  153. package/dist/server/bare/runtime/request-id.d.ts +12 -0
  154. package/dist/server/bare/runtime/request-id.js +14 -0
  155. package/dist/server/bare/runtime/request-registry-singleton.d.ts +4 -0
  156. package/dist/server/bare/runtime/request-registry-singleton.js +27 -0
  157. package/dist/server/bare/runtime/request-registry.d.ts +136 -0
  158. package/dist/server/bare/runtime/request-registry.js +297 -0
  159. package/dist/server/bare/runtime/with-request-context.d.ts +22 -0
  160. package/dist/server/bare/runtime/with-request-context.js +53 -0
  161. package/dist/server/bare/types/addon-responses.d.ts +11 -1
  162. package/dist/server/rpc/handler-registry.js +26 -7
  163. package/dist/server/rpc/handlers/cancel-delegated.js +28 -31
  164. package/dist/server/rpc/handlers/cancelHandler.d.ts +30 -1
  165. package/dist/server/rpc/handlers/cancelHandler.js +54 -22
  166. package/dist/server/rpc/handlers/delete-cache.d.ts +9 -0
  167. package/dist/server/rpc/handlers/delete-cache.js +13 -15
  168. package/dist/server/rpc/handlers/download-asset.js +133 -40
  169. package/dist/server/rpc/handlers/index.d.ts +2 -0
  170. package/dist/server/rpc/handlers/index.js +2 -0
  171. package/dist/server/rpc/handlers/load-model/download-manager.d.ts +60 -2
  172. package/dist/server/rpc/handlers/load-model/download-manager.js +141 -8
  173. package/dist/server/rpc/handlers/load-model/handler.js +213 -98
  174. package/dist/server/rpc/handlers/load-model/http.js +3 -3
  175. package/dist/server/rpc/handlers/load-model/hyperdrive.js +1 -1
  176. package/dist/server/rpc/handlers/load-model/registry.js +1 -1
  177. package/dist/server/rpc/handlers/load-model/resolve-session.d.ts +20 -1
  178. package/dist/server/rpc/handlers/load-model/resolve-session.js +6 -5
  179. package/dist/server/rpc/handlers/load-model/resolve.d.ts +3 -2
  180. package/dist/server/rpc/handlers/load-model/resolve.js +9 -6
  181. package/dist/server/rpc/handlers/load-model/types.d.ts +24 -0
  182. package/dist/server/rpc/handlers/rag.js +133 -15
  183. package/dist/server/rpc/handlers/upscale-stream.d.ts +3 -0
  184. package/dist/server/rpc/handlers/upscale-stream.js +4 -0
  185. package/dist/server/utils/completion-normalizer.js +8 -0
  186. package/dist/server/utils/tools/dialect.js +4 -0
  187. package/dist/server/utils/tools/parser.js +16 -1
  188. package/dist/server/utils/tools/parsers/gemma4native.d.ts +4 -0
  189. package/dist/server/utils/tools/parsers/gemma4native.js +60 -0
  190. package/dist/server/utils/tools/parsers/qwen35.d.ts +4 -0
  191. package/dist/server/utils/tools/parsers/qwen35.js +120 -0
  192. package/dist/utils/aggregate-events.d.ts +9 -0
  193. package/dist/utils/aggregate-events.js +18 -3
  194. package/dist/utils/decorate-promise.d.ts +34 -0
  195. package/dist/utils/decorate-promise.js +35 -0
  196. package/dist/utils/errors-client.d.ts +3 -0
  197. package/dist/utils/errors-client.js +5 -0
  198. package/dist/utils/errors-server.d.ts +85 -0
  199. package/dist/utils/errors-server.js +97 -0
  200. package/package.json +20 -15
@@ -19,6 +19,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
19
19
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
20
20
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
21
21
  }, z.core.$strip>>;
22
+ requestId: z.ZodOptional<z.ZodString>;
22
23
  modelType: z.ZodLiteral<"llamacpp-completion">;
23
24
  modelConfig: z.ZodObject<{
24
25
  ctx_size: z.ZodOptional<z.ZodNumber>;
@@ -45,7 +46,18 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
45
46
  }>>;
46
47
  "cache-type-k": z.ZodOptional<z.ZodString>;
47
48
  "cache-type-v": z.ZodOptional<z.ZodString>;
49
+ "main-gpu": z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
50
+ integrated: "integrated";
51
+ dedicated: "dedicated";
52
+ }>]>>;
53
+ "split-mode": z.ZodOptional<z.ZodEnum<{
54
+ none: "none";
55
+ layer: "layer";
56
+ row: "row";
57
+ }>>;
58
+ "tensor-split": z.ZodOptional<z.ZodString>;
48
59
  openclCacheDir: z.ZodOptional<z.ZodString>;
60
+ reasoning_budget: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<-1>, z.ZodLiteral<0>]>>;
49
61
  projectionModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
50
62
  src: z.ZodString;
51
63
  name: z.ZodOptional<z.ZodString>;
@@ -59,6 +71,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
59
71
  sha256Checksum: z.ZodOptional<z.ZodString>;
60
72
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
61
73
  embeddings: "embeddings";
74
+ diffusion: "diffusion";
75
+ tts: "tts";
76
+ ocr: "ocr";
62
77
  "llamacpp-completion": "llamacpp-completion";
63
78
  "whispercpp-transcription": "whispercpp-transcription";
64
79
  "llamacpp-embedding": "llamacpp-embedding";
@@ -71,9 +86,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
71
86
  whisper: "whisper";
72
87
  nmt: "nmt";
73
88
  parakeet: "parakeet";
74
- tts: "tts";
75
- ocr: "ocr";
76
- diffusion: "diffusion";
77
89
  }>, z.ZodLiteral<"vad">]>>;
78
90
  }, z.core.$strip>]>>;
79
91
  }, z.core.$strip>;
@@ -90,6 +102,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
90
102
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
91
103
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
92
104
  }, z.core.$strip>>;
105
+ requestId: z.ZodOptional<z.ZodString>;
93
106
  modelType: z.ZodLiteral<"whispercpp-transcription">;
94
107
  modelConfig: z.ZodObject<{
95
108
  strategy: z.ZodOptional<z.ZodEnum<{
@@ -164,6 +177,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
164
177
  sha256Checksum: z.ZodOptional<z.ZodString>;
165
178
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
166
179
  embeddings: "embeddings";
180
+ diffusion: "diffusion";
181
+ tts: "tts";
182
+ ocr: "ocr";
167
183
  "llamacpp-completion": "llamacpp-completion";
168
184
  "whispercpp-transcription": "whispercpp-transcription";
169
185
  "llamacpp-embedding": "llamacpp-embedding";
@@ -176,9 +192,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
176
192
  whisper: "whisper";
177
193
  nmt: "nmt";
178
194
  parakeet: "parakeet";
179
- tts: "tts";
180
- ocr: "ocr";
181
- diffusion: "diffusion";
182
195
  }>, z.ZodLiteral<"vad">]>>;
183
196
  }, z.core.$strip>]>>;
184
197
  }, z.core.$strip>;
@@ -195,6 +208,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
195
208
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
196
209
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
197
210
  }, z.core.$strip>>;
211
+ requestId: z.ZodOptional<z.ZodString>;
198
212
  modelType: z.ZodLiteral<"parakeet-transcription">;
199
213
  modelConfig: z.ZodObject<{
200
214
  modelType: z.ZodDefault<z.ZodEnum<{
@@ -221,6 +235,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
221
235
  sha256Checksum: z.ZodOptional<z.ZodString>;
222
236
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
223
237
  embeddings: "embeddings";
238
+ diffusion: "diffusion";
239
+ tts: "tts";
240
+ ocr: "ocr";
224
241
  "llamacpp-completion": "llamacpp-completion";
225
242
  "whispercpp-transcription": "whispercpp-transcription";
226
243
  "llamacpp-embedding": "llamacpp-embedding";
@@ -233,9 +250,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
233
250
  whisper: "whisper";
234
251
  nmt: "nmt";
235
252
  parakeet: "parakeet";
236
- tts: "tts";
237
- ocr: "ocr";
238
- diffusion: "diffusion";
239
253
  }>, z.ZodLiteral<"vad">]>>;
240
254
  }, z.core.$strip>]>>;
241
255
  parakeetDecoderSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -251,6 +265,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
251
265
  sha256Checksum: z.ZodOptional<z.ZodString>;
252
266
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
253
267
  embeddings: "embeddings";
268
+ diffusion: "diffusion";
269
+ tts: "tts";
270
+ ocr: "ocr";
254
271
  "llamacpp-completion": "llamacpp-completion";
255
272
  "whispercpp-transcription": "whispercpp-transcription";
256
273
  "llamacpp-embedding": "llamacpp-embedding";
@@ -263,9 +280,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
263
280
  whisper: "whisper";
264
281
  nmt: "nmt";
265
282
  parakeet: "parakeet";
266
- tts: "tts";
267
- ocr: "ocr";
268
- diffusion: "diffusion";
269
283
  }>, z.ZodLiteral<"vad">]>>;
270
284
  }, z.core.$strip>]>>;
271
285
  parakeetVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -281,6 +295,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
281
295
  sha256Checksum: z.ZodOptional<z.ZodString>;
282
296
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
283
297
  embeddings: "embeddings";
298
+ diffusion: "diffusion";
299
+ tts: "tts";
300
+ ocr: "ocr";
284
301
  "llamacpp-completion": "llamacpp-completion";
285
302
  "whispercpp-transcription": "whispercpp-transcription";
286
303
  "llamacpp-embedding": "llamacpp-embedding";
@@ -293,9 +310,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
293
310
  whisper: "whisper";
294
311
  nmt: "nmt";
295
312
  parakeet: "parakeet";
296
- tts: "tts";
297
- ocr: "ocr";
298
- diffusion: "diffusion";
299
313
  }>, z.ZodLiteral<"vad">]>>;
300
314
  }, z.core.$strip>]>>;
301
315
  parakeetPreprocessorSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -311,6 +325,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
311
325
  sha256Checksum: z.ZodOptional<z.ZodString>;
312
326
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
313
327
  embeddings: "embeddings";
328
+ diffusion: "diffusion";
329
+ tts: "tts";
330
+ ocr: "ocr";
314
331
  "llamacpp-completion": "llamacpp-completion";
315
332
  "whispercpp-transcription": "whispercpp-transcription";
316
333
  "llamacpp-embedding": "llamacpp-embedding";
@@ -323,9 +340,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
323
340
  whisper: "whisper";
324
341
  nmt: "nmt";
325
342
  parakeet: "parakeet";
326
- tts: "tts";
327
- ocr: "ocr";
328
- diffusion: "diffusion";
329
343
  }>, z.ZodLiteral<"vad">]>>;
330
344
  }, z.core.$strip>]>>;
331
345
  parakeetCtcModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -341,6 +355,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
341
355
  sha256Checksum: z.ZodOptional<z.ZodString>;
342
356
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
343
357
  embeddings: "embeddings";
358
+ diffusion: "diffusion";
359
+ tts: "tts";
360
+ ocr: "ocr";
344
361
  "llamacpp-completion": "llamacpp-completion";
345
362
  "whispercpp-transcription": "whispercpp-transcription";
346
363
  "llamacpp-embedding": "llamacpp-embedding";
@@ -353,9 +370,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
353
370
  whisper: "whisper";
354
371
  nmt: "nmt";
355
372
  parakeet: "parakeet";
356
- tts: "tts";
357
- ocr: "ocr";
358
- diffusion: "diffusion";
359
373
  }>, z.ZodLiteral<"vad">]>>;
360
374
  }, z.core.$strip>]>>;
361
375
  parakeetTokenizerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -371,6 +385,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
371
385
  sha256Checksum: z.ZodOptional<z.ZodString>;
372
386
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
373
387
  embeddings: "embeddings";
388
+ diffusion: "diffusion";
389
+ tts: "tts";
390
+ ocr: "ocr";
374
391
  "llamacpp-completion": "llamacpp-completion";
375
392
  "whispercpp-transcription": "whispercpp-transcription";
376
393
  "llamacpp-embedding": "llamacpp-embedding";
@@ -383,9 +400,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
383
400
  whisper: "whisper";
384
401
  nmt: "nmt";
385
402
  parakeet: "parakeet";
386
- tts: "tts";
387
- ocr: "ocr";
388
- diffusion: "diffusion";
389
403
  }>, z.ZodLiteral<"vad">]>>;
390
404
  }, z.core.$strip>]>>;
391
405
  parakeetSortformerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -401,6 +415,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
401
415
  sha256Checksum: z.ZodOptional<z.ZodString>;
402
416
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
403
417
  embeddings: "embeddings";
418
+ diffusion: "diffusion";
419
+ tts: "tts";
420
+ ocr: "ocr";
404
421
  "llamacpp-completion": "llamacpp-completion";
405
422
  "whispercpp-transcription": "whispercpp-transcription";
406
423
  "llamacpp-embedding": "llamacpp-embedding";
@@ -413,9 +430,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
413
430
  whisper: "whisper";
414
431
  nmt: "nmt";
415
432
  parakeet: "parakeet";
416
- tts: "tts";
417
- ocr: "ocr";
418
- diffusion: "diffusion";
419
433
  }>, z.ZodLiteral<"vad">]>>;
420
434
  }, z.core.$strip>]>>;
421
435
  }, z.core.$strip>;
@@ -432,6 +446,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
432
446
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
433
447
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
434
448
  }, z.core.$strip>>;
449
+ requestId: z.ZodOptional<z.ZodString>;
435
450
  modelType: z.ZodLiteral<"llamacpp-embedding">;
436
451
  modelConfig: z.ZodObject<{
437
452
  gpuLayers: z.ZodOptional<z.ZodNumber>;
@@ -461,6 +476,12 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
461
476
  integrated: "integrated";
462
477
  dedicated: "dedicated";
463
478
  }>]>>;
479
+ splitMode: z.ZodOptional<z.ZodEnum<{
480
+ none: "none";
481
+ layer: "layer";
482
+ row: "row";
483
+ }>>;
484
+ tensorSplit: z.ZodOptional<z.ZodString>;
464
485
  verbosity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
465
486
  openclCacheDir: z.ZodOptional<z.ZodString>;
466
487
  }, z.core.$strip>;
@@ -477,6 +498,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
477
498
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
478
499
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
479
500
  }, z.core.$strip>>;
501
+ requestId: z.ZodOptional<z.ZodString>;
480
502
  modelType: z.ZodLiteral<"nmtcpp-translation">;
481
503
  modelConfig: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
482
504
  mode: z.ZodOptional<z.ZodEnum<{
@@ -612,6 +634,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
612
634
  sha256Checksum: z.ZodOptional<z.ZodString>;
613
635
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
614
636
  embeddings: "embeddings";
637
+ diffusion: "diffusion";
638
+ tts: "tts";
639
+ ocr: "ocr";
615
640
  "llamacpp-completion": "llamacpp-completion";
616
641
  "whispercpp-transcription": "whispercpp-transcription";
617
642
  "llamacpp-embedding": "llamacpp-embedding";
@@ -624,9 +649,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
624
649
  whisper: "whisper";
625
650
  nmt: "nmt";
626
651
  parakeet: "parakeet";
627
- tts: "tts";
628
- ocr: "ocr";
629
- diffusion: "diffusion";
630
652
  }>, z.ZodLiteral<"vad">]>>;
631
653
  }, z.core.$strip>]>>;
632
654
  dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -642,6 +664,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
642
664
  sha256Checksum: z.ZodOptional<z.ZodString>;
643
665
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
644
666
  embeddings: "embeddings";
667
+ diffusion: "diffusion";
668
+ tts: "tts";
669
+ ocr: "ocr";
645
670
  "llamacpp-completion": "llamacpp-completion";
646
671
  "whispercpp-transcription": "whispercpp-transcription";
647
672
  "llamacpp-embedding": "llamacpp-embedding";
@@ -654,9 +679,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
654
679
  whisper: "whisper";
655
680
  nmt: "nmt";
656
681
  parakeet: "parakeet";
657
- tts: "tts";
658
- ocr: "ocr";
659
- diffusion: "diffusion";
660
682
  }>, z.ZodLiteral<"vad">]>>;
661
683
  }, z.core.$strip>]>>;
662
684
  normalize: z.ZodOptional<z.ZodNumber>;
@@ -685,6 +707,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
685
707
  sha256Checksum: z.ZodOptional<z.ZodString>;
686
708
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
687
709
  embeddings: "embeddings";
710
+ diffusion: "diffusion";
711
+ tts: "tts";
712
+ ocr: "ocr";
688
713
  "llamacpp-completion": "llamacpp-completion";
689
714
  "whispercpp-transcription": "whispercpp-transcription";
690
715
  "llamacpp-embedding": "llamacpp-embedding";
@@ -697,9 +722,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
697
722
  whisper: "whisper";
698
723
  nmt: "nmt";
699
724
  parakeet: "parakeet";
700
- tts: "tts";
701
- ocr: "ocr";
702
- diffusion: "diffusion";
703
725
  }>, z.ZodLiteral<"vad">]>>;
704
726
  }, z.core.$strip>]>;
705
727
  srcVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -715,6 +737,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
715
737
  sha256Checksum: z.ZodOptional<z.ZodString>;
716
738
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
717
739
  embeddings: "embeddings";
740
+ diffusion: "diffusion";
741
+ tts: "tts";
742
+ ocr: "ocr";
718
743
  "llamacpp-completion": "llamacpp-completion";
719
744
  "whispercpp-transcription": "whispercpp-transcription";
720
745
  "llamacpp-embedding": "llamacpp-embedding";
@@ -727,9 +752,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
727
752
  whisper: "whisper";
728
753
  nmt: "nmt";
729
754
  parakeet: "parakeet";
730
- tts: "tts";
731
- ocr: "ocr";
732
- diffusion: "diffusion";
733
755
  }>, z.ZodLiteral<"vad">]>>;
734
756
  }, z.core.$strip>]>>;
735
757
  dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -745,6 +767,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
745
767
  sha256Checksum: z.ZodOptional<z.ZodString>;
746
768
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
747
769
  embeddings: "embeddings";
770
+ diffusion: "diffusion";
771
+ tts: "tts";
772
+ ocr: "ocr";
748
773
  "llamacpp-completion": "llamacpp-completion";
749
774
  "whispercpp-transcription": "whispercpp-transcription";
750
775
  "llamacpp-embedding": "llamacpp-embedding";
@@ -757,9 +782,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
757
782
  whisper: "whisper";
758
783
  nmt: "nmt";
759
784
  parakeet: "parakeet";
760
- tts: "tts";
761
- ocr: "ocr";
762
- diffusion: "diffusion";
763
785
  }>, z.ZodLiteral<"vad">]>>;
764
786
  }, z.core.$strip>]>>;
765
787
  normalize: z.ZodOptional<z.ZodNumber>;
@@ -857,7 +879,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
857
879
  engine?: string | undefined;
858
880
  expectedSize?: number | undefined;
859
881
  sha256Checksum?: string | undefined;
860
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
882
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
861
883
  } | undefined;
862
884
  dstVocabSrc?: string | {
863
885
  src: string;
@@ -870,7 +892,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
870
892
  engine?: string | undefined;
871
893
  expectedSize?: number | undefined;
872
894
  sha256Checksum?: string | undefined;
873
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
895
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
874
896
  } | undefined;
875
897
  normalize?: number | undefined;
876
898
  pivotModel?: {
@@ -885,7 +907,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
885
907
  engine?: string | undefined;
886
908
  expectedSize?: number | undefined;
887
909
  sha256Checksum?: string | undefined;
888
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
910
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
889
911
  };
890
912
  mode?: "full" | undefined;
891
913
  beamsize?: number | undefined;
@@ -907,7 +929,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
907
929
  engine?: string | undefined;
908
930
  expectedSize?: number | undefined;
909
931
  sha256Checksum?: string | undefined;
910
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
932
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
911
933
  } | undefined;
912
934
  dstVocabSrc?: string | {
913
935
  src: string;
@@ -920,7 +942,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
920
942
  engine?: string | undefined;
921
943
  expectedSize?: number | undefined;
922
944
  sha256Checksum?: string | undefined;
923
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
945
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
924
946
  } | undefined;
925
947
  normalize?: number | undefined;
926
948
  } | undefined;
@@ -961,7 +983,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
961
983
  engine?: string | undefined;
962
984
  expectedSize?: number | undefined;
963
985
  sha256Checksum?: string | undefined;
964
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
986
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
965
987
  } | undefined;
966
988
  dstVocabSrc?: string | {
967
989
  src: string;
@@ -974,7 +996,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
974
996
  engine?: string | undefined;
975
997
  expectedSize?: number | undefined;
976
998
  sha256Checksum?: string | undefined;
977
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
999
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
978
1000
  } | undefined;
979
1001
  normalize?: number | undefined;
980
1002
  pivotModel?: {
@@ -989,7 +1011,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
989
1011
  engine?: string | undefined;
990
1012
  expectedSize?: number | undefined;
991
1013
  sha256Checksum?: string | undefined;
992
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
1014
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
993
1015
  };
994
1016
  mode?: "full" | undefined;
995
1017
  beamsize?: number | undefined;
@@ -1011,7 +1033,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1011
1033
  engine?: string | undefined;
1012
1034
  expectedSize?: number | undefined;
1013
1035
  sha256Checksum?: string | undefined;
1014
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
1036
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1015
1037
  } | undefined;
1016
1038
  dstVocabSrc?: string | {
1017
1039
  src: string;
@@ -1024,7 +1046,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1024
1046
  engine?: string | undefined;
1025
1047
  expectedSize?: number | undefined;
1026
1048
  sha256Checksum?: string | undefined;
1027
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
1049
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1028
1050
  } | undefined;
1029
1051
  normalize?: number | undefined;
1030
1052
  } | undefined;
@@ -1055,6 +1077,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1055
1077
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1056
1078
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1057
1079
  }, z.core.$strip>>;
1080
+ requestId: z.ZodOptional<z.ZodString>;
1058
1081
  modelType: z.ZodLiteral<"onnx-tts">;
1059
1082
  modelConfig: z.ZodUnion<readonly [z.ZodObject<{
1060
1083
  ttsEngine: z.ZodLiteral<"chatterbox">;
@@ -1077,6 +1100,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1077
1100
  sha256Checksum: z.ZodOptional<z.ZodString>;
1078
1101
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1079
1102
  embeddings: "embeddings";
1103
+ diffusion: "diffusion";
1104
+ tts: "tts";
1105
+ ocr: "ocr";
1080
1106
  "llamacpp-completion": "llamacpp-completion";
1081
1107
  "whispercpp-transcription": "whispercpp-transcription";
1082
1108
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1089,9 +1115,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1089
1115
  whisper: "whisper";
1090
1116
  nmt: "nmt";
1091
1117
  parakeet: "parakeet";
1092
- tts: "tts";
1093
- ocr: "ocr";
1094
- diffusion: "diffusion";
1095
1118
  }>, z.ZodLiteral<"vad">]>>;
1096
1119
  }, z.core.$strip>]>;
1097
1120
  ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1107,6 +1130,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1107
1130
  sha256Checksum: z.ZodOptional<z.ZodString>;
1108
1131
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1109
1132
  embeddings: "embeddings";
1133
+ diffusion: "diffusion";
1134
+ tts: "tts";
1135
+ ocr: "ocr";
1110
1136
  "llamacpp-completion": "llamacpp-completion";
1111
1137
  "whispercpp-transcription": "whispercpp-transcription";
1112
1138
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1119,9 +1145,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1119
1145
  whisper: "whisper";
1120
1146
  nmt: "nmt";
1121
1147
  parakeet: "parakeet";
1122
- tts: "tts";
1123
- ocr: "ocr";
1124
- diffusion: "diffusion";
1125
1148
  }>, z.ZodLiteral<"vad">]>>;
1126
1149
  }, z.core.$strip>]>;
1127
1150
  ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1137,6 +1160,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1137
1160
  sha256Checksum: z.ZodOptional<z.ZodString>;
1138
1161
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1139
1162
  embeddings: "embeddings";
1163
+ diffusion: "diffusion";
1164
+ tts: "tts";
1165
+ ocr: "ocr";
1140
1166
  "llamacpp-completion": "llamacpp-completion";
1141
1167
  "whispercpp-transcription": "whispercpp-transcription";
1142
1168
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1149,9 +1175,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1149
1175
  whisper: "whisper";
1150
1176
  nmt: "nmt";
1151
1177
  parakeet: "parakeet";
1152
- tts: "tts";
1153
- ocr: "ocr";
1154
- diffusion: "diffusion";
1155
1178
  }>, z.ZodLiteral<"vad">]>>;
1156
1179
  }, z.core.$strip>]>;
1157
1180
  ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1167,6 +1190,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1167
1190
  sha256Checksum: z.ZodOptional<z.ZodString>;
1168
1191
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1169
1192
  embeddings: "embeddings";
1193
+ diffusion: "diffusion";
1194
+ tts: "tts";
1195
+ ocr: "ocr";
1170
1196
  "llamacpp-completion": "llamacpp-completion";
1171
1197
  "whispercpp-transcription": "whispercpp-transcription";
1172
1198
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1179,9 +1205,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1179
1205
  whisper: "whisper";
1180
1206
  nmt: "nmt";
1181
1207
  parakeet: "parakeet";
1182
- tts: "tts";
1183
- ocr: "ocr";
1184
- diffusion: "diffusion";
1185
1208
  }>, z.ZodLiteral<"vad">]>>;
1186
1209
  }, z.core.$strip>]>;
1187
1210
  ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1197,6 +1220,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1197
1220
  sha256Checksum: z.ZodOptional<z.ZodString>;
1198
1221
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1199
1222
  embeddings: "embeddings";
1223
+ diffusion: "diffusion";
1224
+ tts: "tts";
1225
+ ocr: "ocr";
1200
1226
  "llamacpp-completion": "llamacpp-completion";
1201
1227
  "whispercpp-transcription": "whispercpp-transcription";
1202
1228
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1209,9 +1235,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1209
1235
  whisper: "whisper";
1210
1236
  nmt: "nmt";
1211
1237
  parakeet: "parakeet";
1212
- tts: "tts";
1213
- ocr: "ocr";
1214
- diffusion: "diffusion";
1215
1238
  }>, z.ZodLiteral<"vad">]>>;
1216
1239
  }, z.core.$strip>]>;
1217
1240
  referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1227,6 +1250,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1227
1250
  sha256Checksum: z.ZodOptional<z.ZodString>;
1228
1251
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1229
1252
  embeddings: "embeddings";
1253
+ diffusion: "diffusion";
1254
+ tts: "tts";
1255
+ ocr: "ocr";
1230
1256
  "llamacpp-completion": "llamacpp-completion";
1231
1257
  "whispercpp-transcription": "whispercpp-transcription";
1232
1258
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1239,9 +1265,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1239
1265
  whisper: "whisper";
1240
1266
  nmt: "nmt";
1241
1267
  parakeet: "parakeet";
1242
- tts: "tts";
1243
- ocr: "ocr";
1244
- diffusion: "diffusion";
1245
1268
  }>, z.ZodLiteral<"vad">]>>;
1246
1269
  }, z.core.$strip>]>;
1247
1270
  }, z.core.$strip>, z.ZodObject<{
@@ -1268,6 +1291,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1268
1291
  sha256Checksum: z.ZodOptional<z.ZodString>;
1269
1292
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1270
1293
  embeddings: "embeddings";
1294
+ diffusion: "diffusion";
1295
+ tts: "tts";
1296
+ ocr: "ocr";
1271
1297
  "llamacpp-completion": "llamacpp-completion";
1272
1298
  "whispercpp-transcription": "whispercpp-transcription";
1273
1299
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1280,9 +1306,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1280
1306
  whisper: "whisper";
1281
1307
  nmt: "nmt";
1282
1308
  parakeet: "parakeet";
1283
- tts: "tts";
1284
- ocr: "ocr";
1285
- diffusion: "diffusion";
1286
1309
  }>, z.ZodLiteral<"vad">]>>;
1287
1310
  }, z.core.$strip>]>;
1288
1311
  ttsDurationPredictorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1298,6 +1321,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1298
1321
  sha256Checksum: z.ZodOptional<z.ZodString>;
1299
1322
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1300
1323
  embeddings: "embeddings";
1324
+ diffusion: "diffusion";
1325
+ tts: "tts";
1326
+ ocr: "ocr";
1301
1327
  "llamacpp-completion": "llamacpp-completion";
1302
1328
  "whispercpp-transcription": "whispercpp-transcription";
1303
1329
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1310,9 +1336,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1310
1336
  whisper: "whisper";
1311
1337
  nmt: "nmt";
1312
1338
  parakeet: "parakeet";
1313
- tts: "tts";
1314
- ocr: "ocr";
1315
- diffusion: "diffusion";
1316
1339
  }>, z.ZodLiteral<"vad">]>>;
1317
1340
  }, z.core.$strip>]>;
1318
1341
  ttsVectorEstimatorSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1328,6 +1351,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1328
1351
  sha256Checksum: z.ZodOptional<z.ZodString>;
1329
1352
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1330
1353
  embeddings: "embeddings";
1354
+ diffusion: "diffusion";
1355
+ tts: "tts";
1356
+ ocr: "ocr";
1331
1357
  "llamacpp-completion": "llamacpp-completion";
1332
1358
  "whispercpp-transcription": "whispercpp-transcription";
1333
1359
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1340,9 +1366,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1340
1366
  whisper: "whisper";
1341
1367
  nmt: "nmt";
1342
1368
  parakeet: "parakeet";
1343
- tts: "tts";
1344
- ocr: "ocr";
1345
- diffusion: "diffusion";
1346
1369
  }>, z.ZodLiteral<"vad">]>>;
1347
1370
  }, z.core.$strip>]>;
1348
1371
  ttsVocoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1358,6 +1381,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1358
1381
  sha256Checksum: z.ZodOptional<z.ZodString>;
1359
1382
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1360
1383
  embeddings: "embeddings";
1384
+ diffusion: "diffusion";
1385
+ tts: "tts";
1386
+ ocr: "ocr";
1361
1387
  "llamacpp-completion": "llamacpp-completion";
1362
1388
  "whispercpp-transcription": "whispercpp-transcription";
1363
1389
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1370,9 +1396,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1370
1396
  whisper: "whisper";
1371
1397
  nmt: "nmt";
1372
1398
  parakeet: "parakeet";
1373
- tts: "tts";
1374
- ocr: "ocr";
1375
- diffusion: "diffusion";
1376
1399
  }>, z.ZodLiteral<"vad">]>>;
1377
1400
  }, z.core.$strip>]>;
1378
1401
  ttsUnicodeIndexerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1388,6 +1411,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1388
1411
  sha256Checksum: z.ZodOptional<z.ZodString>;
1389
1412
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1390
1413
  embeddings: "embeddings";
1414
+ diffusion: "diffusion";
1415
+ tts: "tts";
1416
+ ocr: "ocr";
1391
1417
  "llamacpp-completion": "llamacpp-completion";
1392
1418
  "whispercpp-transcription": "whispercpp-transcription";
1393
1419
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1400,9 +1426,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1400
1426
  whisper: "whisper";
1401
1427
  nmt: "nmt";
1402
1428
  parakeet: "parakeet";
1403
- tts: "tts";
1404
- ocr: "ocr";
1405
- diffusion: "diffusion";
1406
1429
  }>, z.ZodLiteral<"vad">]>>;
1407
1430
  }, z.core.$strip>]>;
1408
1431
  ttsTtsConfigSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1418,6 +1441,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1418
1441
  sha256Checksum: z.ZodOptional<z.ZodString>;
1419
1442
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1420
1443
  embeddings: "embeddings";
1444
+ diffusion: "diffusion";
1445
+ tts: "tts";
1446
+ ocr: "ocr";
1421
1447
  "llamacpp-completion": "llamacpp-completion";
1422
1448
  "whispercpp-transcription": "whispercpp-transcription";
1423
1449
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1430,9 +1456,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1430
1456
  whisper: "whisper";
1431
1457
  nmt: "nmt";
1432
1458
  parakeet: "parakeet";
1433
- tts: "tts";
1434
- ocr: "ocr";
1435
- diffusion: "diffusion";
1436
1459
  }>, z.ZodLiteral<"vad">]>>;
1437
1460
  }, z.core.$strip>]>;
1438
1461
  ttsVoiceStyleSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1448,6 +1471,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1448
1471
  sha256Checksum: z.ZodOptional<z.ZodString>;
1449
1472
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1450
1473
  embeddings: "embeddings";
1474
+ diffusion: "diffusion";
1475
+ tts: "tts";
1476
+ ocr: "ocr";
1451
1477
  "llamacpp-completion": "llamacpp-completion";
1452
1478
  "whispercpp-transcription": "whispercpp-transcription";
1453
1479
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1460,9 +1486,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1460
1486
  whisper: "whisper";
1461
1487
  nmt: "nmt";
1462
1488
  parakeet: "parakeet";
1463
- tts: "tts";
1464
- ocr: "ocr";
1465
- diffusion: "diffusion";
1466
1489
  }>, z.ZodLiteral<"vad">]>>;
1467
1490
  }, z.core.$strip>]>;
1468
1491
  }, z.core.$strip>]>;
@@ -1479,6 +1502,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1479
1502
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1480
1503
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1481
1504
  }, z.core.$strip>>;
1505
+ requestId: z.ZodOptional<z.ZodString>;
1482
1506
  modelType: z.ZodLiteral<"onnx-ocr">;
1483
1507
  modelConfig: z.ZodObject<{
1484
1508
  langList: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1511,6 +1535,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1511
1535
  sha256Checksum: z.ZodOptional<z.ZodString>;
1512
1536
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1513
1537
  embeddings: "embeddings";
1538
+ diffusion: "diffusion";
1539
+ tts: "tts";
1540
+ ocr: "ocr";
1514
1541
  "llamacpp-completion": "llamacpp-completion";
1515
1542
  "whispercpp-transcription": "whispercpp-transcription";
1516
1543
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1523,9 +1550,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1523
1550
  whisper: "whisper";
1524
1551
  nmt: "nmt";
1525
1552
  parakeet: "parakeet";
1526
- tts: "tts";
1527
- ocr: "ocr";
1528
- diffusion: "diffusion";
1529
1553
  }>, z.ZodLiteral<"vad">]>>;
1530
1554
  }, z.core.$strip>]>>;
1531
1555
  }, z.core.$strip>;
@@ -1542,8 +1566,13 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1542
1566
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1543
1567
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1544
1568
  }, z.core.$strip>>;
1569
+ requestId: z.ZodOptional<z.ZodString>;
1545
1570
  modelType: z.ZodLiteral<"sdcpp-generation">;
1546
1571
  modelConfig: z.ZodOptional<z.ZodObject<{
1572
+ mode: z.ZodDefault<z.ZodEnum<{
1573
+ diffusion: "diffusion";
1574
+ upscale: "upscale";
1575
+ }>>;
1547
1576
  threads: z.ZodOptional<z.ZodNumber>;
1548
1577
  device: z.ZodOptional<z.ZodEnum<{
1549
1578
  cpu: "cpu";
@@ -1588,6 +1617,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1588
1617
  vae_on_cpu: z.ZodOptional<z.ZodBoolean>;
1589
1618
  vae_tiling: z.ZodOptional<z.ZodBoolean>;
1590
1619
  flash_attn: z.ZodOptional<z.ZodBoolean>;
1620
+ lora_apply_mode: z.ZodOptional<z.ZodEnum<{
1621
+ auto: "auto";
1622
+ immediately: "immediately";
1623
+ at_runtime: "at_runtime";
1624
+ }>>;
1591
1625
  verbosity: z.ZodOptional<z.ZodNumber>;
1592
1626
  clipLModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1593
1627
  src: z.ZodString;
@@ -1602,6 +1636,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1602
1636
  sha256Checksum: z.ZodOptional<z.ZodString>;
1603
1637
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1604
1638
  embeddings: "embeddings";
1639
+ diffusion: "diffusion";
1640
+ tts: "tts";
1641
+ ocr: "ocr";
1605
1642
  "llamacpp-completion": "llamacpp-completion";
1606
1643
  "whispercpp-transcription": "whispercpp-transcription";
1607
1644
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1614,9 +1651,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1614
1651
  whisper: "whisper";
1615
1652
  nmt: "nmt";
1616
1653
  parakeet: "parakeet";
1617
- tts: "tts";
1618
- ocr: "ocr";
1619
- diffusion: "diffusion";
1620
1654
  }>, z.ZodLiteral<"vad">]>>;
1621
1655
  }, z.core.$strip>]>>;
1622
1656
  clipGModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1632,6 +1666,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1632
1666
  sha256Checksum: z.ZodOptional<z.ZodString>;
1633
1667
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1634
1668
  embeddings: "embeddings";
1669
+ diffusion: "diffusion";
1670
+ tts: "tts";
1671
+ ocr: "ocr";
1635
1672
  "llamacpp-completion": "llamacpp-completion";
1636
1673
  "whispercpp-transcription": "whispercpp-transcription";
1637
1674
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1644,9 +1681,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1644
1681
  whisper: "whisper";
1645
1682
  nmt: "nmt";
1646
1683
  parakeet: "parakeet";
1647
- tts: "tts";
1648
- ocr: "ocr";
1649
- diffusion: "diffusion";
1650
1684
  }>, z.ZodLiteral<"vad">]>>;
1651
1685
  }, z.core.$strip>]>>;
1652
1686
  t5XxlModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1662,6 +1696,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1662
1696
  sha256Checksum: z.ZodOptional<z.ZodString>;
1663
1697
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1664
1698
  embeddings: "embeddings";
1699
+ diffusion: "diffusion";
1700
+ tts: "tts";
1701
+ ocr: "ocr";
1665
1702
  "llamacpp-completion": "llamacpp-completion";
1666
1703
  "whispercpp-transcription": "whispercpp-transcription";
1667
1704
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1674,9 +1711,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1674
1711
  whisper: "whisper";
1675
1712
  nmt: "nmt";
1676
1713
  parakeet: "parakeet";
1677
- tts: "tts";
1678
- ocr: "ocr";
1679
- diffusion: "diffusion";
1680
1714
  }>, z.ZodLiteral<"vad">]>>;
1681
1715
  }, z.core.$strip>]>>;
1682
1716
  llmModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1692,6 +1726,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1692
1726
  sha256Checksum: z.ZodOptional<z.ZodString>;
1693
1727
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1694
1728
  embeddings: "embeddings";
1729
+ diffusion: "diffusion";
1730
+ tts: "tts";
1731
+ ocr: "ocr";
1695
1732
  "llamacpp-completion": "llamacpp-completion";
1696
1733
  "whispercpp-transcription": "whispercpp-transcription";
1697
1734
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1704,9 +1741,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1704
1741
  whisper: "whisper";
1705
1742
  nmt: "nmt";
1706
1743
  parakeet: "parakeet";
1707
- tts: "tts";
1708
- ocr: "ocr";
1709
- diffusion: "diffusion";
1710
1744
  }>, z.ZodLiteral<"vad">]>>;
1711
1745
  }, z.core.$strip>]>>;
1712
1746
  vaeModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1722,6 +1756,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1722
1756
  sha256Checksum: z.ZodOptional<z.ZodString>;
1723
1757
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1724
1758
  embeddings: "embeddings";
1759
+ diffusion: "diffusion";
1760
+ tts: "tts";
1761
+ ocr: "ocr";
1725
1762
  "llamacpp-completion": "llamacpp-completion";
1726
1763
  "whispercpp-transcription": "whispercpp-transcription";
1727
1764
  "llamacpp-embedding": "llamacpp-embedding";
@@ -1734,11 +1771,45 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1734
1771
  whisper: "whisper";
1735
1772
  nmt: "nmt";
1736
1773
  parakeet: "parakeet";
1737
- tts: "tts";
1738
- ocr: "ocr";
1739
- diffusion: "diffusion";
1740
1774
  }>, z.ZodLiteral<"vad">]>>;
1741
1775
  }, z.core.$strip>]>>;
1776
+ upscaler: z.ZodOptional<z.ZodObject<{
1777
+ type: z.ZodOptional<z.ZodLiteral<"esrgan">>;
1778
+ model_src: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1779
+ src: z.ZodString;
1780
+ name: z.ZodOptional<z.ZodString>;
1781
+ modelId: z.ZodOptional<z.ZodString>;
1782
+ registryPath: z.ZodOptional<z.ZodString>;
1783
+ registrySource: z.ZodOptional<z.ZodString>;
1784
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1785
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1786
+ engine: z.ZodOptional<z.ZodString>;
1787
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1788
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1789
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1790
+ embeddings: "embeddings";
1791
+ diffusion: "diffusion";
1792
+ tts: "tts";
1793
+ ocr: "ocr";
1794
+ "llamacpp-completion": "llamacpp-completion";
1795
+ "whispercpp-transcription": "whispercpp-transcription";
1796
+ "llamacpp-embedding": "llamacpp-embedding";
1797
+ "nmtcpp-translation": "nmtcpp-translation";
1798
+ "onnx-tts": "onnx-tts";
1799
+ "parakeet-transcription": "parakeet-transcription";
1800
+ "onnx-ocr": "onnx-ocr";
1801
+ "sdcpp-generation": "sdcpp-generation";
1802
+ llm: "llm";
1803
+ whisper: "whisper";
1804
+ nmt: "nmt";
1805
+ parakeet: "parakeet";
1806
+ }>, z.ZodLiteral<"vad">]>>;
1807
+ }, z.core.$strip>]>>;
1808
+ tile_size: z.ZodOptional<z.ZodNumber>;
1809
+ direct: z.ZodOptional<z.ZodBoolean>;
1810
+ offload_params_to_cpu: z.ZodOptional<z.ZodBoolean>;
1811
+ threads: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<-1>, z.ZodNumber]>>;
1812
+ }, z.core.$strict>>;
1742
1813
  }, z.core.$strip>>;
1743
1814
  }, z.core.$strict>, z.ZodObject<{
1744
1815
  type: z.ZodLiteral<"loadModel">;
@@ -1753,6 +1824,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1753
1824
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1754
1825
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1755
1826
  }, z.core.$strip>>;
1827
+ requestId: z.ZodOptional<z.ZodString>;
1756
1828
  modelType: z.ZodString;
1757
1829
  modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1758
1830
  }, z.core.$strip>]>, z.ZodTransform<{
@@ -1782,7 +1854,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1782
1854
  toolsMode?: "static" | "dynamic" | undefined;
1783
1855
  "cache-type-k"?: string | undefined;
1784
1856
  "cache-type-v"?: string | undefined;
1857
+ "main-gpu"?: number | "integrated" | "dedicated" | undefined;
1858
+ "split-mode"?: "none" | "layer" | "row" | undefined;
1859
+ "tensor-split"?: string | undefined;
1785
1860
  openclCacheDir?: string | undefined;
1861
+ reasoning_budget?: 0 | -1 | undefined;
1786
1862
  projectionModelSrc?: string | {
1787
1863
  src: string;
1788
1864
  name?: string | undefined;
@@ -1794,7 +1870,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1794
1870
  engine?: string | undefined;
1795
1871
  expectedSize?: number | undefined;
1796
1872
  sha256Checksum?: string | undefined;
1797
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
1873
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1798
1874
  } | undefined;
1799
1875
  };
1800
1876
  modelName?: string | undefined;
@@ -1806,6 +1882,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1806
1882
  timeout?: number | undefined;
1807
1883
  healthCheckTimeout?: number | undefined;
1808
1884
  } | undefined;
1885
+ requestId?: string | undefined;
1809
1886
  } | {
1810
1887
  seed: boolean;
1811
1888
  type: "loadModel";
@@ -1876,7 +1953,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1876
1953
  engine?: string | undefined;
1877
1954
  expectedSize?: number | undefined;
1878
1955
  sha256Checksum?: string | undefined;
1879
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
1956
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1880
1957
  } | undefined;
1881
1958
  };
1882
1959
  modelName?: string | undefined;
@@ -1888,6 +1965,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1888
1965
  timeout?: number | undefined;
1889
1966
  healthCheckTimeout?: number | undefined;
1890
1967
  } | undefined;
1968
+ requestId?: string | undefined;
1891
1969
  } | {
1892
1970
  seed: boolean;
1893
1971
  type: "loadModel";
@@ -1912,7 +1990,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1912
1990
  engine?: string | undefined;
1913
1991
  expectedSize?: number | undefined;
1914
1992
  sha256Checksum?: string | undefined;
1915
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
1993
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1916
1994
  } | undefined;
1917
1995
  parakeetDecoderSrc?: string | {
1918
1996
  src: string;
@@ -1925,7 +2003,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1925
2003
  engine?: string | undefined;
1926
2004
  expectedSize?: number | undefined;
1927
2005
  sha256Checksum?: string | undefined;
1928
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2006
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1929
2007
  } | undefined;
1930
2008
  parakeetVocabSrc?: string | {
1931
2009
  src: string;
@@ -1938,7 +2016,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1938
2016
  engine?: string | undefined;
1939
2017
  expectedSize?: number | undefined;
1940
2018
  sha256Checksum?: string | undefined;
1941
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2019
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1942
2020
  } | undefined;
1943
2021
  parakeetPreprocessorSrc?: string | {
1944
2022
  src: string;
@@ -1951,7 +2029,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1951
2029
  engine?: string | undefined;
1952
2030
  expectedSize?: number | undefined;
1953
2031
  sha256Checksum?: string | undefined;
1954
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2032
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1955
2033
  } | undefined;
1956
2034
  parakeetCtcModelSrc?: string | {
1957
2035
  src: string;
@@ -1964,7 +2042,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1964
2042
  engine?: string | undefined;
1965
2043
  expectedSize?: number | undefined;
1966
2044
  sha256Checksum?: string | undefined;
1967
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2045
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1968
2046
  } | undefined;
1969
2047
  parakeetTokenizerSrc?: string | {
1970
2048
  src: string;
@@ -1977,7 +2055,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1977
2055
  engine?: string | undefined;
1978
2056
  expectedSize?: number | undefined;
1979
2057
  sha256Checksum?: string | undefined;
1980
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2058
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1981
2059
  } | undefined;
1982
2060
  parakeetSortformerSrc?: string | {
1983
2061
  src: string;
@@ -1990,7 +2068,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1990
2068
  engine?: string | undefined;
1991
2069
  expectedSize?: number | undefined;
1992
2070
  sha256Checksum?: string | undefined;
1993
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2071
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
1994
2072
  } | undefined;
1995
2073
  };
1996
2074
  modelName?: string | undefined;
@@ -2002,6 +2080,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2002
2080
  timeout?: number | undefined;
2003
2081
  healthCheckTimeout?: number | undefined;
2004
2082
  } | undefined;
2083
+ requestId?: string | undefined;
2005
2084
  } | {
2006
2085
  seed: boolean;
2007
2086
  type: "loadModel";
@@ -2016,6 +2095,8 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2016
2095
  embdNormalize?: number | undefined;
2017
2096
  flashAttention?: "on" | "off" | "auto" | undefined;
2018
2097
  mainGpu?: number | "integrated" | "dedicated" | undefined;
2098
+ splitMode?: "none" | "layer" | "row" | undefined;
2099
+ tensorSplit?: string | undefined;
2019
2100
  verbosity?: 0 | 3 | 2 | 1 | undefined;
2020
2101
  openclCacheDir?: string | undefined;
2021
2102
  };
@@ -2028,6 +2109,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2028
2109
  timeout?: number | undefined;
2029
2110
  healthCheckTimeout?: number | undefined;
2030
2111
  } | undefined;
2112
+ requestId?: string | undefined;
2031
2113
  } | {
2032
2114
  seed: boolean;
2033
2115
  type: "loadModel";
@@ -2057,7 +2139,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2057
2139
  engine?: string | undefined;
2058
2140
  expectedSize?: number | undefined;
2059
2141
  sha256Checksum?: string | undefined;
2060
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2142
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2061
2143
  } | undefined;
2062
2144
  dstVocabSrc?: string | {
2063
2145
  src: string;
@@ -2070,7 +2152,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2070
2152
  engine?: string | undefined;
2071
2153
  expectedSize?: number | undefined;
2072
2154
  sha256Checksum?: string | undefined;
2073
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2155
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2074
2156
  } | undefined;
2075
2157
  normalize?: number | undefined;
2076
2158
  pivotModel?: {
@@ -2085,7 +2167,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2085
2167
  engine?: string | undefined;
2086
2168
  expectedSize?: number | undefined;
2087
2169
  sha256Checksum?: string | undefined;
2088
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2170
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2089
2171
  };
2090
2172
  mode?: "full" | undefined;
2091
2173
  beamsize?: number | undefined;
@@ -2107,7 +2189,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2107
2189
  engine?: string | undefined;
2108
2190
  expectedSize?: number | undefined;
2109
2191
  sha256Checksum?: string | undefined;
2110
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2192
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2111
2193
  } | undefined;
2112
2194
  dstVocabSrc?: string | {
2113
2195
  src: string;
@@ -2120,7 +2202,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2120
2202
  engine?: string | undefined;
2121
2203
  expectedSize?: number | undefined;
2122
2204
  sha256Checksum?: string | undefined;
2123
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2205
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2124
2206
  } | undefined;
2125
2207
  normalize?: number | undefined;
2126
2208
  } | undefined;
@@ -2147,6 +2229,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2147
2229
  timeout?: number | undefined;
2148
2230
  healthCheckTimeout?: number | undefined;
2149
2231
  } | undefined;
2232
+ requestId?: string | undefined;
2150
2233
  } | {
2151
2234
  seed: boolean;
2152
2235
  type: "loadModel";
@@ -2166,7 +2249,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2166
2249
  engine?: string | undefined;
2167
2250
  expectedSize?: number | undefined;
2168
2251
  sha256Checksum?: string | undefined;
2169
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2252
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2170
2253
  };
2171
2254
  ttsSpeechEncoderSrc: string | {
2172
2255
  src: string;
@@ -2179,7 +2262,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2179
2262
  engine?: string | undefined;
2180
2263
  expectedSize?: number | undefined;
2181
2264
  sha256Checksum?: string | undefined;
2182
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2265
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2183
2266
  };
2184
2267
  ttsEmbedTokensSrc: string | {
2185
2268
  src: string;
@@ -2192,7 +2275,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2192
2275
  engine?: string | undefined;
2193
2276
  expectedSize?: number | undefined;
2194
2277
  sha256Checksum?: string | undefined;
2195
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2278
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2196
2279
  };
2197
2280
  ttsConditionalDecoderSrc: string | {
2198
2281
  src: string;
@@ -2205,7 +2288,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2205
2288
  engine?: string | undefined;
2206
2289
  expectedSize?: number | undefined;
2207
2290
  sha256Checksum?: string | undefined;
2208
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2291
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2209
2292
  };
2210
2293
  ttsLanguageModelSrc: string | {
2211
2294
  src: string;
@@ -2218,7 +2301,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2218
2301
  engine?: string | undefined;
2219
2302
  expectedSize?: number | undefined;
2220
2303
  sha256Checksum?: string | undefined;
2221
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2304
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2222
2305
  };
2223
2306
  referenceAudioSrc: string | {
2224
2307
  src: string;
@@ -2231,7 +2314,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2231
2314
  engine?: string | undefined;
2232
2315
  expectedSize?: number | undefined;
2233
2316
  sha256Checksum?: string | undefined;
2234
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2317
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2235
2318
  };
2236
2319
  } | {
2237
2320
  ttsEngine: "supertonic";
@@ -2247,7 +2330,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2247
2330
  engine?: string | undefined;
2248
2331
  expectedSize?: number | undefined;
2249
2332
  sha256Checksum?: string | undefined;
2250
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2333
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2251
2334
  };
2252
2335
  ttsDurationPredictorSrc: string | {
2253
2336
  src: string;
@@ -2260,7 +2343,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2260
2343
  engine?: string | undefined;
2261
2344
  expectedSize?: number | undefined;
2262
2345
  sha256Checksum?: string | undefined;
2263
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2346
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2264
2347
  };
2265
2348
  ttsVectorEstimatorSrc: string | {
2266
2349
  src: string;
@@ -2273,7 +2356,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2273
2356
  engine?: string | undefined;
2274
2357
  expectedSize?: number | undefined;
2275
2358
  sha256Checksum?: string | undefined;
2276
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2359
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2277
2360
  };
2278
2361
  ttsVocoderSrc: string | {
2279
2362
  src: string;
@@ -2286,7 +2369,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2286
2369
  engine?: string | undefined;
2287
2370
  expectedSize?: number | undefined;
2288
2371
  sha256Checksum?: string | undefined;
2289
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2372
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2290
2373
  };
2291
2374
  ttsUnicodeIndexerSrc: string | {
2292
2375
  src: string;
@@ -2299,7 +2382,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2299
2382
  engine?: string | undefined;
2300
2383
  expectedSize?: number | undefined;
2301
2384
  sha256Checksum?: string | undefined;
2302
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2385
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2303
2386
  };
2304
2387
  ttsTtsConfigSrc: string | {
2305
2388
  src: string;
@@ -2312,7 +2395,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2312
2395
  engine?: string | undefined;
2313
2396
  expectedSize?: number | undefined;
2314
2397
  sha256Checksum?: string | undefined;
2315
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2398
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2316
2399
  };
2317
2400
  ttsVoiceStyleSrc: string | {
2318
2401
  src: string;
@@ -2325,7 +2408,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2325
2408
  engine?: string | undefined;
2326
2409
  expectedSize?: number | undefined;
2327
2410
  sha256Checksum?: string | undefined;
2328
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2411
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2329
2412
  };
2330
2413
  ttsSpeed?: number | undefined;
2331
2414
  ttsNumInferenceSteps?: number | undefined;
@@ -2340,6 +2423,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2340
2423
  timeout?: number | undefined;
2341
2424
  healthCheckTimeout?: number | undefined;
2342
2425
  } | undefined;
2426
+ requestId?: string | undefined;
2343
2427
  } | {
2344
2428
  seed: boolean;
2345
2429
  type: "loadModel";
@@ -2368,7 +2452,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2368
2452
  engine?: string | undefined;
2369
2453
  expectedSize?: number | undefined;
2370
2454
  sha256Checksum?: string | undefined;
2371
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2455
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2372
2456
  } | undefined;
2373
2457
  };
2374
2458
  modelName?: string | undefined;
@@ -2380,6 +2464,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2380
2464
  timeout?: number | undefined;
2381
2465
  healthCheckTimeout?: number | undefined;
2382
2466
  } | undefined;
2467
+ requestId?: string | undefined;
2383
2468
  } | {
2384
2469
  seed: boolean;
2385
2470
  type: "loadModel";
@@ -2394,7 +2479,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2394
2479
  timeout?: number | undefined;
2395
2480
  healthCheckTimeout?: number | undefined;
2396
2481
  } | undefined;
2482
+ requestId?: string | undefined;
2397
2483
  modelConfig?: {
2484
+ mode: "diffusion" | "upscale";
2398
2485
  threads?: number | undefined;
2399
2486
  device?: "cpu" | "gpu" | undefined;
2400
2487
  prediction?: "auto" | "eps" | "v" | "edm_v" | "flow" | "flux_flow" | "flux2_flow" | undefined;
@@ -2405,6 +2492,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2405
2492
  vae_on_cpu?: boolean | undefined;
2406
2493
  vae_tiling?: boolean | undefined;
2407
2494
  flash_attn?: boolean | undefined;
2495
+ lora_apply_mode?: "auto" | "immediately" | "at_runtime" | undefined;
2408
2496
  verbosity?: number | undefined;
2409
2497
  clipLModelSrc?: string | {
2410
2498
  src: string;
@@ -2417,7 +2505,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2417
2505
  engine?: string | undefined;
2418
2506
  expectedSize?: number | undefined;
2419
2507
  sha256Checksum?: string | undefined;
2420
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2508
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2421
2509
  } | undefined;
2422
2510
  clipGModelSrc?: string | {
2423
2511
  src: string;
@@ -2430,7 +2518,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2430
2518
  engine?: string | undefined;
2431
2519
  expectedSize?: number | undefined;
2432
2520
  sha256Checksum?: string | undefined;
2433
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2521
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2434
2522
  } | undefined;
2435
2523
  t5XxlModelSrc?: string | {
2436
2524
  src: string;
@@ -2443,7 +2531,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2443
2531
  engine?: string | undefined;
2444
2532
  expectedSize?: number | undefined;
2445
2533
  sha256Checksum?: string | undefined;
2446
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2534
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2447
2535
  } | undefined;
2448
2536
  llmModelSrc?: string | {
2449
2537
  src: string;
@@ -2456,7 +2544,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2456
2544
  engine?: string | undefined;
2457
2545
  expectedSize?: number | undefined;
2458
2546
  sha256Checksum?: string | undefined;
2459
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2547
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2460
2548
  } | undefined;
2461
2549
  vaeModelSrc?: string | {
2462
2550
  src: string;
@@ -2469,7 +2557,27 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2469
2557
  engine?: string | undefined;
2470
2558
  expectedSize?: number | undefined;
2471
2559
  sha256Checksum?: string | undefined;
2472
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2560
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2561
+ } | undefined;
2562
+ upscaler?: {
2563
+ type?: "esrgan" | undefined;
2564
+ model_src?: string | {
2565
+ src: string;
2566
+ name?: string | undefined;
2567
+ modelId?: string | undefined;
2568
+ registryPath?: string | undefined;
2569
+ registrySource?: string | undefined;
2570
+ blobCoreKey?: string | undefined;
2571
+ blobIndex?: number | undefined;
2572
+ engine?: string | undefined;
2573
+ expectedSize?: number | undefined;
2574
+ sha256Checksum?: string | undefined;
2575
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2576
+ } | undefined;
2577
+ tile_size?: number | undefined;
2578
+ direct?: boolean | undefined;
2579
+ offload_params_to_cpu?: boolean | undefined;
2580
+ threads?: number | undefined;
2473
2581
  } | undefined;
2474
2582
  } | undefined;
2475
2583
  } | {
@@ -2486,6 +2594,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2486
2594
  timeout?: number | undefined;
2487
2595
  healthCheckTimeout?: number | undefined;
2488
2596
  } | undefined;
2597
+ requestId?: string | undefined;
2489
2598
  modelConfig?: Record<string, unknown> | undefined;
2490
2599
  }, {
2491
2600
  type: "loadModel";
@@ -2513,7 +2622,11 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2513
2622
  toolsMode?: "static" | "dynamic" | undefined;
2514
2623
  "cache-type-k"?: string | undefined;
2515
2624
  "cache-type-v"?: string | undefined;
2625
+ "main-gpu"?: number | "integrated" | "dedicated" | undefined;
2626
+ "split-mode"?: "none" | "layer" | "row" | undefined;
2627
+ "tensor-split"?: string | undefined;
2516
2628
  openclCacheDir?: string | undefined;
2629
+ reasoning_budget?: 0 | -1 | undefined;
2517
2630
  projectionModelSrc?: string | {
2518
2631
  src: string;
2519
2632
  name?: string | undefined;
@@ -2525,7 +2638,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2525
2638
  engine?: string | undefined;
2526
2639
  expectedSize?: number | undefined;
2527
2640
  sha256Checksum?: string | undefined;
2528
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2641
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2529
2642
  } | undefined;
2530
2643
  };
2531
2644
  modelName?: string | undefined;
@@ -2538,6 +2651,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2538
2651
  timeout?: number | undefined;
2539
2652
  healthCheckTimeout?: number | undefined;
2540
2653
  } | undefined;
2654
+ requestId?: string | undefined;
2541
2655
  } | {
2542
2656
  type: "loadModel";
2543
2657
  modelSrc: string;
@@ -2607,7 +2721,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2607
2721
  engine?: string | undefined;
2608
2722
  expectedSize?: number | undefined;
2609
2723
  sha256Checksum?: string | undefined;
2610
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2724
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2611
2725
  } | undefined;
2612
2726
  };
2613
2727
  modelName?: string | undefined;
@@ -2620,6 +2734,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2620
2734
  timeout?: number | undefined;
2621
2735
  healthCheckTimeout?: number | undefined;
2622
2736
  } | undefined;
2737
+ requestId?: string | undefined;
2623
2738
  } | {
2624
2739
  type: "loadModel";
2625
2740
  modelSrc: string;
@@ -2643,7 +2758,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2643
2758
  engine?: string | undefined;
2644
2759
  expectedSize?: number | undefined;
2645
2760
  sha256Checksum?: string | undefined;
2646
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2761
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2647
2762
  } | undefined;
2648
2763
  parakeetDecoderSrc?: string | {
2649
2764
  src: string;
@@ -2656,7 +2771,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2656
2771
  engine?: string | undefined;
2657
2772
  expectedSize?: number | undefined;
2658
2773
  sha256Checksum?: string | undefined;
2659
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2774
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2660
2775
  } | undefined;
2661
2776
  parakeetVocabSrc?: string | {
2662
2777
  src: string;
@@ -2669,7 +2784,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2669
2784
  engine?: string | undefined;
2670
2785
  expectedSize?: number | undefined;
2671
2786
  sha256Checksum?: string | undefined;
2672
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2787
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2673
2788
  } | undefined;
2674
2789
  parakeetPreprocessorSrc?: string | {
2675
2790
  src: string;
@@ -2682,7 +2797,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2682
2797
  engine?: string | undefined;
2683
2798
  expectedSize?: number | undefined;
2684
2799
  sha256Checksum?: string | undefined;
2685
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2800
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2686
2801
  } | undefined;
2687
2802
  parakeetCtcModelSrc?: string | {
2688
2803
  src: string;
@@ -2695,7 +2810,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2695
2810
  engine?: string | undefined;
2696
2811
  expectedSize?: number | undefined;
2697
2812
  sha256Checksum?: string | undefined;
2698
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2813
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2699
2814
  } | undefined;
2700
2815
  parakeetTokenizerSrc?: string | {
2701
2816
  src: string;
@@ -2708,7 +2823,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2708
2823
  engine?: string | undefined;
2709
2824
  expectedSize?: number | undefined;
2710
2825
  sha256Checksum?: string | undefined;
2711
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2826
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2712
2827
  } | undefined;
2713
2828
  parakeetSortformerSrc?: string | {
2714
2829
  src: string;
@@ -2721,7 +2836,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2721
2836
  engine?: string | undefined;
2722
2837
  expectedSize?: number | undefined;
2723
2838
  sha256Checksum?: string | undefined;
2724
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2839
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2725
2840
  } | undefined;
2726
2841
  };
2727
2842
  modelName?: string | undefined;
@@ -2734,6 +2849,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2734
2849
  timeout?: number | undefined;
2735
2850
  healthCheckTimeout?: number | undefined;
2736
2851
  } | undefined;
2852
+ requestId?: string | undefined;
2737
2853
  } | {
2738
2854
  type: "loadModel";
2739
2855
  modelSrc: string;
@@ -2747,6 +2863,8 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2747
2863
  embdNormalize?: number | undefined;
2748
2864
  flashAttention?: "on" | "off" | "auto" | undefined;
2749
2865
  mainGpu?: number | "integrated" | "dedicated" | undefined;
2866
+ splitMode?: "none" | "layer" | "row" | undefined;
2867
+ tensorSplit?: string | undefined;
2750
2868
  verbosity?: 0 | 3 | 2 | 1 | undefined;
2751
2869
  openclCacheDir?: string | undefined;
2752
2870
  };
@@ -2760,6 +2878,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2760
2878
  timeout?: number | undefined;
2761
2879
  healthCheckTimeout?: number | undefined;
2762
2880
  } | undefined;
2881
+ requestId?: string | undefined;
2763
2882
  } | {
2764
2883
  type: "loadModel";
2765
2884
  modelSrc: string;
@@ -2788,7 +2907,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2788
2907
  engine?: string | undefined;
2789
2908
  expectedSize?: number | undefined;
2790
2909
  sha256Checksum?: string | undefined;
2791
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2910
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2792
2911
  } | undefined;
2793
2912
  dstVocabSrc?: string | {
2794
2913
  src: string;
@@ -2801,7 +2920,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2801
2920
  engine?: string | undefined;
2802
2921
  expectedSize?: number | undefined;
2803
2922
  sha256Checksum?: string | undefined;
2804
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2923
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2805
2924
  } | undefined;
2806
2925
  normalize?: number | undefined;
2807
2926
  pivotModel?: {
@@ -2816,7 +2935,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2816
2935
  engine?: string | undefined;
2817
2936
  expectedSize?: number | undefined;
2818
2937
  sha256Checksum?: string | undefined;
2819
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2938
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2820
2939
  };
2821
2940
  mode?: "full" | undefined;
2822
2941
  beamsize?: number | undefined;
@@ -2838,7 +2957,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2838
2957
  engine?: string | undefined;
2839
2958
  expectedSize?: number | undefined;
2840
2959
  sha256Checksum?: string | undefined;
2841
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2960
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2842
2961
  } | undefined;
2843
2962
  dstVocabSrc?: string | {
2844
2963
  src: string;
@@ -2851,7 +2970,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2851
2970
  engine?: string | undefined;
2852
2971
  expectedSize?: number | undefined;
2853
2972
  sha256Checksum?: string | undefined;
2854
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
2973
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2855
2974
  } | undefined;
2856
2975
  normalize?: number | undefined;
2857
2976
  } | undefined;
@@ -2879,6 +2998,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2879
2998
  timeout?: number | undefined;
2880
2999
  healthCheckTimeout?: number | undefined;
2881
3000
  } | undefined;
3001
+ requestId?: string | undefined;
2882
3002
  } | {
2883
3003
  type: "loadModel";
2884
3004
  modelSrc: string;
@@ -2897,7 +3017,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2897
3017
  engine?: string | undefined;
2898
3018
  expectedSize?: number | undefined;
2899
3019
  sha256Checksum?: string | undefined;
2900
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3020
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2901
3021
  };
2902
3022
  ttsSpeechEncoderSrc: string | {
2903
3023
  src: string;
@@ -2910,7 +3030,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2910
3030
  engine?: string | undefined;
2911
3031
  expectedSize?: number | undefined;
2912
3032
  sha256Checksum?: string | undefined;
2913
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3033
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2914
3034
  };
2915
3035
  ttsEmbedTokensSrc: string | {
2916
3036
  src: string;
@@ -2923,7 +3043,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2923
3043
  engine?: string | undefined;
2924
3044
  expectedSize?: number | undefined;
2925
3045
  sha256Checksum?: string | undefined;
2926
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3046
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2927
3047
  };
2928
3048
  ttsConditionalDecoderSrc: string | {
2929
3049
  src: string;
@@ -2936,7 +3056,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2936
3056
  engine?: string | undefined;
2937
3057
  expectedSize?: number | undefined;
2938
3058
  sha256Checksum?: string | undefined;
2939
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3059
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2940
3060
  };
2941
3061
  ttsLanguageModelSrc: string | {
2942
3062
  src: string;
@@ -2949,7 +3069,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2949
3069
  engine?: string | undefined;
2950
3070
  expectedSize?: number | undefined;
2951
3071
  sha256Checksum?: string | undefined;
2952
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3072
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2953
3073
  };
2954
3074
  referenceAudioSrc: string | {
2955
3075
  src: string;
@@ -2962,7 +3082,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2962
3082
  engine?: string | undefined;
2963
3083
  expectedSize?: number | undefined;
2964
3084
  sha256Checksum?: string | undefined;
2965
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3085
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2966
3086
  };
2967
3087
  } | {
2968
3088
  ttsEngine: "supertonic";
@@ -2978,7 +3098,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2978
3098
  engine?: string | undefined;
2979
3099
  expectedSize?: number | undefined;
2980
3100
  sha256Checksum?: string | undefined;
2981
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3101
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2982
3102
  };
2983
3103
  ttsDurationPredictorSrc: string | {
2984
3104
  src: string;
@@ -2991,7 +3111,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
2991
3111
  engine?: string | undefined;
2992
3112
  expectedSize?: number | undefined;
2993
3113
  sha256Checksum?: string | undefined;
2994
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3114
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
2995
3115
  };
2996
3116
  ttsVectorEstimatorSrc: string | {
2997
3117
  src: string;
@@ -3004,7 +3124,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3004
3124
  engine?: string | undefined;
3005
3125
  expectedSize?: number | undefined;
3006
3126
  sha256Checksum?: string | undefined;
3007
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3127
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3008
3128
  };
3009
3129
  ttsVocoderSrc: string | {
3010
3130
  src: string;
@@ -3017,7 +3137,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3017
3137
  engine?: string | undefined;
3018
3138
  expectedSize?: number | undefined;
3019
3139
  sha256Checksum?: string | undefined;
3020
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3140
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3021
3141
  };
3022
3142
  ttsUnicodeIndexerSrc: string | {
3023
3143
  src: string;
@@ -3030,7 +3150,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3030
3150
  engine?: string | undefined;
3031
3151
  expectedSize?: number | undefined;
3032
3152
  sha256Checksum?: string | undefined;
3033
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3153
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3034
3154
  };
3035
3155
  ttsTtsConfigSrc: string | {
3036
3156
  src: string;
@@ -3043,7 +3163,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3043
3163
  engine?: string | undefined;
3044
3164
  expectedSize?: number | undefined;
3045
3165
  sha256Checksum?: string | undefined;
3046
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3166
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3047
3167
  };
3048
3168
  ttsVoiceStyleSrc: string | {
3049
3169
  src: string;
@@ -3056,7 +3176,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3056
3176
  engine?: string | undefined;
3057
3177
  expectedSize?: number | undefined;
3058
3178
  sha256Checksum?: string | undefined;
3059
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3179
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3060
3180
  };
3061
3181
  ttsSpeed?: number | undefined;
3062
3182
  ttsNumInferenceSteps?: number | undefined;
@@ -3072,6 +3192,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3072
3192
  timeout?: number | undefined;
3073
3193
  healthCheckTimeout?: number | undefined;
3074
3194
  } | undefined;
3195
+ requestId?: string | undefined;
3075
3196
  } | {
3076
3197
  type: "loadModel";
3077
3198
  modelSrc: string;
@@ -3099,7 +3220,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3099
3220
  engine?: string | undefined;
3100
3221
  expectedSize?: number | undefined;
3101
3222
  sha256Checksum?: string | undefined;
3102
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3223
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3103
3224
  } | undefined;
3104
3225
  };
3105
3226
  modelName?: string | undefined;
@@ -3112,6 +3233,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3112
3233
  timeout?: number | undefined;
3113
3234
  healthCheckTimeout?: number | undefined;
3114
3235
  } | undefined;
3236
+ requestId?: string | undefined;
3115
3237
  } | {
3116
3238
  type: "loadModel";
3117
3239
  modelSrc: string;
@@ -3126,7 +3248,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3126
3248
  timeout?: number | undefined;
3127
3249
  healthCheckTimeout?: number | undefined;
3128
3250
  } | undefined;
3251
+ requestId?: string | undefined;
3129
3252
  modelConfig?: {
3253
+ mode: "diffusion" | "upscale";
3130
3254
  threads?: number | undefined;
3131
3255
  device?: "cpu" | "gpu" | undefined;
3132
3256
  prediction?: "auto" | "eps" | "v" | "edm_v" | "flow" | "flux_flow" | "flux2_flow" | undefined;
@@ -3137,6 +3261,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3137
3261
  vae_on_cpu?: boolean | undefined;
3138
3262
  vae_tiling?: boolean | undefined;
3139
3263
  flash_attn?: boolean | undefined;
3264
+ lora_apply_mode?: "auto" | "immediately" | "at_runtime" | undefined;
3140
3265
  verbosity?: number | undefined;
3141
3266
  clipLModelSrc?: string | {
3142
3267
  src: string;
@@ -3149,7 +3274,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3149
3274
  engine?: string | undefined;
3150
3275
  expectedSize?: number | undefined;
3151
3276
  sha256Checksum?: string | undefined;
3152
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3277
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3153
3278
  } | undefined;
3154
3279
  clipGModelSrc?: string | {
3155
3280
  src: string;
@@ -3162,7 +3287,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3162
3287
  engine?: string | undefined;
3163
3288
  expectedSize?: number | undefined;
3164
3289
  sha256Checksum?: string | undefined;
3165
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3290
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3166
3291
  } | undefined;
3167
3292
  t5XxlModelSrc?: string | {
3168
3293
  src: string;
@@ -3175,7 +3300,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3175
3300
  engine?: string | undefined;
3176
3301
  expectedSize?: number | undefined;
3177
3302
  sha256Checksum?: string | undefined;
3178
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3303
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3179
3304
  } | undefined;
3180
3305
  llmModelSrc?: string | {
3181
3306
  src: string;
@@ -3188,7 +3313,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3188
3313
  engine?: string | undefined;
3189
3314
  expectedSize?: number | undefined;
3190
3315
  sha256Checksum?: string | undefined;
3191
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3316
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3192
3317
  } | undefined;
3193
3318
  vaeModelSrc?: string | {
3194
3319
  src: string;
@@ -3201,7 +3326,27 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3201
3326
  engine?: string | undefined;
3202
3327
  expectedSize?: number | undefined;
3203
3328
  sha256Checksum?: string | undefined;
3204
- addon?: "embeddings" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "tts" | "ocr" | "diffusion" | "vad" | undefined;
3329
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3330
+ } | undefined;
3331
+ upscaler?: {
3332
+ type?: "esrgan" | undefined;
3333
+ model_src?: string | {
3334
+ src: string;
3335
+ name?: string | undefined;
3336
+ modelId?: string | undefined;
3337
+ registryPath?: string | undefined;
3338
+ registrySource?: string | undefined;
3339
+ blobCoreKey?: string | undefined;
3340
+ blobIndex?: number | undefined;
3341
+ engine?: string | undefined;
3342
+ expectedSize?: number | undefined;
3343
+ sha256Checksum?: string | undefined;
3344
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
3345
+ } | undefined;
3346
+ tile_size?: number | undefined;
3347
+ direct?: boolean | undefined;
3348
+ offload_params_to_cpu?: boolean | undefined;
3349
+ threads?: number | undefined;
3205
3350
  } | undefined;
3206
3351
  } | undefined;
3207
3352
  } | {
@@ -3218,6 +3363,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3218
3363
  timeout?: number | undefined;
3219
3364
  healthCheckTimeout?: number | undefined;
3220
3365
  } | undefined;
3366
+ requestId?: string | undefined;
3221
3367
  modelConfig?: Record<string, unknown> | undefined;
3222
3368
  }>>, z.ZodUnion<readonly [z.ZodObject<{
3223
3369
  type: z.ZodLiteral<"loadModel">;
@@ -3303,6 +3449,9 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3303
3449
  sha256Checksum: z.ZodOptional<z.ZodString>;
3304
3450
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3305
3451
  embeddings: "embeddings";
3452
+ diffusion: "diffusion";
3453
+ tts: "tts";
3454
+ ocr: "ocr";
3306
3455
  "llamacpp-completion": "llamacpp-completion";
3307
3456
  "whispercpp-transcription": "whispercpp-transcription";
3308
3457
  "llamacpp-embedding": "llamacpp-embedding";
@@ -3315,9 +3464,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3315
3464
  whisper: "whisper";
3316
3465
  nmt: "nmt";
3317
3466
  parakeet: "parakeet";
3318
- tts: "tts";
3319
- ocr: "ocr";
3320
- diffusion: "diffusion";
3321
3467
  }>, z.ZodLiteral<"vad">]>>;
3322
3468
  }, z.core.$strip>]>>>;
3323
3469
  }, z.core.$strip>;
@@ -3326,16 +3472,19 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3326
3472
  assetSrc: z.ZodString;
3327
3473
  withProgress: z.ZodOptional<z.ZodBoolean>;
3328
3474
  seed: z.ZodOptional<z.ZodBoolean>;
3475
+ requestId: z.ZodOptional<z.ZodString>;
3329
3476
  }, z.core.$strip>, z.ZodTransform<{
3330
3477
  seed: boolean;
3331
3478
  type: "downloadAsset";
3332
3479
  assetSrc: string;
3333
3480
  withProgress?: boolean | undefined;
3481
+ requestId?: string | undefined;
3334
3482
  }, {
3335
3483
  type: "downloadAsset";
3336
3484
  assetSrc: string;
3337
3485
  withProgress?: boolean | undefined;
3338
3486
  seed?: boolean | undefined;
3487
+ requestId?: string | undefined;
3339
3488
  }>>, z.ZodObject<{
3340
3489
  history: z.ZodArray<z.ZodObject<{
3341
3490
  role: z.ZodString;
@@ -3377,6 +3526,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3377
3526
  frequency_penalty: z.ZodOptional<z.ZodNumber>;
3378
3527
  presence_penalty: z.ZodOptional<z.ZodNumber>;
3379
3528
  repeat_penalty: z.ZodOptional<z.ZodNumber>;
3529
+ reasoning_budget: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<-1>, z.ZodLiteral<0>]>>;
3380
3530
  }, z.core.$strict>>;
3381
3531
  captureThinking: z.ZodOptional<z.ZodBoolean>;
3382
3532
  emitRawDeltas: z.ZodOptional<z.ZodBoolean>;
@@ -3385,6 +3535,8 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3385
3535
  pythonic: "pythonic";
3386
3536
  json: "json";
3387
3537
  harmony: "harmony";
3538
+ qwen35: "qwen35";
3539
+ gemma4: "gemma4";
3388
3540
  }>>;
3389
3541
  responseFormat: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3390
3542
  type: z.ZodLiteral<"text">;
@@ -3399,11 +3551,12 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3399
3551
  strict: z.ZodOptional<z.ZodBoolean>;
3400
3552
  }, z.core.$strict>;
3401
3553
  }, z.core.$strict>], "type">>;
3554
+ requestId: z.ZodOptional<z.ZodString>;
3402
3555
  type: z.ZodLiteral<"completionStream">;
3403
3556
  }, z.core.$strip>, z.ZodObject<{
3557
+ type: z.ZodLiteral<"unloadModel">;
3404
3558
  modelId: z.ZodString;
3405
3559
  clearStorage: z.ZodDefault<z.ZodBoolean>;
3406
- type: z.ZodLiteral<"unloadModel">;
3407
3560
  }, z.core.$strip>, z.ZodObject<{
3408
3561
  modelId: z.ZodString;
3409
3562
  prompt: z.ZodOptional<z.ZodString>;
@@ -3416,11 +3569,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3416
3569
  value: z.ZodString;
3417
3570
  }, z.core.$strip>], "type">;
3418
3571
  type: z.ZodLiteral<"transcribe">;
3572
+ requestId: z.ZodOptional<z.ZodString>;
3419
3573
  }, z.core.$strip>, z.ZodObject<{
3420
3574
  modelId: z.ZodString;
3421
3575
  prompt: z.ZodOptional<z.ZodString>;
3422
3576
  metadata: z.ZodOptional<z.ZodBoolean>;
3423
3577
  type: z.ZodLiteral<"transcribeStream">;
3578
+ emitVadEvents: z.ZodOptional<z.ZodBoolean>;
3579
+ endOfTurnSilenceMs: z.ZodOptional<z.ZodNumber>;
3580
+ vadRunIntervalMs: z.ZodOptional<z.ZodNumber>;
3581
+ requestId: z.ZodOptional<z.ZodString>;
3424
3582
  }, z.core.$strip>, z.ZodObject<{
3425
3583
  id: z.ZodString;
3426
3584
  type: z.ZodLiteral<"loggingStream">;
@@ -3428,6 +3586,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3428
3586
  modelId: z.ZodString;
3429
3587
  text: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
3430
3588
  type: z.ZodLiteral<"embed">;
3589
+ requestId: z.ZodOptional<z.ZodString>;
3431
3590
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
3432
3591
  modelId: z.ZodString;
3433
3592
  text: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
@@ -3437,6 +3596,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3437
3596
  nmt: "nmt";
3438
3597
  }>;
3439
3598
  type: z.ZodLiteral<"translate">;
3599
+ requestId: z.ZodOptional<z.ZodString>;
3440
3600
  }, z.core.$strip>, z.ZodObject<{
3441
3601
  modelId: z.ZodString;
3442
3602
  text: z.ZodString;
@@ -3449,6 +3609,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3449
3609
  to: z.ZodString;
3450
3610
  context: z.ZodOptional<z.ZodString>;
3451
3611
  type: z.ZodLiteral<"translate">;
3612
+ requestId: z.ZodOptional<z.ZodString>;
3452
3613
  }, z.core.$strip>]>, z.ZodObject<{
3453
3614
  modelId: z.ZodString;
3454
3615
  inputType: z.ZodDefault<z.ZodString>;
@@ -3473,23 +3634,25 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3473
3634
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
3474
3635
  type: z.ZodLiteral<"cancel">;
3475
3636
  }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
3476
- modelId: z.ZodString;
3477
- operation: z.ZodLiteral<"inference">;
3478
- }, z.core.$strip>, z.ZodObject<{
3479
- operation: z.ZodLiteral<"downloadAsset">;
3480
- downloadKey: z.ZodString;
3637
+ operation: z.ZodLiteral<"request">;
3638
+ requestId: z.ZodString;
3481
3639
  clearCache: z.ZodOptional<z.ZodBoolean>;
3482
- delegate: z.ZodOptional<z.ZodObject<{
3483
- providerPublicKey: z.ZodString;
3484
- timeout: z.ZodOptional<z.ZodNumber>;
3485
- healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
3486
- }, z.core.$strip>>;
3487
- }, z.core.$strip>, z.ZodObject<{
3488
- operation: z.ZodLiteral<"rag">;
3489
- workspace: z.ZodOptional<z.ZodString>;
3490
3640
  }, z.core.$strip>, z.ZodObject<{
3641
+ operation: z.ZodLiteral<"broad">;
3491
3642
  modelId: z.ZodString;
3492
- operation: z.ZodLiteral<"embeddings">;
3643
+ kind: z.ZodOptional<z.ZodEnum<{
3644
+ completion: "completion";
3645
+ embeddings: "embeddings";
3646
+ transcribe: "transcribe";
3647
+ translate: "translate";
3648
+ diffusion: "diffusion";
3649
+ tts: "tts";
3650
+ ocr: "ocr";
3651
+ finetune: "finetune";
3652
+ loadModel: "loadModel";
3653
+ downloadAsset: "downloadAsset";
3654
+ rag: "rag";
3655
+ }>>;
3493
3656
  }, z.core.$strip>], "operation">>, z.ZodObject<{
3494
3657
  firewall: z.ZodOptional<z.ZodObject<{
3495
3658
  mode: z.ZodDefault<z.ZodEnum<{
@@ -3520,6 +3683,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3520
3683
  }, z.core.$strip>>;
3521
3684
  type: z.ZodLiteral<"rag">;
3522
3685
  operation: z.ZodLiteral<"chunk">;
3686
+ requestId: z.ZodOptional<z.ZodString>;
3523
3687
  }, z.core.$strip>, z.ZodObject<{
3524
3688
  workspace: z.ZodOptional<z.ZodString>;
3525
3689
  modelId: z.ZodString;
@@ -3545,6 +3709,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3545
3709
  withProgress: z.ZodOptional<z.ZodBoolean>;
3546
3710
  type: z.ZodLiteral<"rag">;
3547
3711
  operation: z.ZodLiteral<"ingest">;
3712
+ requestId: z.ZodOptional<z.ZodString>;
3548
3713
  }, z.core.$strip>, z.ZodObject<{
3549
3714
  modelId: z.ZodOptional<z.ZodString>;
3550
3715
  workspace: z.ZodOptional<z.ZodString>;
@@ -3560,6 +3725,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3560
3725
  withProgress: z.ZodOptional<z.ZodBoolean>;
3561
3726
  type: z.ZodLiteral<"rag">;
3562
3727
  operation: z.ZodLiteral<"saveEmbeddings">;
3728
+ requestId: z.ZodOptional<z.ZodString>;
3563
3729
  }, z.core.$strip>, z.ZodObject<{
3564
3730
  workspace: z.ZodOptional<z.ZodString>;
3565
3731
  modelId: z.ZodString;
@@ -3568,12 +3734,14 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3568
3734
  n: z.ZodDefault<z.ZodNumber>;
3569
3735
  type: z.ZodLiteral<"rag">;
3570
3736
  operation: z.ZodLiteral<"search">;
3737
+ requestId: z.ZodOptional<z.ZodString>;
3571
3738
  }, z.core.$strip>, z.ZodObject<{
3572
3739
  modelId: z.ZodOptional<z.ZodString>;
3573
3740
  workspace: z.ZodOptional<z.ZodString>;
3574
3741
  ids: z.ZodArray<z.ZodString>;
3575
3742
  type: z.ZodLiteral<"rag">;
3576
3743
  operation: z.ZodLiteral<"deleteEmbeddings">;
3744
+ requestId: z.ZodOptional<z.ZodString>;
3577
3745
  }, z.core.$strip>, z.ZodObject<{
3578
3746
  modelId: z.ZodOptional<z.ZodString>;
3579
3747
  workspace: z.ZodOptional<z.ZodString>;
@@ -3581,18 +3749,22 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3581
3749
  withProgress: z.ZodOptional<z.ZodBoolean>;
3582
3750
  type: z.ZodLiteral<"rag">;
3583
3751
  operation: z.ZodLiteral<"reindex">;
3752
+ requestId: z.ZodOptional<z.ZodString>;
3584
3753
  }, z.core.$strip>, z.ZodObject<{
3585
3754
  type: z.ZodLiteral<"rag">;
3586
3755
  operation: z.ZodLiteral<"listWorkspaces">;
3756
+ requestId: z.ZodOptional<z.ZodString>;
3587
3757
  }, z.core.$strip>, z.ZodObject<{
3588
3758
  workspace: z.ZodOptional<z.ZodString>;
3589
3759
  deleteOnClose: z.ZodOptional<z.ZodBoolean>;
3590
3760
  type: z.ZodLiteral<"rag">;
3591
3761
  operation: z.ZodLiteral<"closeWorkspace">;
3762
+ requestId: z.ZodOptional<z.ZodString>;
3592
3763
  }, z.core.$strip>, z.ZodObject<{
3593
3764
  workspace: z.ZodPipe<z.ZodString, z.ZodString>;
3594
3765
  type: z.ZodLiteral<"rag">;
3595
3766
  operation: z.ZodLiteral<"deleteWorkspace">;
3767
+ requestId: z.ZodOptional<z.ZodString>;
3596
3768
  }, z.core.$strip>], "operation">, z.ZodUnion<readonly [z.ZodObject<{
3597
3769
  type: z.ZodLiteral<"deleteCache">;
3598
3770
  all: z.ZodLiteral<true>;
@@ -3663,8 +3835,20 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3663
3835
  vae_tiling: z.ZodOptional<z.ZodBoolean>;
3664
3836
  cache_preset: z.ZodOptional<z.ZodString>;
3665
3837
  init_image: z.ZodOptional<z.ZodString>;
3838
+ init_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
3839
+ increase_ref_index: z.ZodOptional<z.ZodBoolean>;
3840
+ auto_resize_ref_image: z.ZodOptional<z.ZodBoolean>;
3841
+ lora: z.ZodOptional<z.ZodString>;
3666
3842
  strength: z.ZodOptional<z.ZodNumber>;
3843
+ upscale: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
3844
+ repeats: z.ZodOptional<z.ZodNumber>;
3845
+ }, z.core.$strict>]>>;
3667
3846
  type: z.ZodLiteral<"diffusionStream">;
3847
+ }, z.core.$strip>, z.ZodObject<{
3848
+ modelId: z.ZodString;
3849
+ image: z.ZodString;
3850
+ repeats: z.ZodOptional<z.ZodNumber>;
3851
+ type: z.ZodLiteral<"upscaleStream">;
3668
3852
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
3669
3853
  modelId: z.ZodString;
3670
3854
  options: z.ZodObject<{
@@ -3727,6 +3911,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3727
3911
  resume: "resume";
3728
3912
  }>>;
3729
3913
  withProgress: z.ZodOptional<z.ZodBoolean>;
3914
+ requestId: z.ZodOptional<z.ZodString>;
3730
3915
  }, z.core.$strict>, z.ZodObject<{
3731
3916
  modelId: z.ZodString;
3732
3917
  options: z.ZodObject<{
@@ -3811,13 +3996,13 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3811
3996
  quantization: z.ZodOptional<z.ZodString>;
3812
3997
  addon: z.ZodOptional<z.ZodEnum<{
3813
3998
  embeddings: "embeddings";
3999
+ diffusion: "diffusion";
4000
+ tts: "tts";
4001
+ ocr: "ocr";
3814
4002
  llm: "llm";
3815
4003
  whisper: "whisper";
3816
4004
  nmt: "nmt";
3817
4005
  parakeet: "parakeet";
3818
- tts: "tts";
3819
- ocr: "ocr";
3820
- diffusion: "diffusion";
3821
4006
  vad: "vad";
3822
4007
  other: "other";
3823
4008
  }>>;
@@ -3908,6 +4093,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3908
4093
  type: z.ZodLiteral<"completionDone">;
3909
4094
  seq: z.ZodNumber;
3910
4095
  stopReason: z.ZodOptional<z.ZodEnum<{
4096
+ cancelled: "cancelled";
3911
4097
  eos: "eos";
3912
4098
  length: "length";
3913
4099
  stopSequence: "stopSequence";
@@ -3968,6 +4154,13 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3968
4154
  append: z.ZodBoolean;
3969
4155
  id: z.ZodNumber;
3970
4156
  }, z.core.$strip>>;
4157
+ vad: z.ZodOptional<z.ZodObject<{
4158
+ speaking: z.ZodBoolean;
4159
+ probability: z.ZodNumber;
4160
+ }, z.core.$strip>>;
4161
+ endOfTurn: z.ZodOptional<z.ZodObject<{
4162
+ silenceDurationMs: z.ZodNumber;
4163
+ }, z.core.$strip>>;
3971
4164
  type: z.ZodLiteral<"transcribe">;
3972
4165
  }, z.core.$strip>, z.ZodObject<{
3973
4166
  text: z.ZodOptional<z.ZodString>;
@@ -3992,6 +4185,13 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3992
4185
  append: z.ZodBoolean;
3993
4186
  id: z.ZodNumber;
3994
4187
  }, z.core.$strip>>;
4188
+ vad: z.ZodOptional<z.ZodObject<{
4189
+ speaking: z.ZodBoolean;
4190
+ probability: z.ZodNumber;
4191
+ }, z.core.$strip>>;
4192
+ endOfTurn: z.ZodOptional<z.ZodObject<{
4193
+ silenceDurationMs: z.ZodNumber;
4194
+ }, z.core.$strip>>;
3995
4195
  type: z.ZodLiteral<"transcribeStream">;
3996
4196
  }, z.core.$strip>, z.ZodObject<{
3997
4197
  type: z.ZodLiteral<"loggingStream">;
@@ -4057,6 +4257,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4057
4257
  }, z.core.$strip>, z.ZodObject<{
4058
4258
  type: z.ZodLiteral<"cancel">;
4059
4259
  success: z.ZodBoolean;
4260
+ cancelled: z.ZodOptional<z.ZodNumber>;
4060
4261
  error: z.ZodOptional<z.ZodString>;
4061
4262
  }, z.core.$strip>, z.ZodObject<{
4062
4263
  type: z.ZodLiteral<"provide">;
@@ -4075,6 +4276,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4075
4276
  name: z.ZodOptional<z.ZodString>;
4076
4277
  code: z.ZodOptional<z.ZodNumber>;
4077
4278
  cause: z.ZodOptional<z.ZodUnknown>;
4279
+ typedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4078
4280
  }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
4079
4281
  type: z.ZodLiteral<"rag">;
4080
4282
  success: z.ZodBoolean;
@@ -4188,13 +4390,13 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4188
4390
  sha256Checksum: z.ZodString;
4189
4391
  addon: z.ZodEnum<{
4190
4392
  embeddings: "embeddings";
4393
+ diffusion: "diffusion";
4394
+ tts: "tts";
4395
+ ocr: "ocr";
4191
4396
  llm: "llm";
4192
4397
  whisper: "whisper";
4193
4398
  nmt: "nmt";
4194
4399
  parakeet: "parakeet";
4195
- tts: "tts";
4196
- ocr: "ocr";
4197
- diffusion: "diffusion";
4198
4400
  vad: "vad";
4199
4401
  other: "other";
4200
4402
  }>;
@@ -4272,6 +4474,23 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4272
4474
  height: z.ZodOptional<z.ZodNumber>;
4273
4475
  seed: z.ZodOptional<z.ZodNumber>;
4274
4476
  }, z.core.$strip>>;
4477
+ }, z.core.$strip>, z.ZodObject<{
4478
+ type: z.ZodLiteral<"upscaleStream">;
4479
+ data: z.ZodOptional<z.ZodString>;
4480
+ outputIndex: z.ZodOptional<z.ZodNumber>;
4481
+ done: z.ZodOptional<z.ZodBoolean>;
4482
+ stats: z.ZodOptional<z.ZodObject<{
4483
+ modelLoadMs: z.ZodOptional<z.ZodNumber>;
4484
+ upscaleMs: z.ZodOptional<z.ZodNumber>;
4485
+ totalUpscaleMs: z.ZodOptional<z.ZodNumber>;
4486
+ totalWallMs: z.ZodOptional<z.ZodNumber>;
4487
+ totalUpscales: z.ZodOptional<z.ZodNumber>;
4488
+ totalImages: z.ZodOptional<z.ZodNumber>;
4489
+ totalPixels: z.ZodOptional<z.ZodNumber>;
4490
+ width: z.ZodOptional<z.ZodNumber>;
4491
+ height: z.ZodOptional<z.ZodNumber>;
4492
+ repeats: z.ZodOptional<z.ZodNumber>;
4493
+ }, z.core.$strip>>;
4275
4494
  }, z.core.$strip>, z.ZodObject<{
4276
4495
  type: z.ZodLiteral<"finetune">;
4277
4496
  status: z.ZodEnum<{
@@ -4329,13 +4548,13 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4329
4548
  modelId: z.ZodString;
4330
4549
  addon: z.ZodEnum<{
4331
4550
  embeddings: "embeddings";
4551
+ diffusion: "diffusion";
4552
+ tts: "tts";
4553
+ ocr: "ocr";
4332
4554
  llm: "llm";
4333
4555
  whisper: "whisper";
4334
4556
  nmt: "nmt";
4335
4557
  parakeet: "parakeet";
4336
- tts: "tts";
4337
- ocr: "ocr";
4338
- diffusion: "diffusion";
4339
4558
  vad: "vad";
4340
4559
  other: "other";
4341
4560
  }>;
@@ -4370,13 +4589,13 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4370
4589
  modelId: z.ZodString;
4371
4590
  addon: z.ZodEnum<{
4372
4591
  embeddings: "embeddings";
4592
+ diffusion: "diffusion";
4593
+ tts: "tts";
4594
+ ocr: "ocr";
4373
4595
  llm: "llm";
4374
4596
  whisper: "whisper";
4375
4597
  nmt: "nmt";
4376
4598
  parakeet: "parakeet";
4377
- tts: "tts";
4378
- ocr: "ocr";
4379
- diffusion: "diffusion";
4380
4599
  vad: "vad";
4381
4600
  other: "other";
4382
4601
  }>;
@@ -4411,13 +4630,13 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4411
4630
  modelId: z.ZodString;
4412
4631
  addon: z.ZodEnum<{
4413
4632
  embeddings: "embeddings";
4633
+ diffusion: "diffusion";
4634
+ tts: "tts";
4635
+ ocr: "ocr";
4414
4636
  llm: "llm";
4415
4637
  whisper: "whisper";
4416
4638
  nmt: "nmt";
4417
4639
  parakeet: "parakeet";
4418
- tts: "tts";
4419
- ocr: "ocr";
4420
- diffusion: "diffusion";
4421
4640
  vad: "vad";
4422
4641
  other: "other";
4423
4642
  }>;