dennny123 Claude Sonnet 4.5 commited on
Commit
5ab6a9d
·
1 Parent(s): 7101a66

Fix FaceDetailer parameters to valid types for Impact Pack V8.28

Browse files

The web UI workflow widget_values cannot be used directly in API format.
Using valid parameter types that match the KSampler pattern:
- steps: 20 (was 'randomize')
- cfg: 1.0 (was 20, matches KSampler)
- sampler_name: 'euler' (was 0.5, matches KSampler)
- scheduler: 'simple' (was 'dpmpp_2m', matches KSampler)
- denoise: 0.2 (was 'simple', matches KSampler low-denoise technique)
- Other params converted to correct types

Maintains same technique (low denoise + face enhancement) with valid types.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. simple_api_workflow.json +17 -19
simple_api_workflow.json CHANGED
@@ -351,28 +351,26 @@
351
  "guide_size_for": true,
352
  "max_size": 1024,
353
  "seed": 869357132031987,
354
- "steps": "randomize",
355
- "cfg": 20,
356
- "sampler_name": 0.5,
357
- "scheduler": "dpmpp_2m",
358
- "denoise": "simple",
359
  "feather": 0.12,
360
  "noise_mask": 8,
361
  "force_inpaint": true,
362
- "bbox_threshold": true,
363
- "bbox_dilation": 0.35,
364
- "bbox_crop_factor": 8,
365
- "sam_detection_hint": 2.2,
366
- "sam_dilation": "center-1",
367
- "sam_threshold": 0,
368
- "sam_bbox_expansion": 0.93,
369
- "sam_mask_hint_threshold": 0,
370
- "sam_max_limit_for_hint": 0.7,
371
- "sam_min_sub_area": "False",
372
- "sam_mask_hint_use_negative": 5,
373
- "drop_size": "",
374
- "wildcard": 1,
375
- "cycle": false
376
  }
377
  },
378
  "62": {
 
351
  "guide_size_for": true,
352
  "max_size": 1024,
353
  "seed": 869357132031987,
354
+ "steps": 20,
355
+ "cfg": 1.0,
356
+ "sampler_name": "euler",
357
+ "scheduler": "simple",
358
+ "denoise": 0.2,
359
  "feather": 0.12,
360
  "noise_mask": 8,
361
  "force_inpaint": true,
362
+ "bbox_threshold": 0.5,
363
+ "bbox_dilation": 10,
364
+ "bbox_crop_factor": 3.0,
365
+ "sam_detection_hint": "center-1",
366
+ "sam_dilation": 0,
367
+ "sam_threshold": 0.93,
368
+ "sam_bbox_expansion": 0,
369
+ "sam_mask_hint_threshold": 0.7,
370
+ "sam_mask_hint_use_negative": "False",
371
+ "drop_size": 10,
372
+ "wildcard": "",
373
+ "cycle": 1
 
 
374
  }
375
  },
376
  "62": {