@marlinjai/studio-mcp 0.2.0 → 0.3.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/dist/index.d.ts CHANGED
@@ -33,6 +33,7 @@ declare const DocNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
33
33
  "multiview-to-3d": "multiview-to-3d";
34
34
  remesh: "remesh";
35
35
  texture: "texture";
36
+ rig: "rig";
36
37
  "text-to-audio": "text-to-audio";
37
38
  "text-to-speech": "text-to-speech";
38
39
  "speech-to-text": "speech-to-text";
@@ -121,6 +122,7 @@ declare const WorkflowDocumentSchema: z.ZodObject<{
121
122
  "multiview-to-3d": "multiview-to-3d";
122
123
  remesh: "remesh";
123
124
  texture: "texture";
125
+ rig: "rig";
124
126
  "text-to-audio": "text-to-audio";
125
127
  "text-to-speech": "text-to-speech";
126
128
  "speech-to-text": "speech-to-text";
@@ -249,6 +251,7 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
249
251
  "multiview-to-3d": "multiview-to-3d";
250
252
  remesh: "remesh";
251
253
  texture: "texture";
254
+ rig: "rig";
252
255
  "text-to-audio": "text-to-audio";
253
256
  "text-to-speech": "text-to-speech";
254
257
  "speech-to-text": "speech-to-text";
@@ -341,6 +344,7 @@ declare const OpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
344
  "multiview-to-3d": "multiview-to-3d";
342
345
  remesh: "remesh";
343
346
  texture: "texture";
347
+ rig: "rig";
344
348
  "text-to-audio": "text-to-audio";
345
349
  "text-to-speech": "text-to-speech";
346
350
  "speech-to-text": "speech-to-text";
@@ -543,6 +547,7 @@ declare const PatchSchema: z.ZodObject<{
543
547
  "multiview-to-3d": "multiview-to-3d";
544
548
  remesh: "remesh";
545
549
  texture: "texture";
550
+ rig: "rig";
546
551
  "text-to-audio": "text-to-audio";
547
552
  "text-to-speech": "text-to-speech";
548
553
  "speech-to-text": "speech-to-text";
@@ -635,6 +640,7 @@ declare const PatchSchema: z.ZodObject<{
635
640
  "multiview-to-3d": "multiview-to-3d";
636
641
  remesh: "remesh";
637
642
  texture: "texture";
643
+ rig: "rig";
638
644
  "text-to-audio": "text-to-audio";
639
645
  "text-to-speech": "text-to-speech";
640
646
  "speech-to-text": "speech-to-text";
@@ -852,7 +858,7 @@ interface ApplyError {
852
858
  * Pure: no database, no provider, no DOM.
853
859
  */
854
860
 
855
- type ProjectionIssueCode = "no_task_nodes" | "not_runnable" | "no_model" | "prompt_required" | "source_uploading" | "no_inputs" | "param_unmappable" | "param_type_conflict" | "integrity";
861
+ type ProjectionIssueCode = "no_task_nodes" | "not_runnable" | "no_model" | "prompt_required" | "source_uploading" | "keyframe_positions" | "no_inputs" | "param_unmappable" | "param_type_conflict" | "integrity";
856
862
  interface ProjectionIssue {
857
863
  code: ProjectionIssueCode;
858
864
  /** The node the issue is about, when it is about one. */
@@ -965,6 +971,9 @@ interface NodeRun {
965
971
  mime?: string | null;
966
972
  text?: string;
967
973
  json?: unknown;
974
+ assetId?: string | null;
975
+ /** A name for one of several results, e.g. a rig's animation clip preset. */
976
+ label?: string;
968
977
  }>;
969
978
  costUsd?: number | null;
970
979
  errorMessage?: string | null;
@@ -1047,7 +1056,11 @@ interface TenantUsageResponse {
1047
1056
  tenantId?: string;
1048
1057
  month: string;
1049
1058
  plan: string;
1059
+ /** `null` = explicitly unlimited (only an operator-set plan can be). */
1050
1060
  capUsd: number | null;
1061
+ /** `default`: no plan of its own, the default cap applies. `row`: an
1062
+ * operator-set plan. Absent from a Studio older than 2026-09-23. */
1063
+ capSource?: 'row' | 'default';
1051
1064
  rpm: number | null;
1052
1065
  /** Realized + in-flight estimated: the same total the quota guard checks
1053
1066
  * against and a 402 body's `usedUsd` reports. */
@@ -1198,6 +1211,25 @@ declare class StudioClient {
1198
1211
  jobId: string;
1199
1212
  kind: string;
1200
1213
  }>;
1214
+ /**
1215
+ * One 3D generation. `/api/generate` routes to its 3D branch on `?force=3d`
1216
+ * (a prompt alone would be classified by its words); the model and its flags
1217
+ * ride under `settings.model3d` and `settings.options3d`, an input image as
1218
+ * `images[0]`.
1219
+ */
1220
+ generate3d(body: {
1221
+ prompt: string;
1222
+ images?: string[];
1223
+ projectId?: string;
1224
+ brandSlug?: string;
1225
+ settings?: {
1226
+ model3d?: string;
1227
+ options3d?: Record<string, unknown>;
1228
+ };
1229
+ }): Promise<{
1230
+ jobId: string;
1231
+ kind: string;
1232
+ }>;
1201
1233
  getJob(jobId: string): Promise<JobResponse>;
1202
1234
  listCharacters(): Promise<{
1203
1235
  characters: CharacterSummary[];
@@ -1214,6 +1246,11 @@ declare class StudioClient {
1214
1246
  descriptorPrompt: string;
1215
1247
  negativePrompt?: string;
1216
1248
  defaultModel?: string;
1249
+ /** The likeness acknowledgement, confirmed by the human the agent acts
1250
+ * for. The literal `true` in the type is the point: a call site with no
1251
+ * confirmation to pass does not compile. The Studio answers 422
1252
+ * `likeness_rights_confirmation_required` without it. */
1253
+ likenessRightsConfirmed: true;
1217
1254
  }): Promise<{
1218
1255
  character: CharacterSummary;
1219
1256
  }>;
@@ -1316,6 +1353,10 @@ declare class StudioClient {
1316
1353
  budgetUsd?: number;
1317
1354
  /** Bypasses the $10 confirmation threshold for this one request. */
1318
1355
  confirm?: boolean;
1356
+ /** The likeness acknowledgement. Required by the Studio when the recipe
1357
+ * creates a character (422 `likeness_rights_confirmation_required`,
1358
+ * before anything is spent); ignored by a recipe that creates none. */
1359
+ likenessRightsConfirmed?: true;
1319
1360
  }): Promise<{
1320
1361
  runId: string;
1321
1362
  status: string;
@@ -1458,7 +1499,7 @@ declare function registerTools(server: McpServer, ctx: ToolContext): void;
1458
1499
  */
1459
1500
 
1460
1501
  declare const SERVER_NAME = "lumitra-studio";
1461
- declare const SERVER_VERSION = "0.2.0";
1502
+ declare const SERVER_VERSION = "0.3.0";
1462
1503
  interface CreateServerOptions {
1463
1504
  config?: StudioConfig;
1464
1505
  env?: NodeJS.ProcessEnv;
@@ -1530,6 +1571,7 @@ declare const studioWorkflowCreate: ToolDef<{
1530
1571
  "multiview-to-3d": "multiview-to-3d";
1531
1572
  remesh: "remesh";
1532
1573
  texture: "texture";
1574
+ rig: "rig";
1533
1575
  "text-to-audio": "text-to-audio";
1534
1576
  "text-to-speech": "text-to-speech";
1535
1577
  "speech-to-text": "speech-to-text";
@@ -1622,6 +1664,7 @@ declare const studioWorkflowCreate: ToolDef<{
1622
1664
  "multiview-to-3d": "multiview-to-3d";
1623
1665
  remesh: "remesh";
1624
1666
  texture: "texture";
1667
+ rig: "rig";
1625
1668
  "text-to-audio": "text-to-audio";
1626
1669
  "text-to-speech": "text-to-speech";
1627
1670
  "speech-to-text": "speech-to-text";
@@ -1826,6 +1869,7 @@ declare const studioWorkflowApply: ToolDef<{
1826
1869
  "multiview-to-3d": "multiview-to-3d";
1827
1870
  remesh: "remesh";
1828
1871
  texture: "texture";
1872
+ rig: "rig";
1829
1873
  "text-to-audio": "text-to-audio";
1830
1874
  "text-to-speech": "text-to-speech";
1831
1875
  "speech-to-text": "speech-to-text";
@@ -1918,6 +1962,7 @@ declare const studioWorkflowApply: ToolDef<{
1918
1962
  "multiview-to-3d": "multiview-to-3d";
1919
1963
  remesh: "remesh";
1920
1964
  texture: "texture";
1965
+ rig: "rig";
1921
1966
  "text-to-audio": "text-to-audio";
1922
1967
  "text-to-speech": "text-to-speech";
1923
1968
  "speech-to-text": "speech-to-text";
@@ -2121,6 +2166,7 @@ declare const studioWorkflowValidate: ToolDef<{
2121
2166
  "multiview-to-3d": "multiview-to-3d";
2122
2167
  remesh: "remesh";
2123
2168
  texture: "texture";
2169
+ rig: "rig";
2124
2170
  "text-to-audio": "text-to-audio";
2125
2171
  "text-to-speech": "text-to-speech";
2126
2172
  "speech-to-text": "speech-to-text";
@@ -2250,6 +2296,7 @@ declare const studioWorkflowValidate: ToolDef<{
2250
2296
  "multiview-to-3d": "multiview-to-3d";
2251
2297
  remesh: "remesh";
2252
2298
  texture: "texture";
2299
+ rig: "rig";
2253
2300
  "text-to-audio": "text-to-audio";
2254
2301
  "text-to-speech": "text-to-speech";
2255
2302
  "speech-to-text": "speech-to-text";
@@ -2342,6 +2389,7 @@ declare const studioWorkflowValidate: ToolDef<{
2342
2389
  "multiview-to-3d": "multiview-to-3d";
2343
2390
  remesh: "remesh";
2344
2391
  texture: "texture";
2392
+ rig: "rig";
2345
2393
  "text-to-audio": "text-to-audio";
2346
2394
  "text-to-speech": "text-to-speech";
2347
2395
  "speech-to-text": "speech-to-text";