@omnichar/contracts 0.0.0-b645344 → 0.0.0-b6932a0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/errors.d.ts +3 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +3 -0
- package/dist/errors.js.map +1 -1
- package/dist/v1/characters.d.ts +89 -9
- package/dist/v1/characters.d.ts.map +1 -1
- package/dist/v1/characters.js +57 -7
- package/dist/v1/characters.js.map +1 -1
- package/dist/v1/credits.d.ts +13 -1
- package/dist/v1/credits.d.ts.map +1 -1
- package/dist/v1/credits.js +6 -0
- package/dist/v1/credits.js.map +1 -1
- package/dist/v1/guest.d.ts +213 -0
- package/dist/v1/guest.d.ts.map +1 -0
- package/dist/v1/guest.js +113 -0
- package/dist/v1/guest.js.map +1 -0
- package/dist/v1/index.d.ts +4 -0
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +4 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/me.d.ts +1 -1
- package/dist/v1/planPresets.d.ts +93 -0
- package/dist/v1/planPresets.d.ts.map +1 -0
- package/dist/v1/planPresets.js +80 -0
- package/dist/v1/planPresets.js.map +1 -0
- package/dist/v1/runs.d.ts +349 -0
- package/dist/v1/runs.d.ts.map +1 -1
- package/dist/v1/runs.js +70 -0
- package/dist/v1/runs.js.map +1 -1
- package/dist/v1/sessions.d.ts +147 -2
- package/dist/v1/sessions.d.ts.map +1 -1
- package/dist/v1/sessions.js +15 -1
- package/dist/v1/sessions.js.map +1 -1
- package/dist/v1/studio.d.ts +209 -6
- package/dist/v1/studio.d.ts.map +1 -1
- package/dist/v1/studio.js +370 -13
- package/dist/v1/studio.js.map +1 -1
- package/dist/v1/teamKeys.d.ts +144 -0
- package/dist/v1/teamKeys.d.ts.map +1 -0
- package/dist/v1/teamKeys.js +57 -0
- package/dist/v1/teamKeys.js.map +1 -0
- package/dist/v1/teams.d.ts +264 -0
- package/dist/v1/teams.d.ts.map +1 -0
- package/dist/v1/teams.js +108 -0
- package/dist/v1/teams.js.map +1 -0
- package/dist/v1/videoPricing.d.ts +9 -2
- package/dist/v1/videoPricing.d.ts.map +1 -1
- package/dist/v1/videoPricing.js +18 -8
- package/dist/v1/videoPricing.js.map +1 -1
- package/dist/v1/workflows.d.ts +4 -1
- package/dist/v1/workflows.d.ts.map +1 -1
- package/dist/v1/workflows.js +1 -0
- package/dist/v1/workflows.js.map +1 -1
- package/package.json +1 -1
package/dist/v1/sessions.d.ts
CHANGED
|
@@ -171,6 +171,20 @@ export declare const sessionItemSchema: z.ZodObject<{
|
|
|
171
171
|
"4k": "4k";
|
|
172
172
|
}>;
|
|
173
173
|
seconds: z.ZodNullable<z.ZodNumber>;
|
|
174
|
+
model: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
175
|
+
"minimax-h3-image": "minimax-h3-image";
|
|
176
|
+
seedream55: "seedream55";
|
|
177
|
+
"seedream50-lite": "seedream50-lite";
|
|
178
|
+
flux3: "flux3";
|
|
179
|
+
krea3: "krea3";
|
|
180
|
+
"minimax-h3": "minimax-h3";
|
|
181
|
+
wan30: "wan30";
|
|
182
|
+
seedance25: "seedance25";
|
|
183
|
+
"seedance25-flash": "seedance25-flash";
|
|
184
|
+
seedance20: "seedance20";
|
|
185
|
+
happyhorse11: "happyhorse11";
|
|
186
|
+
"flux2-klein": "flux2-klein";
|
|
187
|
+
}>>>;
|
|
174
188
|
characterName: z.ZodNullable<z.ZodString>;
|
|
175
189
|
cast: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
176
190
|
kind: z.ZodLiteral<"own">;
|
|
@@ -179,6 +193,24 @@ export declare const sessionItemSchema: z.ZodObject<{
|
|
|
179
193
|
kind: z.ZodLiteral<"community">;
|
|
180
194
|
slug: z.ZodString;
|
|
181
195
|
}, z.core.$strip>], "kind">>>;
|
|
196
|
+
characterNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
197
|
+
casts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"own">;
|
|
199
|
+
characterId: z.ZodUUID;
|
|
200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
201
|
+
kind: z.ZodLiteral<"community">;
|
|
202
|
+
slug: z.ZodString;
|
|
203
|
+
}, z.core.$strip>], "kind">>>;
|
|
204
|
+
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
205
|
+
reference: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
206
|
+
key: z.ZodString;
|
|
207
|
+
kind: z.ZodEnum<{
|
|
208
|
+
image: "image";
|
|
209
|
+
video: "video";
|
|
210
|
+
}>;
|
|
211
|
+
name: z.ZodString;
|
|
212
|
+
seconds: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
213
|
+
}, z.core.$strip>>>;
|
|
182
214
|
}, z.core.$strip>>>;
|
|
183
215
|
outputCount: z.ZodDefault<z.ZodNumber>;
|
|
184
216
|
billableMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -192,6 +224,41 @@ export declare const sessionItemSchema: z.ZodObject<{
|
|
|
192
224
|
expiresAt: z.ZodISODateTime;
|
|
193
225
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
194
226
|
checkpoint: z.ZodDefault<z.ZodBoolean>;
|
|
227
|
+
continuity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
228
|
+
characterId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
|
+
continuityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
230
|
+
continuityFaceOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
231
|
+
continuitySubjectOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
232
|
+
continuityWardrobe: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
233
|
+
continuityFace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
234
|
+
continuitySubject: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
235
|
+
continuityGallery: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
236
|
+
frozen: "frozen";
|
|
237
|
+
refs: "refs";
|
|
238
|
+
}>>>;
|
|
239
|
+
continuityFraming: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
240
|
+
continuityFrames: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
241
|
+
continuityNoFace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
242
|
+
continuityMean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
243
|
+
continuityMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
244
|
+
continuityMinAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
245
|
+
continuitySamples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
246
|
+
at: z.ZodNumber;
|
|
247
|
+
score: z.ZodNumber;
|
|
248
|
+
}, z.core.$strip>>>>;
|
|
249
|
+
castContinuity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
250
|
+
perCharacter: z.ZodArray<z.ZodObject<{
|
|
251
|
+
file: z.ZodString;
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
254
|
+
missingFrames: z.ZodNumber;
|
|
255
|
+
swappedFrames: z.ZodNumber;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
swapped: z.ZodArray<z.ZodString>;
|
|
258
|
+
unmatched: z.ZodNumber;
|
|
259
|
+
frames: z.ZodNumber;
|
|
260
|
+
}, z.core.$strip>>>;
|
|
261
|
+
}, z.core.$strip>>>;
|
|
195
262
|
}, z.core.$strip>>>;
|
|
196
263
|
characterId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
197
264
|
}, z.core.$strip>;
|
|
@@ -202,6 +269,7 @@ export declare const sessionSummarySchema: z.ZodObject<{
|
|
|
202
269
|
updatedAt: z.ZodISODateTime;
|
|
203
270
|
resultCount: z.ZodNumber;
|
|
204
271
|
busy: z.ZodBoolean;
|
|
272
|
+
pinnedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
205
273
|
}, z.core.$strip>;
|
|
206
274
|
export declare const sessionDetailSchema: z.ZodObject<{
|
|
207
275
|
id: z.ZodUUID;
|
|
@@ -210,6 +278,7 @@ export declare const sessionDetailSchema: z.ZodObject<{
|
|
|
210
278
|
updatedAt: z.ZodISODateTime;
|
|
211
279
|
resultCount: z.ZodNumber;
|
|
212
280
|
busy: z.ZodBoolean;
|
|
281
|
+
pinnedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
213
282
|
items: z.ZodArray<z.ZodObject<{
|
|
214
283
|
id: z.ZodUUID;
|
|
215
284
|
seq: z.ZodNumber;
|
|
@@ -307,6 +376,20 @@ export declare const sessionDetailSchema: z.ZodObject<{
|
|
|
307
376
|
"4k": "4k";
|
|
308
377
|
}>;
|
|
309
378
|
seconds: z.ZodNullable<z.ZodNumber>;
|
|
379
|
+
model: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
380
|
+
"minimax-h3-image": "minimax-h3-image";
|
|
381
|
+
seedream55: "seedream55";
|
|
382
|
+
"seedream50-lite": "seedream50-lite";
|
|
383
|
+
flux3: "flux3";
|
|
384
|
+
krea3: "krea3";
|
|
385
|
+
"minimax-h3": "minimax-h3";
|
|
386
|
+
wan30: "wan30";
|
|
387
|
+
seedance25: "seedance25";
|
|
388
|
+
"seedance25-flash": "seedance25-flash";
|
|
389
|
+
seedance20: "seedance20";
|
|
390
|
+
happyhorse11: "happyhorse11";
|
|
391
|
+
"flux2-klein": "flux2-klein";
|
|
392
|
+
}>>>;
|
|
310
393
|
characterName: z.ZodNullable<z.ZodString>;
|
|
311
394
|
cast: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
312
395
|
kind: z.ZodLiteral<"own">;
|
|
@@ -315,6 +398,24 @@ export declare const sessionDetailSchema: z.ZodObject<{
|
|
|
315
398
|
kind: z.ZodLiteral<"community">;
|
|
316
399
|
slug: z.ZodString;
|
|
317
400
|
}, z.core.$strip>], "kind">>>;
|
|
401
|
+
characterNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
402
|
+
casts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
403
|
+
kind: z.ZodLiteral<"own">;
|
|
404
|
+
characterId: z.ZodUUID;
|
|
405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
406
|
+
kind: z.ZodLiteral<"community">;
|
|
407
|
+
slug: z.ZodString;
|
|
408
|
+
}, z.core.$strip>], "kind">>>;
|
|
409
|
+
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
410
|
+
reference: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
411
|
+
key: z.ZodString;
|
|
412
|
+
kind: z.ZodEnum<{
|
|
413
|
+
image: "image";
|
|
414
|
+
video: "video";
|
|
415
|
+
}>;
|
|
416
|
+
name: z.ZodString;
|
|
417
|
+
seconds: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
418
|
+
}, z.core.$strip>>>;
|
|
318
419
|
}, z.core.$strip>>>;
|
|
319
420
|
outputCount: z.ZodDefault<z.ZodNumber>;
|
|
320
421
|
billableMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -328,6 +429,41 @@ export declare const sessionDetailSchema: z.ZodObject<{
|
|
|
328
429
|
expiresAt: z.ZodISODateTime;
|
|
329
430
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
330
431
|
checkpoint: z.ZodDefault<z.ZodBoolean>;
|
|
432
|
+
continuity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
433
|
+
characterId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
|
+
continuityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
435
|
+
continuityFaceOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
436
|
+
continuitySubjectOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
437
|
+
continuityWardrobe: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
438
|
+
continuityFace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
439
|
+
continuitySubject: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
440
|
+
continuityGallery: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
441
|
+
frozen: "frozen";
|
|
442
|
+
refs: "refs";
|
|
443
|
+
}>>>;
|
|
444
|
+
continuityFraming: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
445
|
+
continuityFrames: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
446
|
+
continuityNoFace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
447
|
+
continuityMean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
448
|
+
continuityMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
449
|
+
continuityMinAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
450
|
+
continuitySamples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
451
|
+
at: z.ZodNumber;
|
|
452
|
+
score: z.ZodNumber;
|
|
453
|
+
}, z.core.$strip>>>>;
|
|
454
|
+
castContinuity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
455
|
+
perCharacter: z.ZodArray<z.ZodObject<{
|
|
456
|
+
file: z.ZodString;
|
|
457
|
+
name: z.ZodString;
|
|
458
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
459
|
+
missingFrames: z.ZodNumber;
|
|
460
|
+
swappedFrames: z.ZodNumber;
|
|
461
|
+
}, z.core.$strip>>;
|
|
462
|
+
swapped: z.ZodArray<z.ZodString>;
|
|
463
|
+
unmatched: z.ZodNumber;
|
|
464
|
+
frames: z.ZodNumber;
|
|
465
|
+
}, z.core.$strip>>>;
|
|
466
|
+
}, z.core.$strip>>>;
|
|
331
467
|
}, z.core.$strip>>>;
|
|
332
468
|
characterId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
333
469
|
}, z.core.$strip>>;
|
|
@@ -345,11 +481,19 @@ export declare const sessionListSchema: z.ZodObject<{
|
|
|
345
481
|
updatedAt: z.ZodISODateTime;
|
|
346
482
|
resultCount: z.ZodNumber;
|
|
347
483
|
busy: z.ZodBoolean;
|
|
484
|
+
pinnedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
348
485
|
}, z.core.$strip>>;
|
|
349
486
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
350
487
|
}, z.core.$strip>;
|
|
351
|
-
export declare const
|
|
352
|
-
title: z.ZodString
|
|
488
|
+
export declare const patchSessionBodySchema: z.ZodObject<{
|
|
489
|
+
title: z.ZodOptional<z.ZodString>;
|
|
490
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
491
|
+
}, z.core.$strip>;
|
|
492
|
+
export declare const deleteSessionQuerySchema: z.ZodObject<{
|
|
493
|
+
removeRuns: z.ZodDefault<z.ZodEnum<{
|
|
494
|
+
true: "true";
|
|
495
|
+
false: "false";
|
|
496
|
+
}>>;
|
|
353
497
|
}, z.core.$strip>;
|
|
354
498
|
export type AppendItem = z.input<typeof appendItemSchema>;
|
|
355
499
|
export type SessionItemPayload = z.infer<typeof sessionItemPayloadSchema>;
|
|
@@ -358,4 +502,5 @@ export type SessionSummary = z.infer<typeof sessionSummarySchema>;
|
|
|
358
502
|
export type SessionDetail = z.infer<typeof sessionDetailSchema>;
|
|
359
503
|
export type SessionsQuery = z.infer<typeof sessionsQuerySchema>;
|
|
360
504
|
export type SessionList = z.infer<typeof sessionListSchema>;
|
|
505
|
+
export type PatchSessionBody = z.infer<typeof patchSessionBodySchema>;
|
|
361
506
|
//# sourceMappingURL=sessions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../src/v1/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,gBAAgB,OAAO,CAAA;AACpC,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAGpC,eAAO,MAAM,WAAW,uDAAwD,CAAA;AAChF,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAKpD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B3B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAInC,CAAA;AAEF,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../src/v1/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,gBAAgB,OAAO,CAAA;AACpC,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAGpC,eAAO,MAAM,WAAW,uDAAwD,CAAA;AAChF,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAKpD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B3B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAInC,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
package/dist/v1/sessions.js
CHANGED
|
@@ -67,6 +67,8 @@ export const sessionSummarySchema = z.object({
|
|
|
67
67
|
resultCount: z.number().int().nonnegative(),
|
|
68
68
|
// A generation or build in it is still going.
|
|
69
69
|
busy: z.boolean(),
|
|
70
|
+
// When it was pinned, or null. The list sorts on it, so the client need not re-sort.
|
|
71
|
+
pinnedAt: z.iso.datetime().nullable(),
|
|
70
72
|
});
|
|
71
73
|
export const sessionDetailSchema = sessionSummarySchema.extend({
|
|
72
74
|
items: z.array(sessionItemSchema),
|
|
@@ -75,5 +77,17 @@ export const sessionsQuerySchema = pageQuerySchema.extend({
|
|
|
75
77
|
q: z.string().trim().max(120).optional(),
|
|
76
78
|
});
|
|
77
79
|
export const sessionListSchema = pageOf(sessionSummarySchema);
|
|
78
|
-
|
|
80
|
+
// Both optional, so one PATCH can rename, pin, or do either alone.
|
|
81
|
+
export const patchSessionBodySchema = z
|
|
82
|
+
.object({
|
|
83
|
+
title: z.string().trim().min(1).max(120).optional(),
|
|
84
|
+
pinned: z.boolean().optional(),
|
|
85
|
+
})
|
|
86
|
+
.refine((body) => body.title !== undefined || body.pinned !== undefined, {
|
|
87
|
+
message: 'Nothing to change.',
|
|
88
|
+
});
|
|
89
|
+
// A query rather than a body, so a DELETE sent with no body at all still parses.
|
|
90
|
+
export const deleteSessionQuerySchema = z.object({
|
|
91
|
+
removeRuns: z.enum(['true', 'false']).default('false'),
|
|
92
|
+
});
|
|
79
93
|
//# sourceMappingURL=sessions.js.map
|
package/dist/v1/sessions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.js","sourceRoot":"","sources":["../../src/v1/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;A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CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;CACvD,CAAC,CAAA"}
|
package/dist/v1/studio.d.ts
CHANGED
|
@@ -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
|
-
|
|
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,25 @@ 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;
|
|
29
97
|
};
|
|
30
98
|
/** What one generate costs, in micro-credits. The same function the server charges by. */
|
|
31
99
|
export declare function studioRunMicro(quote: StudioQuote): number;
|
|
32
100
|
export declare const studioRunCredits: (quote: StudioQuote) => number;
|
|
101
|
+
export declare const QUOTED_CLIP_SECONDS = 5;
|
|
102
|
+
/**
|
|
103
|
+
* One model's headline price, for the line beside its credits: an image at 1K, or a five-second
|
|
104
|
+
* clip at 1K, both with a character cast. A model that does not sell 1K is quoted at its nearest
|
|
105
|
+
* tier, and `resolution` says which, so the label never names a size the figure is not for.
|
|
106
|
+
*/
|
|
107
|
+
export declare function modelPriceLine(model: StudioModel): {
|
|
108
|
+
mode: StudioMode;
|
|
109
|
+
resolution: StudioResolution;
|
|
110
|
+
seconds: number | null;
|
|
111
|
+
credits: number;
|
|
112
|
+
usd: number;
|
|
113
|
+
};
|
|
33
114
|
export declare const castSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
115
|
kind: z.ZodLiteral<"own">;
|
|
35
116
|
characterId: z.ZodUUID;
|
|
@@ -37,7 +118,11 @@ export declare const castSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
37
118
|
kind: z.ZodLiteral<"community">;
|
|
38
119
|
slug: z.ZodString;
|
|
39
120
|
}, z.core.$strip>], "kind">;
|
|
40
|
-
export declare const
|
|
121
|
+
export declare const MAX_CAST = 4;
|
|
122
|
+
export declare const MAX_CAST_FOR: Record<StudioMode, number>;
|
|
123
|
+
/** Whether two casts name the same character. */
|
|
124
|
+
export declare const sameCast: (a: Cast | null | undefined, b: Cast | null | undefined) => boolean;
|
|
125
|
+
export declare const generateBodySchema: z.ZodPipe<z.ZodObject<{
|
|
41
126
|
mode: z.ZodEnum<{
|
|
42
127
|
image: "image";
|
|
43
128
|
video: "video";
|
|
@@ -57,6 +142,27 @@ export declare const generateBodySchema: z.ZodObject<{
|
|
|
57
142
|
"4k": "4k";
|
|
58
143
|
}>;
|
|
59
144
|
seconds: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
model: z.ZodOptional<z.ZodEnum<{
|
|
146
|
+
"minimax-h3-image": "minimax-h3-image";
|
|
147
|
+
seedream55: "seedream55";
|
|
148
|
+
"seedream50-lite": "seedream50-lite";
|
|
149
|
+
flux3: "flux3";
|
|
150
|
+
krea3: "krea3";
|
|
151
|
+
"minimax-h3": "minimax-h3";
|
|
152
|
+
wan30: "wan30";
|
|
153
|
+
seedance25: "seedance25";
|
|
154
|
+
"seedance25-flash": "seedance25-flash";
|
|
155
|
+
seedance20: "seedance20";
|
|
156
|
+
happyhorse11: "happyhorse11";
|
|
157
|
+
"flux2-klein": "flux2-klein";
|
|
158
|
+
}>>;
|
|
159
|
+
casts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
160
|
+
kind: z.ZodLiteral<"own">;
|
|
161
|
+
characterId: z.ZodUUID;
|
|
162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
163
|
+
kind: z.ZodLiteral<"community">;
|
|
164
|
+
slug: z.ZodString;
|
|
165
|
+
}, z.core.$strip>], "kind">>>;
|
|
60
166
|
cast: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
167
|
kind: z.ZodLiteral<"own">;
|
|
62
168
|
characterId: z.ZodUUID;
|
|
@@ -64,8 +170,69 @@ export declare const generateBodySchema: z.ZodObject<{
|
|
|
64
170
|
kind: z.ZodLiteral<"community">;
|
|
65
171
|
slug: z.ZodString;
|
|
66
172
|
}, z.core.$strip>], "kind">>>;
|
|
173
|
+
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
174
|
+
reference: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
175
|
+
key: z.ZodString;
|
|
176
|
+
kind: z.ZodEnum<{
|
|
177
|
+
image: "image";
|
|
178
|
+
video: "video";
|
|
179
|
+
}>;
|
|
180
|
+
name: z.ZodDefault<z.ZodString>;
|
|
181
|
+
seconds: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
182
|
+
}, z.core.$strip>>>;
|
|
67
183
|
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
68
|
-
}, z.core.$strip
|
|
184
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
185
|
+
model: "minimax-h3-image" | "seedream55" | "seedream50-lite" | "flux3" | "krea3" | "minimax-h3" | "wan30" | "seedance25" | "seedance25-flash" | "seedance20" | "happyhorse11" | "flux2-klein" | undefined;
|
|
186
|
+
casts: ({
|
|
187
|
+
kind: "own";
|
|
188
|
+
characterId: string;
|
|
189
|
+
} | {
|
|
190
|
+
kind: "community";
|
|
191
|
+
slug: string;
|
|
192
|
+
})[];
|
|
193
|
+
mode: "image" | "video";
|
|
194
|
+
prompt: string;
|
|
195
|
+
ratio: "16:9" | "1:1" | "3:4" | "9:16" | "4:5";
|
|
196
|
+
resolution: "0.5k" | "1k" | "2k" | "4k";
|
|
197
|
+
continueFrom: string | null;
|
|
198
|
+
reference: {
|
|
199
|
+
key: string;
|
|
200
|
+
kind: "image" | "video";
|
|
201
|
+
name: string;
|
|
202
|
+
seconds: number | null;
|
|
203
|
+
} | null;
|
|
204
|
+
seconds?: number | undefined;
|
|
205
|
+
sessionId?: string | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
mode: "image" | "video";
|
|
208
|
+
prompt: string;
|
|
209
|
+
ratio: "16:9" | "1:1" | "3:4" | "9:16" | "4:5";
|
|
210
|
+
resolution: "0.5k" | "1k" | "2k" | "4k";
|
|
211
|
+
casts: ({
|
|
212
|
+
kind: "own";
|
|
213
|
+
characterId: string;
|
|
214
|
+
} | {
|
|
215
|
+
kind: "community";
|
|
216
|
+
slug: string;
|
|
217
|
+
})[];
|
|
218
|
+
cast: {
|
|
219
|
+
kind: "own";
|
|
220
|
+
characterId: string;
|
|
221
|
+
} | {
|
|
222
|
+
kind: "community";
|
|
223
|
+
slug: string;
|
|
224
|
+
} | null;
|
|
225
|
+
continueFrom: string | null;
|
|
226
|
+
reference: {
|
|
227
|
+
key: string;
|
|
228
|
+
kind: "image" | "video";
|
|
229
|
+
name: string;
|
|
230
|
+
seconds: number | null;
|
|
231
|
+
} | null;
|
|
232
|
+
seconds?: number | undefined;
|
|
233
|
+
model?: "minimax-h3-image" | "seedream55" | "seedream50-lite" | "flux3" | "krea3" | "minimax-h3" | "wan30" | "seedance25" | "seedance25-flash" | "seedance20" | "happyhorse11" | "flux2-klein" | undefined;
|
|
234
|
+
sessionId?: string | undefined;
|
|
235
|
+
}>>;
|
|
69
236
|
export declare const generateResponseSchema: z.ZodObject<{
|
|
70
237
|
runId: z.ZodUUID;
|
|
71
238
|
sessionId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -91,6 +258,20 @@ export declare const studioSettingsSchema: z.ZodObject<{
|
|
|
91
258
|
"4k": "4k";
|
|
92
259
|
}>;
|
|
93
260
|
seconds: z.ZodNullable<z.ZodNumber>;
|
|
261
|
+
model: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
262
|
+
"minimax-h3-image": "minimax-h3-image";
|
|
263
|
+
seedream55: "seedream55";
|
|
264
|
+
"seedream50-lite": "seedream50-lite";
|
|
265
|
+
flux3: "flux3";
|
|
266
|
+
krea3: "krea3";
|
|
267
|
+
"minimax-h3": "minimax-h3";
|
|
268
|
+
wan30: "wan30";
|
|
269
|
+
seedance25: "seedance25";
|
|
270
|
+
"seedance25-flash": "seedance25-flash";
|
|
271
|
+
seedance20: "seedance20";
|
|
272
|
+
happyhorse11: "happyhorse11";
|
|
273
|
+
"flux2-klein": "flux2-klein";
|
|
274
|
+
}>>>;
|
|
94
275
|
characterName: z.ZodNullable<z.ZodString>;
|
|
95
276
|
cast: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
96
277
|
kind: z.ZodLiteral<"own">;
|
|
@@ -99,7 +280,29 @@ export declare const studioSettingsSchema: z.ZodObject<{
|
|
|
99
280
|
kind: z.ZodLiteral<"community">;
|
|
100
281
|
slug: z.ZodString;
|
|
101
282
|
}, z.core.$strip>], "kind">>>;
|
|
283
|
+
characterNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
284
|
+
casts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
285
|
+
kind: z.ZodLiteral<"own">;
|
|
286
|
+
characterId: z.ZodUUID;
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
|
+
kind: z.ZodLiteral<"community">;
|
|
289
|
+
slug: z.ZodString;
|
|
290
|
+
}, z.core.$strip>], "kind">>>;
|
|
291
|
+
continueFrom: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
292
|
+
reference: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
293
|
+
key: z.ZodString;
|
|
294
|
+
kind: z.ZodEnum<{
|
|
295
|
+
image: "image";
|
|
296
|
+
video: "video";
|
|
297
|
+
}>;
|
|
298
|
+
name: z.ZodString;
|
|
299
|
+
seconds: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
300
|
+
}, z.core.$strip>>>;
|
|
102
301
|
}, z.core.$strip>;
|
|
302
|
+
/** The characters a run was made with, whether it was recorded before or after `casts`. */
|
|
303
|
+
export declare function settingsCasts(settings: StudioSettings): Cast[];
|
|
304
|
+
/** The names of those characters, in the same order. */
|
|
305
|
+
export declare function settingsNames(settings: StudioSettings): string[];
|
|
103
306
|
export declare const communityCharacterSchema: z.ZodObject<{
|
|
104
307
|
slug: z.ZodString;
|
|
105
308
|
name: z.ZodString;
|
package/dist/v1/studio.d.ts.map
CHANGED
|
@@ -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,
|
|
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,EAQL,KAAK,kBAAkB,EACvB,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;AAIzF,eAAO,MAAM,wBAAwB,EAAE,SAAS,gBAAgB,EAAuB,CAAA;AAEvF;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,wLAahB,CAAA;AACV,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,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