- workflow_executor.py: new in-process template execution engine - load_template() / patch_template() / execute_template() - WAN Video i2v latent via WanImageToVideo node - Dual-step math: total=high+low, high=[0..H], low=[H..100] - loras_to_text() for PromptApplyLora JSON serialisation - workflow_families.py: split wan → wan_image / wan_video_i2v / wan_video_t2v - Added FAMILY_WORKFLOW_STEMS mapping family keys to api/ file stems - Sampler strategy: wan_image → single KSampler, wan_video → dual KSamplerAdvanced - tools/convert_to_api.py: UI JSON → API JSON conversion script (8 workflows) - workflows/api/: 16 new files (api.json + map.json) for: flux_1, flux_2, qwen_image, sdxl, wan_image, wan_video_i2v, wan_video_t2v, z_image - workflow_generator.py: - execute() now uses template-driven path first (load_template → patch → execute_template) - Falls back to hardcoded samplers when no template exists (sd15, ltxv) - Added source_image optional param for WAN i2v - Added steps_high / steps_low override parsing from JS - Strategy check updated: wan → wan_video for both i2v and t2v - workflow_generator.js: - makeSection(): collapsible with chevron toggle, all start collapsed - updateWanVisibility(): handles wan_image / wan_video_i2v / wan_video_t2v - Steps (High) / Steps (Low) rows added to SAMPLER section (WAN Video only) - Standard Steps row hidden when WAN Video family selected - LoRA Stack A title: 'LoRA Stack (High)' for WAN Video, 'LoRA Stack' otherwise - LoRA Stack B: visible only for wan_video_i2v / wan_video_t2v - Model B row: visible only for WAN Video families - syncHidden(), applyOverrides(), updateUI() updated for steps_high/steps_low - Section _setNode() wired up after _weRecalc is defined
114 lines
1.5 KiB
JSON
114 lines
1.5 KiB
JSON
{
|
|
"wan_i2v_latent": [
|
|
"132",
|
|
"start_image"
|
|
],
|
|
"vae": [
|
|
"145",
|
|
"vae_name"
|
|
],
|
|
"clip": [
|
|
"146",
|
|
"clip_name"
|
|
],
|
|
"resize_width": [
|
|
"161",
|
|
"width"
|
|
],
|
|
"resize_height": [
|
|
"161",
|
|
"height"
|
|
],
|
|
"model_a": [
|
|
"148",
|
|
"unet_name"
|
|
],
|
|
"model_b": [
|
|
"147",
|
|
"unet_name"
|
|
],
|
|
"lora_stack_a": [
|
|
"162",
|
|
"lora_stack_text"
|
|
],
|
|
"lora_stack_b": [
|
|
"163",
|
|
"lora_stack_text"
|
|
],
|
|
"wan_shift_a": [
|
|
"134",
|
|
"shift"
|
|
],
|
|
"wan_shift_b": [
|
|
"149",
|
|
"shift"
|
|
],
|
|
"ksampler_high_seed": [
|
|
"139",
|
|
"noise_seed"
|
|
],
|
|
"ksampler_high_steps": [
|
|
"139",
|
|
"steps"
|
|
],
|
|
"ksampler_high_start": [
|
|
"139",
|
|
"start_at_step"
|
|
],
|
|
"ksampler_high_end": [
|
|
"139",
|
|
"end_at_step"
|
|
],
|
|
"ksampler_high_cfg": [
|
|
"139",
|
|
"cfg"
|
|
],
|
|
"ksampler_high_sampler": [
|
|
"139",
|
|
"sampler_name"
|
|
],
|
|
"ksampler_high_scheduler": [
|
|
"139",
|
|
"scheduler"
|
|
],
|
|
"ksampler_low_seed": [
|
|
"137",
|
|
"noise_seed"
|
|
],
|
|
"ksampler_low_steps": [
|
|
"137",
|
|
"steps"
|
|
],
|
|
"ksampler_low_start": [
|
|
"137",
|
|
"start_at_step"
|
|
],
|
|
"ksampler_low_end": [
|
|
"137",
|
|
"end_at_step"
|
|
],
|
|
"ksampler_low_cfg": [
|
|
"137",
|
|
"cfg"
|
|
],
|
|
"ksampler_low_sampler": [
|
|
"137",
|
|
"sampler_name"
|
|
],
|
|
"ksampler_low_scheduler": [
|
|
"137",
|
|
"scheduler"
|
|
],
|
|
"vae_decode": [
|
|
"142",
|
|
null
|
|
],
|
|
"positive_prompt": [
|
|
"143",
|
|
"text"
|
|
],
|
|
"negative_prompt": [
|
|
"140",
|
|
"text"
|
|
]
|
|
} |