@omnichar/contracts 0.0.0-5010cb1 → 0.0.0-6682601

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 (72) hide show
  1. package/dist/errors.d.ts +3 -1
  2. package/dist/errors.d.ts.map +1 -1
  3. package/dist/errors.js +3 -0
  4. package/dist/errors.js.map +1 -1
  5. package/dist/v1/builds.d.ts +144 -0
  6. package/dist/v1/builds.d.ts.map +1 -0
  7. package/dist/v1/builds.js +80 -0
  8. package/dist/v1/builds.js.map +1 -0
  9. package/dist/v1/characters.d.ts +88 -8
  10. package/dist/v1/characters.d.ts.map +1 -1
  11. package/dist/v1/characters.js +57 -7
  12. package/dist/v1/characters.js.map +1 -1
  13. package/dist/v1/credits.d.ts +13 -1
  14. package/dist/v1/credits.d.ts.map +1 -1
  15. package/dist/v1/credits.js +6 -0
  16. package/dist/v1/credits.js.map +1 -1
  17. package/dist/v1/datasets.d.ts +63 -0
  18. package/dist/v1/datasets.d.ts.map +1 -1
  19. package/dist/v1/datasets.js +34 -0
  20. package/dist/v1/datasets.js.map +1 -1
  21. package/dist/v1/guest.d.ts +59 -0
  22. package/dist/v1/guest.d.ts.map +1 -1
  23. package/dist/v1/guest.js +25 -3
  24. package/dist/v1/guest.js.map +1 -1
  25. package/dist/v1/index.d.ts +6 -0
  26. package/dist/v1/index.d.ts.map +1 -1
  27. package/dist/v1/index.js +6 -0
  28. package/dist/v1/index.js.map +1 -1
  29. package/dist/v1/mcp.d.ts +109 -0
  30. package/dist/v1/mcp.d.ts.map +1 -0
  31. package/dist/v1/mcp.js +128 -0
  32. package/dist/v1/mcp.js.map +1 -0
  33. package/dist/v1/me.d.ts +1 -1
  34. package/dist/v1/planPresets.d.ts +93 -0
  35. package/dist/v1/planPresets.d.ts.map +1 -0
  36. package/dist/v1/planPresets.js +80 -0
  37. package/dist/v1/planPresets.js.map +1 -0
  38. package/dist/v1/plans.d.ts +2 -2
  39. package/dist/v1/plans.js +1 -1
  40. package/dist/v1/runs.d.ts +339 -0
  41. package/dist/v1/runs.d.ts.map +1 -1
  42. package/dist/v1/runs.js +72 -0
  43. package/dist/v1/runs.js.map +1 -1
  44. package/dist/v1/sessions.d.ts +139 -2
  45. package/dist/v1/sessions.d.ts.map +1 -1
  46. package/dist/v1/sessions.js +15 -1
  47. package/dist/v1/sessions.js.map +1 -1
  48. package/dist/v1/studio.d.ts +174 -4
  49. package/dist/v1/studio.d.ts.map +1 -1
  50. package/dist/v1/studio.js +342 -13
  51. package/dist/v1/studio.js.map +1 -1
  52. package/dist/v1/teamKeys.d.ts +144 -0
  53. package/dist/v1/teamKeys.d.ts.map +1 -0
  54. package/dist/v1/teamKeys.js +57 -0
  55. package/dist/v1/teamKeys.js.map +1 -0
  56. package/dist/v1/teams.d.ts +264 -0
  57. package/dist/v1/teams.d.ts.map +1 -0
  58. package/dist/v1/teams.js +108 -0
  59. package/dist/v1/teams.js.map +1 -0
  60. package/dist/v1/training.d.ts +256 -0
  61. package/dist/v1/training.d.ts.map +1 -0
  62. package/dist/v1/training.js +124 -0
  63. package/dist/v1/training.js.map +1 -0
  64. package/dist/v1/videoPricing.d.ts +9 -2
  65. package/dist/v1/videoPricing.d.ts.map +1 -1
  66. package/dist/v1/videoPricing.js +18 -8
  67. package/dist/v1/videoPricing.js.map +1 -1
  68. package/dist/v1/workflows.d.ts +4 -1
  69. package/dist/v1/workflows.d.ts.map +1 -1
  70. package/dist/v1/workflows.js +1 -0
  71. package/dist/v1/workflows.js.map +1 -1
  72. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type VideoResolution } from './videoPricing.js';
2
+ import { type VideoReferenceRule, type VideoResolution } from './videoPricing.js';
3
3
  export declare const STUDIO_MODES: readonly ["video", "image"];
4
4
  export type StudioMode = (typeof STUDIO_MODES)[number];
5
5
  export declare const STUDIO_RESOLUTIONS: readonly ["0.5k", "1k", "2k", "4k"];
@@ -7,13 +7,79 @@ export type StudioResolution = (typeof STUDIO_RESOLUTIONS)[number];
7
7
  export declare const STUDIO_RATIOS: readonly ["1:1", "3:4", "4:5", "9:16", "16:9"];
8
8
  export type StudioRatio = (typeof STUDIO_RATIOS)[number];
9
9
  export declare const VIDEO_STUDIO_RATIOS: readonly StudioRatio[];
10
- export declare const ratiosFor: (mode: StudioMode) => readonly StudioRatio[];
11
10
  export declare const IMAGE_STUDIO_RESOLUTIONS: readonly StudioResolution[];
12
- export declare const resolutionsFor: (mode: StudioMode) => readonly StudioResolution[];
11
+ /**
12
+ * The renderers a caller may pick, by the name they are offered under.
13
+ *
14
+ * Two of these ids spell the same string as a character arch because they name the same renderer.
15
+ * They are not the same thing: an arch is a payload compiled inside a `.char` at build time, and a
16
+ * model id is a choice made per run. Nothing reads one as the other.
17
+ */
18
+ export declare const STUDIO_MODELS: readonly ["minimax-h3-image", "seedream55", "seedream50-lite", "flux3", "krea3", "minimax-h3", "wan30", "seedance25", "seedance25-flash", "seedance20", "happyhorse11", "flux2-klein"];
19
+ export type StudioModel = (typeof STUDIO_MODELS)[number];
20
+ export declare const RETIRED_MODELS: ReadonlySet<StudioModel>;
21
+ export declare const RETIRED_SUCCESSOR: Partial<Record<StudioModel, StudioModel>>;
22
+ export declare const DEFAULT_MODEL_FOR: Record<StudioMode, StudioModel>;
23
+ export declare const PROMPT_ONLY_MODEL_FOR: Record<StudioMode, StudioModel>;
24
+ export type StudioModelSpec = {
25
+ mode: StudioMode;
26
+ label: string;
27
+ ratios: readonly StudioRatio[];
28
+ resolutions: readonly StudioResolution[];
29
+ /** Whether it refuses a prompt with no reference image, so the dock can say why it is greyed. */
30
+ needsCharacter: boolean;
31
+ /** The smallest side, in pixels, it accepts on a reference photo. Under it the run is refused. */
32
+ minReferencePx: number;
33
+ /** What each tier really renders at, for video, where 1K is 720p on one renderer and 768p on another. */
34
+ tierNames?: Partial<Record<StudioResolution, string>>;
35
+ };
36
+ /**
37
+ * What each renderer will actually serve.
38
+ *
39
+ * Measured against each supplier's own schema rather than assumed, because a tier offered here and
40
+ * refused there is a run held for credits and then rejected. Krea stops at 2K because its schema
41
+ * caps a request at 4,220,160 pixels of area; Seedance stops at 2K because 1080p is its top tier;
42
+ * Flux 3 sells every tier our card does, priced per megapixel from the rate its pricing API reports
43
+ * rather than the single 1K figure its model page shows.
44
+ */
45
+ export declare const STUDIO_MODEL_SPECS: Record<StudioModel, StudioModelSpec>;
46
+ /**
47
+ * The renderer a run can actually use: one that needs a character, with nothing to reference, gives
48
+ * way to the prompt-only default, so the default never leaves a plain prompt with nothing to run.
49
+ */
50
+ export declare function servableModel(mode: StudioMode, model: StudioModel, hasReference: boolean): StudioModel;
51
+ /** The models offered for a mode, in the order they are listed. Retired ones are not offered. */
52
+ export declare const modelsFor: (mode: StudioMode) => readonly StudioModel[];
53
+ export declare const ratiosFor: (mode: StudioMode, model?: StudioModel) => readonly StudioRatio[];
54
+ export declare const resolutionsFor: (mode: StudioMode, model?: StudioModel) => readonly StudioResolution[];
13
55
  export declare const IMAGE_MICRO_BY_RESOLUTION: Record<StudioResolution, number>;
14
56
  export declare const CAST_IMAGE_MICRO_BY_RESOLUTION: Record<StudioResolution, number>;
57
+ /**
58
+ * The card, per renderer.
59
+ *
60
+ * Per model rather than per mode because the suppliers do not price alike: Krea bills the output
61
+ * and every reference by the megapixel, so one tier step more than triples it, while Flux 3 bills
62
+ * one flat figure however many references it is sent. A single column would either lose money on
63
+ * one of them or overcharge for the other. `pricing/imageCost.ts` recomputes every cell from the
64
+ * supplier rates in a test, so the card and the cost cannot drift.
65
+ */
66
+ export declare const IMAGE_CARD: Record<StudioModel, {
67
+ plain: Partial<Record<StudioResolution, number>>;
68
+ cast: Partial<Record<StudioResolution, number>>;
69
+ }>;
70
+ /**
71
+ * Micro-credits per second of output, per renderer, keyed by our tier rather than its own word.
72
+ *
73
+ * The keys are the four tiers `VIDEO_RESOLUTION_FOR` maps the dock's sizes onto; a renderer that
74
+ * sells 720p and 1080p serves them as its 1K and 2K tiers. Twice the supplier's per-second rate,
75
+ * which `pricing/videoCost.ts` recomputes in a test so the card and the cost cannot drift.
76
+ */
77
+ export declare const VIDEO_CARD: Record<StudioModel, Partial<Record<VideoResolution, number>>>;
78
+ /** How each video renderer bills reference images. Only MiniMax H3 charges for them separately. */
79
+ export declare const VIDEO_REFERENCE_RULE: Partial<Record<StudioModel, VideoReferenceRule>>;
80
+ export declare const referenceRuleFor: (model: StudioModel) => VideoReferenceRule;
15
81
  /** The flat price of one image, in micro-credits. */
16
- export declare function imageRunMicro(resolution: StudioResolution, hasCharacter: boolean): number;
82
+ export declare function imageRunMicro(model: StudioModel, resolution: StudioResolution, hasCharacter: boolean): number;
17
83
  export declare const IMAGE_LONG_EDGE: Record<StudioResolution, number>;
18
84
  export declare const VIDEO_RESOLUTION_FOR: Record<StudioResolution, VideoResolution>;
19
85
  /** Width and height for an image at this tier and shape. */
@@ -26,10 +92,33 @@ export type StudioQuote = {
26
92
  resolution: StudioResolution;
27
93
  seconds?: number | undefined;
28
94
  hasCharacter: boolean;
95
+ /** Which renderer this is quoted for; the mode's default when the caller did not choose. */
96
+ model?: StudioModel | undefined;
97
+ pictures?: number | undefined;
29
98
  };
30
99
  /** What one generate costs, in micro-credits. The same function the server charges by. */
31
100
  export declare function studioRunMicro(quote: StudioQuote): number;
101
+ /** The pose and style stills a shot carries, which is what `pictures` on a quote counts. */
102
+ export declare const referencePictures: (shot: {
103
+ reference?: {
104
+ kind: "image" | "video";
105
+ } | null;
106
+ style?: unknown;
107
+ }) => number;
32
108
  export declare const studioRunCredits: (quote: StudioQuote) => number;
109
+ export declare const QUOTED_CLIP_SECONDS = 5;
110
+ /**
111
+ * One model's headline price, for the line beside its credits: an image at 1K, or a five-second
112
+ * clip at 1K, both with a character cast. A model that does not sell 1K is quoted at its nearest
113
+ * tier, and `resolution` says which, so the label never names a size the figure is not for.
114
+ */
115
+ export declare function modelPriceLine(model: StudioModel): {
116
+ mode: StudioMode;
117
+ resolution: StudioResolution;
118
+ seconds: number | null;
119
+ credits: number;
120
+ usd: number;
121
+ };
33
122
  export declare const castSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
34
123
  kind: z.ZodLiteral<"own">;
35
124
  characterId: z.ZodUUID;
@@ -41,6 +130,10 @@ export declare const MAX_CAST = 4;
41
130
  export declare const MAX_CAST_FOR: Record<StudioMode, number>;
42
131
  /** Whether two casts name the same character. */
43
132
  export declare const sameCast: (a: Cast | null | undefined, b: Cast | null | undefined) => boolean;
133
+ export declare const styleReferenceSchema: z.ZodObject<{
134
+ key: z.ZodString;
135
+ name: z.ZodDefault<z.ZodString>;
136
+ }, z.core.$strip>;
44
137
  export declare const generateBodySchema: z.ZodPipe<z.ZodObject<{
45
138
  mode: z.ZodEnum<{
46
139
  image: "image";
@@ -61,6 +154,20 @@ export declare const generateBodySchema: z.ZodPipe<z.ZodObject<{
61
154
  "4k": "4k";
62
155
  }>;
63
156
  seconds: z.ZodOptional<z.ZodNumber>;
157
+ model: z.ZodOptional<z.ZodEnum<{
158
+ "minimax-h3-image": "minimax-h3-image";
159
+ seedream55: "seedream55";
160
+ "seedream50-lite": "seedream50-lite";
161
+ flux3: "flux3";
162
+ krea3: "krea3";
163
+ "minimax-h3": "minimax-h3";
164
+ wan30: "wan30";
165
+ seedance25: "seedance25";
166
+ "seedance25-flash": "seedance25-flash";
167
+ seedance20: "seedance20";
168
+ happyhorse11: "happyhorse11";
169
+ "flux2-klein": "flux2-klein";
170
+ }>>;
64
171
  casts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
65
172
  kind: z.ZodLiteral<"own">;
66
173
  characterId: z.ZodUUID;
@@ -76,8 +183,22 @@ export declare const generateBodySchema: z.ZodPipe<z.ZodObject<{
76
183
  slug: z.ZodString;
77
184
  }, z.core.$strip>], "kind">>>;
78
185
  continueFrom: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
186
+ reference: z.ZodDefault<z.ZodNullable<z.ZodObject<{
187
+ key: z.ZodString;
188
+ kind: z.ZodEnum<{
189
+ image: "image";
190
+ video: "video";
191
+ }>;
192
+ name: z.ZodDefault<z.ZodString>;
193
+ seconds: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
194
+ }, z.core.$strip>>>;
195
+ style: z.ZodDefault<z.ZodNullable<z.ZodObject<{
196
+ key: z.ZodString;
197
+ name: z.ZodDefault<z.ZodString>;
198
+ }, z.core.$strip>>>;
79
199
  sessionId: z.ZodOptional<z.ZodUUID>;
80
200
  }, z.core.$strip>, z.ZodTransform<{
201
+ model: "minimax-h3-image" | "seedream55" | "seedream50-lite" | "flux3" | "krea3" | "minimax-h3" | "wan30" | "seedance25" | "seedance25-flash" | "seedance20" | "happyhorse11" | "flux2-klein" | undefined;
81
202
  casts: ({
82
203
  kind: "own";
83
204
  characterId: string;
@@ -90,6 +211,16 @@ export declare const generateBodySchema: z.ZodPipe<z.ZodObject<{
90
211
  ratio: "16:9" | "1:1" | "3:4" | "9:16" | "4:5";
91
212
  resolution: "0.5k" | "1k" | "2k" | "4k";
92
213
  continueFrom: string | null;
214
+ reference: {
215
+ key: string;
216
+ kind: "image" | "video";
217
+ name: string;
218
+ seconds: number | null;
219
+ } | null;
220
+ style: {
221
+ key: string;
222
+ name: string;
223
+ } | null;
93
224
  seconds?: number | undefined;
94
225
  sessionId?: string | undefined;
95
226
  }, {
@@ -112,7 +243,18 @@ export declare const generateBodySchema: z.ZodPipe<z.ZodObject<{
112
243
  slug: string;
113
244
  } | null;
114
245
  continueFrom: string | null;
246
+ reference: {
247
+ key: string;
248
+ kind: "image" | "video";
249
+ name: string;
250
+ seconds: number | null;
251
+ } | null;
252
+ style: {
253
+ key: string;
254
+ name: string;
255
+ } | null;
115
256
  seconds?: number | undefined;
257
+ model?: "minimax-h3-image" | "seedream55" | "seedream50-lite" | "flux3" | "krea3" | "minimax-h3" | "wan30" | "seedance25" | "seedance25-flash" | "seedance20" | "happyhorse11" | "flux2-klein" | undefined;
116
258
  sessionId?: string | undefined;
117
259
  }>>;
118
260
  export declare const generateResponseSchema: z.ZodObject<{
@@ -140,6 +282,20 @@ export declare const studioSettingsSchema: z.ZodObject<{
140
282
  "4k": "4k";
141
283
  }>;
142
284
  seconds: z.ZodNullable<z.ZodNumber>;
285
+ model: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
286
+ "minimax-h3-image": "minimax-h3-image";
287
+ seedream55: "seedream55";
288
+ "seedream50-lite": "seedream50-lite";
289
+ flux3: "flux3";
290
+ krea3: "krea3";
291
+ "minimax-h3": "minimax-h3";
292
+ wan30: "wan30";
293
+ seedance25: "seedance25";
294
+ "seedance25-flash": "seedance25-flash";
295
+ seedance20: "seedance20";
296
+ happyhorse11: "happyhorse11";
297
+ "flux2-klein": "flux2-klein";
298
+ }>>>;
143
299
  characterName: z.ZodNullable<z.ZodString>;
144
300
  cast: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
145
301
  kind: z.ZodLiteral<"own">;
@@ -157,6 +313,19 @@ export declare const studioSettingsSchema: z.ZodObject<{
157
313
  slug: z.ZodString;
158
314
  }, z.core.$strip>], "kind">>>;
159
315
  continueFrom: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
316
+ reference: z.ZodDefault<z.ZodNullable<z.ZodObject<{
317
+ key: z.ZodString;
318
+ kind: z.ZodEnum<{
319
+ image: "image";
320
+ video: "video";
321
+ }>;
322
+ name: z.ZodString;
323
+ seconds: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
324
+ }, z.core.$strip>>>;
325
+ style: z.ZodDefault<z.ZodNullable<z.ZodObject<{
326
+ key: z.ZodString;
327
+ name: z.ZodDefault<z.ZodString>;
328
+ }, z.core.$strip>>>;
160
329
  }, z.core.$strip>;
161
330
  /** The characters a run was made with, whether it was recorded before or after `casts`. */
162
331
  export declare function settingsCasts(settings: StudioSettings): Cast[];
@@ -183,4 +352,5 @@ export type GenerateResponse = z.infer<typeof generateResponseSchema>;
183
352
  export type StudioSettings = z.infer<typeof studioSettingsSchema>;
184
353
  export type Cast = z.infer<typeof castSchema>;
185
354
  export type CommunityCharacter = z.infer<typeof communityCharacterSchema>;
355
+ export type StyleReference = z.infer<typeof styleReferenceSchema>;
186
356
  //# sourceMappingURL=studio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"studio.d.ts","sourceRoot":"","sources":["../../src/v1/studio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,mBAAmB,CAAA;AAK1B,eAAO,MAAM,YAAY,6BAA8B,CAAA;AACvD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA;AAEtD,eAAO,MAAM,kBAAkB,qCAAsC,CAAA;AACrE,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAA;AAElE,eAAO,MAAM,aAAa,gDAAiD,CAAA;AAC3E,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAA;AAGxD,eAAO,MAAM,mBAAmB,EAAE,SAAS,WAAW,EAAmC,CAAA;AAEzF,eAAO,MAAM,SAAS,GAAI,MAAM,UAAU,KAAG,SAAS,WAAW,EACT,CAAA;AAIxD,eAAO,MAAM,wBAAwB,EAAE,SAAS,gBAAgB,EAAuB,CAAA;AAEvF,eAAO,MAAM,cAAc,GAAI,MAAM,UAAU,KAAG,SAAS,gBAAgB,EACT,CAAA;AAMlE,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKtE,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAK3E,CAAA;AAED,qDAAqD;AACrD,wBAAgB,aAAa,CAAC,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,OAAO,GAAG,MAAM,CAEzF;AAGD,e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