@agentproto/model-catalog 0.2.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 (87) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -0
  3. package/dist/access/index.d.ts +30 -0
  4. package/dist/access/index.mjs +4 -0
  5. package/dist/access/index.mjs.map +1 -0
  6. package/dist/audio/index.d.ts +84 -0
  7. package/dist/audio/index.mjs +3 -0
  8. package/dist/audio/index.mjs.map +1 -0
  9. package/dist/audio-BzVF_wke.d.ts +92 -0
  10. package/dist/base-BNHcMifc.d.ts +109 -0
  11. package/dist/byok/index.d.ts +33 -0
  12. package/dist/byok/index.mjs +3 -0
  13. package/dist/byok/index.mjs.map +1 -0
  14. package/dist/catalog-aQHd559b.d.ts +594 -0
  15. package/dist/chunk-2LWYZOWB.mjs +643 -0
  16. package/dist/chunk-2LWYZOWB.mjs.map +1 -0
  17. package/dist/chunk-CINXNTU3.mjs +134 -0
  18. package/dist/chunk-CINXNTU3.mjs.map +1 -0
  19. package/dist/chunk-F7OEHYUI.mjs +187 -0
  20. package/dist/chunk-F7OEHYUI.mjs.map +1 -0
  21. package/dist/chunk-GH7PB5FB.mjs +183 -0
  22. package/dist/chunk-GH7PB5FB.mjs.map +1 -0
  23. package/dist/chunk-H6JUTF3U.mjs +33 -0
  24. package/dist/chunk-H6JUTF3U.mjs.map +1 -0
  25. package/dist/chunk-HEDDSOZF.mjs +47 -0
  26. package/dist/chunk-HEDDSOZF.mjs.map +1 -0
  27. package/dist/chunk-HRRG2RZO.mjs +116 -0
  28. package/dist/chunk-HRRG2RZO.mjs.map +1 -0
  29. package/dist/chunk-IJZ4XPO2.mjs +606 -0
  30. package/dist/chunk-IJZ4XPO2.mjs.map +1 -0
  31. package/dist/chunk-IORIAFK2.mjs +227 -0
  32. package/dist/chunk-IORIAFK2.mjs.map +1 -0
  33. package/dist/chunk-OHAMH3ZE.mjs +2629 -0
  34. package/dist/chunk-OHAMH3ZE.mjs.map +1 -0
  35. package/dist/chunk-QHELXPSL.mjs +85 -0
  36. package/dist/chunk-QHELXPSL.mjs.map +1 -0
  37. package/dist/chunk-SGJR6ZQH.mjs +1230 -0
  38. package/dist/chunk-SGJR6ZQH.mjs.map +1 -0
  39. package/dist/chunk-WRUWNKDB.mjs +521 -0
  40. package/dist/chunk-WRUWNKDB.mjs.map +1 -0
  41. package/dist/chunk-WTHHXXIK.mjs +366 -0
  42. package/dist/chunk-WTHHXXIK.mjs.map +1 -0
  43. package/dist/chunk-XFDXTFV3.mjs +28 -0
  44. package/dist/chunk-XFDXTFV3.mjs.map +1 -0
  45. package/dist/cost/index.d.ts +114 -0
  46. package/dist/cost/index.mjs +13 -0
  47. package/dist/cost/index.mjs.map +1 -0
  48. package/dist/curation/index.d.ts +98 -0
  49. package/dist/curation/index.mjs +13 -0
  50. package/dist/curation/index.mjs.map +1 -0
  51. package/dist/evaluate-DisH3H7u.d.ts +84 -0
  52. package/dist/image/index.d.ts +79 -0
  53. package/dist/image/index.mjs +3 -0
  54. package/dist/image/index.mjs.map +1 -0
  55. package/dist/index-BICjPG8H.d.ts +132 -0
  56. package/dist/index-D8nL3fPZ.d.ts +171 -0
  57. package/dist/index.d.ts +94 -0
  58. package/dist/index.mjs +33 -0
  59. package/dist/index.mjs.map +1 -0
  60. package/dist/llm/index.d.ts +48 -0
  61. package/dist/llm/index.mjs +4 -0
  62. package/dist/llm/index.mjs.map +1 -0
  63. package/dist/overlay/index.d.ts +67 -0
  64. package/dist/overlay/index.mjs +3 -0
  65. package/dist/overlay/index.mjs.map +1 -0
  66. package/dist/picker/index.d.ts +11 -0
  67. package/dist/picker/index.mjs +26 -0
  68. package/dist/picker/index.mjs.map +1 -0
  69. package/dist/pricing/index.d.ts +106 -0
  70. package/dist/pricing/index.mjs +3 -0
  71. package/dist/pricing/index.mjs.map +1 -0
  72. package/dist/providers/index.d.ts +78 -0
  73. package/dist/providers/index.mjs +237 -0
  74. package/dist/providers/index.mjs.map +1 -0
  75. package/dist/schema/index.d.ts +627 -0
  76. package/dist/schema/index.mjs +4 -0
  77. package/dist/schema/index.mjs.map +1 -0
  78. package/dist/schema/voice.d.ts +66 -0
  79. package/dist/schema/voice.mjs +3 -0
  80. package/dist/schema/voice.mjs.map +1 -0
  81. package/dist/video/index.d.ts +78 -0
  82. package/dist/video/index.mjs +3 -0
  83. package/dist/video/index.mjs.map +1 -0
  84. package/dist/voice/index.d.ts +1300 -0
  85. package/dist/voice/index.mjs +4 -0
  86. package/dist/voice/index.mjs.map +1 -0
  87. package/package.json +137 -0
@@ -0,0 +1,627 @@
1
+ import { z } from 'zod';
2
+ export { a as CatalogPriceTier, b as CatalogPriceTierSchema, C as CatalogProvider, c as CatalogProviderSchema, L as Lifecycle, d as LifecycleSchema, M as ModelKind, e as ModelKindSchema, N as NsfwPolicy, f as NsfwPolicySchema, g as baseEntryShape } from '../base-BNHcMifc.js';
3
+ export { A as AudioCapabilities, a as AudioCapabilitiesSchema, b as AudioEntry, c as AudioEntrySchema, d as AudioPricing, e as AudioPricingSchema } from '../audio-BzVF_wke.js';
4
+ export { CatalogVoice, CatalogVoiceProvider, CatalogVoiceProviderSchema, CatalogVoiceSchema } from './voice.js';
5
+
6
+ /**
7
+ * LLM pricing — token-based. Mirrors the historical `LLMPricing` shape in
8
+ * `packages/core/src/config/llm-pricing.ts` so the existing
9
+ * `calculateLLMCreditCost` formula carries over verbatim.
10
+ */
11
+ declare const LlmPricingSchema: z.ZodObject<{
12
+ inputPer1M: z.ZodNumber;
13
+ outputPer1M: z.ZodNumber;
14
+ creditInputPer1M: z.ZodNumber;
15
+ creditOutputPer1M: z.ZodNumber;
16
+ cacheReadMultiplier: z.ZodOptional<z.ZodNumber>;
17
+ cacheWriteMultiplier: z.ZodOptional<z.ZodNumber>;
18
+ provider: z.ZodOptional<z.ZodString>;
19
+ vendor: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ type LlmPricing = z.infer<typeof LlmPricingSchema>;
22
+ declare const LLMEntrySchema: z.ZodObject<{
23
+ kind: z.ZodLiteral<"llm">;
24
+ pricing: z.ZodObject<{
25
+ inputPer1M: z.ZodNumber;
26
+ outputPer1M: z.ZodNumber;
27
+ creditInputPer1M: z.ZodNumber;
28
+ creditOutputPer1M: z.ZodNumber;
29
+ cacheReadMultiplier: z.ZodOptional<z.ZodNumber>;
30
+ cacheWriteMultiplier: z.ZodOptional<z.ZodNumber>;
31
+ provider: z.ZodOptional<z.ZodString>;
32
+ vendor: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>;
34
+ contextWindow: z.ZodOptional<z.ZodNumber>;
35
+ id: z.ZodString;
36
+ name: z.ZodString;
37
+ description: z.ZodDefault<z.ZodString>;
38
+ provider: z.ZodEnum<{
39
+ anthropic: "anthropic";
40
+ assemblyai: "assemblyai";
41
+ deepgram: "deepgram";
42
+ elevenlabs: "elevenlabs";
43
+ "gemini-live": "gemini-live";
44
+ google: "google";
45
+ minimax: "minimax";
46
+ mistral: "mistral";
47
+ moonshot: "moonshot";
48
+ openai: "openai";
49
+ "openai-realtime": "openai-realtime";
50
+ openrouter: "openrouter";
51
+ replicate: "replicate";
52
+ }>;
53
+ providerId: z.ZodString;
54
+ agentVisible: z.ZodDefault<z.ZodBoolean>;
55
+ lifecycle: z.ZodDefault<z.ZodEnum<{
56
+ stable: "stable";
57
+ preview: "preview";
58
+ deprecated: "deprecated";
59
+ }>>;
60
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
61
+ catalogPriceTier: z.ZodDefault<z.ZodEnum<{
62
+ low: "low";
63
+ mid: "mid";
64
+ high: "high";
65
+ premium: "premium";
66
+ }>>;
67
+ nsfwPolicy: z.ZodDefault<z.ZodEnum<{
68
+ filtered: "filtered";
69
+ permissive: "permissive";
70
+ strict: "strict";
71
+ }>>;
72
+ regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
73
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
+ }, z.core.$strip>;
75
+ type LLMEntry = z.infer<typeof LLMEntrySchema>;
76
+
77
+ declare const ImageCapabilitiesSchema: z.ZodObject<{
78
+ generate: z.ZodBoolean;
79
+ edit: z.ZodBoolean;
80
+ upscale: z.ZodOptional<z.ZodBoolean>;
81
+ }, z.core.$strip>;
82
+ type ImageCapabilities = z.infer<typeof ImageCapabilitiesSchema>;
83
+ declare const ImageReferenceImagesSchema: z.ZodObject<{
84
+ supported: z.ZodBoolean;
85
+ fieldName: z.ZodEnum<{
86
+ image_input: "image_input";
87
+ input_images: "input_images";
88
+ input_image: "input_image";
89
+ none: "none";
90
+ }>;
91
+ maxCount: z.ZodNumber;
92
+ singular: z.ZodBoolean;
93
+ }, z.core.$strip>;
94
+ type ImageReferenceImages = z.infer<typeof ImageReferenceImagesSchema>;
95
+ declare const ImageAspectRatioSchema: z.ZodObject<{
96
+ supported: z.ZodArray<z.ZodString>;
97
+ default: z.ZodString;
98
+ }, z.core.$strip>;
99
+ type ImageAspectRatio = z.infer<typeof ImageAspectRatioSchema>;
100
+ /**
101
+ * Pricing inputs for a model entry.
102
+ *
103
+ * Credit math is **derived at call time** by `computeCenticredits()` from
104
+ * `baseCost × category-markup`. The catalog only carries the
105
+ * production-cost input. An entry can opt out of the formula via
106
+ * `overrideCreditCost` (strategic subsidy / partner pricing) — used
107
+ * sparingly so a category-wide tune stays a one-line change in
108
+ * `pricing/index.ts`.
109
+ *
110
+ * `costPerImage` / `costTier` / `creditCost` are deprecated but kept
111
+ * readable so production data + admin UI keep parsing. New entries
112
+ * should not set them.
113
+ */
114
+ declare const ImagePricingSchema: z.ZodObject<{
115
+ costPerImage: z.ZodOptional<z.ZodNumber>;
116
+ costTier: z.ZodOptional<z.ZodEnum<{
117
+ low: "low";
118
+ high: "high";
119
+ medium: "medium";
120
+ }>>;
121
+ billingUnit: z.ZodLiteral<"per_image">;
122
+ baseCost: z.ZodNumber;
123
+ creditCost: z.ZodOptional<z.ZodNumber>;
124
+ overrideCreditCost: z.ZodOptional<z.ZodNumber>;
125
+ }, z.core.$strip>;
126
+ type ImagePricing = z.infer<typeof ImagePricingSchema>;
127
+ declare const ImageEntrySchema: z.ZodObject<{
128
+ kind: z.ZodLiteral<"image">;
129
+ capabilities: z.ZodObject<{
130
+ generate: z.ZodBoolean;
131
+ edit: z.ZodBoolean;
132
+ upscale: z.ZodOptional<z.ZodBoolean>;
133
+ }, z.core.$strip>;
134
+ referenceImages: z.ZodObject<{
135
+ supported: z.ZodBoolean;
136
+ fieldName: z.ZodEnum<{
137
+ image_input: "image_input";
138
+ input_images: "input_images";
139
+ input_image: "input_image";
140
+ none: "none";
141
+ }>;
142
+ maxCount: z.ZodNumber;
143
+ singular: z.ZodBoolean;
144
+ }, z.core.$strip>;
145
+ aspectRatio: z.ZodObject<{
146
+ supported: z.ZodArray<z.ZodString>;
147
+ default: z.ZodString;
148
+ }, z.core.$strip>;
149
+ output: z.ZodEnum<{
150
+ string: "string";
151
+ array: "array";
152
+ }>;
153
+ pricing: z.ZodObject<{
154
+ costPerImage: z.ZodOptional<z.ZodNumber>;
155
+ costTier: z.ZodOptional<z.ZodEnum<{
156
+ low: "low";
157
+ high: "high";
158
+ medium: "medium";
159
+ }>>;
160
+ billingUnit: z.ZodLiteral<"per_image">;
161
+ baseCost: z.ZodNumber;
162
+ creditCost: z.ZodOptional<z.ZodNumber>;
163
+ overrideCreditCost: z.ZodOptional<z.ZodNumber>;
164
+ }, z.core.$strip>;
165
+ triggerWord: z.ZodOptional<z.ZodString>;
166
+ id: z.ZodString;
167
+ name: z.ZodString;
168
+ description: z.ZodDefault<z.ZodString>;
169
+ provider: z.ZodEnum<{
170
+ anthropic: "anthropic";
171
+ assemblyai: "assemblyai";
172
+ deepgram: "deepgram";
173
+ elevenlabs: "elevenlabs";
174
+ "gemini-live": "gemini-live";
175
+ google: "google";
176
+ minimax: "minimax";
177
+ mistral: "mistral";
178
+ moonshot: "moonshot";
179
+ openai: "openai";
180
+ "openai-realtime": "openai-realtime";
181
+ openrouter: "openrouter";
182
+ replicate: "replicate";
183
+ }>;
184
+ providerId: z.ZodString;
185
+ agentVisible: z.ZodDefault<z.ZodBoolean>;
186
+ lifecycle: z.ZodDefault<z.ZodEnum<{
187
+ stable: "stable";
188
+ preview: "preview";
189
+ deprecated: "deprecated";
190
+ }>>;
191
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
192
+ catalogPriceTier: z.ZodDefault<z.ZodEnum<{
193
+ low: "low";
194
+ mid: "mid";
195
+ high: "high";
196
+ premium: "premium";
197
+ }>>;
198
+ nsfwPolicy: z.ZodDefault<z.ZodEnum<{
199
+ filtered: "filtered";
200
+ permissive: "permissive";
201
+ strict: "strict";
202
+ }>>;
203
+ regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
204
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
+ }, z.core.$strip>;
206
+ type ImageEntry = z.infer<typeof ImageEntrySchema>;
207
+
208
+ declare const VideoCapabilitiesSchema: z.ZodObject<{
209
+ textToVideo: z.ZodBoolean;
210
+ imageToVideo: z.ZodBoolean;
211
+ subjectReference: z.ZodBoolean;
212
+ audio: z.ZodBoolean;
213
+ }, z.core.$strip>;
214
+ type VideoCapabilities = z.infer<typeof VideoCapabilitiesSchema>;
215
+ declare const VideoResolutionSchema: z.ZodEnum<{
216
+ "480p": "480p";
217
+ "540p": "540p";
218
+ "720p": "720p";
219
+ "1080p": "1080p";
220
+ "1440p": "1440p";
221
+ "4k": "4k";
222
+ }>;
223
+ type VideoResolution = z.infer<typeof VideoResolutionSchema>;
224
+ /**
225
+ * Mirrors `CostMultipliers` from `the app integration-core`. Keys are
226
+ * stringified so JSON round-trips cleanly.
227
+ */
228
+ declare const VideoCostMultipliersSchema: z.ZodObject<{
229
+ resolution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
230
+ duration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
231
+ mode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
232
+ }, z.core.$strip>;
233
+ type VideoCostMultipliers = z.infer<typeof VideoCostMultipliersSchema>;
234
+ declare const VideoPricingSchema: z.ZodObject<{
235
+ costPerClip: z.ZodOptional<z.ZodNumber>;
236
+ costTier: z.ZodOptional<z.ZodEnum<{
237
+ low: "low";
238
+ high: "high";
239
+ medium: "medium";
240
+ }>>;
241
+ billingUnit: z.ZodEnum<{
242
+ per_clip: "per_clip";
243
+ per_second: "per_second";
244
+ }>;
245
+ baseCost: z.ZodNumber;
246
+ baseCostUnit: z.ZodString;
247
+ multipliers: z.ZodOptional<z.ZodObject<{
248
+ resolution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
249
+ duration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
250
+ mode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
251
+ }, z.core.$strip>>;
252
+ creditCost: z.ZodOptional<z.ZodNumber>;
253
+ creditMultipliers: z.ZodOptional<z.ZodObject<{
254
+ resolution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
255
+ duration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
256
+ mode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
257
+ }, z.core.$strip>>;
258
+ overrideCreditCost: z.ZodOptional<z.ZodNumber>;
259
+ }, z.core.$strip>;
260
+ type VideoPricing = z.infer<typeof VideoPricingSchema>;
261
+ declare const VideoEntrySchema: z.ZodObject<{
262
+ kind: z.ZodLiteral<"video">;
263
+ capabilities: z.ZodObject<{
264
+ textToVideo: z.ZodBoolean;
265
+ imageToVideo: z.ZodBoolean;
266
+ subjectReference: z.ZodBoolean;
267
+ audio: z.ZodBoolean;
268
+ }, z.core.$strip>;
269
+ maxDuration: z.ZodNumber;
270
+ supportedResolutions: z.ZodArray<z.ZodEnum<{
271
+ "480p": "480p";
272
+ "540p": "540p";
273
+ "720p": "720p";
274
+ "1080p": "1080p";
275
+ "1440p": "1440p";
276
+ "4k": "4k";
277
+ }>>;
278
+ supportedAspectRatios: z.ZodArray<z.ZodString>;
279
+ pricing: z.ZodObject<{
280
+ costPerClip: z.ZodOptional<z.ZodNumber>;
281
+ costTier: z.ZodOptional<z.ZodEnum<{
282
+ low: "low";
283
+ high: "high";
284
+ medium: "medium";
285
+ }>>;
286
+ billingUnit: z.ZodEnum<{
287
+ per_clip: "per_clip";
288
+ per_second: "per_second";
289
+ }>;
290
+ baseCost: z.ZodNumber;
291
+ baseCostUnit: z.ZodString;
292
+ multipliers: z.ZodOptional<z.ZodObject<{
293
+ resolution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
294
+ duration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
295
+ mode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
296
+ }, z.core.$strip>>;
297
+ creditCost: z.ZodOptional<z.ZodNumber>;
298
+ creditMultipliers: z.ZodOptional<z.ZodObject<{
299
+ resolution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
300
+ duration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
301
+ mode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
302
+ }, z.core.$strip>>;
303
+ overrideCreditCost: z.ZodOptional<z.ZodNumber>;
304
+ }, z.core.$strip>;
305
+ id: z.ZodString;
306
+ name: z.ZodString;
307
+ description: z.ZodDefault<z.ZodString>;
308
+ provider: z.ZodEnum<{
309
+ anthropic: "anthropic";
310
+ assemblyai: "assemblyai";
311
+ deepgram: "deepgram";
312
+ elevenlabs: "elevenlabs";
313
+ "gemini-live": "gemini-live";
314
+ google: "google";
315
+ minimax: "minimax";
316
+ mistral: "mistral";
317
+ moonshot: "moonshot";
318
+ openai: "openai";
319
+ "openai-realtime": "openai-realtime";
320
+ openrouter: "openrouter";
321
+ replicate: "replicate";
322
+ }>;
323
+ providerId: z.ZodString;
324
+ agentVisible: z.ZodDefault<z.ZodBoolean>;
325
+ lifecycle: z.ZodDefault<z.ZodEnum<{
326
+ stable: "stable";
327
+ preview: "preview";
328
+ deprecated: "deprecated";
329
+ }>>;
330
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
331
+ catalogPriceTier: z.ZodDefault<z.ZodEnum<{
332
+ low: "low";
333
+ mid: "mid";
334
+ high: "high";
335
+ premium: "premium";
336
+ }>>;
337
+ nsfwPolicy: z.ZodDefault<z.ZodEnum<{
338
+ filtered: "filtered";
339
+ permissive: "permissive";
340
+ strict: "strict";
341
+ }>>;
342
+ regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
343
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
344
+ }, z.core.$strip>;
345
+ type VideoEntry = z.infer<typeof VideoEntrySchema>;
346
+
347
+ /** Discriminated union over every kind. */
348
+ declare const ModelEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
349
+ kind: z.ZodLiteral<"llm">;
350
+ pricing: z.ZodObject<{
351
+ inputPer1M: z.ZodNumber;
352
+ outputPer1M: z.ZodNumber;
353
+ creditInputPer1M: z.ZodNumber;
354
+ creditOutputPer1M: z.ZodNumber;
355
+ cacheReadMultiplier: z.ZodOptional<z.ZodNumber>;
356
+ cacheWriteMultiplier: z.ZodOptional<z.ZodNumber>;
357
+ provider: z.ZodOptional<z.ZodString>;
358
+ vendor: z.ZodOptional<z.ZodString>;
359
+ }, z.core.$strip>;
360
+ contextWindow: z.ZodOptional<z.ZodNumber>;
361
+ id: z.ZodString;
362
+ name: z.ZodString;
363
+ description: z.ZodDefault<z.ZodString>;
364
+ provider: z.ZodEnum<{
365
+ anthropic: "anthropic";
366
+ assemblyai: "assemblyai";
367
+ deepgram: "deepgram";
368
+ elevenlabs: "elevenlabs";
369
+ "gemini-live": "gemini-live";
370
+ google: "google";
371
+ minimax: "minimax";
372
+ mistral: "mistral";
373
+ moonshot: "moonshot";
374
+ openai: "openai";
375
+ "openai-realtime": "openai-realtime";
376
+ openrouter: "openrouter";
377
+ replicate: "replicate";
378
+ }>;
379
+ providerId: z.ZodString;
380
+ agentVisible: z.ZodDefault<z.ZodBoolean>;
381
+ lifecycle: z.ZodDefault<z.ZodEnum<{
382
+ stable: "stable";
383
+ preview: "preview";
384
+ deprecated: "deprecated";
385
+ }>>;
386
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
387
+ catalogPriceTier: z.ZodDefault<z.ZodEnum<{
388
+ low: "low";
389
+ mid: "mid";
390
+ high: "high";
391
+ premium: "premium";
392
+ }>>;
393
+ nsfwPolicy: z.ZodDefault<z.ZodEnum<{
394
+ filtered: "filtered";
395
+ permissive: "permissive";
396
+ strict: "strict";
397
+ }>>;
398
+ regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
399
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ kind: z.ZodLiteral<"image">;
402
+ capabilities: z.ZodObject<{
403
+ generate: z.ZodBoolean;
404
+ edit: z.ZodBoolean;
405
+ upscale: z.ZodOptional<z.ZodBoolean>;
406
+ }, z.core.$strip>;
407
+ referenceImages: z.ZodObject<{
408
+ supported: z.ZodBoolean;
409
+ fieldName: z.ZodEnum<{
410
+ image_input: "image_input";
411
+ input_images: "input_images";
412
+ input_image: "input_image";
413
+ none: "none";
414
+ }>;
415
+ maxCount: z.ZodNumber;
416
+ singular: z.ZodBoolean;
417
+ }, z.core.$strip>;
418
+ aspectRatio: z.ZodObject<{
419
+ supported: z.ZodArray<z.ZodString>;
420
+ default: z.ZodString;
421
+ }, z.core.$strip>;
422
+ output: z.ZodEnum<{
423
+ string: "string";
424
+ array: "array";
425
+ }>;
426
+ pricing: z.ZodObject<{
427
+ costPerImage: z.ZodOptional<z.ZodNumber>;
428
+ costTier: z.ZodOptional<z.ZodEnum<{
429
+ low: "low";
430
+ high: "high";
431
+ medium: "medium";
432
+ }>>;
433
+ billingUnit: z.ZodLiteral<"per_image">;
434
+ baseCost: z.ZodNumber;
435
+ creditCost: z.ZodOptional<z.ZodNumber>;
436
+ overrideCreditCost: z.ZodOptional<z.ZodNumber>;
437
+ }, z.core.$strip>;
438
+ triggerWord: z.ZodOptional<z.ZodString>;
439
+ id: z.ZodString;
440
+ name: z.ZodString;
441
+ description: z.ZodDefault<z.ZodString>;
442
+ provider: z.ZodEnum<{
443
+ anthropic: "anthropic";
444
+ assemblyai: "assemblyai";
445
+ deepgram: "deepgram";
446
+ elevenlabs: "elevenlabs";
447
+ "gemini-live": "gemini-live";
448
+ google: "google";
449
+ minimax: "minimax";
450
+ mistral: "mistral";
451
+ moonshot: "moonshot";
452
+ openai: "openai";
453
+ "openai-realtime": "openai-realtime";
454
+ openrouter: "openrouter";
455
+ replicate: "replicate";
456
+ }>;
457
+ providerId: z.ZodString;
458
+ agentVisible: z.ZodDefault<z.ZodBoolean>;
459
+ lifecycle: z.ZodDefault<z.ZodEnum<{
460
+ stable: "stable";
461
+ preview: "preview";
462
+ deprecated: "deprecated";
463
+ }>>;
464
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
465
+ catalogPriceTier: z.ZodDefault<z.ZodEnum<{
466
+ low: "low";
467
+ mid: "mid";
468
+ high: "high";
469
+ premium: "premium";
470
+ }>>;
471
+ nsfwPolicy: z.ZodDefault<z.ZodEnum<{
472
+ filtered: "filtered";
473
+ permissive: "permissive";
474
+ strict: "strict";
475
+ }>>;
476
+ regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
477
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
478
+ }, z.core.$strip>, z.ZodObject<{
479
+ kind: z.ZodLiteral<"video">;
480
+ capabilities: z.ZodObject<{
481
+ textToVideo: z.ZodBoolean;
482
+ imageToVideo: z.ZodBoolean;
483
+ subjectReference: z.ZodBoolean;
484
+ audio: z.ZodBoolean;
485
+ }, z.core.$strip>;
486
+ maxDuration: z.ZodNumber;
487
+ supportedResolutions: z.ZodArray<z.ZodEnum<{
488
+ "480p": "480p";
489
+ "540p": "540p";
490
+ "720p": "720p";
491
+ "1080p": "1080p";
492
+ "1440p": "1440p";
493
+ "4k": "4k";
494
+ }>>;
495
+ supportedAspectRatios: z.ZodArray<z.ZodString>;
496
+ pricing: z.ZodObject<{
497
+ costPerClip: z.ZodOptional<z.ZodNumber>;
498
+ costTier: z.ZodOptional<z.ZodEnum<{
499
+ low: "low";
500
+ high: "high";
501
+ medium: "medium";
502
+ }>>;
503
+ billingUnit: z.ZodEnum<{
504
+ per_clip: "per_clip";
505
+ per_second: "per_second";
506
+ }>;
507
+ baseCost: z.ZodNumber;
508
+ baseCostUnit: z.ZodString;
509
+ multipliers: z.ZodOptional<z.ZodObject<{
510
+ resolution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
511
+ duration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
512
+ mode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
513
+ }, z.core.$strip>>;
514
+ creditCost: z.ZodOptional<z.ZodNumber>;
515
+ creditMultipliers: z.ZodOptional<z.ZodObject<{
516
+ resolution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
517
+ duration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
518
+ mode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
519
+ }, z.core.$strip>>;
520
+ overrideCreditCost: z.ZodOptional<z.ZodNumber>;
521
+ }, z.core.$strip>;
522
+ id: z.ZodString;
523
+ name: z.ZodString;
524
+ description: z.ZodDefault<z.ZodString>;
525
+ provider: z.ZodEnum<{
526
+ anthropic: "anthropic";
527
+ assemblyai: "assemblyai";
528
+ deepgram: "deepgram";
529
+ elevenlabs: "elevenlabs";
530
+ "gemini-live": "gemini-live";
531
+ google: "google";
532
+ minimax: "minimax";
533
+ mistral: "mistral";
534
+ moonshot: "moonshot";
535
+ openai: "openai";
536
+ "openai-realtime": "openai-realtime";
537
+ openrouter: "openrouter";
538
+ replicate: "replicate";
539
+ }>;
540
+ providerId: z.ZodString;
541
+ agentVisible: z.ZodDefault<z.ZodBoolean>;
542
+ lifecycle: z.ZodDefault<z.ZodEnum<{
543
+ stable: "stable";
544
+ preview: "preview";
545
+ deprecated: "deprecated";
546
+ }>>;
547
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
548
+ catalogPriceTier: z.ZodDefault<z.ZodEnum<{
549
+ low: "low";
550
+ mid: "mid";
551
+ high: "high";
552
+ premium: "premium";
553
+ }>>;
554
+ nsfwPolicy: z.ZodDefault<z.ZodEnum<{
555
+ filtered: "filtered";
556
+ permissive: "permissive";
557
+ strict: "strict";
558
+ }>>;
559
+ regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
560
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
561
+ }, z.core.$strip>, z.ZodObject<{
562
+ kind: z.ZodLiteral<"audio">;
563
+ capabilities: z.ZodObject<{
564
+ tts: z.ZodOptional<z.ZodBoolean>;
565
+ stt: z.ZodOptional<z.ZodBoolean>;
566
+ s2s: z.ZodOptional<z.ZodBoolean>;
567
+ languages: z.ZodArray<z.ZodString>;
568
+ voiceCloning: z.ZodOptional<z.ZodBoolean>;
569
+ streaming: z.ZodOptional<z.ZodBoolean>;
570
+ timestamps: z.ZodOptional<z.ZodBoolean>;
571
+ diarization: z.ZodOptional<z.ZodBoolean>;
572
+ languageDetection: z.ZodOptional<z.ZodBoolean>;
573
+ }, z.core.$strip>;
574
+ pricing: z.ZodObject<{
575
+ billingUnit: z.ZodEnum<{
576
+ per_second: "per_second";
577
+ per_character: "per_character";
578
+ }>;
579
+ baseCost: z.ZodNumber;
580
+ baseCostUnit: z.ZodOptional<z.ZodString>;
581
+ creditCost: z.ZodOptional<z.ZodNumber>;
582
+ overrideCreditCost: z.ZodOptional<z.ZodNumber>;
583
+ }, z.core.$strip>;
584
+ supportedLocales: z.ZodOptional<z.ZodArray<z.ZodString>>;
585
+ id: z.ZodString;
586
+ name: z.ZodString;
587
+ description: z.ZodDefault<z.ZodString>;
588
+ provider: z.ZodEnum<{
589
+ anthropic: "anthropic";
590
+ assemblyai: "assemblyai";
591
+ deepgram: "deepgram";
592
+ elevenlabs: "elevenlabs";
593
+ "gemini-live": "gemini-live";
594
+ google: "google";
595
+ minimax: "minimax";
596
+ mistral: "mistral";
597
+ moonshot: "moonshot";
598
+ openai: "openai";
599
+ "openai-realtime": "openai-realtime";
600
+ openrouter: "openrouter";
601
+ replicate: "replicate";
602
+ }>;
603
+ providerId: z.ZodString;
604
+ agentVisible: z.ZodDefault<z.ZodBoolean>;
605
+ lifecycle: z.ZodDefault<z.ZodEnum<{
606
+ stable: "stable";
607
+ preview: "preview";
608
+ deprecated: "deprecated";
609
+ }>>;
610
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
611
+ catalogPriceTier: z.ZodDefault<z.ZodEnum<{
612
+ low: "low";
613
+ mid: "mid";
614
+ high: "high";
615
+ premium: "premium";
616
+ }>>;
617
+ nsfwPolicy: z.ZodDefault<z.ZodEnum<{
618
+ filtered: "filtered";
619
+ permissive: "permissive";
620
+ strict: "strict";
621
+ }>>;
622
+ regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
623
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
624
+ }, z.core.$strip>], "kind">;
625
+ type ModelEntry = z.infer<typeof ModelEntrySchema>;
626
+
627
+ export { type ImageAspectRatio, ImageAspectRatioSchema, type ImageCapabilities, ImageCapabilitiesSchema, type ImageEntry, ImageEntrySchema, type ImagePricing, ImagePricingSchema, type ImageReferenceImages, ImageReferenceImagesSchema, type LLMEntry, LLMEntrySchema, type LlmPricing, LlmPricingSchema, type ModelEntry, ModelEntrySchema, type VideoCapabilities, VideoCapabilitiesSchema, type VideoCostMultipliers, VideoCostMultipliersSchema, type VideoEntry, VideoEntrySchema, type VideoPricing, VideoPricingSchema, type VideoResolution, VideoResolutionSchema };
@@ -0,0 +1,4 @@
1
+ export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, CatalogPriceTierSchema, CatalogProviderSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LifecycleSchema, LlmPricingSchema, ModelEntrySchema, ModelKindSchema, NsfwPolicySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema, baseEntryShape } from '../chunk-F7OEHYUI.mjs';
2
+ export { CatalogVoiceProviderSchema, CatalogVoiceSchema } from '../chunk-HEDDSOZF.mjs';
3
+ //# sourceMappingURL=index.mjs.map
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}