{ "id": "9d43b9c5-ca8f-4a60-837d-d342773e8b8a", "revision": 0, "last_node_id": 26, "last_link_id": 34, "nodes": [ { "id": 1, "type": "UNETLoader", "pos": [ 0, 100 ], "size": [ 320, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "unet_name", "name": "unet_name", "type": "COMBO", "widget": { "name": "unet_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": [ 12 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "minimax_h3_fl2va_bf16.safetensors", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_bf16.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "minimax_h3_fl2va_bf16.safetensors", "default" ], "widgets_values_named": { "unet_name": "minimax_h3_fl2va_bf16.safetensors", "weight_dtype": "default" } }, { "id": 6, "type": "ManualSigmas", "pos": [ 1340, 560 ], "size": [ 320, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "sigmas", "name": "sigmas", "type": "STRING", "widget": { "name": "sigmas" }, "link": null } ], "outputs": [ { "localized_name": "SIGMAS", "name": "SIGMAS", "type": "SIGMAS", "links": [ 7 ] } ], "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": 7, "type": "BasicGuider", "pos": [ 1340, 100 ], "size": [ 240, 46 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 2 }, { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 33 } ], "outputs": [ { "localized_name": "GUIDER", "name": "GUIDER", "type": "GUIDER", "links": [ 5 ] } ], "properties": { "Node name for S&R": "BasicGuider", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 8, "type": "KSamplerSelect", "pos": [ 1340, 220 ], "size": [ 270, 58 ], "flags": {}, "order": 2, "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": [ 6 ] } ], "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": 9, "type": "RandomNoise", "pos": [ 1340, 340 ], "size": [ 270, 82 ], "flags": {}, "order": 3, "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": [ 4 ] } ], "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": 10, "type": "SamplerCustomAdvanced", "pos": [ 1700, 100 ], "size": [ 270, 330 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "noise", "name": "noise", "type": "NOISE", "link": 4 }, { "localized_name": "guider", "name": "guider", "type": "GUIDER", "link": 5 }, { "localized_name": "sampler", "name": "sampler", "type": "SAMPLER", "link": 6 }, { "localized_name": "sigmas", "name": "sigmas", "type": "SIGMAS", "link": 7 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 34 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "LATENT", "links": [ 9 ] }, { "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": 11, "type": "VAEDecode", "pos": [ 2020, 100 ], "size": [ 210, 46 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 9 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 28 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 11 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 12, "type": "SaveImage", "pos": [ 2280, 100 ], "size": [ 520, 560 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 11 }, { "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-image-oss" ], "widgets_values_named": { "filename_prefix": "p-image-oss" } }, { "id": 13, "type": "LoraLoaderBypassModelOnly", "pos": [ 0, 232 ], "size": [ 365.1333984375, 82 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 12 }, { "localized_name": "lora_name", "name": "lora_name", "type": "COMBO", "widget": { "name": "lora_name" }, "link": null }, { "localized_name": "strength_model", "name": "strength_model", "type": "FLOAT", "widget": { "name": "strength_model" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 13 ] } ], "properties": { "Node name for S&R": "LoraLoaderBypassModelOnly", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_lora_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/loras/p-h3-image_lora_bf16.safetensors", "directory": "loras" } ] }, "widgets_values": [ "p-h3-image_lora_bf16.safetensors", 1 ], "widgets_values_named": { "lora_name": "p-h3-image_lora_bf16.safetensors", "strength_model": 1 } }, { "id": 14, "type": "MiniMaxH3SigmaShift", "pos": [ 0, 364 ], "size": [ 320, 82 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 13 }, { "localized_name": "shift_video", "name": "shift_video", "type": "FLOAT", "widget": { "name": "shift_video" }, "link": null }, { "localized_name": "shift_audio", "name": "shift_audio", "type": "FLOAT", "widget": { "name": "shift_audio" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 2 ] } ], "properties": { "Node name for S&R": "MiniMaxH3SigmaShift", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 1, 1 ], "widgets_values_named": { "shift_video": 1, "shift_audio": 1 } }, { "id": 15, "type": "CLIPLoader", "pos": [ 0, 760 ], "size": [ 320, 106 ], "flags": {}, "order": 4, "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": [ 20 ] } ], "title": "p-image-oss 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-Image-OSS-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": 17, "type": "PreviewAny", "pos": [ 1700, 880 ], "size": [ 480, 360 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "source", "name": "source", "type": "*", "link": 25 } ], "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": 18, "type": "PrimitiveStringMultiline", "pos": [ 380, 760 ], "size": [ 400, 200 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 19, 22 ] } ], "title": "Request", "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" ], "widgets_values_named": { "value": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" } }, { "id": 19, "type": "StringFormat", "pos": [ 820, 760 ], "size": [ 400, 160 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "a", "name": "values.a", "shape": 7, "type": "*", "link": 19 }, { "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": [ 21 ] } ], "title": "Upsampler input", "properties": { "Node name for S&R": "StringFormat" }, "widgets_values": [ "Aspect ratio: 1:1\nRequest: {a}" ], "widgets_values_named": { "f_string": "Aspect ratio: 1:1\nRequest: {a}" } }, { "id": 20, "type": "TextGenerate", "pos": [ 1260, 760 ], "size": [ 400, 290 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 20 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": null }, { "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": 21 }, { "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": [ 23 ] }, { "localized_name": "thinking", "name": "thinking", "type": "STRING", "links": null } ], "title": "Prompt upsampler", "properties": { "Node name for S&R": "TextGenerate" }, "widgets_values": [ "", 2048, "off", true, true, "auto" ], "widgets_values_named": { "prompt": "", "max_length": 2048, "sampling_mode": "off", "thinking": true, "use_default_template": true, "mtp": "auto" } }, { "id": 21, "type": "ComfySwitchNode", "pos": [ 1700, 760 ], "size": [ 300, 80 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "shape": 7, "type": "STRING", "link": 22 }, { "localized_name": "on_true", "name": "on_true", "shape": 7, "type": "STRING", "link": 23 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": null } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "STRING", "links": [ 25, 30 ] } ], "title": "Use prompt upsampler", "properties": { "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ true ], "widgets_values_named": { "switch": true } }, { "id": 22, "type": "ResolutionSelector", "pos": [ 420, 360 ], "size": [ 300, 150 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "aspect_ratio", "name": "aspect_ratio", "type": "COMBO", "widget": { "name": "aspect_ratio" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "multiple", "name": "multiple", "type": "INT", "widget": { "name": "multiple" }, "link": null }, { "localized_name": "preview", "name": "preview", "shape": 7, "type": "RESOLUTION_PREVIEW", "widget": { "name": "preview" }, "link": null } ], "outputs": [ { "localized_name": "width", "name": "width", "type": "INT", "links": [ 31 ] }, { "localized_name": "height", "name": "height", "type": "INT", "links": [ 32 ] } ], "properties": { "Node name for S&R": "ResolutionSelector" }, "widgets_values": [ "1:1 (Square)", 8, 32 ], "widgets_values_named": { "aspect_ratio": "1:1 (Square)", "megapixels": 8, "multiple": 32 } }, { "id": 23, "type": "MarkdownNote", "pos": [ 0, 960 ], "size": [ 340, 230 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [], "title": "Prompt upsampler", "properties": {}, "widgets_values": [ "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\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 request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." }, "color": "#432", "bgcolor": "#653" }, { "id": 24, "type": "CLIPLoader", "pos": [ 0, 496 ], "size": [ 270, 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": [ 29 ] } ], "title": "p-image-oss text encoder", "properties": { "Node name for S&R": "CLIPLoader", "models": [ { "name": "p-h3-image_text_encoder_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_text_encoder_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_text_encoder_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 25, "type": "VAELoader", "pos": [ 0, 652 ], "size": [ 270, 58 ], "flags": {}, "order": 9, "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": [ 28 ] } ], "properties": { "Node name for S&R": "VAELoader", "models": [ { "name": "p-h3-image_vae_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-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": 26, "type": "PH3ImageConditioning", "pos": [ 860, 100 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 29 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": null }, { "localized_name": "image_1", "name": "images.image_1", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 30 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 31 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 32 } ], "outputs": [ { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "links": [ 33 ] }, { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 34 ] } ], "properties": { "Node name for S&R": "PH3ImageConditioning" }, "widgets_values": [ "", 0, 0 ], "widgets_values_named": { "prompt": "", "width": 0, "height": 0 } } ], "links": [ [ 2, 14, 0, 7, 0, "MODEL" ], [ 4, 9, 0, 10, 0, "NOISE" ], [ 5, 7, 0, 10, 1, "GUIDER" ], [ 6, 8, 0, 10, 2, "SAMPLER" ], [ 7, 6, 0, 10, 3, "SIGMAS" ], [ 9, 10, 0, 11, 0, "LATENT" ], [ 11, 11, 0, 12, 0, "IMAGE" ], [ 12, 1, 0, 13, 0, "MODEL" ], [ 13, 13, 0, 14, 0, "MODEL" ], [ 22, 18, 0, 21, 0, "STRING" ], [ 23, 20, 0, 21, 1, "STRING" ], [ 25, 21, 0, 17, 0, "STRING" ], [ 19, 18, 0, 19, 0, "STRING" ], [ 20, 15, 0, 20, 0, "CLIP" ], [ 21, 19, 0, 20, 5, "STRING" ], [ 28, 25, 0, 11, 1, "VAE" ], [ 29, 24, 0, 26, 0, "CLIP" ], [ 30, 21, 0, 26, 3, "STRING" ], [ 31, 22, 0, 26, 4, "INT" ], [ 32, 22, 1, 26, 5, "INT" ], [ 33, 26, 0, 7, 1, "CONDITIONING" ], [ 34, 26, 1, 10, 4, "LATENT" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6, "offset": [ 40, 40 ] } }, "version": 0.4 }