@marlinjai/studio-mcp 0.15.0 → 0.16.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/cli.js +80 -10
- package/dist/index.d.ts +15 -1
- package/dist/index.js +80 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1513,7 +1513,23 @@ var CATALOG_ENTRIES = [
|
|
|
1513
1513
|
modality: "audio",
|
|
1514
1514
|
task: "text-to-speech",
|
|
1515
1515
|
label: "ElevenLabs Multilingual v2 (TTS)",
|
|
1516
|
-
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously.",
|
|
1516
|
+
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously. Up to 10,000 characters per request.",
|
|
1517
|
+
// ElevenLabs' text-to-speech API (voice_settings, checked 2026-10-25):
|
|
1518
|
+
// stability and similarity_boost run from 0 to 1 with defaults 0.5 and
|
|
1519
|
+
// 0.75; speed from 0.7 to 1.2 with 1 as the normal pace (its help center
|
|
1520
|
+
// states the bounds). Multilingual v2 takes 10,000 characters per request
|
|
1521
|
+
// (its models page). `speechRequestRefusal` refuses anything outside these
|
|
1522
|
+
// before a request is admitted.
|
|
1523
|
+
capabilities: {
|
|
1524
|
+
speech: {
|
|
1525
|
+
maxCharacters: 1e4,
|
|
1526
|
+
voiceSettings: {
|
|
1527
|
+
stability: { min: 0, max: 1, step: 0.05, default: 0.5 },
|
|
1528
|
+
similarityBoost: { min: 0, max: 1, step: 0.05, default: 0.75 },
|
|
1529
|
+
speed: { min: 0.7, max: 1.2, step: 0.05, default: 1 }
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1517
1533
|
isDefault: true
|
|
1518
1534
|
},
|
|
1519
1535
|
{
|
|
@@ -1577,14 +1593,20 @@ var CATALOG_ENTRIES = [
|
|
|
1577
1593
|
modality: "image",
|
|
1578
1594
|
task: "text-to-image",
|
|
1579
1595
|
label: "Gemini 2.5 Flash Image",
|
|
1580
|
-
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image."
|
|
1596
|
+
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image.",
|
|
1597
|
+
// Google's model page (read 2026-10-25): "Maximum images per prompt: 3".
|
|
1598
|
+
// The adapter sends every image inline, downloading Studio references
|
|
1599
|
+
// first (providers/vertex.ts), up to 7 MB each.
|
|
1600
|
+
capabilities: { maxInputImages: 3 }
|
|
1581
1601
|
},
|
|
1582
1602
|
{
|
|
1583
1603
|
id: "vertex/gemini-3-pro-image-preview",
|
|
1584
1604
|
provider: "vertex",
|
|
1585
1605
|
modality: "image",
|
|
1586
1606
|
task: "text-to-image",
|
|
1587
|
-
label: "Nano Banana Pro (preview)"
|
|
1607
|
+
label: "Nano Banana Pro (preview)",
|
|
1608
|
+
// Google's model page for Gemini 3 Pro Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
1609
|
+
capabilities: { maxInputImages: 14 }
|
|
1588
1610
|
},
|
|
1589
1611
|
{
|
|
1590
1612
|
id: "vertex/gemini-3-1-flash-image-preview",
|
|
@@ -1592,7 +1614,9 @@ var CATALOG_ENTRIES = [
|
|
|
1592
1614
|
modality: "image",
|
|
1593
1615
|
task: "text-to-image",
|
|
1594
1616
|
label: "Gemini 3.1 Flash Image (preview)",
|
|
1595
|
-
description: "Vertex AI direct, newest flash variant. Global region. Preview status."
|
|
1617
|
+
description: "Vertex AI direct, newest flash variant. Global region. Preview status.",
|
|
1618
|
+
// Google's model page for Gemini 3.1 Flash Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
1619
|
+
capabilities: { maxInputImages: 14 }
|
|
1596
1620
|
}
|
|
1597
1621
|
];
|
|
1598
1622
|
var PINNED_FAL_NOTE = "Pinned to fal: a job on this entry never goes to KIE.";
|
|
@@ -2071,6 +2095,12 @@ var VIDEO_MAX_SECONDS_AT_RESOLUTION = {
|
|
|
2071
2095
|
[LTX_25_FAST_I2V_ENDPOINT]: { "4k": 10 }
|
|
2072
2096
|
};
|
|
2073
2097
|
var VIDEO_UNSUPPORTED_PARAMS = {
|
|
2098
|
+
// Kling 2.5 Turbo and Seedance 1.0 Pro render silent clips and their schemas
|
|
2099
|
+
// declare no audio field at all (fal model schemas, checked 2026-10-25), so a
|
|
2100
|
+
// sound choice is refused before submit instead of being sent and ignored.
|
|
2101
|
+
"fal-ai/kling-video/v2.5-turbo/pro/image-to-video": ["generateAudio"],
|
|
2102
|
+
"fal-ai/bytedance/seedance/v1/pro/image-to-video": ["generateAudio"],
|
|
2103
|
+
"fal-ai/bytedance/seedance/v1/pro/text-to-video": ["generateAudio"],
|
|
2074
2104
|
// Kling O3 Edit follows the source clip: its length, frame, size and look are
|
|
2075
2105
|
// the source's, and the endpoint declares none of these knobs. A duration in
|
|
2076
2106
|
// particular would only have been a (wrong) billing figure; the completer
|
|
@@ -2117,6 +2147,22 @@ var VIDEO_UNSUPPORTED_PARAMS = {
|
|
|
2117
2147
|
[KLING_O3_PRO_R2V_ENDPOINT]: ["resolution", "seed", "negativePrompt"],
|
|
2118
2148
|
...Object.fromEntries(LTX_25_I2V_ENDPOINTS.map((e) => [e, ["seed", "negativePrompt"]]))
|
|
2119
2149
|
};
|
|
2150
|
+
var VIDEO_AUDIO_SWITCH = {
|
|
2151
|
+
...Object.fromEntries(VEO_ENDPOINTS.map((e) => [e, { default: false }])),
|
|
2152
|
+
[KLING_26_I2V_ENDPOINT]: { default: false },
|
|
2153
|
+
...Object.fromEntries(KLING_O3_I2V_ENDPOINTS.map((e) => [e, { default: false }])),
|
|
2154
|
+
[KLING_O3_PRO_R2V_ENDPOINT]: { default: false },
|
|
2155
|
+
"bytedance/seedance-2.5/image-to-video": { default: true },
|
|
2156
|
+
"bytedance/seedance-2.0/image-to-video": { default: true },
|
|
2157
|
+
[WAN_30_I2V_ENDPOINT]: { default: true },
|
|
2158
|
+
...Object.fromEntries(LTX_25_I2V_ENDPOINTS.map((e) => [e, { default: true }])),
|
|
2159
|
+
"blackforestlabs/flux-3/image-to-video/draft": { default: true },
|
|
2160
|
+
"blackforestlabs/flux-3/first-last-frame-to-video/draft": { default: true },
|
|
2161
|
+
"blackforestlabs/flux-3/keyframes-to-video/draft": { default: true },
|
|
2162
|
+
"blackforestlabs/flux-3/image-to-video": { default: true },
|
|
2163
|
+
"blackforestlabs/flux-3/first-last-frame-to-video": { default: true },
|
|
2164
|
+
"blackforestlabs/flux-3/keyframes-to-video": { default: true }
|
|
2165
|
+
};
|
|
2120
2166
|
var ROWS = [
|
|
2121
2167
|
[0, "Idle", "DailyActions", "Idle"],
|
|
2122
2168
|
[1, "Walking_Woman", "WalkAndRun", "Walking"],
|
|
@@ -4172,7 +4218,23 @@ var CATALOG_ENTRIES2 = [
|
|
|
4172
4218
|
modality: "audio",
|
|
4173
4219
|
task: "text-to-speech",
|
|
4174
4220
|
label: "ElevenLabs Multilingual v2 (TTS)",
|
|
4175
|
-
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously.",
|
|
4221
|
+
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously. Up to 10,000 characters per request.",
|
|
4222
|
+
// ElevenLabs' text-to-speech API (voice_settings, checked 2026-10-25):
|
|
4223
|
+
// stability and similarity_boost run from 0 to 1 with defaults 0.5 and
|
|
4224
|
+
// 0.75; speed from 0.7 to 1.2 with 1 as the normal pace (its help center
|
|
4225
|
+
// states the bounds). Multilingual v2 takes 10,000 characters per request
|
|
4226
|
+
// (its models page). `speechRequestRefusal` refuses anything outside these
|
|
4227
|
+
// before a request is admitted.
|
|
4228
|
+
capabilities: {
|
|
4229
|
+
speech: {
|
|
4230
|
+
maxCharacters: 1e4,
|
|
4231
|
+
voiceSettings: {
|
|
4232
|
+
stability: { min: 0, max: 1, step: 0.05, default: 0.5 },
|
|
4233
|
+
similarityBoost: { min: 0, max: 1, step: 0.05, default: 0.75 },
|
|
4234
|
+
speed: { min: 0.7, max: 1.2, step: 0.05, default: 1 }
|
|
4235
|
+
}
|
|
4236
|
+
}
|
|
4237
|
+
},
|
|
4176
4238
|
isDefault: true
|
|
4177
4239
|
},
|
|
4178
4240
|
{
|
|
@@ -4236,14 +4298,20 @@ var CATALOG_ENTRIES2 = [
|
|
|
4236
4298
|
modality: "image",
|
|
4237
4299
|
task: "text-to-image",
|
|
4238
4300
|
label: "Gemini 2.5 Flash Image",
|
|
4239
|
-
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image."
|
|
4301
|
+
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image.",
|
|
4302
|
+
// Google's model page (read 2026-10-25): "Maximum images per prompt: 3".
|
|
4303
|
+
// The adapter sends every image inline, downloading Studio references
|
|
4304
|
+
// first (providers/vertex.ts), up to 7 MB each.
|
|
4305
|
+
capabilities: { maxInputImages: 3 }
|
|
4240
4306
|
},
|
|
4241
4307
|
{
|
|
4242
4308
|
id: "vertex/gemini-3-pro-image-preview",
|
|
4243
4309
|
provider: "vertex",
|
|
4244
4310
|
modality: "image",
|
|
4245
4311
|
task: "text-to-image",
|
|
4246
|
-
label: "Nano Banana Pro (preview)"
|
|
4312
|
+
label: "Nano Banana Pro (preview)",
|
|
4313
|
+
// Google's model page for Gemini 3 Pro Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
4314
|
+
capabilities: { maxInputImages: 14 }
|
|
4247
4315
|
},
|
|
4248
4316
|
{
|
|
4249
4317
|
id: "vertex/gemini-3-1-flash-image-preview",
|
|
@@ -4251,7 +4319,9 @@ var CATALOG_ENTRIES2 = [
|
|
|
4251
4319
|
modality: "image",
|
|
4252
4320
|
task: "text-to-image",
|
|
4253
4321
|
label: "Gemini 3.1 Flash Image (preview)",
|
|
4254
|
-
description: "Vertex AI direct, newest flash variant. Global region. Preview status."
|
|
4322
|
+
description: "Vertex AI direct, newest flash variant. Global region. Preview status.",
|
|
4323
|
+
// Google's model page for Gemini 3.1 Flash Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
4324
|
+
capabilities: { maxInputImages: 14 }
|
|
4255
4325
|
}
|
|
4256
4326
|
];
|
|
4257
4327
|
var PINNED_FAL_NOTE2 = "Pinned to fal: a job on this entry never goes to KIE.";
|
|
@@ -5889,7 +5959,7 @@ var studioWorkflowDescribe = defineTool({
|
|
|
5889
5959
|
inputSchema: {
|
|
5890
5960
|
tasks: z7.array(z7.string().min(1)).min(1).optional().describe('Only these task ids (e.g. ["text-to-image", "image-to-video"]). An unknown id is an error that lists the known ones.'),
|
|
5891
5961
|
includeSettings: z7.boolean().default(false).describe("Include each task's settings knobs (key, type, range, default)."),
|
|
5892
|
-
includeModels: z7.boolean().default(false).describe("Include the model catalog per task (id, label, provider, price, isDefault). price is what one generation costs your company at the default settings: { usd, fromUsd? }.")
|
|
5962
|
+
includeModels: z7.boolean().default(false).describe("Include the model catalog per task (id, label, provider, price, isDefault). price is what one generation costs your company at the default settings: { usd, fromUsd? }. A voice model is billed per character: its price is { usd, per: { characters: 1000 }, maxUsd }, usd for 1,000 characters and maxUsd the most one generation costs.")
|
|
5893
5963
|
},
|
|
5894
5964
|
annotations: { readOnlyHint: true },
|
|
5895
5965
|
handler: async (args, ctx) => {
|
|
@@ -7772,7 +7842,7 @@ function registerTools(server, base) {
|
|
|
7772
7842
|
|
|
7773
7843
|
// src/server.ts
|
|
7774
7844
|
var SERVER_NAME = "lumitra-studio";
|
|
7775
|
-
var SERVER_VERSION = "0.
|
|
7845
|
+
var SERVER_VERSION = "0.16.0";
|
|
7776
7846
|
function createStudioMcpServer(opts = {}) {
|
|
7777
7847
|
const config = opts.config ?? resolveConfig(opts.env ?? process.env);
|
|
7778
7848
|
const client = new StudioClient(config, {
|
package/dist/index.d.ts
CHANGED
|
@@ -1578,6 +1578,20 @@ interface TaskDescriptor {
|
|
|
1578
1578
|
id: string;
|
|
1579
1579
|
label?: string;
|
|
1580
1580
|
provider?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* What one generation costs your company at the default settings. For a
|
|
1583
|
+
* model billed per character of its text (a voice model), `per` names the
|
|
1584
|
+
* unit: `usd` is the price of `per.characters` characters and `maxUsd` the
|
|
1585
|
+
* most one generation costs, at the longest text the model takes.
|
|
1586
|
+
*/
|
|
1587
|
+
price?: {
|
|
1588
|
+
usd: number;
|
|
1589
|
+
fromUsd?: number;
|
|
1590
|
+
per?: {
|
|
1591
|
+
characters: number;
|
|
1592
|
+
};
|
|
1593
|
+
maxUsd?: number;
|
|
1594
|
+
};
|
|
1581
1595
|
}>;
|
|
1582
1596
|
}
|
|
1583
1597
|
interface NodeTypesResponse {
|
|
@@ -2168,7 +2182,7 @@ declare function registerTools(server: McpServer, base: ToolContext): void;
|
|
|
2168
2182
|
*/
|
|
2169
2183
|
|
|
2170
2184
|
declare const SERVER_NAME = "lumitra-studio";
|
|
2171
|
-
declare const SERVER_VERSION = "0.
|
|
2185
|
+
declare const SERVER_VERSION = "0.16.0";
|
|
2172
2186
|
interface CreateServerOptions {
|
|
2173
2187
|
config?: StudioConfig;
|
|
2174
2188
|
env?: NodeJS.ProcessEnv;
|
package/dist/index.js
CHANGED
|
@@ -1505,7 +1505,23 @@ var CATALOG_ENTRIES = [
|
|
|
1505
1505
|
modality: "audio",
|
|
1506
1506
|
task: "text-to-speech",
|
|
1507
1507
|
label: "ElevenLabs Multilingual v2 (TTS)",
|
|
1508
|
-
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously.",
|
|
1508
|
+
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously. Up to 10,000 characters per request.",
|
|
1509
|
+
// ElevenLabs' text-to-speech API (voice_settings, checked 2026-10-25):
|
|
1510
|
+
// stability and similarity_boost run from 0 to 1 with defaults 0.5 and
|
|
1511
|
+
// 0.75; speed from 0.7 to 1.2 with 1 as the normal pace (its help center
|
|
1512
|
+
// states the bounds). Multilingual v2 takes 10,000 characters per request
|
|
1513
|
+
// (its models page). `speechRequestRefusal` refuses anything outside these
|
|
1514
|
+
// before a request is admitted.
|
|
1515
|
+
capabilities: {
|
|
1516
|
+
speech: {
|
|
1517
|
+
maxCharacters: 1e4,
|
|
1518
|
+
voiceSettings: {
|
|
1519
|
+
stability: { min: 0, max: 1, step: 0.05, default: 0.5 },
|
|
1520
|
+
similarityBoost: { min: 0, max: 1, step: 0.05, default: 0.75 },
|
|
1521
|
+
speed: { min: 0.7, max: 1.2, step: 0.05, default: 1 }
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1509
1525
|
isDefault: true
|
|
1510
1526
|
},
|
|
1511
1527
|
{
|
|
@@ -1569,14 +1585,20 @@ var CATALOG_ENTRIES = [
|
|
|
1569
1585
|
modality: "image",
|
|
1570
1586
|
task: "text-to-image",
|
|
1571
1587
|
label: "Gemini 2.5 Flash Image",
|
|
1572
|
-
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image."
|
|
1588
|
+
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image.",
|
|
1589
|
+
// Google's model page (read 2026-10-25): "Maximum images per prompt: 3".
|
|
1590
|
+
// The adapter sends every image inline, downloading Studio references
|
|
1591
|
+
// first (providers/vertex.ts), up to 7 MB each.
|
|
1592
|
+
capabilities: { maxInputImages: 3 }
|
|
1573
1593
|
},
|
|
1574
1594
|
{
|
|
1575
1595
|
id: "vertex/gemini-3-pro-image-preview",
|
|
1576
1596
|
provider: "vertex",
|
|
1577
1597
|
modality: "image",
|
|
1578
1598
|
task: "text-to-image",
|
|
1579
|
-
label: "Nano Banana Pro (preview)"
|
|
1599
|
+
label: "Nano Banana Pro (preview)",
|
|
1600
|
+
// Google's model page for Gemini 3 Pro Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
1601
|
+
capabilities: { maxInputImages: 14 }
|
|
1580
1602
|
},
|
|
1581
1603
|
{
|
|
1582
1604
|
id: "vertex/gemini-3-1-flash-image-preview",
|
|
@@ -1584,7 +1606,9 @@ var CATALOG_ENTRIES = [
|
|
|
1584
1606
|
modality: "image",
|
|
1585
1607
|
task: "text-to-image",
|
|
1586
1608
|
label: "Gemini 3.1 Flash Image (preview)",
|
|
1587
|
-
description: "Vertex AI direct, newest flash variant. Global region. Preview status."
|
|
1609
|
+
description: "Vertex AI direct, newest flash variant. Global region. Preview status.",
|
|
1610
|
+
// Google's model page for Gemini 3.1 Flash Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
1611
|
+
capabilities: { maxInputImages: 14 }
|
|
1588
1612
|
}
|
|
1589
1613
|
];
|
|
1590
1614
|
var PINNED_FAL_NOTE = "Pinned to fal: a job on this entry never goes to KIE.";
|
|
@@ -2063,6 +2087,12 @@ var VIDEO_MAX_SECONDS_AT_RESOLUTION = {
|
|
|
2063
2087
|
[LTX_25_FAST_I2V_ENDPOINT]: { "4k": 10 }
|
|
2064
2088
|
};
|
|
2065
2089
|
var VIDEO_UNSUPPORTED_PARAMS = {
|
|
2090
|
+
// Kling 2.5 Turbo and Seedance 1.0 Pro render silent clips and their schemas
|
|
2091
|
+
// declare no audio field at all (fal model schemas, checked 2026-10-25), so a
|
|
2092
|
+
// sound choice is refused before submit instead of being sent and ignored.
|
|
2093
|
+
"fal-ai/kling-video/v2.5-turbo/pro/image-to-video": ["generateAudio"],
|
|
2094
|
+
"fal-ai/bytedance/seedance/v1/pro/image-to-video": ["generateAudio"],
|
|
2095
|
+
"fal-ai/bytedance/seedance/v1/pro/text-to-video": ["generateAudio"],
|
|
2066
2096
|
// Kling O3 Edit follows the source clip: its length, frame, size and look are
|
|
2067
2097
|
// the source's, and the endpoint declares none of these knobs. A duration in
|
|
2068
2098
|
// particular would only have been a (wrong) billing figure; the completer
|
|
@@ -2109,6 +2139,22 @@ var VIDEO_UNSUPPORTED_PARAMS = {
|
|
|
2109
2139
|
[KLING_O3_PRO_R2V_ENDPOINT]: ["resolution", "seed", "negativePrompt"],
|
|
2110
2140
|
...Object.fromEntries(LTX_25_I2V_ENDPOINTS.map((e) => [e, ["seed", "negativePrompt"]]))
|
|
2111
2141
|
};
|
|
2142
|
+
var VIDEO_AUDIO_SWITCH = {
|
|
2143
|
+
...Object.fromEntries(VEO_ENDPOINTS.map((e) => [e, { default: false }])),
|
|
2144
|
+
[KLING_26_I2V_ENDPOINT]: { default: false },
|
|
2145
|
+
...Object.fromEntries(KLING_O3_I2V_ENDPOINTS.map((e) => [e, { default: false }])),
|
|
2146
|
+
[KLING_O3_PRO_R2V_ENDPOINT]: { default: false },
|
|
2147
|
+
"bytedance/seedance-2.5/image-to-video": { default: true },
|
|
2148
|
+
"bytedance/seedance-2.0/image-to-video": { default: true },
|
|
2149
|
+
[WAN_30_I2V_ENDPOINT]: { default: true },
|
|
2150
|
+
...Object.fromEntries(LTX_25_I2V_ENDPOINTS.map((e) => [e, { default: true }])),
|
|
2151
|
+
"blackforestlabs/flux-3/image-to-video/draft": { default: true },
|
|
2152
|
+
"blackforestlabs/flux-3/first-last-frame-to-video/draft": { default: true },
|
|
2153
|
+
"blackforestlabs/flux-3/keyframes-to-video/draft": { default: true },
|
|
2154
|
+
"blackforestlabs/flux-3/image-to-video": { default: true },
|
|
2155
|
+
"blackforestlabs/flux-3/first-last-frame-to-video": { default: true },
|
|
2156
|
+
"blackforestlabs/flux-3/keyframes-to-video": { default: true }
|
|
2157
|
+
};
|
|
2112
2158
|
var ROWS = [
|
|
2113
2159
|
[0, "Idle", "DailyActions", "Idle"],
|
|
2114
2160
|
[1, "Walking_Woman", "WalkAndRun", "Walking"],
|
|
@@ -4164,7 +4210,23 @@ var CATALOG_ENTRIES2 = [
|
|
|
4164
4210
|
modality: "audio",
|
|
4165
4211
|
task: "text-to-speech",
|
|
4166
4212
|
label: "ElevenLabs Multilingual v2 (TTS)",
|
|
4167
|
-
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously.",
|
|
4213
|
+
description: "ElevenLabs Multilingual v2 text-to-speech. 99+ languages, brand-voice cloning capable. Default text-to-speech. Returns mp3 bytes synchronously. Up to 10,000 characters per request.",
|
|
4214
|
+
// ElevenLabs' text-to-speech API (voice_settings, checked 2026-10-25):
|
|
4215
|
+
// stability and similarity_boost run from 0 to 1 with defaults 0.5 and
|
|
4216
|
+
// 0.75; speed from 0.7 to 1.2 with 1 as the normal pace (its help center
|
|
4217
|
+
// states the bounds). Multilingual v2 takes 10,000 characters per request
|
|
4218
|
+
// (its models page). `speechRequestRefusal` refuses anything outside these
|
|
4219
|
+
// before a request is admitted.
|
|
4220
|
+
capabilities: {
|
|
4221
|
+
speech: {
|
|
4222
|
+
maxCharacters: 1e4,
|
|
4223
|
+
voiceSettings: {
|
|
4224
|
+
stability: { min: 0, max: 1, step: 0.05, default: 0.5 },
|
|
4225
|
+
similarityBoost: { min: 0, max: 1, step: 0.05, default: 0.75 },
|
|
4226
|
+
speed: { min: 0.7, max: 1.2, step: 0.05, default: 1 }
|
|
4227
|
+
}
|
|
4228
|
+
}
|
|
4229
|
+
},
|
|
4168
4230
|
isDefault: true
|
|
4169
4231
|
},
|
|
4170
4232
|
{
|
|
@@ -4228,14 +4290,20 @@ var CATALOG_ENTRIES2 = [
|
|
|
4228
4290
|
modality: "image",
|
|
4229
4291
|
task: "text-to-image",
|
|
4230
4292
|
label: "Gemini 2.5 Flash Image",
|
|
4231
|
-
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image."
|
|
4293
|
+
description: "Vertex AI direct. Fallback if KIE pricing or reliability turns sour. Needs GAC_JSON provisioning to activate. Google retires this model on 2027-03-15 (deprecations table, checked 2026-10-07); its named successor is gemini-3.1-flash-lite-image.",
|
|
4294
|
+
// Google's model page (read 2026-10-25): "Maximum images per prompt: 3".
|
|
4295
|
+
// The adapter sends every image inline, downloading Studio references
|
|
4296
|
+
// first (providers/vertex.ts), up to 7 MB each.
|
|
4297
|
+
capabilities: { maxInputImages: 3 }
|
|
4232
4298
|
},
|
|
4233
4299
|
{
|
|
4234
4300
|
id: "vertex/gemini-3-pro-image-preview",
|
|
4235
4301
|
provider: "vertex",
|
|
4236
4302
|
modality: "image",
|
|
4237
4303
|
task: "text-to-image",
|
|
4238
|
-
label: "Nano Banana Pro (preview)"
|
|
4304
|
+
label: "Nano Banana Pro (preview)",
|
|
4305
|
+
// Google's model page for Gemini 3 Pro Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
4306
|
+
capabilities: { maxInputImages: 14 }
|
|
4239
4307
|
},
|
|
4240
4308
|
{
|
|
4241
4309
|
id: "vertex/gemini-3-1-flash-image-preview",
|
|
@@ -4243,7 +4311,9 @@ var CATALOG_ENTRIES2 = [
|
|
|
4243
4311
|
modality: "image",
|
|
4244
4312
|
task: "text-to-image",
|
|
4245
4313
|
label: "Gemini 3.1 Flash Image (preview)",
|
|
4246
|
-
description: "Vertex AI direct, newest flash variant. Global region. Preview status."
|
|
4314
|
+
description: "Vertex AI direct, newest flash variant. Global region. Preview status.",
|
|
4315
|
+
// Google's model page for Gemini 3.1 Flash Image (read 2026-10-25): "Maximum images per prompt: 14".
|
|
4316
|
+
capabilities: { maxInputImages: 14 }
|
|
4247
4317
|
}
|
|
4248
4318
|
];
|
|
4249
4319
|
var PINNED_FAL_NOTE2 = "Pinned to fal: a job on this entry never goes to KIE.";
|
|
@@ -5884,7 +5954,7 @@ var studioWorkflowDescribe = defineTool({
|
|
|
5884
5954
|
inputSchema: {
|
|
5885
5955
|
tasks: z7.array(z7.string().min(1)).min(1).optional().describe('Only these task ids (e.g. ["text-to-image", "image-to-video"]). An unknown id is an error that lists the known ones.'),
|
|
5886
5956
|
includeSettings: z7.boolean().default(false).describe("Include each task's settings knobs (key, type, range, default)."),
|
|
5887
|
-
includeModels: z7.boolean().default(false).describe("Include the model catalog per task (id, label, provider, price, isDefault). price is what one generation costs your company at the default settings: { usd, fromUsd? }.")
|
|
5957
|
+
includeModels: z7.boolean().default(false).describe("Include the model catalog per task (id, label, provider, price, isDefault). price is what one generation costs your company at the default settings: { usd, fromUsd? }. A voice model is billed per character: its price is { usd, per: { characters: 1000 }, maxUsd }, usd for 1,000 characters and maxUsd the most one generation costs.")
|
|
5888
5958
|
},
|
|
5889
5959
|
annotations: { readOnlyHint: true },
|
|
5890
5960
|
handler: async (args, ctx) => {
|
|
@@ -7767,7 +7837,7 @@ function registerTools(server, base) {
|
|
|
7767
7837
|
|
|
7768
7838
|
// src/server.ts
|
|
7769
7839
|
var SERVER_NAME = "lumitra-studio";
|
|
7770
|
-
var SERVER_VERSION = "0.
|
|
7840
|
+
var SERVER_VERSION = "0.16.0";
|
|
7771
7841
|
function createStudioMcpServer(opts = {}) {
|
|
7772
7842
|
const config = opts.config ?? resolveConfig(opts.env ?? process.env);
|
|
7773
7843
|
const client = new StudioClient(config, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marlinjai/studio-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
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",
|