Files
JasonHoku-ComfyUI-Ultimate-…/resources
Jason HokuandClaude Opus 4.6 1fc660ad78 fix: Revise & Generate sends complete config with model, seed, prompts
The GENERATE NEW button was only sending sampler/scheduler/steps/cfg/
denoise/lora — missing model, seed, prompts, and all advanced settings.
The generated image would use whatever the sampler node had as defaults
instead of the actual parameters from the source image.

Fixed triggerGen() to build a complete config entry:
- Model and seed from the (now editable) modal fields
- Positive and negative prompts from the modal textareas
- seed_behavior set to "fixed" so the exact seed is used
- All advanced settings carried from the source item: vae, clip_type,
  model_type, text_encoders, attention_mode, clip_skip,
  model_sampling_override + shift values, advanced_sampling,
  flux_guidance, gguf_options

Also wraps output in {"configs": [...]} format (was sending bare array).

Template changes:
- Model input: removed disabled attribute + opacity
- Seed input: removed disabled attribute + opacity
Both are now editable so users can change model or seed before re-gen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 15:18:37 -07:00
..