Spaces:
Runtime error
Runtime error
Fix FaceDetailer parameters to valid types for Impact Pack V8.28
Browse filesThe 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>
- 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":
|
| 355 |
-
"cfg":
|
| 356 |
-
"sampler_name":
|
| 357 |
-
"scheduler": "
|
| 358 |
-
"denoise":
|
| 359 |
"feather": 0.12,
|
| 360 |
"noise_mask": 8,
|
| 361 |
"force_inpaint": true,
|
| 362 |
-
"bbox_threshold":
|
| 363 |
-
"bbox_dilation":
|
| 364 |
-
"bbox_crop_factor":
|
| 365 |
-
"sam_detection_hint":
|
| 366 |
-
"sam_dilation":
|
| 367 |
-
"sam_threshold": 0,
|
| 368 |
-
"sam_bbox_expansion": 0
|
| 369 |
-
"sam_mask_hint_threshold": 0,
|
| 370 |
-
"
|
| 371 |
-
"
|
| 372 |
-
"
|
| 373 |
-
"
|
| 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": {
|