Live_Stream_workflows / flux3 image_edit_klein_bbox.json
axiomgraph's picture
Rename flux3 image_klein_bbox.json to flux3 image_edit_klein_bbox.json
6600a8b verified
Raw History Blame Contribute Delete
43 kB
{ "id": "ae24d8ee-0dd1-42df-94d1-ec16e00ae6d2", "revision": 0, "last_node_id": 44, "last_link_id": 76, "nodes": [ { "id": 1, "type": "UNETLoader", "pos": [ -36.09271454915006, 2452.1980061067216 ], "size": [ 270, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 2 ] } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "flux3_image_klein_sd_bf16.safetensors", "default" ], "widgets_values_named": { "unet_name": "flux3_image_klein_sd_bf16.safetensors", "weight_dtype": "default" } }, { "id": 2, "type": "CLIPLoader", "pos": [ -36.09271454915006, 2584.321485467651 ], "size": [ 270, 106 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 1, 28 ] } ], "properties": { "Node name for S&R": "CLIPLoader" }, "widgets_values": [ "qwen3vl_4b_bf16.safetensors", "flux3", "default" ], "widgets_values_named": { "clip_name": "qwen3vl_4b_bf16.safetensors", "type": "flux3", "device": "default" } }, { "id": 3, "type": "CLIPTextEncode", "pos": [ 1760.0844304652899, 2431.0645860869427 ], "size": [ 400, 200 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 1 }, { "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 47 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ] } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "widgets_values_named": { "text": "" } }, { "id": 4, "type": "KSampler", "pos": [ 2519.0693313313523, 2432.3946529298955 ], "size": [ 270, 262 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 2 }, { "name": "positive", "type": "CONDITIONING", "link": 26 }, { "name": "negative", "type": "CONDITIONING", "link": 27 }, { "name": "latent_image", "type": "LATENT", "link": 41 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 10 ] } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 395289288526709, "randomize", 16, 1, "euler", "simple", 1 ], "widgets_values_named": { "seed": 395289288526709, "control_after_generate": "randomize", "steps": 16, "cfg": 1, "sampler_name": "euler", "scheduler": "simple", "denoise": 1 } }, { "id": 8, "type": "VAELoader", "pos": [ -36.09271454915006, 2740.4449648285813 ], "size": [ 270, 58 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 11, 25 ] } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "flux2-vae.safetensors" ], "widgets_values_named": { "vae_name": "flux2-vae.safetensors" } }, { "id": 10, "type": "VAEDecode", "pos": [ 2561.691511911459, 2330.781876607066 ], "size": [ 140, 46 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 10 }, { "name": "vae", "type": "VAE", "link": 11 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 12 ] } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 11, "type": "SaveImageAdvanced", "pos": [ 2823.8945588356446, 2442.3615814729883 ], "size": [ 833.6234596943291, 651.6905577662178 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 12 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 56 ] } ], "properties": {}, "widgets_values": [ "ComfyUI", "png", "8-bit", "sRGB" ], "widgets_values_named": { "filename_prefix": "ComfyUI", "format": "png", "format.bit_depth": "8-bit", "format.input_color_space": "sRGB" } }, { "id": 18, "type": "PreviewAny", "pos": [ 1223.8600531109882, 3083.8775405137167 ], "size": [ 485.14299930590096, 253.7438486165044 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 48 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": null } ], "properties": { "Node name for S&R": "PreviewAny" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 24, "type": "ReferenceMultiLatent", "pos": [ 2207.036524459869, 2457.7855339787075 ], "size": [ 274.694921875, 198 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 24 }, { "name": "negative", "shape": 7, "type": "CONDITIONING", "link": 29 }, { "name": "vae", "shape": 7, "type": "VAE", "link": 25 }, { "name": "images.image0", "shape": 7, "type": "IMAGE", "link": 59 }, { "name": "images.image1", "shape": 7, "type": "IMAGE", "link": 32 }, { "name": "images.image2", "shape": 7, "type": "IMAGE", "link": 54 }, { "name": "images.image3", "shape": 7, "type": "IMAGE", "link": 76 }, { "name": "images.image4", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 26 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 27 ] }, { "name": "empty_latent", "type": "LATENT", "links": [ 41 ] } ], "properties": { "Node name for S&R": "ReferenceMultiLatent" }, "widgets_values": [ "keep resolution" ], "widgets_values_named": { "resolution": "keep resolution" } }, { "id": 25, "type": "CLIPTextEncode", "pos": [ 1758.9348489491797, 2676.238885541935 ], "size": [ 400, 200 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 28 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 29 ] } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "widgets_values_named": { "text": "" } }, { "id": 26, "type": "LoadImage", "pos": [ 305.5636901677872, 2062.0138323089204 ], "size": [ 415.4605829659623, 327.76837876931893 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 58 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "Main Image", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "pexels-bhanukhan-19345151.jpg", "image" ], "widgets_values_named": { "image": "pexels-bhanukhan-19345151.jpg", "upload": "image" } }, { "id": 27, "type": "LoadImage", "pos": [ 320, 3470 ], "size": [ 282.798828125, 102 ], "flags": {}, "order": 4, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 32, 38 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "Image 2", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "pexels-matheus-triaquim-118638681-10155606.jpg", "image" ], "widgets_values_named": { "image": "pexels-matheus-triaquim-118638681-10155606.jpg", "upload": "image" } }, { "id": 28, "type": "BatchImagesNode", "pos": [ 1891.901565641808, 3140.036535421864 ], "size": [ 169.32421875, 106 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "images.image0", "type": "IMAGE", "link": 60 }, { "name": "images.image1", "shape": 7, "type": "IMAGE", "link": 38 }, { "name": "images.image2", "shape": 7, "type": "IMAGE", "link": 53 }, { "name": "images.image3", "shape": 7, "type": "IMAGE", "link": 75 }, { "name": "images.image4", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 46 ] } ], "properties": { "Node name for S&R": "BatchImagesNode" } }, { "id": 30, "type": "d9eb7940-ac6a-4cfb-b730-109abc18f3f9", "pos": [ 1218.2844471788778, 2433.1545042571697 ], "size": [ 491.4375235865808, 596.2537694949818 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "image", "shape": 7, "type": "IMAGE", "link": 46 }, { "label": "prompt", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": 71 }, { "label": "prompt enhancer model", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "label": "enhance prompt", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": null } ], "outputs": [ { "name": "output", "type": "STRING", "links": [ 47, 48 ] } ], "properties": { "previewExposures": [] }, "widgets_values": [ "rotate the camera to 90 degree left showing the right profile of the dog", 512, 64, "qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors", true ], "widgets_values_named": { "value": "rotate the camera to 90 degree left showing the right profile of the dog", "max_length": 512, "sampling_mode.top_k": 64, "clip_name": "qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors", "switch": true } }, { "id": 31, "type": "LoadImage", "pos": [ 640, 3470 ], "size": [ 282.798828125, 102 ], "flags": {}, "order": 5, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 53, 54 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "Image 3", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "download (4).jpg", "image" ], "widgets_values_named": { "image": "download (4).jpg", "upload": "image" } }, { "id": 32, "type": "ImageCompare", "pos": [ 3708.0439514972113, 2440.4968833336966 ], "size": [ 656.8502519675714, 650.6285926785919 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "image_a", "shape": 7, "type": "IMAGE", "link": 56 }, { "name": "image_b", "shape": 7, "type": "IMAGE", "link": 74 } ], "outputs": [], "properties": { "Node name for S&R": "ImageCompare" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 36, "type": "ImageScaleToTotalPixels", "pos": [ 1894.6637569057966, 2936.733127799932 ], "size": [ 276.4927734375, 106 ], "flags": {}, "order": 8, "mode": 0, "showAdvanced": true, "inputs": [ { "name": "image", "type": "IMAGE", "link": 58 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 59, 60, 65 ] } ], "properties": { "Node name for S&R": "ImageScaleToTotalPixels" }, "widgets_values": [ "lanczos", 1, 16 ], "widgets_values_named": { "upscale_method": "lanczos", "megapixels": 1, "resolution_steps": 16 } }, { "id": 38, "type": "CreateBoundingBoxes", "pos": [ 299.20485990572354, 2439.172832784837 ], "size": [ 420, 560 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "background", "shape": 7, "type": "IMAGE", "link": 65 }, { "name": "bboxes", "shape": 7, "type": "BOUNDING_BOX,ARRAY,STRING", "link": null } ], "outputs": [ { "name": "preview", "type": "IMAGE", "links": [ 74 ] }, { "name": "bboxes", "type": "BOUNDING_BOX", "links": null }, { "name": "elements", "type": "ARRAY", "links": [ 67 ] } ], "properties": { "Node name for S&R": "CreateBoundingBoxes", "bboxGrid": true }, "widgets_values": [ 1264, 832, [ { "x": 576, "y": 448, "width": 352, "height": 288, "metadata": { "type": "obj", "text": "", "desc": "an anime character, wearing blue t shirt and black jeans", "palette": [] } } ], [] ], "widgets_values_named": { "width": 1264, "height": 832, "editor_state": [ { "x": 576, "y": 448, "width": 352, "height": 288, "metadata": { "type": "obj", "text": "", "desc": "an anime character, wearing blue t shirt and black jeans", "palette": [] } } ], "last_incoming": [] } }, { "id": 40, "type": "Flux3LayoutPrompt", "pos": [ 744.4021241748364, 2440.7691863511122 ], "size": [ 419.59128136012424, 917.5688195663017 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "element", "type": "ARRAY", "link": 67 } ], "outputs": [ { "name": "prompt", "type": "STRING", "links": [ 71 ] } ], "properties": { "Node name for S&R": "Flux3LayoutPrompt" }, "widgets_values": [ "anime character sitting on the edge of the platform <ref_image_0> " ], "widgets_values_named": { "prompt": "anime character sitting on the edge of the platform <ref_image_0> " } }, { "id": 44, "type": "LoadImage", "pos": [ 973.3515191796473, 3470 ], "size": [ 282.798828125, 102 ], "flags": {}, "order": 6, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 75, 76 ] }, { "name": "MASK", "type": "MASK", "links": [] } ], "title": "Image 4", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "download (4).jpg", "image" ], "widgets_values_named": { "image": "download (4).jpg", "upload": "image" } } ], "links": [ [ 1, 2, 0, 3, 0, "CLIP" ], [ 2, 1, 0, 4, 0, "MODEL" ], [ 10, 4, 0, 10, 0, "LATENT" ], [ 11, 8, 0, 10, 1, "VAE" ], [ 26, 24, 0, 4, 1, "CONDITIONING" ], [ 27, 24, 1, 4, 2, "CONDITIONING" ], [ 28, 2, 0, 25, 0, "CLIP" ], [ 41, 24, 2, 4, 3, "LATENT" ], [ 46, 28, 0, 30, 0, "IMAGE" ], [ 47, 30, 0, 3, 1, "STRING" ], [ 48, 30, 0, 18, 0, "STRING" ], [ 56, 11, 0, 32, 0, "IMAGE" ], [ 58, 26, 0, 36, 0, "IMAGE" ], [ 65, 36, 0, 38, 0, "IMAGE" ], [ 67, 38, 2, 40, 0, "ARRAY" ], [ 71, 40, 0, 30, 1, "STRING" ], [ 12, 10, 0, 11, 0, "IMAGE" ], [ 74, 38, 0, 32, 1, "IMAGE" ], [ 60, 36, 0, 28, 0, "IMAGE" ], [ 38, 27, 0, 28, 1, "IMAGE" ], [ 53, 31, 0, 28, 2, "IMAGE" ], [ 75, 44, 0, 28, 3, "IMAGE" ], [ 24, 3, 0, 24, 0, "CONDITIONING" ], [ 29, 25, 0, 24, 1, "CONDITIONING" ], [ 25, 8, 0, 24, 2, "VAE" ], [ 59, 36, 0, 24, 3, "IMAGE" ], [ 32, 27, 0, 24, 4, "IMAGE" ], [ 54, 31, 0, 24, 5, "IMAGE" ], [ 76, 44, 0, 24, 6, "IMAGE" ] ], "groups": [ { "id": 1, "title": "Reference Images", "bounding": [ 305.74208103889714, 3392.798375650022, 960.4082662657502, 407.47510061617413 ], "color": "#3f789e", "flags": {} } ], "definitions": { "subgraphs": [ { "id": "d9eb7940-ac6a-4cfb-b730-109abc18f3f9", "version": 1, "state": { "lastGroupId": 1, "lastNodeId": 44, "lastLinkId": 76, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "New Subgraph", "inputNode": { "id": -10, "bounding": [ 402.12106021640534, 2225.587840725346, 183.732421875, 168 ] }, "outputNode": { "id": -20, "bounding": [ 1557.8581373959983, 2225.587840725346, 128, 68 ] }, "inputs": [ { "id": "4165d9b5-c280-47e8-ad6d-0dae44bc4d0b", "name": "image", "type": "IMAGE", "linkIds": [ 39 ], "localized_name": "image", "shape": 7, "pos": [ 561.8534820914053, 2249.587840725346 ] }, { "id": "bafc8a06-e9fb-418f-bf4d-77e85b79ceef", "name": "value", "type": "STRING", "linkIds": [ 49 ], "label": "prompt", "pos": [ 561.8534820914053, 2269.587840725346 ] }, { "id": "63d0ef34-c707-4520-82ba-3f54a9b38d8d", "name": "max_length", "type": "INT", "linkIds": [ 50 ], "pos": [ 561.8534820914053, 2289.587840725346 ] }, { "id": "b66bd215-791e-4eb1-bcfc-52441f40d446", "name": "sampling_mode.top_k", "type": "INT", "linkIds": [ 51 ], "pos": [ 561.8534820914053, 2309.587840725346 ] }, { "id": "18cff0dc-c5ec-430d-bc9a-e917921699d5", "name": "clip_name", "type": "COMBO", "linkIds": [ 52 ], "label": "prompt enhancer model", "pos": [ 561.8534820914053, 2329.587840725346 ] }, { "id": "acd76014-580f-421d-8b6b-96b375eebb67", "name": "switch", "type": "BOOLEAN", "linkIds": [ 55 ], "label": "enhance prompt", "pos": [ 561.8534820914053, 2349.587840725346 ] } ], "outputs": [ { "id": "ebb983e3-561d-4241-9a9d-5d1e18889fa8", "name": "output", "type": "STRING", "linkIds": [ 44 ], "localized_name": "output", "pos": [ 1581.8581373959983, 2249.587840725346 ] } ], "widgets": [], "nodes": [ { "id": 19, "type": "CLIPLoader", "pos": [ 598.9973474614733, 1955.0748430807516 ], "size": [ 376.22358426191397, 141.999978200412 ], "flags": {}, "order": 3, "mode": 0, "showAdvanced": true, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": 52 } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 18 ] } ], "properties": { "Node name for S&R": "CLIPLoader" }, "widgets_values": [ "gemma4_12b_int8_convrot.safetensors", "stable_diffusion", "default" ], "widgets_values_named": { "clip_name": "gemma4_12b_int8_convrot.safetensors", "type": "stable_diffusion", "device": "default" } }, { "id": 12, "type": "TextGenerate", "pos": [ 1097.8581373959983, 1953.0094462003153 ], "size": [ 400, 456 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 18 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": 39 }, { "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": 33 }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 16 }, { "localized_name": "max_length", "name": "max_length", "type": "INT", "widget": { "name": "max_length" }, "link": 50 }, { "localized_name": "top_k", "name": "sampling_mode.top_k", "type": "INT", "widget": { "name": "sampling_mode.top_k" }, "link": 51 } ], "outputs": [ { "localized_name": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 42 ] }, { "localized_name": "thinking", "name": "thinking", "type": "STRING", "links": [] } ], "properties": { "Node name for S&R": "TextGenerate" }, "widgets_values": [ "", 512, "on", 0.7, 64, 0.95, 0.05, 1.05, 0, 0, false, true, "auto" ], "widgets_values_named": { "prompt": "", "max_length": 512, "sampling_mode": "on", "sampling_mode.temperature": 0.7, "sampling_mode.top_k": 64, "sampling_mode.top_p": 0.95, "sampling_mode.min_p": 0.05, "sampling_mode.repetition_penalty": 1.05, "sampling_mode.seed": 0, "sampling_mode.presence_penalty": 0, "thinking": false, "use_default_template": true, "mtp": "auto" } }, { "id": 21, "type": "PrimitiveStringMultiline", "pos": [ 592.4845975075581, 2149.3117749882003 ], "size": [ 400, 200 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 33 ] } ], "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "You are the annotation system an image-editing model was trained on. You see the source image(s), attached in order as ref_image_0, ref_image_1, ..., and the user's editing instruction; the edited target image does not exist yet. Determine the edit precisely, imagine the target consistently with the source, and write the record its annotator would have written, on one line: the instruction paragraph, one space, then ONE JSON array. Output nothing else.\\n\\nThe paragraph: English, instruction voice (\\\"Change the ...\\\", \\\"Remove the ...\\\", or \\\"Create a photograph of ...\\\" when the references are drawn into a new frame), never observer phrasing and never a comparison with the target. Cite every involved object, person or text block at its first mention with its table id in its own angle brackets (\\\"remove the delivery van <van_1>\\\"), every table id exactly once and no other id; cite a reference image by its token when content is taken from it (\\\"the cup <cup_1> from <ref_image_1>\\\"). End states (new color, new text in quotes, pose, degree) live in the paragraph, static appearance in the descs; no coordinates. An editing instruction closes with one compact clause that everything else stays identical to the source.\\n\\nThe table, rows {\\\"id\\\", \\\"from\\\", \\\"src_bbox\\\", \\\"tgt_bbox\\\", \\\"desc\\\"}: one row per edited, removed, added, moved or anchoring item, plus the scene or background when it is itself changed or preserved; no rows for untouched scenery. id: a lowercase class noun plus an index (person_1, cup_2) numbered left to right, then top to bottom; text blocks are En_Text_1 and so on; ids are unique. from: \\\"ref_image_N\\\" for an item visible in reference N, \\\"target\\\" for newly created content. src_bbox is the item's box in its from-image and null for target rows; tgt_bbox is its box in the imagined result and null for removed items; moved or resized items carry both; new items are sized like similar objects in the frame. Boxes are [y_min, x_min, y_max, x_max] integers from 0 to 1000, top-left origin, tight around objects, with 5 to 15 units of margin around text. A row may also carry src_bbox_1stage and tgt_bbox_1stage, a first-pass estimate of the same boxes. desc: one English paragraph of the item's static appearance in its from-image (for target rows, its decided appearance), opening with its identity; people get the richest descs (ethnicity, gender, age range, skin tone, hair, face, garments, accessories, pose, expression); text rows quote their text verbatim.\\n\\nState only decided facts: visible in the source, demanded by the instruction, or a concrete default needed to realize it. Settle whether the edit targets one instance, all of a class or several; land every magnitude on a concrete value; include visible knock-on effects; added objects are new objects at real-world size; a zoom-in names the neighbors it excludes; an outpainting keeps the source whole and continues it in the same medium. Everything the instruction does not involve stays identical to the source.\\n\\nOutput only the paragraph and the table." ], "widgets_values_named": { "value": "You are the annotation system an image-editing model was trained on. You see the source image(s), attached in order as ref_image_0, ref_image_1, ..., and the user's editing instruction; the edited target image does not exist yet. Determine the edit precisely, imagine the target consistently with the source, and write the record its annotator would have written, on one line: the instruction paragraph, one space, then ONE JSON array. Output nothing else.\\n\\nThe paragraph: English, instruction voice (\\\"Change the ...\\\", \\\"Remove the ...\\\", or \\\"Create a photograph of ...\\\" when the references are drawn into a new frame), never observer phrasing and never a comparison with the target. Cite every involved object, person or text block at its first mention with its table id in its own angle brackets (\\\"remove the delivery van <van_1>\\\"), every table id exactly once and no other id; cite a reference image by its token when content is taken from it (\\\"the cup <cup_1> from <ref_image_1>\\\"). End states (new color, new text in quotes, pose, degree) live in the paragraph, static appearance in the descs; no coordinates. An editing instruction closes with one compact clause that everything else stays identical to the source.\\n\\nThe table, rows {\\\"id\\\", \\\"from\\\", \\\"src_bbox\\\", \\\"tgt_bbox\\\", \\\"desc\\\"}: one row per edited, removed, added, moved or anchoring item, plus the scene or background when it is itself changed or preserved; no rows for untouched scenery. id: a lowercase class noun plus an index (person_1, cup_2) numbered left to right, then top to bottom; text blocks are En_Text_1 and so on; ids are unique. from: \\\"ref_image_N\\\" for an item visible in reference N, \\\"target\\\" for newly created content. src_bbox is the item's box in its from-image and null for target rows; tgt_bbox is its box in the imagined result and null for removed items; moved or resized items carry both; new items are sized like similar objects in the frame. Boxes are [y_min, x_min, y_max, x_max] integers from 0 to 1000, top-left origin, tight around objects, with 5 to 15 units of margin around text. A row may also carry src_bbox_1stage and tgt_bbox_1stage, a first-pass estimate of the same boxes. desc: one English paragraph of the item's static appearance in its from-image (for target rows, its decided appearance), opening with its identity; people get the richest descs (ethnicity, gender, age range, skin tone, hair, face, garments, accessories, pose, expression); text rows quote their text verbatim.\\n\\nState only decided facts: visible in the source, demanded by the instruction, or a concrete default needed to realize it. Settle whether the edit targets one instance, all of a class or several; land every magnitude on a concrete value; include visible knock-on effects; added objects are new objects at real-world size; a zoom-in names the neighbors it excludes; an outpainting keeps the source whole and continues it in the same medium. Everything the instruction does not involve stays identical to the source.\\n\\nOutput only the paragraph and the table." } }, { "id": 17, "type": "PrimitiveStringMultiline", "pos": [ 590.1210602164053, 2396.1662352503763 ], "size": [ 400, 200 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": 49 } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 16, 43 ] } ], "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "replace the background with a forest, the man holding the weapon from reference 2" ], "widgets_values_named": { "value": "replace the background with a forest, the man holding the weapon from reference 2" } }, { "id": 29, "type": "ComfySwitchNode", "pos": [ 1226.6451350674536, 2464.0307253913306 ], "size": [ 270, 78 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "shape": 7, "type": "STRING", "link": 43 }, { "localized_name": "on_true", "name": "on_true", "shape": 7, "type": "STRING", "link": 42 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": 55 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "STRING", "links": [ 44 ] } ], "properties": { "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ false ], "widgets_values_named": { "switch": false } } ], "groups": [], "links": [ { "id": 43, "origin_id": 17, "origin_slot": 0, "target_id": 29, "target_slot": 0, "type": "STRING" }, { "id": 42, "origin_id": 12, "origin_slot": 0, "target_id": 29, "target_slot": 1, "type": "STRING" }, { "id": 44, "origin_id": 29, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "STRING" }, { "id": 49, "origin_id": -10, "origin_slot": 1, "target_id": 17, "target_slot": 0, "type": "STRING" }, { "id": 52, "origin_id": -10, "origin_slot": 4, "target_id": 19, "target_slot": 0, "type": "COMBO" }, { "id": 55, "origin_id": -10, "origin_slot": 5, "target_id": 29, "target_slot": 2, "type": "BOOLEAN" }, { "id": 18, "origin_id": 19, "origin_slot": 0, "target_id": 12, "target_slot": 0, "type": "CLIP" }, { "id": 39, "origin_id": -10, "origin_slot": 0, "target_id": 12, "target_slot": 1, "type": "IMAGE" }, { "id": 33, "origin_id": 21, "origin_slot": 0, "target_id": 12, "target_slot": 4, "type": "STRING" }, { "id": 16, "origin_id": 17, "origin_slot": 0, "target_id": 12, "target_slot": 5, "type": "STRING" }, { "id": 50, "origin_id": -10, "origin_slot": 2, "target_id": 12, "target_slot": 6, "type": "INT" }, { "id": 51, "origin_id": -10, "origin_slot": 3, "target_id": 12, "target_slot": 7, "type": "INT" } ], "extra": {} } ] }, "config": {}, "extra": { "ds": { "scale": 0.5730855330116886, "offset": [ 356.4677886848022, -2014.373713958927 ] }, "frontendVersion": "1.55.17", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }
{
"id": "ae24d8ee-0dd1-42df-94d1-ec16e00ae6d2",
"revision": 0,
"last_node_id": 44,
"last_link_id": 76,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
-36.09271454915006,
2452.1980061067216
],
"size": [
270,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
2
]
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux3_image_klein_sd_bf16.safetensors",
"default"
],
"widgets_values_named": {
"unet_name": "flux3_image_klein_sd_bf16.safetensors",
"weight_dtype": "default"
}
},
{
"id": 2,
"type": "CLIPLoader",
"pos": [
-36.09271454915006,
2584.321485467651
],
"size": [
270,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
1,
28
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"qwen3vl_4b_bf16.safetensors",
"flux3",
"default"
],
"widgets_values_named": {
"clip_name": "qwen3vl_4b_bf16.safetensors",
"type": "flux3",
"device": "default"
}
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [
1760.0844304652899,
2431.0645860869427
],
"size": [
400,
200
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1