koishi-plugin-p-draw 1.2.3 → 1.2.4

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 (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -578,7 +578,7 @@ function animaStyleI2IWorkflow(cfg, prompt, negativePrompt, width, height, steps
578
578
  '11': { class_type: 'CLIPTextEncode', inputs: { text: prompt, clip: ['45', 0] } },
579
579
  '12': { class_type: 'CLIPTextEncode', inputs: { text: negativePrompt, clip: ['45', 0] } },
580
580
  '70': { class_type: 'Canny', inputs: { image: ['13', 0], low_threshold: 0.4, high_threshold: 0.8 } },
581
- '71': { class_type: 'ControlNetLoader', inputs: { controlnet_name: controlNetModel } },
581
+ '71': { class_type: 'ControlNetLoader', inputs: { control_net_name: controlNetModel } },
582
582
  '72': { class_type: 'ControlNetApplyAdvanced', inputs: { positive: ['11', 0], negative: ['12', 0], control_net: ['71', 0], image: ['70', 0], strength: controlNetStrength, start_percent: 0, end_percent: 1 } },
583
583
  '19': {
584
584
  class_type: 'KSampler',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-p-draw",
3
3
  "description": "p点-绘图,连接本地 ComfyUI 生图。支持自然语言优化、尺寸选择、画师组、固定角色、生成队列,需要配合 p-qiandao 使用",
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "main": "index.js",
6
6
  "files": [
7
7
  "index.js",