@nodetool-ai/integration-nodes 0.8.9 → 0.8.14

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.
Files changed (42) hide show
  1. package/README.md +17 -6
  2. package/dist/.nodetool-build-stamp +1 -1
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +5 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/nodes/comfy-graph-cloud.d.ts +113 -0
  8. package/dist/nodes/comfy-graph-cloud.d.ts.map +1 -0
  9. package/dist/nodes/comfy-graph-cloud.js +578 -0
  10. package/dist/nodes/comfy-graph-cloud.js.map +1 -0
  11. package/dist/nodes/comfy-sdk.d.ts +30 -1
  12. package/dist/nodes/comfy-sdk.d.ts.map +1 -1
  13. package/dist/nodes/comfy-sdk.js +143 -32
  14. package/dist/nodes/comfy-sdk.js.map +1 -1
  15. package/dist/nodes/comfy-server-status.d.ts +31 -0
  16. package/dist/nodes/comfy-server-status.d.ts.map +1 -0
  17. package/dist/nodes/comfy-server-status.js +65 -0
  18. package/dist/nodes/comfy-server-status.js.map +1 -0
  19. package/dist/nodes/comfy-server-transport.d.ts +32 -0
  20. package/dist/nodes/comfy-server-transport.d.ts.map +1 -0
  21. package/dist/nodes/comfy-server-transport.js +177 -0
  22. package/dist/nodes/comfy-server-transport.js.map +1 -0
  23. package/dist/nodes/comfy-target.d.ts +26 -0
  24. package/dist/nodes/comfy-target.d.ts.map +1 -0
  25. package/dist/nodes/comfy-target.js +61 -0
  26. package/dist/nodes/comfy-target.js.map +1 -0
  27. package/dist/nodes/comfy-worker-transport.d.ts +16 -0
  28. package/dist/nodes/comfy-worker-transport.d.ts.map +1 -0
  29. package/dist/nodes/comfy-worker-transport.js +153 -0
  30. package/dist/nodes/comfy-worker-transport.js.map +1 -0
  31. package/dist/nodes/comfy.d.ts +3 -8
  32. package/dist/nodes/comfy.d.ts.map +1 -1
  33. package/dist/nodes/comfy.js +5 -72
  34. package/dist/nodes/comfy.js.map +1 -1
  35. package/dist/nodes/kie-dynamic.d.ts.map +1 -1
  36. package/dist/nodes/kie-dynamic.js +13 -10
  37. package/dist/nodes/kie-dynamic.js.map +1 -1
  38. package/dist/nodes/wan2gp.d.ts +141 -0
  39. package/dist/nodes/wan2gp.d.ts.map +1 -0
  40. package/dist/nodes/wan2gp.js +505 -0
  41. package/dist/nodes/wan2gp.js.map +1 -0
  42. package/package.json +6 -6
@@ -0,0 +1,505 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ /**
8
+ * Nodes for a Wan2GP server: the one the Package Manager installs, which
9
+ * NodeTool starts on demand, or one the user runs and names in
10
+ * WAN2GP_MCP_URL.
11
+ *
12
+ * Every call goes over MCP through `withWan2GPClient` in the runtime, which
13
+ * the `wangp` provider also uses.
14
+ */
15
+ import { BaseNode, prop } from "@nodetool-ai/node-sdk";
16
+ import { tagAsServer } from "@nodetool-ai/nodes-utils";
17
+ import { WAN2GP_DEFAULT_MAX_MEDIA_BYTES, WAN2GP_MAX_MEDIA_BYTES, loadMediaRefBytes, markWan2GPModelAvailable, withWan2GPClient, wan2gpAudioFilename, wan2gpImageFilename, wan2gpVideoFilename } from "@nodetool-ai/runtime";
18
+ /** Wan2GP's latent grid needs a resolution that is a multiple of this. */
19
+ const RESOLUTION_MULTIPLE = 16;
20
+ /** Reserved API metadata in a settings dict, not a generation setting. */
21
+ const API_KEY = "_api";
22
+ /** Settings a model's custom_file declaration may name to make the file count. */
23
+ const CUSTOM_FILE_MODES = ["model_mode", "video_prompt_type", "audio_prompt_type"];
24
+ const MIME_TYPES = {
25
+ png: "image/png",
26
+ jpg: "image/jpeg",
27
+ jpeg: "image/jpeg",
28
+ webp: "image/webp",
29
+ gif: "image/gif",
30
+ mp4: "video/mp4",
31
+ mov: "video/quicktime",
32
+ webm: "video/webm",
33
+ mkv: "video/x-matroska",
34
+ wav: "audio/wav",
35
+ mp3: "audio/mpeg",
36
+ flac: "audio/flac",
37
+ ogg: "audio/ogg",
38
+ m4a: "audio/mp4",
39
+ glb: "model/gltf-binary",
40
+ gltf: "model/gltf+json",
41
+ obj: "model/obj",
42
+ ply: "application/octet-stream"
43
+ };
44
+ /**
45
+ * The node's own URL, then the WAN2GP_MCP_URL setting (which falls back to
46
+ * the run's environment). Empty means the Wan2GP the Package Manager
47
+ * installed, then the default local server.
48
+ */
49
+ export async function resolveWan2GPServerUrl(serverUrl, context) {
50
+ const explicit = serverUrl?.trim();
51
+ if (explicit)
52
+ return explicit;
53
+ const configured = context
54
+ ? await context.getSetting("WAN2GP_MCP_URL")
55
+ : process.env["WAN2GP_MCP_URL"];
56
+ return configured?.trim() ?? "";
57
+ }
58
+ /** Return Wan2GP's `WxH` string. Each side must be a positive multiple of 16. */
59
+ export function wan2gpResolutionString(width, height) {
60
+ for (const [name, value] of [["width", width], ["height", height]]) {
61
+ if (!Number.isInteger(value) || value <= 0) {
62
+ throw new Error(`Wan2GP needs a positive whole ${name}. Got ${value}.`);
63
+ }
64
+ if (value % RESOLUTION_MULTIPLE !== 0) {
65
+ const lower = value - (value % RESOLUTION_MULTIPLE);
66
+ throw new Error(`Wan2GP needs a ${name} that is a multiple of ${RESOLUTION_MULTIPLE}. Got ${value}. Use ${lower || RESOLUTION_MULTIPLE} or ${lower + RESOLUTION_MULTIPLE}.`);
67
+ }
68
+ }
69
+ return `${width}x${height}`;
70
+ }
71
+ /** Return the `activated_loras` and `loras_multipliers` settings. */
72
+ export function wan2gpLoraSettings(loras, multipliers) {
73
+ if (multipliers.length > 0 && multipliers.length !== loras.length) {
74
+ throw new Error(`Wan2GP needs one multiplier per LoRA. Got ${loras.length} LoRAs and ${multipliers.length} multipliers.`);
75
+ }
76
+ if (loras.length === 0)
77
+ return {};
78
+ const weights = multipliers.length > 0 ? multipliers : loras.map(() => 1);
79
+ return { activated_loras: [...loras], loras_multipliers: weights.map((weight) => String(weight)).join(" ") };
80
+ }
81
+ /**
82
+ * Merge the Generate node's settings over the model defaults. Precedence,
83
+ * lowest first: the defaults, the node's seed, the user's settings, the
84
+ * uploaded media. `model_type` is a node field, so it always wins.
85
+ */
86
+ export function wan2gpMergedSettings(input) {
87
+ const user = Object.fromEntries(Object.entries(input.userSettings).filter(([key]) => key !== API_KEY));
88
+ return { ...input.defaults, seed: input.seed, ...user, ...input.media, model_type: input.modelType };
89
+ }
90
+ /** Return the file name for a custom file, from the field or the asset URI. */
91
+ export function wan2gpCustomFilename(asset, explicit) {
92
+ let name = explicit.trim();
93
+ const uri = typeof asset === "object" && asset !== null && "uri" in asset ? String(asset.uri ?? "") : "";
94
+ if (!name && uri) {
95
+ try {
96
+ name = decodeURIComponent(new URL(uri, "file:///").pathname.split("/").pop() ?? "");
97
+ }
98
+ catch {
99
+ name = "";
100
+ }
101
+ }
102
+ if (!name) {
103
+ throw new Error("Set custom_file_name to the file's name with its extension, for example trajectory.npy.");
104
+ }
105
+ if (/[\\/]/.test(name) || name === "." || name === "..") {
106
+ throw new Error(`custom_file_name must be a file name without folders. Got ${JSON.stringify(name)}.`);
107
+ }
108
+ const dot = name.lastIndexOf(".");
109
+ if (dot <= 0 || dot === name.length - 1) {
110
+ throw new Error(`custom_file_name needs an extension, for example .npy. Got ${JSON.stringify(name)}.`);
111
+ }
112
+ return name;
113
+ }
114
+ function connected(value) {
115
+ if (!value || typeof value !== "object")
116
+ return false;
117
+ const ref = value;
118
+ const data = ref.data;
119
+ return Boolean(ref.uri) || Boolean(ref.asset_id) || (data?.length ?? 0) > 0;
120
+ }
121
+ async function mediaBytes(value, context, what) {
122
+ const bytes = await loadMediaRefBytes(value, context);
123
+ if (!bytes || bytes.length === 0)
124
+ throw new Error(`Could not load the ${what} for Wan2GP.`);
125
+ return bytes;
126
+ }
127
+ function outputRef(kind, data, filename) {
128
+ const extension = filename?.split(".").pop()?.toLowerCase() ?? "";
129
+ const base64 = Buffer.from(data).toString("base64");
130
+ if (kind === "3d") {
131
+ const format = extension || "glb";
132
+ return { type: "model_3d", uri: "", data: base64, format, content_type: MIME_TYPES[format] ?? "model/gltf-binary" };
133
+ }
134
+ const fallback = { image: "image/png", video: "video/mp4", audio: "audio/wav" }[kind];
135
+ return { type: kind, uri: "", data: base64, content_type: MIME_TYPES[extension] ?? fallback };
136
+ }
137
+ /** The WAN2GP_MCP_TOKEN secret, then the run's environment. Empty when unset. */
138
+ export async function resolveWan2GPToken(context) {
139
+ const token = context ? await context.getSecret("WAN2GP_MCP_TOKEN") : process.env["WAN2GP_MCP_TOKEN"];
140
+ return token?.trim() ?? "";
141
+ }
142
+ /** Shared connection fields and the submit, poll and download loop. */
143
+ class Wan2GPNodeBase extends BaseNode {
144
+ static autoSaveAsset = true;
145
+ async uploadImage(client, context, image) {
146
+ const data = await mediaBytes(image, context, "image");
147
+ return client.uploadMedia(wan2gpImageFilename(data), data);
148
+ }
149
+ async uploadVideo(client, context, video) {
150
+ const data = await mediaBytes(video, context, "video");
151
+ return client.uploadMedia(wan2gpVideoFilename(data), data);
152
+ }
153
+ async uploadAudio(client, context, audio) {
154
+ const data = await mediaBytes(audio, context, "audio");
155
+ return client.uploadMedia(wan2gpAudioFilename(data), data);
156
+ }
157
+ postProgress(context, progress) {
158
+ const nodeId = this.__node_id;
159
+ if (!context || !nodeId)
160
+ return;
161
+ // The step counter is more useful than the percentage when a phase has one.
162
+ const stepped = typeof progress.current_step === "number" && typeof progress.total_steps === "number" && progress.total_steps > 0;
163
+ context.postMessage({
164
+ type: "node_progress",
165
+ node_id: nodeId,
166
+ progress: stepped ? progress.current_step : Math.trunc(Number(progress.progress ?? 0)),
167
+ total: stepped ? progress.total_steps : 100
168
+ });
169
+ }
170
+ /** Submit one generation, follow it, and return its first output as a ref. */
171
+ async runGeneration(context, buildSettings, expected) {
172
+ const signal = context?.signal;
173
+ const connection = {
174
+ serverUrl: await resolveWan2GPServerUrl(this.server_url, context),
175
+ maxTransferBytes: this.max_media_bytes,
176
+ signal,
177
+ token: await resolveWan2GPToken(context)
178
+ };
179
+ return withWan2GPClient(connection, async (client) => {
180
+ const settings = await buildSettings(client);
181
+ signal?.throwIfAborted();
182
+ const jobId = await client.submit(settings);
183
+ const job = await client.pollUntilDone(jobId, {
184
+ timeoutMs: this.timeout_seconds * 1000,
185
+ signal,
186
+ onProgress: (progress) => this.postProgress(context, progress)
187
+ });
188
+ const { item, data } = await client.downloadFirstOutput(job, expected ? [expected] : ["image", "video", "audio", "3d"]);
189
+ const kind = item.media_type;
190
+ // A finished run downloaded whatever the model lacked.
191
+ if (!connection.serverUrl)
192
+ void markWan2GPModelAvailable(String(settings.model_type));
193
+ return { kind, ref: outputRef(kind, data, item.filename) };
194
+ });
195
+ }
196
+ }
197
+ __decorate([
198
+ prop({
199
+ type: "str",
200
+ default: "",
201
+ title: "Server URL",
202
+ description: "MCP endpoint of a Wan2GP server, for example http://127.0.0.1:7866/mcp. Leave blank to use the WAN2GP_MCP_URL setting, then the Wan2GP installed in the Package Manager, then localhost."
203
+ })
204
+ ], Wan2GPNodeBase.prototype, "server_url", void 0);
205
+ __decorate([
206
+ prop({
207
+ type: "int",
208
+ default: 1800,
209
+ min: 1,
210
+ title: "Timeout",
211
+ description: "How long to wait for one generation, in seconds. The job is cancelled on the server when it runs out."
212
+ })
213
+ ], Wan2GPNodeBase.prototype, "timeout_seconds", void 0);
214
+ __decorate([
215
+ prop({
216
+ type: "int",
217
+ default: WAN2GP_DEFAULT_MAX_MEDIA_BYTES,
218
+ min: 1,
219
+ max: WAN2GP_MAX_MEDIA_BYTES,
220
+ title: "Max Media Bytes",
221
+ description: "Largest upload or download in bytes. Defaults to 512 MiB, at most 8 GiB."
222
+ })
223
+ ], Wan2GPNodeBase.prototype, "max_media_bytes", void 0);
224
+ __decorate([
225
+ prop({ type: "int", default: -1, min: -1, title: "Seed", description: "Random seed. Use -1 to let Wan2GP pick a new seed for every run." })
226
+ ], Wan2GPNodeBase.prototype, "seed", void 0);
227
+ /** Fields the text-to-video and image-to-video nodes share. */
228
+ class Wan2GPVideoNodeBase extends Wan2GPNodeBase {
229
+ static metadataOutputTypes = { output: "video" };
230
+ videoSettings(modelType, prompt, imageStart) {
231
+ const settings = {
232
+ model_type: modelType,
233
+ prompt,
234
+ resolution: wan2gpResolutionString(this.width, this.height),
235
+ video_length: this.num_frames,
236
+ force_fps: this.fps,
237
+ num_inference_steps: this.num_inference_steps,
238
+ seed: this.seed,
239
+ ...wan2gpLoraSettings(this.loras ?? [], this.lora_multipliers ?? [])
240
+ };
241
+ if (this.negative_prompt)
242
+ settings.negative_prompt = this.negative_prompt;
243
+ if (imageStart !== undefined) {
244
+ settings.image_start = imageStart;
245
+ settings.image_prompt_type = "S";
246
+ }
247
+ return settings;
248
+ }
249
+ }
250
+ __decorate([
251
+ prop({ type: "str", default: "", title: "Negative Prompt", description: "What to keep out of the video. Leave empty to use the model default." })
252
+ ], Wan2GPVideoNodeBase.prototype, "negative_prompt", void 0);
253
+ __decorate([
254
+ prop({ type: "int", default: 832, min: 16, title: "Width", description: "Output width in pixels. Must be a multiple of 16." })
255
+ ], Wan2GPVideoNodeBase.prototype, "width", void 0);
256
+ __decorate([
257
+ prop({ type: "int", default: 480, min: 16, title: "Height", description: "Output height in pixels. Must be a multiple of 16." })
258
+ ], Wan2GPVideoNodeBase.prototype, "height", void 0);
259
+ __decorate([
260
+ prop({ type: "int", default: 81, min: 1, title: "Frames", description: "Number of frames. Wan2GP rounds this to the nearest count the model allows." })
261
+ ], Wan2GPVideoNodeBase.prototype, "num_frames", void 0);
262
+ __decorate([
263
+ prop({ type: "int", default: 16, min: 1, title: "FPS", description: "Frames per second of the output video." })
264
+ ], Wan2GPVideoNodeBase.prototype, "fps", void 0);
265
+ __decorate([
266
+ prop({ type: "int", default: 30, min: 1, title: "Steps", description: "Denoising steps. More steps give more detail and take longer." })
267
+ ], Wan2GPVideoNodeBase.prototype, "num_inference_steps", void 0);
268
+ __decorate([
269
+ prop({ type: "list[str]", default: [], title: "LoRAs", description: "LoRA identifiers to activate, as the server lists them." })
270
+ ], Wan2GPVideoNodeBase.prototype, "loras", void 0);
271
+ __decorate([
272
+ prop({ type: "list[float]", default: [], title: "LoRA Multipliers", description: "Weight for each LoRA, in the same order. Leave empty for a weight of 1 each." })
273
+ ], Wan2GPVideoNodeBase.prototype, "lora_multipliers", void 0);
274
+ export class Wan2GPTextToVideoNode extends Wan2GPVideoNodeBase {
275
+ static nodeType = "lib.wan2gp.TextToVideo";
276
+ static title = "Text To Video (Wan2GP)";
277
+ static description = "Generate a video from a prompt with a Wan video model on your own Wan2GP server.\n video, generation, text-to-video, Wan, Wan2GP, local\n\n Use cases:\n - Turn a written scene description into a short clip\n - Produce b-roll and background footage for an edit\n - Run prompt variations on local hardware without an API bill";
278
+ static basicFields = ["prompt", "model_type", "width", "height", "num_frames"];
279
+ static inlineFields = [];
280
+ static inputFields = ["prompt"];
281
+ /** Return the settings this node sends to `wangp_generate`. */
282
+ buildSettings() {
283
+ if (!this.prompt.trim())
284
+ throw new Error("Prompt is required");
285
+ return this.videoSettings(this.model_type, this.prompt);
286
+ }
287
+ async process(context) {
288
+ const settings = this.buildSettings();
289
+ const { ref } = await this.runGeneration(context, async () => settings, "video");
290
+ return { output: ref };
291
+ }
292
+ }
293
+ __decorate([
294
+ prop({ type: "str", default: "", title: "Prompt", required: true, description: "Description of the video to generate." })
295
+ ], Wan2GPTextToVideoNode.prototype, "prompt", void 0);
296
+ __decorate([
297
+ prop({ type: "str", default: "t2v_2_2", title: "Model", description: "Wan2GP model id, for example t2v_2_2. The List Models node shows the ids your server offers." })
298
+ ], Wan2GPTextToVideoNode.prototype, "model_type", void 0);
299
+ export class Wan2GPImageToVideoNode extends Wan2GPVideoNodeBase {
300
+ static nodeType = "lib.wan2gp.ImageToVideo";
301
+ static title = "Image To Video (Wan2GP)";
302
+ static description = "Animate a still image with a Wan image-to-video model on your own Wan2GP server.\n video, generation, image-to-video, animation, Wan, Wan2GP, local\n\n Use cases:\n - Animate a photograph or a piece of artwork\n - Add camera movement to a product shot\n - Test motion prompts against one fixed first frame";
303
+ static basicFields = ["image", "prompt", "model_type", "width", "height", "num_frames"];
304
+ static inlineFields = [];
305
+ static inputFields = ["image", "prompt"];
306
+ async process(context) {
307
+ const image = this.image;
308
+ if (!connected(image))
309
+ throw new Error("Image To Video needs a starting image.");
310
+ wan2gpResolutionString(this.width, this.height);
311
+ const { ref } = await this.runGeneration(context, async (client) => this.videoSettings(this.model_type, this.prompt, await this.uploadImage(client, context, image)), "video");
312
+ return { output: ref };
313
+ }
314
+ }
315
+ __decorate([
316
+ prop({ type: "image", default: null, title: "Image", required: true, description: "The first frame of the video." })
317
+ ], Wan2GPImageToVideoNode.prototype, "image", void 0);
318
+ __decorate([
319
+ prop({ type: "str", default: "", title: "Prompt", description: "How the image should move." })
320
+ ], Wan2GPImageToVideoNode.prototype, "prompt", void 0);
321
+ __decorate([
322
+ prop({ type: "str", default: "i2v_2_2", title: "Model", description: "Wan2GP model id, for example i2v_2_2. The List Models node shows the ids your server offers." })
323
+ ], Wan2GPImageToVideoNode.prototype, "model_type", void 0);
324
+ export class Wan2GPGenerateNode extends Wan2GPNodeBase {
325
+ static nodeType = "lib.wan2gp.Generate";
326
+ static title = "Generate (Wan2GP)";
327
+ static description = "Run any model on your own Wan2GP server with the settings you supply, and return its image, video, audio or 3D model.\n generation, video, image, audio, 3d, Wan, Wan2GP, advanced, local\n\n The node starts from the model's own defaults and applies your settings on top. Each connected media input is uploaded and sent under the Wan2GP setting its description names. Wan2GP turns on the matching start, end, reference and audio modes itself. Control and mask videos also need a video_prompt_type in settings, such as \"VA\", unless the model's defaults enable them.\n\n Use cases:\n - Drive a model the other Wan2GP nodes do not cover\n - Set guidance, flow shift, sliding windows or other expert settings\n - Run a control-guided or video-to-video generation\n - Feed a model its extra input file, such as a trajectory or a score";
328
+ static basicFields = ["model_type", "settings"];
329
+ static metadataOutputTypes = { output: "union[image, video, audio, model_3d]" };
330
+ static inlineFields = [];
331
+ static inputFields = [
332
+ "image",
333
+ "image_end",
334
+ "reference_images",
335
+ "video",
336
+ "video_mask",
337
+ "source_video",
338
+ "audio",
339
+ "custom_file"
340
+ ];
341
+ /** Merge the model defaults, the uploaded media and the user settings. */
342
+ async buildSettings(client, context) {
343
+ const userSettings = this.settings ?? {};
344
+ const custom = this.custom_file;
345
+ const customName = connected(custom) ? wan2gpCustomFilename(custom, this.custom_file_name ?? "") : null;
346
+ const defaults = await client.getModelDefaults(this.model_type);
347
+ const media = {};
348
+ for (const [key, image] of [["image_start", this.image], ["image_end", this.image_end]]) {
349
+ if (connected(image))
350
+ media[key] = await this.uploadImage(client, context, image);
351
+ }
352
+ const references = (this.reference_images ?? []).filter(connected);
353
+ if (references.length > 0) {
354
+ const ids = [];
355
+ for (const image of references)
356
+ ids.push(await this.uploadImage(client, context, image));
357
+ media.image_refs = ids;
358
+ }
359
+ for (const [key, video] of [
360
+ ["video_guide", this.video],
361
+ ["video_mask", this.video_mask],
362
+ ["video_source", this.source_video]
363
+ ]) {
364
+ if (connected(video))
365
+ media[key] = await this.uploadVideo(client, context, video);
366
+ }
367
+ if (connected(this.audio))
368
+ media.audio_guide = await this.uploadAudio(client, context, this.audio);
369
+ if (customName !== null && connected(custom)) {
370
+ const data = await mediaBytes(custom, context, "custom file");
371
+ media.custom_guide = await client.uploadFile(customName, data);
372
+ // A model's defaults can leave its custom file unused: yue2 reads its
373
+ // score only in audio_prompt_type "1". A mode set in settings is kept.
374
+ const metadata = await client.getModelCapabilities(this.model_type);
375
+ const inputs = (metadata.media_inputs ?? {});
376
+ const declared = (inputs.custom_file ?? {});
377
+ for (const key of CUSTOM_FILE_MODES) {
378
+ if (key in declared && !(key in userSettings))
379
+ media[key] = declared[key];
380
+ }
381
+ }
382
+ return wan2gpMergedSettings({ defaults, modelType: this.model_type, seed: this.seed, userSettings, media });
383
+ }
384
+ async process(context) {
385
+ const { ref } = await this.runGeneration(context, (client) => this.buildSettings(client, context));
386
+ return { output: ref };
387
+ }
388
+ }
389
+ __decorate([
390
+ prop({ type: "str", default: "t2v_2_2", title: "Model", description: "Wan2GP model id. The List Models node shows the ids your server offers." })
391
+ ], Wan2GPGenerateNode.prototype, "model_type", void 0);
392
+ __decorate([
393
+ prop({
394
+ type: "dict[str, any]",
395
+ default: {},
396
+ title: "Settings",
397
+ description: "Wan2GP generation settings applied on top of the model defaults, such as prompt, resolution, video_length, num_inference_steps and guidance_scale. The reserved _api key is removed."
398
+ })
399
+ ], Wan2GPGenerateNode.prototype, "settings", void 0);
400
+ __decorate([
401
+ prop({ type: "image", default: null, title: "Start Image", description: "Sent as image_start." })
402
+ ], Wan2GPGenerateNode.prototype, "image", void 0);
403
+ __decorate([
404
+ prop({ type: "image", default: null, title: "End Image", description: "Sent as image_end, for models that take a last frame." })
405
+ ], Wan2GPGenerateNode.prototype, "image_end", void 0);
406
+ __decorate([
407
+ prop({ type: "list[image]", default: [], title: "Reference Images", description: "Sent in order as image_refs, for models that take a subject, style or background reference." })
408
+ ], Wan2GPGenerateNode.prototype, "reference_images", void 0);
409
+ __decorate([
410
+ prop({ type: "video", default: null, title: "Control Video", description: "Sent as video_guide." })
411
+ ], Wan2GPGenerateNode.prototype, "video", void 0);
412
+ __decorate([
413
+ prop({ type: "video", default: null, title: "Mask Video", description: "Sent as video_mask. Needs a control video and a video_prompt_type with A." })
414
+ ], Wan2GPGenerateNode.prototype, "video_mask", void 0);
415
+ __decorate([
416
+ prop({ type: "video", default: null, title: "Source Video", description: "Sent as video_source, the video to continue from." })
417
+ ], Wan2GPGenerateNode.prototype, "source_video", void 0);
418
+ __decorate([
419
+ prop({ type: "audio", default: null, title: "Audio", description: "Sent as audio_guide, such as speech for lip sync." })
420
+ ], Wan2GPGenerateNode.prototype, "audio", void 0);
421
+ __decorate([
422
+ prop({
423
+ type: "asset",
424
+ default: null,
425
+ title: "Custom File",
426
+ description: "Sent as custom_guide: the extra input file some models require, such as a trajectory (.npy) for wanmove or a score (.abc) for yue2."
427
+ })
428
+ ], Wan2GPGenerateNode.prototype, "custom_file", void 0);
429
+ __decorate([
430
+ prop({
431
+ type: "str",
432
+ default: "",
433
+ title: "Custom File Name",
434
+ description: "File name of the custom file with its extension, for example trajectory.npy. Leave blank to take it from the file's URI."
435
+ })
436
+ ], Wan2GPGenerateNode.prototype, "custom_file_name", void 0);
437
+ const ROW_KEYS = ["model_type", "name", "family", "main_output", "outputs", "inputs", "media_inputs", "capabilities"];
438
+ export class Wan2GPListModelsNode extends BaseNode {
439
+ static nodeType = "lib.wan2gp.ListModels";
440
+ static title = "List Models (Wan2GP)";
441
+ static description = "List the models your own Wan2GP server offers, with the media each one accepts.\n models, list, search, Wan, Wan2GP, local\n\n Each row carries the model_type for the other Wan2GP nodes, the name and family, the outputs, and media_inputs: the image, video and audio roles the model accepts and any custom file it needs. The list comes from the running server, so it includes finetunes and models added after this release.\n\n Use cases:\n - Find the model_type for a model you know by name\n - List the video models that take a start or reference image\n - Check which models need a custom file before you build a graph";
442
+ static basicFields = ["query", "main_output", "media_input"];
443
+ static metadataOutputTypes = { output: "list[dict]" };
444
+ static inlineFields = [];
445
+ static inputFields = ["query"];
446
+ filters() {
447
+ const filters = {};
448
+ if (this.main_output)
449
+ filters.main_output = this.main_output;
450
+ if (this.media_input?.trim())
451
+ filters.inputs = this.media_input.trim();
452
+ if (this.capability?.trim())
453
+ filters.capabilities = [this.capability.trim()];
454
+ return filters;
455
+ }
456
+ async process(context) {
457
+ const connection = {
458
+ serverUrl: await resolveWan2GPServerUrl(this.server_url, context),
459
+ signal: context?.signal,
460
+ token: await resolveWan2GPToken(context)
461
+ };
462
+ return withWan2GPClient(connection, async (client) => {
463
+ const models = await client.searchAllModels(this.query ?? "", this.filters(), this.limit);
464
+ return {
465
+ output: models.map((model) => Object.fromEntries(ROW_KEYS.filter((key) => key in model).map((key) => [key, model[key]])))
466
+ };
467
+ });
468
+ }
469
+ }
470
+ __decorate([
471
+ prop({
472
+ type: "str",
473
+ default: "",
474
+ title: "Server URL",
475
+ description: "MCP endpoint of a Wan2GP server. Leave blank to use the WAN2GP_MCP_URL setting, then the Wan2GP installed in the Package Manager, then http://127.0.0.1:7866/mcp."
476
+ })
477
+ ], Wan2GPListModelsNode.prototype, "server_url", void 0);
478
+ __decorate([
479
+ prop({ type: "str", default: "", title: "Query", description: "Text to look for in the model's name, id, family or description. Leave blank to list every model." })
480
+ ], Wan2GPListModelsNode.prototype, "query", void 0);
481
+ __decorate([
482
+ prop({
483
+ type: "enum",
484
+ default: "",
485
+ title: "Main Output",
486
+ description: "Keep only models whose main output is this kind. Empty keeps every kind.",
487
+ values: ["", "video", "image", "audio", "3d"]
488
+ })
489
+ ], Wan2GPListModelsNode.prototype, "main_output", void 0);
490
+ __decorate([
491
+ prop({ type: "str", default: "", title: "Media Input", description: "Keep only models that accept this input kind: image, video, audio, 3d or world." })
492
+ ], Wan2GPListModelsNode.prototype, "media_input", void 0);
493
+ __decorate([
494
+ prop({ type: "str", default: "", title: "Capability", description: "Keep only models with this Wan2GP capability, for example image_to_video, reference_images or control_video." })
495
+ ], Wan2GPListModelsNode.prototype, "capability", void 0);
496
+ __decorate([
497
+ prop({ type: "int", default: 50, min: 1, max: 500, title: "Limit", description: "Most models to return." })
498
+ ], Wan2GPListModelsNode.prototype, "limit", void 0);
499
+ export const WAN2GP_NODES = tagAsServer([
500
+ Wan2GPTextToVideoNode,
501
+ Wan2GPImageToVideoNode,
502
+ Wan2GPGenerateNode,
503
+ Wan2GPListModelsNode
504
+ ]);
505
+ //# sourceMappingURL=wan2gp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wan2gp.js","sourceRoot":"","sources":["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WAAW,EAAE,8GAA8G,EAAE,CAAC;wDAC1J;AAGnB;IADP,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,CAAC;mDACtF;AAyBxB,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC;IACtC,qBAAqB;IACrB,sBAAsB;IACtB,kBAAkB;IAClB,oBAAoB;CACrB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodetool-ai/integration-nodes",
3
- "version": "0.8.9",
3
+ "version": "0.8.14",
4
4
  "description": "NodeTool external-API integration nodes — Google Workspace, mail, secrets, messaging triggers, ComfyUI, kie",
5
5
  "type": "module",
6
6
  "engines": {
@@ -16,11 +16,11 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@comfyorg/sdk": "0.1.9",
19
- "@nodetool-ai/kie-nodes": "0.8.9",
20
- "@nodetool-ai/node-sdk": "0.8.9",
21
- "@nodetool-ai/nodes-utils": "0.8.9",
22
- "@nodetool-ai/protocol": "0.8.9",
23
- "@nodetool-ai/runtime": "0.8.9",
19
+ "@nodetool-ai/kie-nodes": "0.8.14",
20
+ "@nodetool-ai/node-sdk": "0.8.14",
21
+ "@nodetool-ai/nodes-utils": "0.8.14",
22
+ "@nodetool-ai/protocol": "0.8.14",
23
+ "@nodetool-ai/runtime": "0.8.14",
24
24
  "js-yaml": "^4.3.2",
25
25
  "zod": "^4.4.3"
26
26
  },