comfyui-workflow-builder 1.0.5 → 1.0.52

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.
@@ -21,7 +21,7 @@ export declare class LoadDiffusionModelNode extends BaseNode implements ModelPro
21
21
  get MODEL(): number;
22
22
  constructor(options: {
23
23
  /** The name of the diffusion model to load. */
24
- diffusion_model_name: string;
25
- weight_type?: string;
24
+ unet_name: string;
25
+ weight_dtype?: string;
26
26
  });
27
27
  }
@@ -22,8 +22,8 @@ export class LoadDiffusionModelNode extends BaseNode {
22
22
  }
23
23
  constructor(options) {
24
24
  super("UNETLoader", "Load Diffusion Model", {
25
- diffusion_model_name: options.diffusion_model_name,
26
- weight_type: options.weight_type ?? 'default'
25
+ unet_name: options.unet_name,
26
+ weight_dtype: options.weight_dtype ?? 'default'
27
27
  });
28
28
  }
29
29
  }
@@ -113,8 +113,8 @@ export function basicImageGenerationWorkflow(input) {
113
113
  export function zImageGenerationWorkflow(input) {
114
114
  const workflow = new BaseWorkflow();
115
115
  const loadDiffusionModelNode = new LoadDiffusionModelNode({
116
- diffusion_model_name: input.checkpointName,
117
- weight_type: input.weightDtype
116
+ unet_name: input.checkpointName,
117
+ weight_dtype: input.weightDtype
118
118
  });
119
119
  workflow.addNode(loadDiffusionModelNode);
120
120
  const modelSamplingAuraFlowNode = new ModelSamplingAuraFlowNode({
@@ -153,6 +153,7 @@ export function zImageGenerationWorkflow(input) {
153
153
  cfg: input.cfg,
154
154
  samplerName: input.sampler,
155
155
  denoise: input.denoise,
156
+ scheduler: "simple",
156
157
  model: modelSamplingAuraFlowNode,
157
158
  positiveConditioning: positivePrompt,
158
159
  negativeConditioning: conditioningZeroOutNode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comfyui-workflow-builder",
3
- "version": "1.0.5",
3
+ "version": "1.0.52",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",