@marlinjai/studio-mcp 0.18.1 → 0.22.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.
- package/README.md +23 -3
- package/dist/cli.js +1696 -198
- package/dist/index.d.ts +87 -53
- package/dist/index.js +1696 -198
- package/examples/workflow-character-sheet.json +75 -34
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ declare const DocNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
27
27
|
"text-to-video": "text-to-video";
|
|
28
28
|
"image-to-video": "image-to-video";
|
|
29
29
|
"video-to-video": "video-to-video";
|
|
30
|
+
"lip-sync": "lip-sync";
|
|
30
31
|
"video-enhance": "video-enhance";
|
|
31
32
|
"text-to-3d": "text-to-3d";
|
|
32
33
|
"image-to-3d": "image-to-3d";
|
|
@@ -86,8 +87,8 @@ declare const DocNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
86
87
|
video: "video";
|
|
87
88
|
audio: "audio";
|
|
88
89
|
text: "text";
|
|
89
|
-
json: "json";
|
|
90
90
|
mesh3d: "mesh3d";
|
|
91
|
+
json: "json";
|
|
91
92
|
}>;
|
|
92
93
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
93
94
|
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
@@ -116,6 +117,7 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
|
|
|
116
117
|
"text-to-video": "text-to-video";
|
|
117
118
|
"image-to-video": "image-to-video";
|
|
118
119
|
"video-to-video": "video-to-video";
|
|
120
|
+
"lip-sync": "lip-sync";
|
|
119
121
|
"video-enhance": "video-enhance";
|
|
120
122
|
"text-to-3d": "text-to-3d";
|
|
121
123
|
"image-to-3d": "image-to-3d";
|
|
@@ -175,8 +177,8 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
|
|
|
175
177
|
video: "video";
|
|
176
178
|
audio: "audio";
|
|
177
179
|
text: "text";
|
|
178
|
-
json: "json";
|
|
179
180
|
mesh3d: "mesh3d";
|
|
181
|
+
json: "json";
|
|
180
182
|
}>;
|
|
181
183
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
182
184
|
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
@@ -196,9 +198,9 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
|
|
|
196
198
|
video: "video";
|
|
197
199
|
audio: "audio";
|
|
198
200
|
text: "text";
|
|
199
|
-
json: "json";
|
|
200
201
|
mask: "mask";
|
|
201
202
|
mesh3d: "mesh3d";
|
|
203
|
+
json: "json";
|
|
202
204
|
reference: "reference";
|
|
203
205
|
}>;
|
|
204
206
|
}, z.core.$strip>>;
|
|
@@ -247,6 +249,7 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
247
249
|
"text-to-video": "text-to-video";
|
|
248
250
|
"image-to-video": "image-to-video";
|
|
249
251
|
"video-to-video": "video-to-video";
|
|
252
|
+
"lip-sync": "lip-sync";
|
|
250
253
|
"video-enhance": "video-enhance";
|
|
251
254
|
"text-to-3d": "text-to-3d";
|
|
252
255
|
"image-to-3d": "image-to-3d";
|
|
@@ -302,11 +305,11 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
302
305
|
kind: z.ZodLiteral<"input">;
|
|
303
306
|
name: z.ZodString;
|
|
304
307
|
type: z.ZodEnum<{
|
|
308
|
+
text: "text";
|
|
305
309
|
image: "image";
|
|
306
310
|
video: "video";
|
|
307
|
-
audio: "audio";
|
|
308
|
-
text: "text";
|
|
309
311
|
mesh3d: "mesh3d";
|
|
312
|
+
audio: "audio";
|
|
310
313
|
json: "json";
|
|
311
314
|
}>;
|
|
312
315
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -340,6 +343,7 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
340
343
|
"text-to-video": "text-to-video";
|
|
341
344
|
"image-to-video": "image-to-video";
|
|
342
345
|
"video-to-video": "video-to-video";
|
|
346
|
+
"lip-sync": "lip-sync";
|
|
343
347
|
"video-enhance": "video-enhance";
|
|
344
348
|
"text-to-3d": "text-to-3d";
|
|
345
349
|
"image-to-3d": "image-to-3d";
|
|
@@ -401,11 +405,11 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
401
405
|
props: z.ZodObject<{
|
|
402
406
|
name: z.ZodOptional<z.ZodString>;
|
|
403
407
|
type: z.ZodOptional<z.ZodEnum<{
|
|
408
|
+
text: "text";
|
|
404
409
|
image: "image";
|
|
405
410
|
video: "video";
|
|
406
|
-
audio: "audio";
|
|
407
|
-
text: "text";
|
|
408
411
|
mesh3d: "mesh3d";
|
|
412
|
+
audio: "audio";
|
|
409
413
|
json: "json";
|
|
410
414
|
}>>;
|
|
411
415
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -436,12 +440,12 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
436
440
|
source: z.ZodString;
|
|
437
441
|
target: z.ZodString;
|
|
438
442
|
port: z.ZodEnum<{
|
|
443
|
+
text: "text";
|
|
439
444
|
image: "image";
|
|
440
445
|
video: "video";
|
|
441
|
-
audio: "audio";
|
|
442
|
-
text: "text";
|
|
443
446
|
mask: "mask";
|
|
444
447
|
mesh3d: "mesh3d";
|
|
448
|
+
audio: "audio";
|
|
445
449
|
json: "json";
|
|
446
450
|
reference: "reference";
|
|
447
451
|
}>;
|
|
@@ -451,12 +455,12 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
451
455
|
source: z.ZodString;
|
|
452
456
|
target: z.ZodString;
|
|
453
457
|
port: z.ZodEnum<{
|
|
458
|
+
text: "text";
|
|
454
459
|
image: "image";
|
|
455
460
|
video: "video";
|
|
456
|
-
audio: "audio";
|
|
457
|
-
text: "text";
|
|
458
461
|
mask: "mask";
|
|
459
462
|
mesh3d: "mesh3d";
|
|
463
|
+
audio: "audio";
|
|
460
464
|
json: "json";
|
|
461
465
|
reference: "reference";
|
|
462
466
|
}>;
|
|
@@ -545,6 +549,7 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
545
549
|
"text-to-video": "text-to-video";
|
|
546
550
|
"image-to-video": "image-to-video";
|
|
547
551
|
"video-to-video": "video-to-video";
|
|
552
|
+
"lip-sync": "lip-sync";
|
|
548
553
|
"video-enhance": "video-enhance";
|
|
549
554
|
"text-to-3d": "text-to-3d";
|
|
550
555
|
"image-to-3d": "image-to-3d";
|
|
@@ -600,11 +605,11 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
600
605
|
kind: z.ZodLiteral<"input">;
|
|
601
606
|
name: z.ZodString;
|
|
602
607
|
type: z.ZodEnum<{
|
|
608
|
+
text: "text";
|
|
603
609
|
image: "image";
|
|
604
610
|
video: "video";
|
|
605
|
-
audio: "audio";
|
|
606
|
-
text: "text";
|
|
607
611
|
mesh3d: "mesh3d";
|
|
612
|
+
audio: "audio";
|
|
608
613
|
json: "json";
|
|
609
614
|
}>;
|
|
610
615
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -638,6 +643,7 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
638
643
|
"text-to-video": "text-to-video";
|
|
639
644
|
"image-to-video": "image-to-video";
|
|
640
645
|
"video-to-video": "video-to-video";
|
|
646
|
+
"lip-sync": "lip-sync";
|
|
641
647
|
"video-enhance": "video-enhance";
|
|
642
648
|
"text-to-3d": "text-to-3d";
|
|
643
649
|
"image-to-3d": "image-to-3d";
|
|
@@ -699,11 +705,11 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
699
705
|
props: z.ZodObject<{
|
|
700
706
|
name: z.ZodOptional<z.ZodString>;
|
|
701
707
|
type: z.ZodOptional<z.ZodEnum<{
|
|
708
|
+
text: "text";
|
|
702
709
|
image: "image";
|
|
703
710
|
video: "video";
|
|
704
|
-
audio: "audio";
|
|
705
|
-
text: "text";
|
|
706
711
|
mesh3d: "mesh3d";
|
|
712
|
+
audio: "audio";
|
|
707
713
|
json: "json";
|
|
708
714
|
}>>;
|
|
709
715
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -734,12 +740,12 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
734
740
|
source: z.ZodString;
|
|
735
741
|
target: z.ZodString;
|
|
736
742
|
port: z.ZodEnum<{
|
|
743
|
+
text: "text";
|
|
737
744
|
image: "image";
|
|
738
745
|
video: "video";
|
|
739
|
-
audio: "audio";
|
|
740
|
-
text: "text";
|
|
741
746
|
mask: "mask";
|
|
742
747
|
mesh3d: "mesh3d";
|
|
748
|
+
audio: "audio";
|
|
743
749
|
json: "json";
|
|
744
750
|
reference: "reference";
|
|
745
751
|
}>;
|
|
@@ -749,12 +755,12 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
749
755
|
source: z.ZodString;
|
|
750
756
|
target: z.ZodString;
|
|
751
757
|
port: z.ZodEnum<{
|
|
758
|
+
text: "text";
|
|
752
759
|
image: "image";
|
|
753
760
|
video: "video";
|
|
754
|
-
audio: "audio";
|
|
755
|
-
text: "text";
|
|
756
761
|
mask: "mask";
|
|
757
762
|
mesh3d: "mesh3d";
|
|
763
|
+
audio: "audio";
|
|
758
764
|
json: "json";
|
|
759
765
|
reference: "reference";
|
|
760
766
|
}>;
|
|
@@ -918,6 +924,7 @@ declare const CompositionDocumentSchema: z.ZodObject<{
|
|
|
918
924
|
body: "body";
|
|
919
925
|
}>;
|
|
920
926
|
fontRole: z.ZodEnum<{
|
|
927
|
+
"studio-default": "studio-default";
|
|
921
928
|
primary: "primary";
|
|
922
929
|
secondary: "secondary";
|
|
923
930
|
}>;
|
|
@@ -990,6 +997,7 @@ declare const CompositionDocumentSchema: z.ZodObject<{
|
|
|
990
997
|
body: "body";
|
|
991
998
|
}>;
|
|
992
999
|
fontRole: z.ZodEnum<{
|
|
1000
|
+
"studio-default": "studio-default";
|
|
993
1001
|
primary: "primary";
|
|
994
1002
|
secondary: "secondary";
|
|
995
1003
|
}>;
|
|
@@ -1057,6 +1065,7 @@ declare const CompositionDocumentSchema: z.ZodObject<{
|
|
|
1057
1065
|
body: "body";
|
|
1058
1066
|
}>;
|
|
1059
1067
|
fontRole: z.ZodEnum<{
|
|
1068
|
+
"studio-default": "studio-default";
|
|
1060
1069
|
primary: "primary";
|
|
1061
1070
|
secondary: "secondary";
|
|
1062
1071
|
}>;
|
|
@@ -1357,6 +1366,8 @@ interface GenerateImageResponse {
|
|
|
1357
1366
|
kind: string;
|
|
1358
1367
|
candidates?: CandidatePlan;
|
|
1359
1368
|
notice?: string;
|
|
1369
|
+
/** Since 0.21.0: present when each image got its own pose and camera line (`settings.variety: "varied"`). */
|
|
1370
|
+
variety?: 'varied';
|
|
1360
1371
|
}
|
|
1361
1372
|
/** One @ mention of a prompt: a character, product or location of the company, by slug. */
|
|
1362
1373
|
interface PromptMention {
|
|
@@ -1370,6 +1381,10 @@ interface EnhancePromptRequest {
|
|
|
1370
1381
|
target: 'image' | 'video';
|
|
1371
1382
|
mentions?: PromptMention[];
|
|
1372
1383
|
model?: string;
|
|
1384
|
+
/** A video prompt for a clip that starts from an image: the rewrite describes the motion only. */
|
|
1385
|
+
startFrame?: boolean;
|
|
1386
|
+
/** An image prompt that carries an image: a request to change it becomes one edit instruction. */
|
|
1387
|
+
imageAttached?: boolean;
|
|
1373
1388
|
brandSlug?: string;
|
|
1374
1389
|
brandMode?: string;
|
|
1375
1390
|
}
|
|
@@ -2182,7 +2197,7 @@ declare function registerTools(server: McpServer, base: ToolContext): void;
|
|
|
2182
2197
|
*/
|
|
2183
2198
|
|
|
2184
2199
|
declare const SERVER_NAME = "lumitra-studio";
|
|
2185
|
-
declare const SERVER_VERSION = "0.
|
|
2200
|
+
declare const SERVER_VERSION = "0.22.0";
|
|
2186
2201
|
interface CreateServerOptions {
|
|
2187
2202
|
config?: StudioConfig;
|
|
2188
2203
|
env?: NodeJS.ProcessEnv;
|
|
@@ -2248,6 +2263,7 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2248
2263
|
"text-to-video": "text-to-video";
|
|
2249
2264
|
"image-to-video": "image-to-video";
|
|
2250
2265
|
"video-to-video": "video-to-video";
|
|
2266
|
+
"lip-sync": "lip-sync";
|
|
2251
2267
|
"video-enhance": "video-enhance";
|
|
2252
2268
|
"text-to-3d": "text-to-3d";
|
|
2253
2269
|
"image-to-3d": "image-to-3d";
|
|
@@ -2303,11 +2319,11 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2303
2319
|
kind: z.ZodLiteral<"input">;
|
|
2304
2320
|
name: z.ZodString;
|
|
2305
2321
|
type: z.ZodEnum<{
|
|
2322
|
+
text: "text";
|
|
2306
2323
|
image: "image";
|
|
2307
2324
|
video: "video";
|
|
2308
|
-
audio: "audio";
|
|
2309
|
-
text: "text";
|
|
2310
2325
|
mesh3d: "mesh3d";
|
|
2326
|
+
audio: "audio";
|
|
2311
2327
|
json: "json";
|
|
2312
2328
|
}>;
|
|
2313
2329
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2341,6 +2357,7 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2341
2357
|
"text-to-video": "text-to-video";
|
|
2342
2358
|
"image-to-video": "image-to-video";
|
|
2343
2359
|
"video-to-video": "video-to-video";
|
|
2360
|
+
"lip-sync": "lip-sync";
|
|
2344
2361
|
"video-enhance": "video-enhance";
|
|
2345
2362
|
"text-to-3d": "text-to-3d";
|
|
2346
2363
|
"image-to-3d": "image-to-3d";
|
|
@@ -2402,11 +2419,11 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2402
2419
|
props: z.ZodObject<{
|
|
2403
2420
|
name: z.ZodOptional<z.ZodString>;
|
|
2404
2421
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2422
|
+
text: "text";
|
|
2405
2423
|
image: "image";
|
|
2406
2424
|
video: "video";
|
|
2407
|
-
audio: "audio";
|
|
2408
|
-
text: "text";
|
|
2409
2425
|
mesh3d: "mesh3d";
|
|
2426
|
+
audio: "audio";
|
|
2410
2427
|
json: "json";
|
|
2411
2428
|
}>>;
|
|
2412
2429
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2437,12 +2454,12 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2437
2454
|
source: z.ZodString;
|
|
2438
2455
|
target: z.ZodString;
|
|
2439
2456
|
port: z.ZodEnum<{
|
|
2457
|
+
text: "text";
|
|
2440
2458
|
image: "image";
|
|
2441
2459
|
video: "video";
|
|
2442
|
-
audio: "audio";
|
|
2443
|
-
text: "text";
|
|
2444
2460
|
mask: "mask";
|
|
2445
2461
|
mesh3d: "mesh3d";
|
|
2462
|
+
audio: "audio";
|
|
2446
2463
|
json: "json";
|
|
2447
2464
|
reference: "reference";
|
|
2448
2465
|
}>;
|
|
@@ -2452,12 +2469,12 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2452
2469
|
source: z.ZodString;
|
|
2453
2470
|
target: z.ZodString;
|
|
2454
2471
|
port: z.ZodEnum<{
|
|
2472
|
+
text: "text";
|
|
2455
2473
|
image: "image";
|
|
2456
2474
|
video: "video";
|
|
2457
|
-
audio: "audio";
|
|
2458
|
-
text: "text";
|
|
2459
2475
|
mask: "mask";
|
|
2460
2476
|
mesh3d: "mesh3d";
|
|
2477
|
+
audio: "audio";
|
|
2461
2478
|
json: "json";
|
|
2462
2479
|
reference: "reference";
|
|
2463
2480
|
}>;
|
|
@@ -2549,6 +2566,7 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2549
2566
|
"text-to-video": "text-to-video";
|
|
2550
2567
|
"image-to-video": "image-to-video";
|
|
2551
2568
|
"video-to-video": "video-to-video";
|
|
2569
|
+
"lip-sync": "lip-sync";
|
|
2552
2570
|
"video-enhance": "video-enhance";
|
|
2553
2571
|
"text-to-3d": "text-to-3d";
|
|
2554
2572
|
"image-to-3d": "image-to-3d";
|
|
@@ -2604,11 +2622,11 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2604
2622
|
kind: z.ZodLiteral<"input">;
|
|
2605
2623
|
name: z.ZodString;
|
|
2606
2624
|
type: z.ZodEnum<{
|
|
2625
|
+
text: "text";
|
|
2607
2626
|
image: "image";
|
|
2608
2627
|
video: "video";
|
|
2609
|
-
audio: "audio";
|
|
2610
|
-
text: "text";
|
|
2611
2628
|
mesh3d: "mesh3d";
|
|
2629
|
+
audio: "audio";
|
|
2612
2630
|
json: "json";
|
|
2613
2631
|
}>;
|
|
2614
2632
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2642,6 +2660,7 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2642
2660
|
"text-to-video": "text-to-video";
|
|
2643
2661
|
"image-to-video": "image-to-video";
|
|
2644
2662
|
"video-to-video": "video-to-video";
|
|
2663
|
+
"lip-sync": "lip-sync";
|
|
2645
2664
|
"video-enhance": "video-enhance";
|
|
2646
2665
|
"text-to-3d": "text-to-3d";
|
|
2647
2666
|
"image-to-3d": "image-to-3d";
|
|
@@ -2703,11 +2722,11 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2703
2722
|
props: z.ZodObject<{
|
|
2704
2723
|
name: z.ZodOptional<z.ZodString>;
|
|
2705
2724
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2725
|
+
text: "text";
|
|
2706
2726
|
image: "image";
|
|
2707
2727
|
video: "video";
|
|
2708
|
-
audio: "audio";
|
|
2709
|
-
text: "text";
|
|
2710
2728
|
mesh3d: "mesh3d";
|
|
2729
|
+
audio: "audio";
|
|
2711
2730
|
json: "json";
|
|
2712
2731
|
}>>;
|
|
2713
2732
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2738,12 +2757,12 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2738
2757
|
source: z.ZodString;
|
|
2739
2758
|
target: z.ZodString;
|
|
2740
2759
|
port: z.ZodEnum<{
|
|
2760
|
+
text: "text";
|
|
2741
2761
|
image: "image";
|
|
2742
2762
|
video: "video";
|
|
2743
|
-
audio: "audio";
|
|
2744
|
-
text: "text";
|
|
2745
2763
|
mask: "mask";
|
|
2746
2764
|
mesh3d: "mesh3d";
|
|
2765
|
+
audio: "audio";
|
|
2747
2766
|
json: "json";
|
|
2748
2767
|
reference: "reference";
|
|
2749
2768
|
}>;
|
|
@@ -2753,12 +2772,12 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2753
2772
|
source: z.ZodString;
|
|
2754
2773
|
target: z.ZodString;
|
|
2755
2774
|
port: z.ZodEnum<{
|
|
2775
|
+
text: "text";
|
|
2756
2776
|
image: "image";
|
|
2757
2777
|
video: "video";
|
|
2758
|
-
audio: "audio";
|
|
2759
|
-
text: "text";
|
|
2760
2778
|
mask: "mask";
|
|
2761
2779
|
mesh3d: "mesh3d";
|
|
2780
|
+
audio: "audio";
|
|
2762
2781
|
json: "json";
|
|
2763
2782
|
reference: "reference";
|
|
2764
2783
|
}>;
|
|
@@ -2848,6 +2867,7 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
2848
2867
|
"text-to-video": "text-to-video";
|
|
2849
2868
|
"image-to-video": "image-to-video";
|
|
2850
2869
|
"video-to-video": "video-to-video";
|
|
2870
|
+
"lip-sync": "lip-sync";
|
|
2851
2871
|
"video-enhance": "video-enhance";
|
|
2852
2872
|
"text-to-3d": "text-to-3d";
|
|
2853
2873
|
"image-to-3d": "image-to-3d";
|
|
@@ -2907,8 +2927,8 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
2907
2927
|
video: "video";
|
|
2908
2928
|
audio: "audio";
|
|
2909
2929
|
text: "text";
|
|
2910
|
-
json: "json";
|
|
2911
2930
|
mesh3d: "mesh3d";
|
|
2931
|
+
json: "json";
|
|
2912
2932
|
}>;
|
|
2913
2933
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2914
2934
|
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2928,9 +2948,9 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
2928
2948
|
video: "video";
|
|
2929
2949
|
audio: "audio";
|
|
2930
2950
|
text: "text";
|
|
2931
|
-
json: "json";
|
|
2932
2951
|
mask: "mask";
|
|
2933
2952
|
mesh3d: "mesh3d";
|
|
2953
|
+
json: "json";
|
|
2934
2954
|
reference: "reference";
|
|
2935
2955
|
}>;
|
|
2936
2956
|
}, z.core.$strip>>;
|
|
@@ -2979,6 +2999,7 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
2979
2999
|
"text-to-video": "text-to-video";
|
|
2980
3000
|
"image-to-video": "image-to-video";
|
|
2981
3001
|
"video-to-video": "video-to-video";
|
|
3002
|
+
"lip-sync": "lip-sync";
|
|
2982
3003
|
"video-enhance": "video-enhance";
|
|
2983
3004
|
"text-to-3d": "text-to-3d";
|
|
2984
3005
|
"image-to-3d": "image-to-3d";
|
|
@@ -3034,11 +3055,11 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3034
3055
|
kind: z.ZodLiteral<"input">;
|
|
3035
3056
|
name: z.ZodString;
|
|
3036
3057
|
type: z.ZodEnum<{
|
|
3058
|
+
text: "text";
|
|
3037
3059
|
image: "image";
|
|
3038
3060
|
video: "video";
|
|
3039
|
-
audio: "audio";
|
|
3040
|
-
text: "text";
|
|
3041
3061
|
mesh3d: "mesh3d";
|
|
3062
|
+
audio: "audio";
|
|
3042
3063
|
json: "json";
|
|
3043
3064
|
}>;
|
|
3044
3065
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3072,6 +3093,7 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3072
3093
|
"text-to-video": "text-to-video";
|
|
3073
3094
|
"image-to-video": "image-to-video";
|
|
3074
3095
|
"video-to-video": "video-to-video";
|
|
3096
|
+
"lip-sync": "lip-sync";
|
|
3075
3097
|
"video-enhance": "video-enhance";
|
|
3076
3098
|
"text-to-3d": "text-to-3d";
|
|
3077
3099
|
"image-to-3d": "image-to-3d";
|
|
@@ -3133,11 +3155,11 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3133
3155
|
props: z.ZodObject<{
|
|
3134
3156
|
name: z.ZodOptional<z.ZodString>;
|
|
3135
3157
|
type: z.ZodOptional<z.ZodEnum<{
|
|
3158
|
+
text: "text";
|
|
3136
3159
|
image: "image";
|
|
3137
3160
|
video: "video";
|
|
3138
|
-
audio: "audio";
|
|
3139
|
-
text: "text";
|
|
3140
3161
|
mesh3d: "mesh3d";
|
|
3162
|
+
audio: "audio";
|
|
3141
3163
|
json: "json";
|
|
3142
3164
|
}>>;
|
|
3143
3165
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3168,12 +3190,12 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3168
3190
|
source: z.ZodString;
|
|
3169
3191
|
target: z.ZodString;
|
|
3170
3192
|
port: z.ZodEnum<{
|
|
3193
|
+
text: "text";
|
|
3171
3194
|
image: "image";
|
|
3172
3195
|
video: "video";
|
|
3173
|
-
audio: "audio";
|
|
3174
|
-
text: "text";
|
|
3175
3196
|
mask: "mask";
|
|
3176
3197
|
mesh3d: "mesh3d";
|
|
3198
|
+
audio: "audio";
|
|
3177
3199
|
json: "json";
|
|
3178
3200
|
reference: "reference";
|
|
3179
3201
|
}>;
|
|
@@ -3183,12 +3205,12 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3183
3205
|
source: z.ZodString;
|
|
3184
3206
|
target: z.ZodString;
|
|
3185
3207
|
port: z.ZodEnum<{
|
|
3208
|
+
text: "text";
|
|
3186
3209
|
image: "image";
|
|
3187
3210
|
video: "video";
|
|
3188
|
-
audio: "audio";
|
|
3189
|
-
text: "text";
|
|
3190
3211
|
mask: "mask";
|
|
3191
3212
|
mesh3d: "mesh3d";
|
|
3213
|
+
audio: "audio";
|
|
3192
3214
|
json: "json";
|
|
3193
3215
|
reference: "reference";
|
|
3194
3216
|
}>;
|
|
@@ -3381,7 +3403,7 @@ declare function affectedNodes(doc: WorkflowDocument, ids: readonly string[]): A
|
|
|
3381
3403
|
* `definitionId`s on `POST /api/v1/workflows/run`, so the mint tool must POST
|
|
3382
3404
|
* the full inline definition.
|
|
3383
3405
|
*/
|
|
3384
|
-
type
|
|
3406
|
+
type ItemBinding = {
|
|
3385
3407
|
kind: 'literal';
|
|
3386
3408
|
value: unknown;
|
|
3387
3409
|
} | {
|
|
@@ -3393,6 +3415,10 @@ type Binding = {
|
|
|
3393
3415
|
path: string;
|
|
3394
3416
|
wrap?: 'array';
|
|
3395
3417
|
};
|
|
3418
|
+
type Binding = ItemBinding | {
|
|
3419
|
+
kind: 'list';
|
|
3420
|
+
items: ItemBinding[];
|
|
3421
|
+
};
|
|
3396
3422
|
interface WorkflowNode {
|
|
3397
3423
|
id: string;
|
|
3398
3424
|
task: string;
|
|
@@ -3418,7 +3444,13 @@ interface WorkflowDefinition {
|
|
|
3418
3444
|
params: WorkflowParamSpec[];
|
|
3419
3445
|
nodes: WorkflowNode[];
|
|
3420
3446
|
}
|
|
3421
|
-
|
|
3447
|
+
/**
|
|
3448
|
+
* The six turnaround views, named by the reference category each freezes into
|
|
3449
|
+
* (since 2026-11-04: front, both 45 degree turns, both profiles, the back).
|
|
3450
|
+
* Characters minted earlier keep their old categories (three-quarter, profile,
|
|
3451
|
+
* close-up, lighting-warm, lighting-cool) and keep working.
|
|
3452
|
+
*/
|
|
3453
|
+
type TurnaroundView = 'full-body' | 'three-quarter-left' | 'profile-left' | 'profile-right' | 'three-quarter-right' | 'back';
|
|
3422
3454
|
declare function seedFacePrompt(description: string): string;
|
|
3423
3455
|
declare function turnaroundViewPrompt(view: TurnaroundView, seedDescription: string): string;
|
|
3424
3456
|
interface CharacterSheetNode {
|
|
@@ -3428,12 +3460,13 @@ interface CharacterSheetNode {
|
|
|
3428
3460
|
category: string;
|
|
3429
3461
|
label: string;
|
|
3430
3462
|
view?: TurnaroundView;
|
|
3463
|
+
/** The overview image: uploaded as `overview`, never used as a reference. */
|
|
3464
|
+
overview?: true;
|
|
3431
3465
|
}
|
|
3432
3466
|
/**
|
|
3433
|
-
*
|
|
3434
|
-
* Studio's canonical reference categories (the same
|
|
3435
|
-
* freezes and the try-on ranker keys off)
|
|
3436
|
-
* `lighting-warm` / `lighting-cool`, not the shorthand `warm` / `cool`.
|
|
3467
|
+
* The seed, six turnaround views and the overview, in graph order. The
|
|
3468
|
+
* `category` values are the Studio's canonical reference categories (the same
|
|
3469
|
+
* ones the in-app mint flow freezes and the try-on ranker keys off).
|
|
3437
3470
|
*/
|
|
3438
3471
|
declare const CHARACTER_SHEET_NODES: readonly CharacterSheetNode[];
|
|
3439
3472
|
/** nodeId -> reference category, the mapping the mint tool uploads with. */
|
|
@@ -3550,4 +3583,5 @@ declare function parseArgs(argv: string[]): CliArgs;
|
|
|
3550
3583
|
declare function createHttpHandler(): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
|
|
3551
3584
|
declare function main(argv?: string[]): Promise<void>;
|
|
3552
3585
|
|
|
3553
|
-
export {
|
|
3586
|
+
export { CHARACTER_SHEET_DEFINITION, CHARACTER_SHEET_NODES, ConfigError, ContractError, DEFAULT_BASE_URL, DEFAULT_MOTION_PROMPT, DEFAULT_SWAP_EDIT_MODEL, DEFAULT_SWAP_PROMPT, DEFAULT_SWAP_VIDEO_MODEL, DEFAULT_TIMEOUT_MS, MINT_REFERENCE_CATEGORIES, PollTimeoutError, SERVER_NAME, SERVER_VERSION, SUMMARY_TEXT_CHARS, SWAP_SCOPES, StudioApiError, StudioClient, TOOLS, TOOL_NAMES, ToolInputError, WORKFLOW_TOOLS, affectedNodes, buildCharacterSheetParams, buildCharacterSwapDefinition, categoryForNode, characterSheetDefinition, composeSwapPrompt, createHttpHandler, createStudioMcpServer, extensionForMime, filenameFromUrl, invokeTool, main, mimeForFilename, parseArgs, parseDocument, parseOps, pollUntil, projectionOf, redactSecret, registerTools, resolveConfig, seedFacePrompt, studioWorkflowApply, studioWorkflowCreate, studioWorkflowDescribe, studioWorkflowGet, studioWorkflowScreenshot, studioWorkflowValidate, summarizeDocument, summarizeNode, touchedNodeIds, turnaroundViewPrompt, waitForJob, waitForRun };
|
|
3587
|
+
export type { AllTenantsUsageResponse, AssetReference, AssetUsage, Binding, BrandKitResponse, CampaignContents, CampaignListing, CandidatePlan, CharacterReference, CharacterSummary, CharacterSwapInput, CompositionRecord, CompositionSummary, CreateServerOptions, DocumentSummary, EnhancePromptRequest, EnhancePromptResponse, FetchLike, GenerateImageResponse, JobResponse, JobStatus, JudgeCandidate, NodeResultResponse, NodeRun, NodeStatus, NodeSummary, NodeTypesResponse, PollOptions, ProjectAsset, ProjectContents, ProjectSummary, Projection, PromptMention, RemovedNode, RunResponse, RunStartResponse, RunStatus, SavedPrompt, SavedPromptMention, SavedPromptSettings, SavedWorkflowListing, SocialProjectSummary, SocialSendView, SpendLedger, StudioClientOptions, StudioConfig, StudioMcp, SummaryMeta, SwapPromptOptions, SwapScope, TaskDescriptor, TenantSpendSummary, TenantUsageResponse, ToolContext, ToolDef, ToolResult, TurnaroundView, UploadFile, UsageByModel, UsageResponse, WorkflowApplyResponse, WorkflowCreateResponse, WorkflowDefinition, WorkflowDocumentResponse, WorkflowNode, WorkflowValidateResponse };
|