@marlinjai/studio-mcp 0.18.1 → 0.21.1
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 +22 -2
- package/dist/cli.js +1556 -228
- package/dist/index.d.ts +79 -58
- package/dist/index.js +1556 -228
- package/examples/workflow-character-sheet.json +75 -34
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -82,12 +82,12 @@ declare const DocNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
82
82
|
kind: z.ZodLiteral<"input">;
|
|
83
83
|
name: z.ZodString;
|
|
84
84
|
type: z.ZodEnum<{
|
|
85
|
+
text: "text";
|
|
85
86
|
image: "image";
|
|
86
87
|
video: "video";
|
|
87
88
|
audio: "audio";
|
|
88
|
-
text: "text";
|
|
89
|
-
json: "json";
|
|
90
89
|
mesh3d: "mesh3d";
|
|
90
|
+
json: "json";
|
|
91
91
|
}>;
|
|
92
92
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
93
93
|
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
@@ -171,12 +171,12 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
|
|
|
171
171
|
kind: z.ZodLiteral<"input">;
|
|
172
172
|
name: z.ZodString;
|
|
173
173
|
type: z.ZodEnum<{
|
|
174
|
+
text: "text";
|
|
174
175
|
image: "image";
|
|
175
176
|
video: "video";
|
|
176
177
|
audio: "audio";
|
|
177
|
-
text: "text";
|
|
178
|
-
json: "json";
|
|
179
178
|
mesh3d: "mesh3d";
|
|
179
|
+
json: "json";
|
|
180
180
|
}>;
|
|
181
181
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
182
182
|
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
@@ -192,13 +192,13 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
|
|
|
192
192
|
source: z.ZodString;
|
|
193
193
|
target: z.ZodString;
|
|
194
194
|
port: z.ZodEnum<{
|
|
195
|
+
text: "text";
|
|
195
196
|
image: "image";
|
|
196
197
|
video: "video";
|
|
197
198
|
audio: "audio";
|
|
198
|
-
text: "text";
|
|
199
|
-
json: "json";
|
|
200
199
|
mask: "mask";
|
|
201
200
|
mesh3d: "mesh3d";
|
|
201
|
+
json: "json";
|
|
202
202
|
reference: "reference";
|
|
203
203
|
}>;
|
|
204
204
|
}, z.core.$strip>>;
|
|
@@ -302,11 +302,11 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
302
302
|
kind: z.ZodLiteral<"input">;
|
|
303
303
|
name: z.ZodString;
|
|
304
304
|
type: z.ZodEnum<{
|
|
305
|
+
text: "text";
|
|
305
306
|
image: "image";
|
|
306
307
|
video: "video";
|
|
307
|
-
audio: "audio";
|
|
308
|
-
text: "text";
|
|
309
308
|
mesh3d: "mesh3d";
|
|
309
|
+
audio: "audio";
|
|
310
310
|
json: "json";
|
|
311
311
|
}>;
|
|
312
312
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -401,11 +401,11 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
401
401
|
props: z.ZodObject<{
|
|
402
402
|
name: z.ZodOptional<z.ZodString>;
|
|
403
403
|
type: z.ZodOptional<z.ZodEnum<{
|
|
404
|
+
text: "text";
|
|
404
405
|
image: "image";
|
|
405
406
|
video: "video";
|
|
406
|
-
audio: "audio";
|
|
407
|
-
text: "text";
|
|
408
407
|
mesh3d: "mesh3d";
|
|
408
|
+
audio: "audio";
|
|
409
409
|
json: "json";
|
|
410
410
|
}>>;
|
|
411
411
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -436,12 +436,12 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
436
436
|
source: z.ZodString;
|
|
437
437
|
target: z.ZodString;
|
|
438
438
|
port: z.ZodEnum<{
|
|
439
|
+
text: "text";
|
|
439
440
|
image: "image";
|
|
440
441
|
video: "video";
|
|
441
|
-
audio: "audio";
|
|
442
|
-
text: "text";
|
|
443
442
|
mask: "mask";
|
|
444
443
|
mesh3d: "mesh3d";
|
|
444
|
+
audio: "audio";
|
|
445
445
|
json: "json";
|
|
446
446
|
reference: "reference";
|
|
447
447
|
}>;
|
|
@@ -451,12 +451,12 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
451
451
|
source: z.ZodString;
|
|
452
452
|
target: z.ZodString;
|
|
453
453
|
port: z.ZodEnum<{
|
|
454
|
+
text: "text";
|
|
454
455
|
image: "image";
|
|
455
456
|
video: "video";
|
|
456
|
-
audio: "audio";
|
|
457
|
-
text: "text";
|
|
458
457
|
mask: "mask";
|
|
459
458
|
mesh3d: "mesh3d";
|
|
459
|
+
audio: "audio";
|
|
460
460
|
json: "json";
|
|
461
461
|
reference: "reference";
|
|
462
462
|
}>;
|
|
@@ -600,11 +600,11 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
600
600
|
kind: z.ZodLiteral<"input">;
|
|
601
601
|
name: z.ZodString;
|
|
602
602
|
type: z.ZodEnum<{
|
|
603
|
+
text: "text";
|
|
603
604
|
image: "image";
|
|
604
605
|
video: "video";
|
|
605
|
-
audio: "audio";
|
|
606
|
-
text: "text";
|
|
607
606
|
mesh3d: "mesh3d";
|
|
607
|
+
audio: "audio";
|
|
608
608
|
json: "json";
|
|
609
609
|
}>;
|
|
610
610
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -699,11 +699,11 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
699
699
|
props: z.ZodObject<{
|
|
700
700
|
name: z.ZodOptional<z.ZodString>;
|
|
701
701
|
type: z.ZodOptional<z.ZodEnum<{
|
|
702
|
+
text: "text";
|
|
702
703
|
image: "image";
|
|
703
704
|
video: "video";
|
|
704
|
-
audio: "audio";
|
|
705
|
-
text: "text";
|
|
706
705
|
mesh3d: "mesh3d";
|
|
706
|
+
audio: "audio";
|
|
707
707
|
json: "json";
|
|
708
708
|
}>>;
|
|
709
709
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -734,12 +734,12 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
734
734
|
source: z.ZodString;
|
|
735
735
|
target: z.ZodString;
|
|
736
736
|
port: z.ZodEnum<{
|
|
737
|
+
text: "text";
|
|
737
738
|
image: "image";
|
|
738
739
|
video: "video";
|
|
739
|
-
audio: "audio";
|
|
740
|
-
text: "text";
|
|
741
740
|
mask: "mask";
|
|
742
741
|
mesh3d: "mesh3d";
|
|
742
|
+
audio: "audio";
|
|
743
743
|
json: "json";
|
|
744
744
|
reference: "reference";
|
|
745
745
|
}>;
|
|
@@ -749,12 +749,12 @@ declare const PatchSchema: z.ZodObject<{
|
|
|
749
749
|
source: z.ZodString;
|
|
750
750
|
target: z.ZodString;
|
|
751
751
|
port: z.ZodEnum<{
|
|
752
|
+
text: "text";
|
|
752
753
|
image: "image";
|
|
753
754
|
video: "video";
|
|
754
|
-
audio: "audio";
|
|
755
|
-
text: "text";
|
|
756
755
|
mask: "mask";
|
|
757
756
|
mesh3d: "mesh3d";
|
|
757
|
+
audio: "audio";
|
|
758
758
|
json: "json";
|
|
759
759
|
reference: "reference";
|
|
760
760
|
}>;
|
|
@@ -918,6 +918,7 @@ declare const CompositionDocumentSchema: z.ZodObject<{
|
|
|
918
918
|
body: "body";
|
|
919
919
|
}>;
|
|
920
920
|
fontRole: z.ZodEnum<{
|
|
921
|
+
"studio-default": "studio-default";
|
|
921
922
|
primary: "primary";
|
|
922
923
|
secondary: "secondary";
|
|
923
924
|
}>;
|
|
@@ -990,6 +991,7 @@ declare const CompositionDocumentSchema: z.ZodObject<{
|
|
|
990
991
|
body: "body";
|
|
991
992
|
}>;
|
|
992
993
|
fontRole: z.ZodEnum<{
|
|
994
|
+
"studio-default": "studio-default";
|
|
993
995
|
primary: "primary";
|
|
994
996
|
secondary: "secondary";
|
|
995
997
|
}>;
|
|
@@ -1057,6 +1059,7 @@ declare const CompositionDocumentSchema: z.ZodObject<{
|
|
|
1057
1059
|
body: "body";
|
|
1058
1060
|
}>;
|
|
1059
1061
|
fontRole: z.ZodEnum<{
|
|
1062
|
+
"studio-default": "studio-default";
|
|
1060
1063
|
primary: "primary";
|
|
1061
1064
|
secondary: "secondary";
|
|
1062
1065
|
}>;
|
|
@@ -1357,6 +1360,8 @@ interface GenerateImageResponse {
|
|
|
1357
1360
|
kind: string;
|
|
1358
1361
|
candidates?: CandidatePlan;
|
|
1359
1362
|
notice?: string;
|
|
1363
|
+
/** Since 0.21.0: present when each image got its own pose and camera line (`settings.variety: "varied"`). */
|
|
1364
|
+
variety?: 'varied';
|
|
1360
1365
|
}
|
|
1361
1366
|
/** One @ mention of a prompt: a character, product or location of the company, by slug. */
|
|
1362
1367
|
interface PromptMention {
|
|
@@ -1370,6 +1375,10 @@ interface EnhancePromptRequest {
|
|
|
1370
1375
|
target: 'image' | 'video';
|
|
1371
1376
|
mentions?: PromptMention[];
|
|
1372
1377
|
model?: string;
|
|
1378
|
+
/** A video prompt for a clip that starts from an image: the rewrite describes the motion only. */
|
|
1379
|
+
startFrame?: boolean;
|
|
1380
|
+
/** An image prompt that carries an image: a request to change it becomes one edit instruction. */
|
|
1381
|
+
imageAttached?: boolean;
|
|
1373
1382
|
brandSlug?: string;
|
|
1374
1383
|
brandMode?: string;
|
|
1375
1384
|
}
|
|
@@ -2182,7 +2191,7 @@ declare function registerTools(server: McpServer, base: ToolContext): void;
|
|
|
2182
2191
|
*/
|
|
2183
2192
|
|
|
2184
2193
|
declare const SERVER_NAME = "lumitra-studio";
|
|
2185
|
-
declare const SERVER_VERSION = "0.
|
|
2194
|
+
declare const SERVER_VERSION = "0.21.1";
|
|
2186
2195
|
interface CreateServerOptions {
|
|
2187
2196
|
config?: StudioConfig;
|
|
2188
2197
|
env?: NodeJS.ProcessEnv;
|
|
@@ -2303,11 +2312,11 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2303
2312
|
kind: z.ZodLiteral<"input">;
|
|
2304
2313
|
name: z.ZodString;
|
|
2305
2314
|
type: z.ZodEnum<{
|
|
2315
|
+
text: "text";
|
|
2306
2316
|
image: "image";
|
|
2307
2317
|
video: "video";
|
|
2308
|
-
audio: "audio";
|
|
2309
|
-
text: "text";
|
|
2310
2318
|
mesh3d: "mesh3d";
|
|
2319
|
+
audio: "audio";
|
|
2311
2320
|
json: "json";
|
|
2312
2321
|
}>;
|
|
2313
2322
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2402,11 +2411,11 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2402
2411
|
props: z.ZodObject<{
|
|
2403
2412
|
name: z.ZodOptional<z.ZodString>;
|
|
2404
2413
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2414
|
+
text: "text";
|
|
2405
2415
|
image: "image";
|
|
2406
2416
|
video: "video";
|
|
2407
|
-
audio: "audio";
|
|
2408
|
-
text: "text";
|
|
2409
2417
|
mesh3d: "mesh3d";
|
|
2418
|
+
audio: "audio";
|
|
2410
2419
|
json: "json";
|
|
2411
2420
|
}>>;
|
|
2412
2421
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2437,12 +2446,12 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2437
2446
|
source: z.ZodString;
|
|
2438
2447
|
target: z.ZodString;
|
|
2439
2448
|
port: z.ZodEnum<{
|
|
2449
|
+
text: "text";
|
|
2440
2450
|
image: "image";
|
|
2441
2451
|
video: "video";
|
|
2442
|
-
audio: "audio";
|
|
2443
|
-
text: "text";
|
|
2444
2452
|
mask: "mask";
|
|
2445
2453
|
mesh3d: "mesh3d";
|
|
2454
|
+
audio: "audio";
|
|
2446
2455
|
json: "json";
|
|
2447
2456
|
reference: "reference";
|
|
2448
2457
|
}>;
|
|
@@ -2452,12 +2461,12 @@ declare const studioWorkflowCreate: ToolDef<{
|
|
|
2452
2461
|
source: z.ZodString;
|
|
2453
2462
|
target: z.ZodString;
|
|
2454
2463
|
port: z.ZodEnum<{
|
|
2464
|
+
text: "text";
|
|
2455
2465
|
image: "image";
|
|
2456
2466
|
video: "video";
|
|
2457
|
-
audio: "audio";
|
|
2458
|
-
text: "text";
|
|
2459
2467
|
mask: "mask";
|
|
2460
2468
|
mesh3d: "mesh3d";
|
|
2469
|
+
audio: "audio";
|
|
2461
2470
|
json: "json";
|
|
2462
2471
|
reference: "reference";
|
|
2463
2472
|
}>;
|
|
@@ -2604,11 +2613,11 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2604
2613
|
kind: z.ZodLiteral<"input">;
|
|
2605
2614
|
name: z.ZodString;
|
|
2606
2615
|
type: z.ZodEnum<{
|
|
2616
|
+
text: "text";
|
|
2607
2617
|
image: "image";
|
|
2608
2618
|
video: "video";
|
|
2609
|
-
audio: "audio";
|
|
2610
|
-
text: "text";
|
|
2611
2619
|
mesh3d: "mesh3d";
|
|
2620
|
+
audio: "audio";
|
|
2612
2621
|
json: "json";
|
|
2613
2622
|
}>;
|
|
2614
2623
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2703,11 +2712,11 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2703
2712
|
props: z.ZodObject<{
|
|
2704
2713
|
name: z.ZodOptional<z.ZodString>;
|
|
2705
2714
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2715
|
+
text: "text";
|
|
2706
2716
|
image: "image";
|
|
2707
2717
|
video: "video";
|
|
2708
|
-
audio: "audio";
|
|
2709
|
-
text: "text";
|
|
2710
2718
|
mesh3d: "mesh3d";
|
|
2719
|
+
audio: "audio";
|
|
2711
2720
|
json: "json";
|
|
2712
2721
|
}>>;
|
|
2713
2722
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2738,12 +2747,12 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2738
2747
|
source: z.ZodString;
|
|
2739
2748
|
target: z.ZodString;
|
|
2740
2749
|
port: z.ZodEnum<{
|
|
2750
|
+
text: "text";
|
|
2741
2751
|
image: "image";
|
|
2742
2752
|
video: "video";
|
|
2743
|
-
audio: "audio";
|
|
2744
|
-
text: "text";
|
|
2745
2753
|
mask: "mask";
|
|
2746
2754
|
mesh3d: "mesh3d";
|
|
2755
|
+
audio: "audio";
|
|
2747
2756
|
json: "json";
|
|
2748
2757
|
reference: "reference";
|
|
2749
2758
|
}>;
|
|
@@ -2753,12 +2762,12 @@ declare const studioWorkflowApply: ToolDef<{
|
|
|
2753
2762
|
source: z.ZodString;
|
|
2754
2763
|
target: z.ZodString;
|
|
2755
2764
|
port: z.ZodEnum<{
|
|
2765
|
+
text: "text";
|
|
2756
2766
|
image: "image";
|
|
2757
2767
|
video: "video";
|
|
2758
|
-
audio: "audio";
|
|
2759
|
-
text: "text";
|
|
2760
2768
|
mask: "mask";
|
|
2761
2769
|
mesh3d: "mesh3d";
|
|
2770
|
+
audio: "audio";
|
|
2762
2771
|
json: "json";
|
|
2763
2772
|
reference: "reference";
|
|
2764
2773
|
}>;
|
|
@@ -2903,12 +2912,12 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
2903
2912
|
kind: z.ZodLiteral<"input">;
|
|
2904
2913
|
name: z.ZodString;
|
|
2905
2914
|
type: z.ZodEnum<{
|
|
2915
|
+
text: "text";
|
|
2906
2916
|
image: "image";
|
|
2907
2917
|
video: "video";
|
|
2908
2918
|
audio: "audio";
|
|
2909
|
-
text: "text";
|
|
2910
|
-
json: "json";
|
|
2911
2919
|
mesh3d: "mesh3d";
|
|
2920
|
+
json: "json";
|
|
2912
2921
|
}>;
|
|
2913
2922
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2914
2923
|
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2924,13 +2933,13 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
2924
2933
|
source: z.ZodString;
|
|
2925
2934
|
target: z.ZodString;
|
|
2926
2935
|
port: z.ZodEnum<{
|
|
2936
|
+
text: "text";
|
|
2927
2937
|
image: "image";
|
|
2928
2938
|
video: "video";
|
|
2929
2939
|
audio: "audio";
|
|
2930
|
-
text: "text";
|
|
2931
|
-
json: "json";
|
|
2932
2940
|
mask: "mask";
|
|
2933
2941
|
mesh3d: "mesh3d";
|
|
2942
|
+
json: "json";
|
|
2934
2943
|
reference: "reference";
|
|
2935
2944
|
}>;
|
|
2936
2945
|
}, z.core.$strip>>;
|
|
@@ -3034,11 +3043,11 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3034
3043
|
kind: z.ZodLiteral<"input">;
|
|
3035
3044
|
name: z.ZodString;
|
|
3036
3045
|
type: z.ZodEnum<{
|
|
3046
|
+
text: "text";
|
|
3037
3047
|
image: "image";
|
|
3038
3048
|
video: "video";
|
|
3039
|
-
audio: "audio";
|
|
3040
|
-
text: "text";
|
|
3041
3049
|
mesh3d: "mesh3d";
|
|
3050
|
+
audio: "audio";
|
|
3042
3051
|
json: "json";
|
|
3043
3052
|
}>;
|
|
3044
3053
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3133,11 +3142,11 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3133
3142
|
props: z.ZodObject<{
|
|
3134
3143
|
name: z.ZodOptional<z.ZodString>;
|
|
3135
3144
|
type: z.ZodOptional<z.ZodEnum<{
|
|
3145
|
+
text: "text";
|
|
3136
3146
|
image: "image";
|
|
3137
3147
|
video: "video";
|
|
3138
|
-
audio: "audio";
|
|
3139
|
-
text: "text";
|
|
3140
3148
|
mesh3d: "mesh3d";
|
|
3149
|
+
audio: "audio";
|
|
3141
3150
|
json: "json";
|
|
3142
3151
|
}>>;
|
|
3143
3152
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3168,12 +3177,12 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3168
3177
|
source: z.ZodString;
|
|
3169
3178
|
target: z.ZodString;
|
|
3170
3179
|
port: z.ZodEnum<{
|
|
3180
|
+
text: "text";
|
|
3171
3181
|
image: "image";
|
|
3172
3182
|
video: "video";
|
|
3173
|
-
audio: "audio";
|
|
3174
|
-
text: "text";
|
|
3175
3183
|
mask: "mask";
|
|
3176
3184
|
mesh3d: "mesh3d";
|
|
3185
|
+
audio: "audio";
|
|
3177
3186
|
json: "json";
|
|
3178
3187
|
reference: "reference";
|
|
3179
3188
|
}>;
|
|
@@ -3183,12 +3192,12 @@ declare const studioWorkflowValidate: ToolDef<{
|
|
|
3183
3192
|
source: z.ZodString;
|
|
3184
3193
|
target: z.ZodString;
|
|
3185
3194
|
port: z.ZodEnum<{
|
|
3195
|
+
text: "text";
|
|
3186
3196
|
image: "image";
|
|
3187
3197
|
video: "video";
|
|
3188
|
-
audio: "audio";
|
|
3189
|
-
text: "text";
|
|
3190
3198
|
mask: "mask";
|
|
3191
3199
|
mesh3d: "mesh3d";
|
|
3200
|
+
audio: "audio";
|
|
3192
3201
|
json: "json";
|
|
3193
3202
|
reference: "reference";
|
|
3194
3203
|
}>;
|
|
@@ -3381,7 +3390,7 @@ declare function affectedNodes(doc: WorkflowDocument, ids: readonly string[]): A
|
|
|
3381
3390
|
* `definitionId`s on `POST /api/v1/workflows/run`, so the mint tool must POST
|
|
3382
3391
|
* the full inline definition.
|
|
3383
3392
|
*/
|
|
3384
|
-
type
|
|
3393
|
+
type ItemBinding = {
|
|
3385
3394
|
kind: 'literal';
|
|
3386
3395
|
value: unknown;
|
|
3387
3396
|
} | {
|
|
@@ -3393,6 +3402,10 @@ type Binding = {
|
|
|
3393
3402
|
path: string;
|
|
3394
3403
|
wrap?: 'array';
|
|
3395
3404
|
};
|
|
3405
|
+
type Binding = ItemBinding | {
|
|
3406
|
+
kind: 'list';
|
|
3407
|
+
items: ItemBinding[];
|
|
3408
|
+
};
|
|
3396
3409
|
interface WorkflowNode {
|
|
3397
3410
|
id: string;
|
|
3398
3411
|
task: string;
|
|
@@ -3418,7 +3431,13 @@ interface WorkflowDefinition {
|
|
|
3418
3431
|
params: WorkflowParamSpec[];
|
|
3419
3432
|
nodes: WorkflowNode[];
|
|
3420
3433
|
}
|
|
3421
|
-
|
|
3434
|
+
/**
|
|
3435
|
+
* The six turnaround views, named by the reference category each freezes into
|
|
3436
|
+
* (since 2026-11-04: front, both 45 degree turns, both profiles, the back).
|
|
3437
|
+
* Characters minted earlier keep their old categories (three-quarter, profile,
|
|
3438
|
+
* close-up, lighting-warm, lighting-cool) and keep working.
|
|
3439
|
+
*/
|
|
3440
|
+
type TurnaroundView = 'full-body' | 'three-quarter-left' | 'profile-left' | 'profile-right' | 'three-quarter-right' | 'back';
|
|
3422
3441
|
declare function seedFacePrompt(description: string): string;
|
|
3423
3442
|
declare function turnaroundViewPrompt(view: TurnaroundView, seedDescription: string): string;
|
|
3424
3443
|
interface CharacterSheetNode {
|
|
@@ -3428,12 +3447,13 @@ interface CharacterSheetNode {
|
|
|
3428
3447
|
category: string;
|
|
3429
3448
|
label: string;
|
|
3430
3449
|
view?: TurnaroundView;
|
|
3450
|
+
/** The overview image: uploaded as `overview`, never used as a reference. */
|
|
3451
|
+
overview?: true;
|
|
3431
3452
|
}
|
|
3432
3453
|
/**
|
|
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`.
|
|
3454
|
+
* The seed, six turnaround views and the overview, in graph order. The
|
|
3455
|
+
* `category` values are the Studio's canonical reference categories (the same
|
|
3456
|
+
* ones the in-app mint flow freezes and the try-on ranker keys off).
|
|
3437
3457
|
*/
|
|
3438
3458
|
declare const CHARACTER_SHEET_NODES: readonly CharacterSheetNode[];
|
|
3439
3459
|
/** nodeId -> reference category, the mapping the mint tool uploads with. */
|
|
@@ -3550,4 +3570,5 @@ declare function parseArgs(argv: string[]): CliArgs;
|
|
|
3550
3570
|
declare function createHttpHandler(): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
|
|
3551
3571
|
declare function main(argv?: string[]): Promise<void>;
|
|
3552
3572
|
|
|
3553
|
-
export {
|
|
3573
|
+
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 };
|
|
3574
|
+
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 };
|