{
  "id": "a5c641a9-fb27-405a-b79e-c6e4739447c2",
  "revision": 0,
  "last_node_id": 6,
  "last_link_id": 4,
  "nodes": [
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        300,
        130
      ],
      "size": [
        282.798828125,
        102
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1,
            4
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "fashion_model_orange_beaded_shirt.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "fashion_model_orange_beaded_shirt.png",
        "upload": "image"
      }
    },
    {
      "id": 2,
      "type": "Flux31ImageNode",
      "pos": [
        702.798828125,
        130
      ],
      "size": [
        400,
        316
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 1
        },
        {
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "bounding_boxes",
          "shape": 7,
          "type": "ARRAY",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "Flux31ImageNode"
      },
      "widgets_values": [
        "In image 1, restyle her hair: replace the sleek pulled-back blonde hair with a sharp collarbone-length blunt bob with a heavy straight fringe, still pale platinum blonde, hair tucked behind one ear. Keep her face, skin, eyebrows, lips, earrings and the orange and black beaded shirt exactly as they are, and keep the carved wood panelled background and the low sunlight unchanged.",
        "quality",
        "match image 1",
        "match image 1",
        "off",
        42,
        "randomize",
        4
      ],
      "widgets_values_named": {
        "prompt": "In image 1, restyle her hair: replace the sleek pulled-back blonde hair with a sharp collarbone-length blunt bob with a heavy straight fringe, still pale platinum blonde, hair tucked behind one ear. Keep her face, skin, eyebrows, lips, earrings and the orange and black beaded shirt exactly as they are, and keep the carved wood panelled background and the low sunlight unchanged.",
        "mode": "quality",
        "aspect_ratio": "match image 1",
        "resolution": "match image 1",
        "grounding": "off",
        "seed": 42,
        "control_after_generate": "randomize",
        "safety_tolerance": 4
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 3,
      "type": "SaveImageAdvanced",
      "pos": [
        1222.798828125,
        130
      ],
      "size": [
        400,
        470
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 2
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            3
          ]
        }
      ],
      "properties": {},
      "widgets_values": [
        "api_bfl_flux3_1_image_edit",
        "png",
        "8-bit",
        "sRGB",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "api_bfl_flux3_1_image_edit",
        "format": "png",
        "format.bit_depth": "8-bit",
        "format.input_color_space": "sRGB",
        "format.channels": "auto"
      }
    },
    {
      "id": 4,
      "type": "ImageCompare",
      "pos": [
        1742.798828125,
        130
      ],
      "size": [
        440,
        460
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE",
          "link": 3
        },
        {
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE",
          "link": 4
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "ImageCompare"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 5,
      "type": "MarkdownNote",
      "pos": [
        -320,
        130
      ],
      "size": [
        560,
        820
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## Input Asset\n\n- [fashion_model_orange_beaded_shirt.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/fashion_model_orange_beaded_shirt.png)\n\n**FLUX 3.1 Image - editing with an instruction**\n\nDescribe the change in one instruction, then say what must stay: the node expands the prompt and repaints only what you name.\n\n**Referring to images**\n- Connected images are called `image 1`, `image 2`, ... in slot order, whatever their file names. Write that name into the sentence: \"in image 1, give the woman the coat from image 2\".\n- `image 1` is the one a mask or `match image 1` applies to, and it sets the framing of the result.\n- Boxes from Create Bounding Boxes are cited as `<box_1>`, `<box_2>` in row order.\n\n**Phrasing**\n- Ask for a physical outcome: \"replace the sleek pulled-back hair with a blunt bob and a heavy fringe\" beats \"different hair\".\n- Close with anchors: \"keep her face, skin and the shirt exactly as they are\". Anything unnamed can be repainted, so repeat the anchors on every pass.\n- `mask` white areas may change, black areas stay.\n\n**Controls**\n- `quality` for text, fine detail and many references; `fast` for volume.\n- `match image 1` keeps the input size and framing, so a result can be fed straight back in.\n- `grounding` off for pure edits, `auto` only when the instruction names a real place or product."
      ],
      "widgets_values_named": {
        "text": "## Input Asset\n\n- [fashion_model_orange_beaded_shirt.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/fashion_model_orange_beaded_shirt.png)\n\n**FLUX 3.1 Image - editing with an instruction**\n\nDescribe the change in one instruction, then say what must stay: the node expands the prompt and repaints only what you name.\n\n**Referring to images**\n- Connected images are called `image 1`, `image 2`, ... in slot order, whatever their file names. Write that name into the sentence: \"in image 1, give the woman the coat from image 2\".\n- `image 1` is the one a mask or `match image 1` applies to, and it sets the framing of the result.\n- Boxes from Create Bounding Boxes are cited as `<box_1>`, `<box_2>` in row order.\n\n**Phrasing**\n- Ask for a physical outcome: \"replace the sleek pulled-back hair with a blunt bob and a heavy fringe\" beats \"different hair\".\n- Close with anchors: \"keep her face, skin and the shirt exactly as they are\". Anything unnamed can be repainted, so repeat the anchors on every pass.\n- `mask` white areas may change, black areas stay.\n\n**Controls**\n- `quality` for text, fine detail and many references; `fast` for volume.\n- `match image 1` keeps the input size and framing, so a result can be fed straight back in.\n- `grounding` off for pure edits, `auto` only when the instruction names a real place or product."
      },
      "color": "#222",
      "bgcolor": "#000"
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "IMAGE"
    ],
    [
      2,
      2,
      0,
      3,
      0,
      "IMAGE"
    ],
    [
      3,
      3,
      0,
      4,
      0,
      "IMAGE"
    ],
    [
      4,
      1,
      0,
      4,
      1,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.3558410273836739,
      "offset": [
        1888.3421520178515,
        893.3602751948865
      ]
    },
    "frontendVersion": "1.60.3"
  },
  "version": 0.4
}