@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
|
@@ -13,40 +13,46 @@
|
|
|
13
13
|
"label": "Face prompt"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
"name": "
|
|
16
|
+
"name": "fullBodyPrompt",
|
|
17
17
|
"type": "string",
|
|
18
18
|
"required": true,
|
|
19
|
-
"label": "
|
|
19
|
+
"label": "Front prompt"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"name": "
|
|
22
|
+
"name": "threeQuarterLeftPrompt",
|
|
23
23
|
"type": "string",
|
|
24
24
|
"required": true,
|
|
25
|
-
"label": "
|
|
25
|
+
"label": "Turned left prompt"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"name": "
|
|
28
|
+
"name": "profileLeftPrompt",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": true,
|
|
31
|
+
"label": "Profile left prompt"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "profileRightPrompt",
|
|
29
35
|
"type": "string",
|
|
30
36
|
"required": true,
|
|
31
|
-
"label": "
|
|
37
|
+
"label": "Profile right prompt"
|
|
32
38
|
},
|
|
33
39
|
{
|
|
34
|
-
"name": "
|
|
40
|
+
"name": "threeQuarterRightPrompt",
|
|
35
41
|
"type": "string",
|
|
36
42
|
"required": true,
|
|
37
|
-
"label": "
|
|
43
|
+
"label": "Turned right prompt"
|
|
38
44
|
},
|
|
39
45
|
{
|
|
40
|
-
"name": "
|
|
46
|
+
"name": "backPrompt",
|
|
41
47
|
"type": "string",
|
|
42
48
|
"required": true,
|
|
43
|
-
"label": "
|
|
49
|
+
"label": "Back prompt"
|
|
44
50
|
},
|
|
45
51
|
{
|
|
46
|
-
"name": "
|
|
52
|
+
"name": "overviewPrompt",
|
|
47
53
|
"type": "string",
|
|
48
54
|
"required": true,
|
|
49
|
-
"label": "
|
|
55
|
+
"label": "Overview prompt"
|
|
50
56
|
}
|
|
51
57
|
],
|
|
52
58
|
"nodes": [
|
|
@@ -66,13 +72,13 @@
|
|
|
66
72
|
}
|
|
67
73
|
},
|
|
68
74
|
{
|
|
69
|
-
"id": "view-
|
|
75
|
+
"id": "view-full-body",
|
|
70
76
|
"task": "image-edit",
|
|
71
77
|
"model": "fal/nano-banana-2-edit",
|
|
72
78
|
"inputs": {
|
|
73
79
|
"prompt": {
|
|
74
80
|
"kind": "param",
|
|
75
|
-
"name": "
|
|
81
|
+
"name": "fullBodyPrompt"
|
|
76
82
|
},
|
|
77
83
|
"inputImages": {
|
|
78
84
|
"kind": "ref",
|
|
@@ -82,18 +88,18 @@
|
|
|
82
88
|
},
|
|
83
89
|
"aspectRatio": {
|
|
84
90
|
"kind": "literal",
|
|
85
|
-
"value": "
|
|
91
|
+
"value": "3:4"
|
|
86
92
|
}
|
|
87
93
|
}
|
|
88
94
|
},
|
|
89
95
|
{
|
|
90
|
-
"id": "view-
|
|
96
|
+
"id": "view-three-quarter-left",
|
|
91
97
|
"task": "image-edit",
|
|
92
98
|
"model": "fal/nano-banana-2-edit",
|
|
93
99
|
"inputs": {
|
|
94
100
|
"prompt": {
|
|
95
101
|
"kind": "param",
|
|
96
|
-
"name": "
|
|
102
|
+
"name": "threeQuarterLeftPrompt"
|
|
97
103
|
},
|
|
98
104
|
"inputImages": {
|
|
99
105
|
"kind": "ref",
|
|
@@ -108,13 +114,13 @@
|
|
|
108
114
|
}
|
|
109
115
|
},
|
|
110
116
|
{
|
|
111
|
-
"id": "view-
|
|
117
|
+
"id": "view-profile-left",
|
|
112
118
|
"task": "image-edit",
|
|
113
119
|
"model": "fal/nano-banana-2-edit",
|
|
114
120
|
"inputs": {
|
|
115
121
|
"prompt": {
|
|
116
122
|
"kind": "param",
|
|
117
|
-
"name": "
|
|
123
|
+
"name": "profileLeftPrompt"
|
|
118
124
|
},
|
|
119
125
|
"inputImages": {
|
|
120
126
|
"kind": "ref",
|
|
@@ -124,18 +130,18 @@
|
|
|
124
130
|
},
|
|
125
131
|
"aspectRatio": {
|
|
126
132
|
"kind": "literal",
|
|
127
|
-
"value": "
|
|
133
|
+
"value": "1:1"
|
|
128
134
|
}
|
|
129
135
|
}
|
|
130
136
|
},
|
|
131
137
|
{
|
|
132
|
-
"id": "view-
|
|
138
|
+
"id": "view-profile-right",
|
|
133
139
|
"task": "image-edit",
|
|
134
140
|
"model": "fal/nano-banana-2-edit",
|
|
135
141
|
"inputs": {
|
|
136
142
|
"prompt": {
|
|
137
143
|
"kind": "param",
|
|
138
|
-
"name": "
|
|
144
|
+
"name": "profileRightPrompt"
|
|
139
145
|
},
|
|
140
146
|
"inputImages": {
|
|
141
147
|
"kind": "ref",
|
|
@@ -150,13 +156,13 @@
|
|
|
150
156
|
}
|
|
151
157
|
},
|
|
152
158
|
{
|
|
153
|
-
"id": "view-
|
|
159
|
+
"id": "view-three-quarter-right",
|
|
154
160
|
"task": "image-edit",
|
|
155
161
|
"model": "fal/nano-banana-2-edit",
|
|
156
162
|
"inputs": {
|
|
157
163
|
"prompt": {
|
|
158
164
|
"kind": "param",
|
|
159
|
-
"name": "
|
|
165
|
+
"name": "threeQuarterRightPrompt"
|
|
160
166
|
},
|
|
161
167
|
"inputImages": {
|
|
162
168
|
"kind": "ref",
|
|
@@ -171,13 +177,43 @@
|
|
|
171
177
|
}
|
|
172
178
|
},
|
|
173
179
|
{
|
|
174
|
-
"id": "view-
|
|
180
|
+
"id": "view-back",
|
|
181
|
+
"task": "image-edit",
|
|
182
|
+
"model": "fal/nano-banana-2-edit",
|
|
183
|
+
"inputs": {
|
|
184
|
+
"prompt": {
|
|
185
|
+
"kind": "param",
|
|
186
|
+
"name": "backPrompt"
|
|
187
|
+
},
|
|
188
|
+
"inputImages": {
|
|
189
|
+
"kind": "list",
|
|
190
|
+
"items": [
|
|
191
|
+
{
|
|
192
|
+
"kind": "ref",
|
|
193
|
+
"node": "seed",
|
|
194
|
+
"path": "url"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"kind": "ref",
|
|
198
|
+
"node": "view-full-body",
|
|
199
|
+
"path": "url"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"aspectRatio": {
|
|
204
|
+
"kind": "literal",
|
|
205
|
+
"value": "3:4"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "overview",
|
|
175
211
|
"task": "image-edit",
|
|
176
212
|
"model": "fal/nano-banana-2-edit",
|
|
177
213
|
"inputs": {
|
|
178
214
|
"prompt": {
|
|
179
215
|
"kind": "param",
|
|
180
|
-
"name": "
|
|
216
|
+
"name": "overviewPrompt"
|
|
181
217
|
},
|
|
182
218
|
"inputImages": {
|
|
183
219
|
"kind": "ref",
|
|
@@ -187,19 +223,24 @@
|
|
|
187
223
|
},
|
|
188
224
|
"aspectRatio": {
|
|
189
225
|
"kind": "literal",
|
|
190
|
-
"value": "
|
|
226
|
+
"value": "21:9"
|
|
227
|
+
},
|
|
228
|
+
"imageSize": {
|
|
229
|
+
"kind": "literal",
|
|
230
|
+
"value": "4K"
|
|
191
231
|
}
|
|
192
232
|
}
|
|
193
233
|
}
|
|
194
234
|
]
|
|
195
235
|
},
|
|
196
236
|
"exampleParams": {
|
|
197
|
-
"seedPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\nGenerate a clean front-facing reference portrait of this character: head-and-shoulders framing, neutral expression, looking straight at the camera. Square 1:1 crop.\n\nEven, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no watermark, photorealistic, sharp focus.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"
|
|
237
|
+
"seedPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\nGenerate a clean front-facing reference portrait of this character: head-and-shoulders framing, neutral expression, looking straight at the camera. Square 1:1 crop.\n\nEven, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no labels, no numbers, no watermark, photorealistic, sharp focus. Natural, unretouched skin with visible texture and slight natural asymmetry; no beauty filter, no airbrushing.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
238
|
+
"fullBodyPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\nFRONT VIEW, 0 degrees: full-body head-to-toe view, the person standing in a relaxed neutral pose facing directly toward the camera. Both eyes visible. Chest, hips, knees and feet facing forward. 3:4 portrait crop with the whole figure in frame, feet included.\n\nThe camera stays fixed and the person rotates on the vertical axis only. \"Screen-left\" and \"screen-right\" mean the left and right edge of the image as the viewer sees it. Do not mirror or flip the image.\n\nCamera: straight-on, at the person's chest height, the same height in every view, long lens with no wide-angle distortion, like an orthographic turnaround. Even, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, plain dark straight-leg trousers and plain dark shoes, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no labels, no numbers, no watermark, photorealistic, sharp focus. Natural, unretouched skin with visible texture and slight natural asymmetry; no beauty filter, no airbrushing.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
239
|
+
"threeQuarterLeftPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\n45 DEGREE TURN TO SCREEN-LEFT: the person is rotated exactly 45 degrees toward screen-left. The nose points 45 degrees toward the left edge of the image. Both eyes visible, the far eye partly hidden by the bridge of the nose. Shoulders and chest rotated 45 degrees toward screen-left as well. The face must not turn toward screen-right. Chest-up framing, square 1:1 crop.\n\nThe camera stays fixed and the person rotates on the vertical axis only. \"Screen-left\" and \"screen-right\" mean the left and right edge of the image as the viewer sees it. Do not mirror or flip the image.\n\nCamera: straight-on, at the person's chest height, the same height in every view, long lens with no wide-angle distortion, like an orthographic turnaround. Even, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no labels, no numbers, no watermark, photorealistic, sharp focus. Natural, unretouched skin with visible texture and slight natural asymmetry; no beauty filter, no airbrushing.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
240
|
+
"profileLeftPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\n90 DEGREE PROFILE FACING SCREEN-LEFT: a strict side profile, the person facing fully toward the left edge of the image. Exactly 90 degrees: only one eye visible, the nose silhouetted against the background on the left side of the face. Shoulders and chest aligned toward screen-left. The face must not turn toward screen-right or toward the camera. Chest-up framing, square 1:1 crop.\n\nThe camera stays fixed and the person rotates on the vertical axis only. \"Screen-left\" and \"screen-right\" mean the left and right edge of the image as the viewer sees it. Do not mirror or flip the image.\n\nCamera: straight-on, at the person's chest height, the same height in every view, long lens with no wide-angle distortion, like an orthographic turnaround. Even, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no labels, no numbers, no watermark, photorealistic, sharp focus. Natural, unretouched skin with visible texture and slight natural asymmetry; no beauty filter, no airbrushing.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
241
|
+
"profileRightPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\n90 DEGREE PROFILE FACING SCREEN-RIGHT: a strict side profile, the person facing fully toward the right edge of the image. Exactly 90 degrees: only one eye visible, the nose silhouetted against the background on the right side of the face. Shoulders and chest aligned toward screen-right. The face must not turn toward screen-left or toward the camera. Chest-up framing, square 1:1 crop.\n\nThe camera stays fixed and the person rotates on the vertical axis only. \"Screen-left\" and \"screen-right\" mean the left and right edge of the image as the viewer sees it. Do not mirror or flip the image.\n\nCamera: straight-on, at the person's chest height, the same height in every view, long lens with no wide-angle distortion, like an orthographic turnaround. Even, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no labels, no numbers, no watermark, photorealistic, sharp focus. Natural, unretouched skin with visible texture and slight natural asymmetry; no beauty filter, no airbrushing.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
242
|
+
"threeQuarterRightPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\n45 DEGREE TURN TO SCREEN-RIGHT: the person is rotated exactly 45 degrees toward screen-right. The nose points 45 degrees toward the right edge of the image. Both eyes visible, the far eye partly hidden by the bridge of the nose. Shoulders and chest rotated 45 degrees toward screen-right as well. The face must not turn toward screen-left. Chest-up framing, square 1:1 crop.\n\nThe camera stays fixed and the person rotates on the vertical axis only. \"Screen-left\" and \"screen-right\" mean the left and right edge of the image as the viewer sees it. Do not mirror or flip the image.\n\nCamera: straight-on, at the person's chest height, the same height in every view, long lens with no wide-angle distortion, like an orthographic turnaround. Even, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no labels, no numbers, no watermark, photorealistic, sharp focus. Natural, unretouched skin with visible texture and slight natural asymmetry; no beauty filter, no airbrushing.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
243
|
+
"backPrompt": "Character identity (keep identical in every view): A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\nBACK VIEW, 180 degrees: full-body head-to-toe view of the person facing completely away from the camera. Show the back of the head and hair, the back of the clothing, the back silhouette and a rear-facing standing posture. No face visible, no eyes, no profile: the head is not turned. Heels, calves, hips and shoulders all face away from the camera. 3:4 portrait crop with the whole figure in frame, feet included.\n\nInput images: image 1 is the person's face, the identity reference: keep the hair colour, hair length and texture, skin tone and build exactly as in image 1. Image 2 is the same person's front full-body view, the figure to turn round: keep its clothing, shoes, body proportions and stance exactly, and show them from behind.\n\nThe camera stays fixed and the person rotates on the vertical axis only. \"Screen-left\" and \"screen-right\" mean the left and right edge of the image as the viewer sees it. Do not mirror or flip the image.\n\nCamera: straight-on, at the person's chest height, the same height in every view, long lens with no wide-angle distortion, like an orthographic turnaround. Even, soft, neutral studio lighting.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, plain dark straight-leg trousers and plain dark shoes, unbranded, with no logos, graphics, prints, or patterns.\n\nPlain light-gray seamless studio background, no props, no text, no labels, no numbers, no watermark, photorealistic, sharp focus. Natural, unretouched skin with visible texture and slight natural asymmetry; no beauty filter, no airbrushing.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face.",
|
|
244
|
+
"overviewPrompt": "Create one clean photorealistic character turnaround sheet of the person in the reference image.\n\nCharacter identity: A woman in her late 30s, short curly auburn hair, freckles, round tortoiseshell glasses, athletic build.\n\nWardrobe: the character is wearing a plain heather-gray crew-neck t-shirt, plain dark straight-leg trousers and plain dark shoes, unbranded, with no logos, graphics, prints, or patterns. The same outfit in every column.\n\nExactly six columns, no more and no fewer: six full-body figures in the top row and six portraits in the bottom row, twelve pictures of the same person in total. Never repeat a column and never add a seventh.\n\nLayout: six vertical columns of equal width side by side, separated by thin light borders, on a plain light-gray studio background. In each column, a full-body view head to toe on top, the whole figure inside its cell with the shoes and a little floor visible below them, and below it a head-and-shoulders portrait whose face points in exactly the same direction as the full body above it.\n\nThe person turns step by step, the way a turnaround sheet reads, and directions are the edges of the picture as the viewer sees it. Column 1, the leftmost: facing the camera, both eyes visible. Column 2: turned halfway so the nose points toward the RIGHT EDGE of the picture, both eyes visible. Column 3: a strict side profile, the nose pointing at the RIGHT EDGE of the picture, only one eye visible. Column 4: a strict side profile, the nose pointing at the LEFT EDGE of the picture, only one eye visible. Column 5: turned halfway so the nose points toward the LEFT EDGE of the picture, both eyes visible. Column 6, the rightmost: seen from behind, no face; its portrait shows the back of the head. So the two profiles in columns 3 and 4 face each other.\n\nSame camera height for every full body, same crop for every portrait, no perspective distortion, photorealistic studio lighting, sharp detail.\n\nNo text anywhere in the image: no headings, no titles, no angle numbers, no degree signs, no labels, no captions, no logos, no watermark. The background above the figures stays empty.\n\nThis is the same person, same face, same identity as the reference image: keep the facial structure, features, hair, and proportions identical. Do not invent a new face."
|
|
204
245
|
}
|
|
205
246
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marlinjai/studio-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Model Context Protocol (MCP) server over the Lumitra Studio HTTP API: generate images, mint characters, run workflows, swap characters into video.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"start": "node dist/cli.js"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
62
|
-
"zod": "^4.
|
|
61
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
62
|
+
"zod": "^4.6.7"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@marlinjai/studio-core": "workspace:*",
|
|
66
66
|
"@types/node": "^22",
|
|
67
|
-
"tsup": "^
|
|
67
|
+
"tsup": "^9.0.0",
|
|
68
68
|
"typescript": "^5",
|
|
69
|
-
"vitest": "^4.1.
|
|
69
|
+
"vitest": "^4.1.12"
|
|
70
70
|
}
|
|
71
71
|
}
|