P-Image-OSS-Comfy / workflows /p-h3-image_edit.json
nifleisch's picture
Run the prompt upsampler on ComfyUI's Generate Text in the workflows
d0667bb verified
Raw History Blame
36.2 kB
{ "id": "00000000-0000-0000-0000-000000000000", "revision": 0, "last_node_id": 25, "last_link_id": 34, "nodes": [ { "id": 1, "type": "p-h3-image_model_loader", "pos": [ 0, 100 ], "size": [ 320, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "model_name", "name": "model_name", "type": "COMBO", "widget": { "name": "model_name" }, "link": null }, { "localized_name": "weight_dtype", "name": "weight_dtype", "type": "COMBO", "widget": { "name": "weight_dtype" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 5 ] } ], "properties": { "Node name for S&R": "p-h3-image_model_loader", "cnr_id": "p-h3-image", "ver": "0.1.0", "models": [ { "name": "p-h3-image_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/diffusion_models/p-h3-image_bf16.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "p-h3-image_bf16.safetensors", "default" ], "widgets_values_named": { "model_name": "p-h3-image_bf16.safetensors", "weight_dtype": "default" } }, { "id": 2, "type": "p-h3-image_text_encoder_loader", "pos": [ 0, 240 ], "size": [ 320, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "text_encoder_name", "name": "text_encoder_name", "type": "COMBO", "widget": { "name": "text_encoder_name" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 1 ] } ], "properties": { "Node name for S&R": "p-h3-image_text_encoder_loader", "cnr_id": "p-h3-image", "ver": "0.1.0", "models": [ { "name": "p-h3-image_text_encoder_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_text_encoder_bf16.safetensors" ], "widgets_values_named": { "text_encoder_name": "p-h3-image_text_encoder_bf16.safetensors" } }, { "id": 3, "type": "p-h3-image_vae_loader", "pos": [ 0, 360 ], "size": [ 320, 58 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "vae_name", "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" }, "link": null } ], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "links": [ 2, 13 ] } ], "properties": { "Node name for S&R": "p-h3-image_vae_loader", "cnr_id": "p-h3-image", "ver": "0.1.0", "models": [ { "name": "p-h3-image_vae_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/vae/p-h3-image_vae_bf16.safetensors", "directory": "vae" } ] }, "widgets_values": [ "p-h3-image_vae_bf16.safetensors" ], "widgets_values_named": { "vae_name": "p-h3-image_vae_bf16.safetensors" } }, { "id": 4, "type": "LoadImage", "pos": [ 0, 620 ], "size": [ 320, 360 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "COMBO", "widget": { "name": "image" }, "link": null }, { "localized_name": "choose file to upload", "name": "upload", "type": "IMAGEUPLOAD", "widget": { "name": "upload" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 3, 21 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "title": "image_1 (edited)", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "example.png", "image" ], "widgets_values_named": { "image": "example.png", "upload": "image" } }, { "id": 5, "type": "LoadImage", "pos": [ 0, 1020 ], "size": [ 320, 360 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "COMBO", "widget": { "name": "image" }, "link": null }, { "localized_name": "choose file to upload", "name": "upload", "type": "IMAGEUPLOAD", "widget": { "name": "upload" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 4, 23 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "title": "image_2 (reference)", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "example.png", "image" ], "widgets_values_named": { "image": "example.png", "upload": "image" } }, { "id": 6, "type": "p-h3-image_edit", "pos": [ 860, 100 ], "size": [ 420, 480 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 1 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 2 }, { "label": "image_1", "localized_name": "image_1", "name": "images.image_1", "type": "IMAGE", "link": 3 }, { "label": "image_2", "localized_name": "image_2", "name": "images.image_2", "shape": 7, "type": "IMAGE", "link": 4 }, { "label": "image_3", "localized_name": "image_3", "name": "images.image_3", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "image_4", "name": "images.image_4", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 33 }, { "localized_name": "image_1_min_megapixels", "name": "image_1_min_megapixels", "type": "FLOAT", "widget": { "name": "image_1_min_megapixels" }, "link": null }, { "localized_name": "min_megapixels", "name": "min_megapixels", "type": "FLOAT", "widget": { "name": "min_megapixels" }, "link": null }, { "localized_name": "max_megapixels", "name": "max_megapixels", "type": "FLOAT", "widget": { "name": "max_megapixels" }, "link": null }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": null }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": null }, { "localized_name": "vision_megapixels", "name": "vision_megapixels", "type": "FLOAT", "widget": { "name": "vision_megapixels" }, "link": null } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6 ] }, { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 11 ] } ], "properties": { "Node name for S&R": "p-h3-image_edit", "cnr_id": "p-h3-image", "ver": "0.1.0" }, "widgets_values": [ "Put the hat from <Picture 2> on the person in <Picture 1>.", 4, 1, 8, 0, 0, 1 ], "widgets_values_named": { "prompt": "Put the hat from <Picture 2> on the person in <Picture 1>.", "image_1_min_megapixels": 4, "min_megapixels": 1, "max_megapixels": 8, "width": 0, "height": 0, "vision_megapixels": 1 } }, { "id": 7, "type": "ManualSigmas", "pos": [ 1340, 560 ], "size": [ 320, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "sigmas", "name": "sigmas", "type": "STRING", "widget": { "name": "sigmas" }, "link": null } ], "outputs": [ { "localized_name": "SIGMAS", "name": "SIGMAS", "type": "SIGMAS", "links": [ 10 ] } ], "properties": { "Node name for S&R": "ManualSigmas", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" ], "widgets_values_named": { "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" } }, { "id": 8, "type": "BasicGuider", "pos": [ 1340, 100 ], "size": [ 240, 46 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 5 }, { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 6 } ], "outputs": [ { "localized_name": "GUIDER", "name": "GUIDER", "type": "GUIDER", "links": [ 8 ] } ], "properties": { "Node name for S&R": "BasicGuider", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 9, "type": "KSamplerSelect", "pos": [ 1340, 220 ], "size": [ 270, 58 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "sampler_name", "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" }, "link": null } ], "outputs": [ { "localized_name": "SAMPLER", "name": "SAMPLER", "type": "SAMPLER", "links": [ 9 ] } ], "properties": { "Node name for S&R": "KSamplerSelect", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "euler" ], "widgets_values_named": { "sampler_name": "euler" } }, { "id": 10, "type": "RandomNoise", "pos": [ 1340, 340 ], "size": [ 270, 82 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "localized_name": "noise_seed", "name": "noise_seed", "type": "INT", "widget": { "name": "noise_seed" }, "link": null } ], "outputs": [ { "localized_name": "NOISE", "name": "NOISE", "type": "NOISE", "links": [ 7 ] } ], "properties": { "Node name for S&R": "RandomNoise", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 0, "randomize" ], "widgets_values_named": { "noise_seed": 0, "control_after_generate": "randomize" } }, { "id": 11, "type": "SamplerCustomAdvanced", "pos": [ 1700, 100 ], "size": [ 270, 330 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "localized_name": "noise", "name": "noise", "type": "NOISE", "link": 7 }, { "localized_name": "guider", "name": "guider", "type": "GUIDER", "link": 8 }, { "localized_name": "sampler", "name": "sampler", "type": "SAMPLER", "link": 9 }, { "localized_name": "sigmas", "name": "sigmas", "type": "SIGMAS", "link": 10 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 11 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "LATENT", "links": [ 12 ] }, { "localized_name": "denoised_output", "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 12, "type": "VAEDecode", "pos": [ 2020, 100 ], "size": [ 210, 46 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 12 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 13 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 14 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 13, "type": "SaveImage", "pos": [ 2280, 100 ], "size": [ 520, 560 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 14 }, { "localized_name": "filename_prefix", "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" }, "link": null } ], "outputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "links": null } ], "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "p-h3-image" ], "widgets_values_named": { "filename_prefix": "p-h3-image" } }, { "id": 14, "type": "CLIPLoader", "pos": [ 0, 480 ], "size": [ 320, 106 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 28 ] } ], "title": "p-h3-image prompt upsampler", "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_prompt_upsampler_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_prompt_upsampler_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 16, "type": "PreviewAny", "pos": [ 1640, 700 ], "size": [ 480, 360 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "source", "name": "source", "type": "*", "link": 34 } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [] } ], "title": "Upsampled prompt", "properties": { "Node name for S&R": "PreviewAny", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 17, "type": "PrimitiveStringMultiline", "pos": [ 380, 700 ], "size": [ 400, 180 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 20, 31 ] } ], "title": "Request", "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "Put the hat from <Picture 2> on the person in <Picture 1>." ], "widgets_values_named": { "value": "Put the hat from <Picture 2> on the person in <Picture 1>." } }, { "id": 18, "type": "StringFormat", "pos": [ 380, 920 ], "size": [ 400, 240 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "a", "name": "values.a", "shape": 7, "type": "*", "link": 20 }, { "localized_name": "b", "name": "values.b", "shape": 7, "type": "*", "link": null }, { "localized_name": "f_string", "name": "f_string", "type": "STRING", "widget": { "name": "f_string" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 30 ] } ], "title": "Upsampler input", "properties": { "Node name for S&R": "StringFormat" }, "widgets_values": [ "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n" ], "widgets_values_named": { "f_string": "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n" } }, { "id": 19, "type": "ImageScaleToTotalPixels", "pos": [ 820, 700 ], "size": [ 300, 110 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 21 }, { "localized_name": "upscale_method", "name": "upscale_method", "type": "COMBO", "widget": { "name": "upscale_method" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "resolution_steps", "name": "resolution_steps", "type": "INT", "widget": { "name": "resolution_steps" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 22, 26 ] } ], "title": "image_1 at 1 MP", "properties": { "Node name for S&R": "ImageScaleToTotalPixels" }, "widgets_values": [ "lanczos", 1, 1 ], "widgets_values_named": { "upscale_method": "lanczos", "megapixels": 1, "resolution_steps": 1 } }, { "id": 20, "type": "GetImageSize", "pos": [ 820, 850 ], "size": [ 220, 90 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 22 } ], "outputs": [ { "localized_name": "width", "name": "width", "type": "INT", "links": [ 24 ] }, { "localized_name": "height", "name": "height", "type": "INT", "links": [ 25 ] }, { "localized_name": "batch_size", "name": "batch_size", "type": "INT", "links": null } ], "properties": { "Node name for S&R": "GetImageSize" } }, { "id": 21, "type": "ResizeAndPadImage", "pos": [ 820, 980 ], "size": [ 300, 170 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 23 }, { "localized_name": "target_width", "name": "target_width", "type": "INT", "widget": { "name": "target_width" }, "link": 24 }, { "localized_name": "target_height", "name": "target_height", "type": "INT", "widget": { "name": "target_height" }, "link": 25 }, { "localized_name": "padding_color", "name": "padding_color", "type": "COMBO", "widget": { "name": "padding_color" }, "link": null }, { "localized_name": "interpolation", "name": "interpolation", "type": "COMBO", "widget": { "name": "interpolation" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 27 ] } ], "title": "image_2 padded to image_1", "properties": { "Node name for S&R": "ResizeAndPadImage" }, "widgets_values": [ 512, 512, "white", "lanczos" ], "widgets_values_named": { "target_width": 512, "target_height": 512, "padding_color": "white", "interpolation": "lanczos" } }, { "id": 22, "type": "BatchImagesNode", "pos": [ 820, 1190 ], "size": [ 220, 70 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "image0", "name": "images.image0", "type": "IMAGE", "link": 26 }, { "localized_name": "image1", "name": "images.image1", "shape": 7, "type": "IMAGE", "link": 27 }, { "localized_name": "image2", "name": "images.image2", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 29 ] } ], "properties": { "Node name for S&R": "BatchImagesNode" } }, { "id": 23, "type": "TextGenerate", "pos": [ 1180, 700 ], "size": [ 400, 288 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 28 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": 29 }, { "localized_name": "video", "name": "video", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "system_prompt", "name": "system_prompt", "shape": 7, "type": "STRING", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 30 }, { "localized_name": "max_length", "name": "max_length", "type": "INT", "widget": { "name": "max_length" }, "link": null }, { "localized_name": "Sampling Mode", "name": "sampling_mode", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "sampling_mode" }, "link": null }, { "localized_name": "thinking", "name": "thinking", "shape": 7, "type": "BOOLEAN", "widget": { "name": "thinking" }, "link": null }, { "localized_name": "use_default_template", "name": "use_default_template", "shape": 7, "type": "BOOLEAN", "widget": { "name": "use_default_template" }, "link": null }, { "localized_name": "mtp", "name": "mtp", "shape": 7, "type": "COMBO", "widget": { "name": "mtp" }, "link": null } ], "outputs": [ { "localized_name": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 32 ] }, { "localized_name": "thinking", "name": "thinking", "type": "STRING", "links": null } ], "title": "Prompt upsampler", "properties": { "Node name for S&R": "TextGenerate" }, "widgets_values": [ "", 3072, "off", false, true, "auto" ], "widgets_values_named": { "prompt": "", "max_length": 3072, "sampling_mode": "off", "thinking": false, "use_default_template": true, "mtp": "auto" } }, { "id": 24, "type": "ComfySwitchNode", "pos": [ 1180, 1030 ], "size": [ 300, 80 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "shape": 7, "type": "STRING", "link": 31 }, { "localized_name": "on_true", "name": "on_true", "shape": 7, "type": "STRING", "link": 32 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": null } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "STRING", "links": [ 33, 34 ] } ], "title": "Use prompt upsampler", "properties": { "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ true ], "widgets_values_named": { "switch": true } }, { "id": 25, "type": "MarkdownNote", "pos": [ 380, 1200 ], "size": [ 400, 260 ], "flags": {}, "order": 10, "mode": 0, "inputs": [], "outputs": [], "title": "Prompt upsampler", "properties": {}, "widgets_values": [ "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** and the image in **Batch Images**, padded to image_1's size.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." ], "widgets_values_named": { "text": "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** and the image in **Batch Images**, padded to image_1's size.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." }, "color": "#432", "bgcolor": "#653" } ], "links": [ [ 5, 1, 0, 8, 0, "MODEL" ], [ 6, 6, 0, 8, 1, "CONDITIONING" ], [ 7, 10, 0, 11, 0, "NOISE" ], [ 8, 8, 0, 11, 1, "GUIDER" ], [ 9, 9, 0, 11, 2, "SAMPLER" ], [ 10, 7, 0, 11, 3, "SIGMAS" ], [ 11, 6, 1, 11, 4, "LATENT" ], [ 12, 11, 0, 12, 0, "LATENT" ], [ 13, 3, 0, 12, 1, "VAE" ], [ 14, 12, 0, 13, 0, "IMAGE" ], [ 1, 2, 0, 6, 0, "CLIP" ], [ 2, 3, 0, 6, 1, "VAE" ], [ 3, 4, 0, 6, 2, "IMAGE" ], [ 4, 5, 0, 6, 3, "IMAGE" ], [ 20, 17, 0, 18, 0, "STRING" ], [ 21, 4, 0, 19, 0, "IMAGE" ], [ 22, 19, 0, 20, 0, "IMAGE" ], [ 23, 5, 0, 21, 0, "IMAGE" ], [ 24, 20, 0, 21, 1, "INT" ], [ 25, 20, 1, 21, 2, "INT" ], [ 26, 19, 0, 22, 0, "IMAGE" ], [ 27, 21, 0, 22, 1, "IMAGE" ], [ 28, 14, 0, 23, 0, "CLIP" ], [ 29, 22, 0, 23, 1, "IMAGE" ], [ 30, 18, 0, 23, 5, "STRING" ], [ 31, 17, 0, 24, 0, "STRING" ], [ 32, 23, 0, 24, 1, "STRING" ], [ 33, 24, 0, 6, 6, "STRING" ], [ 34, 24, 0, 16, 0, "STRING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6, "offset": [ 40, 40 ] } }, "version": 0.4 }
{
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"last_node_id": 25,
"last_link_id": 34,
"nodes": [
{
"id": 1,
"type": "p-h3-image_model_loader",
"pos": [
0,
100
],
"size": [
320,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": {
"name": "model_name"
},
"link": null
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
5
]
}
],
"properties": {
"Node name for S&R": "p-h3-image_model_loader",
"cnr_id": "p-h3-image",
"ver": "0.1.0",
"models": [
{
"name": "p-h3-image_bf16.safetensors",
"url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/diffusion_models/p-h3-image_bf16.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"p-h3-image_bf16.safetensors",
"default"
],
"widgets_values_named": {
"model_name": "p-h3-image_bf16.safetensors",
"weight_dtype": "default"
}
},
{
"id": 2,
"type": "p-h3-image_text_encoder_loader",
"pos": [
0,
240
],
"size": [
320,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "text_encoder_name",
"name": "text_encoder_name",
"type": "COMBO",
"widget": {
"name": "text_encoder_name"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",