Neural nodes progress

This commit is contained in:
luboslenco
2025-10-20 10:27:25 +02:00
parent 0b469a8a1f
commit a484edc1fd
4 changed files with 374 additions and 14 deletions
+26 -5
View File
@@ -54,12 +54,33 @@ function edit_image_node_button(node_id: i32) {
iron_write_png(dir + path_sep + "input.png", gpu_get_texture_pixels(input), input.width, input.height, 0);
let argv: string[] = [
dir + "/sd_qie", "--diffusion-model", dir + "/Qwen-Image-Edit-2509-Q8_0.gguf", "--vae", dir + "/qwen_image_vae.safetensors", "--qwen2vl",
dir + "/Qwen2.5-VL-7B-Instruct-Q8_0.gguf", "--qwen2vl_vision", dir + "/Qwen2.5-VL-7B-Instruct.mmproj-Q8_0.gguf", "--sampling-method", "euler",
dir + "/sd_qie",
"--diffusion-model",
dir + "/Qwen-Image-Edit-2509-Q8_0.gguf",
"--vae",
dir + "/qwen_image_vae.safetensors",
"--qwen2vl",
dir + "/Qwen2.5-VL-7B-Instruct-Q8_0.gguf",
"--qwen2vl_vision",
dir + "/Qwen2.5-VL-7B-Instruct.mmproj-Q8_0.gguf",
"--sampling-method",
"euler",
"--offload-to-cpu",
// "--diffusion-fa",
"--cfg-scale", "2.5", "--flow-shift", "3", "--steps", "20", "-s", "-1", "-W", "512", "-H", "512", "-p", "'" + prompt + "'", "-r",
dir + "/input.png", "-o", dir + "/output.png", null
"--steps",
"40",
"-s",
"-1",
"-W",
"512",
"-H",
"512",
"-p",
"'" + prompt + "'",
"-r",
dir + "/input.png",
"-o",
dir + "/output.png",
null
];
iron_exec_async(argv[0], argv.buffer);