{ "id": "2f119320-9948-4ed4-8b89-14ad7da760fa", "revision": 0, "last_node_id": 34, "last_link_id": 55, "nodes": [ { "id": 22, "type": "Reroute", "pos": [ 1040, 890 ], "size": [ 75, 26 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 25 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 26 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 20, "type": "Reroute", "pos": [ 400, 210 ], "size": [ 75, 26 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 22 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 23 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 27, "type": "TranscodeLatent //TinyBreaker", "pos": [ 900, 190 ], "size": [ 210, 50 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 38 }, { "name": "transcoder", "shape": 7, "type": "TRANSCODER", "link": 37 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 39 ] } ], "properties": { "aux_id": "martin-rizzo/ComfyUI-TinyBreaker", "ver": "853171d5673df2b54e86a0cf197861c72e0e8217", "Node name for S&R": "TranscodeLatent //TinyBreaker" }, "widgets_values": [] }, { "id": 3, "type": "VAEDecode", "pos": [ 1150, 190 ], "size": [ 160, 50 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 39 }, { "name": "vae", "type": "VAE", "link": 14 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 28 ] } ], "title": "VAE Decode SDXL", "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 14, "type": "Reroute", "pos": [ 1030, 80 ], "size": [ 75, 26 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 13 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 14 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 21, "type": "Reroute", "pos": [ 400, 890 ], "size": [ 75, 26 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 24 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 25 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 24, "type": "Reroute", "pos": [ 400, 800 ], "size": [ 75, 26 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 29 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 30 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 13, "type": "Reroute", "pos": [ 400, 80 ], "size": [ 75, 26 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 12 } ], "outputs": [ { "name": "", "type": "VAE", "links": [ 13 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 2, "type": "VAEEncode", "pos": [ 700, 190 ], "size": [ 160, 50 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 46 }, { "name": "vae", "type": "VAE", "link": 23 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 38 ] } ], "title": "VAE Encode SD", "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "VAEEncode" }, "widgets_values": [] }, { "id": 30, "type": "Reroute", "pos": [ 400, 150 ], "size": [ 75, 26 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 45 } ], "outputs": [ { "name": "", "type": "IMAGE", "slot_index": 0, "links": [ 46 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 9, "type": "VAEDecode", "pos": [ 1150, 780 ], "size": [ 160, 50 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 42 }, { "name": "vae", "type": "VAE", "link": 26 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 10 ] } ], "title": "VAE Decode SD", "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 28, "type": "TranscodeLatent //TinyBreaker", "pos": [ 900, 780 ], "size": [ 210, 50 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 40 }, { "name": "transcoder", "shape": 7, "type": "TRANSCODER", "link": 41 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 42 ] } ], "properties": { "aux_id": "martin-rizzo/ComfyUI-TinyBreaker", "ver": "853171d5673df2b54e86a0cf197861c72e0e8217", "Node name for S&R": "TranscodeLatent //TinyBreaker" }, "widgets_values": [] }, { "id": 8, "type": "VAEEncode", "pos": [ 700, 780 ], "size": [ 160, 50 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 44 }, { "name": "vae", "type": "VAE", "link": 30 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 40 ] } ], "title": "VAE Encode SDXL", "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "VAEEncode" }, "widgets_values": [] }, { "id": 31, "type": "Reroute", "pos": [ 370, 570 ], "size": [ 75, 26 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 47 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 48, 49 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 32, "type": "Reroute", "pos": [ 370, 460 ], "size": [ 75, 26 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 50 } ], "outputs": [ { "name": "", "type": "VAE", "slot_index": 0, "links": [ 51, 52 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 26, "type": "BuildCustomTranscoder //TinyBreaker", "pos": [ 480, 550 ], "size": [ 378, 102 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "source_vae", "type": "VAE", "link": 49 }, { "name": "target_vae", "type": "VAE", "link": 52 } ], "outputs": [ { "name": "TRANSCODER", "type": "TRANSCODER", "slot_index": 0, "links": [ 41 ] } ], "properties": { "aux_id": "martin-rizzo/ComfyUI-TinyBreaker", "ver": "853171d5673df2b54e86a0cf197861c72e0e8217", "Node name for S&R": "BuildCustomTranscoder //TinyBreaker" }, "widgets_values": [ "None", 0.5 ] }, { "id": 25, "type": "BuildCustomTranscoder //TinyBreaker", "pos": [ 480, 400 ], "size": [ 378, 102 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "source_vae", "type": "VAE", "link": 51 }, { "name": "target_vae", "type": "VAE", "link": 48 } ], "outputs": [ { "name": "TRANSCODER", "type": "TRANSCODER", "slot_index": 0, "links": [ 37 ] } ], "properties": { "aux_id": "martin-rizzo/ComfyUI-TinyBreaker", "ver": "853171d5673df2b54e86a0cf197861c72e0e8217", "Node name for S&R": "BuildCustomTranscoder //TinyBreaker" }, "widgets_values": [ "None", 0.5 ] }, { "id": 10, "type": "PreviewImage", "pos": [ 1350, 780 ], "size": [ 350, 380 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 10 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 4, "type": "PreviewImage", "pos": [ 1360, 190 ], "size": [ 340, 380 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 28 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 29, "type": "Reroute", "pos": [ 400, 960 ], "size": [ 75, 26 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 54 } ], "outputs": [ { "name": "", "type": "IMAGE", "slot_index": 0, "links": [ 44 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 34, "type": "Reroute", "pos": [ -60, 960 ], "size": [ 75, 26 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 55 } ], "outputs": [ { "name": "", "type": "IMAGE", "links": [ 54 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 19, "type": "VAELoader", "pos": [ -60, 460 ], "size": [ 360, 60 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 22, 24, 50 ] } ], "title": "Load SD VAE", "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "VAELoader" }, "widgets_values": [ "vae-ft-mse-840000-ema-pruned.safetensors" ] }, { "id": 11, "type": "VAELoader", "pos": [ -60, 570 ], "size": [ 360, 60 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 12, 29, 47 ] } ], "title": "Load SDXL VAE", "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "VAELoader" }, "widgets_values": [ "SDXL-FP16-FIX-sdxl.vae.safetensors" ] }, { "id": 1, "type": "LoadImage", "pos": [ -520, 150 ], "size": [ 390, 480 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 45, 55 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "LoadImage" }, "widgets_values": [ "example.png", "image" ] }, { "id": 33, "type": "MarkdownNote", "pos": [ 920, 340 ], "size": [ 350, 340 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "title": "NOTE", "properties": {}, "widgets_values": [ "# Custom Transcoder Test\n\n**Description:** The \"Build Custom Transcoder\" node works by linking a decoder and an encoder, with an enhancement stage in between where the image is in RGB pixel space.\n\n**Status:** This node is deprecated. I'm keeping it around just for testing.\n\n**Test:** First, you'll need to load two VAEs that are of different types. If everything goes well, the final image should look visually identical to the original input image.\n\n" ], "color": "#222", "bgcolor": "#000" } ], "links": [ [ 10, 9, 0, 10, 0, "IMAGE" ], [ 12, 11, 0, 13, 0, "*" ], [ 13, 13, 0, 14, 0, "*" ], [ 14, 14, 0, 3, 1, "VAE" ], [ 22, 19, 0, 20, 0, "*" ], [ 23, 20, 0, 2, 1, "VAE" ], [ 24, 19, 0, 21, 0, "*" ], [ 25, 21, 0, 22, 0, "*" ], [ 26, 22, 0, 9, 1, "VAE" ], [ 28, 3, 0, 4, 0, "IMAGE" ], [ 29, 11, 0, 24, 0, "*" ], [ 30, 24, 0, 8, 1, "VAE" ], [ 37, 25, 0, 27, 1, "TRANSCODER" ], [ 38, 2, 0, 27, 0, "LATENT" ], [ 39, 27, 0, 3, 0, "LATENT" ], [ 40, 8, 0, 28, 0, "LATENT" ], [ 41, 26, 0, 28, 1, "TRANSCODER" ], [ 42, 28, 0, 9, 0, "LATENT" ], [ 44, 29, 0, 8, 0, "IMAGE" ], [ 45, 1, 0, 30, 0, "*" ], [ 46, 30, 0, 2, 0, "IMAGE" ], [ 47, 11, 0, 31, 0, "*" ], [ 48, 31, 0, 25, 1, "VAE" ], [ 49, 31, 0, 26, 0, "VAE" ], [ 50, 19, 0, 32, 0, "*" ], [ 51, 32, 0, 25, 0, "VAE" ], [ 52, 32, 0, 26, 1, "VAE" ], [ 54, 34, 0, 29, 0, "*" ], [ 55, 1, 0, 34, 0, "*" ] ], "groups": [ { "id": 1, "title": "Custom Transcoder Test (SD <-> SDXL)", "bounding": [ 400, 310, 500, 370 ], "color": "#b58b2a", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.6830134553650705, "offset": [ 584.5151228402899, -6.467263690655403 ] }, "frontendVersion": "1.16.8" }, "version": 0.4 }