A pretty simple workflow with a few common features.
I had to do a downgrade of my node Save Image because I spent several days battling with the Comfyui registry scanner and couldn't find another solution. If a prompt is sent to KSampler via any transformation like my anyconcan node, but it won’t extract or save metadata. The solution: manually enter positive/negative in Save Image.
Description
v.1.1.
Few small fixes and visial changes.
FAQ
Comments (8)
How can i fix it KSampler: - Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'zipf_linear', 'zeta', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'zipf_linear', 'zeta', 'bong_tangent', 'beta57'])
It's difficult to say what the problem is. For the experiment, you could set (by toggles or manually) mute for the IMG2IMG group, bypass control net and unpack Ksampler subgraph to see exactly which node is causing the issue — whether it's the Ksampler or something else.
I too get same error
@drfaker911219 is that error exactly with ksampler or with whole subgraph?
@DemonAlone Oh and I'm using z_image_turbo_bf16
Failed to validate prompt for output 31:
* KSampler 87:86:
- Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'e
xponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'sigmoid_offset', 'FlowMatchE
ulerDiscreteScheduler', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent']) mismatch inpu
t_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic'
, 'kl_optimal', 'sigmoid_offset', 'FlowMatchEulerDiscreteScheduler', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits
', 'beta_1_1', 'bong_tangent', 'beta57'])
Output will be ignored
Failed to validate prompt for output 43:
Output will be ignored
invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'd
etails': '', 'extra_info': {}}
@drfaker911219 Try the following: go into the ksampler's subgraph and remove the sampler and scheduler links. If that doesn't help, remove the Input Parameters node and try again.
I found the node with "id": 86 and changed its scheduler link 245 to null. Then, I completely removed the link section with "id": 245 to fix the connection error.
@oooppp I don’t see nodes with those IDs. It seems my numeration is different. What are the names of those nodes that you mean?

