{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        3380.325805958516,
        -3570.102041040783
      ],
      "scale": 0.21230864944508418
    },
    "frontendVersion": "1.42.6"
  },
  "groups": [
    {
      "bounding": [
        0,
        4450,
        2281.32716304948,
        1343.1676641996046
      ],
      "color": "#8AA",
      "flags": {},
      "font_size": 24,
      "id": 1,
      "title": "STEP 1 - PRODUCT PHOTOGRAPHY GENERATION"
    },
    {
      "bounding": [
        0,
        5820,
        2282.785878822732,
        716.0009159039173
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "STEP 2 - PRODUCT PHOTOGRAPHY EDITS"
    },
    {
      "bounding": [
        0,
        6570,
        2280.823511202766,
        769.3875392867822
      ],
      "color": "#88A",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "STEP 3 - PRODUCT VIDEO GENERATION"
    }
  ],
  "id": "0ebc5846-69c0-4ea3-b14a-83ba95ed156c",
  "last_link_id": 261,
  "last_node_id": 114,
  "links": [
    [
      6,
      7,
      0,
      8,
      0,
      "IMAGE"
    ],
    [
      15,
      7,
      0,
      13,
      1,
      "IMAGE"
    ],
    [
      18,
      16,
      0,
      17,
      0,
      "IMAGE"
    ],
    [
      19,
      16,
      0,
      18,
      1,
      "IMAGE"
    ],
    [
      22,
      12,
      0,
      18,
      0,
      "IMAGE"
    ],
    [
      24,
      21,
      0,
      22,
      0,
      "VIDEO"
    ],
    [
      32,
      30,
      0,
      16,
      0,
      "IMAGE"
    ],
    [
      33,
      12,
      0,
      30,
      0,
      "IMAGE"
    ],
    [
      34,
      29,
      0,
      30,
      1,
      "IMAGE"
    ],
    [
      35,
      31,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      37,
      31,
      0,
      13,
      0,
      "IMAGE"
    ],
    [
      261,
      33,
      0,
      21,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 7,
      "inputs": [
        {
          "link": 35,
          "localized_name": "image",
          "name": "image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "mask",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": null,
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "localized_name": "quality",
          "name": "quality",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "quality"
          }
        },
        {
          "link": null,
          "localized_name": "background",
          "name": "background",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "background"
          }
        },
        {
          "link": null,
          "localized_name": "size",
          "name": "size",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "size"
          }
        },
        {
          "link": null,
          "localized_name": "n",
          "name": "n",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "n"
          }
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "model"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            6,
            15
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        560.0000123917704,
        5929.999849168046
      ],
      "properties": {
        "Node name for S&R": "OpenAIGPTImage1"
      },
      "size": [
        520,
        540
      ],
      "type": "OpenAIGPTImage1",
      "widgets_values": [
        "Remove the moss at the red circles. And add a strand of mint flowers around blue circle",
        1873743837,
        "randomize",
        "high",
        "auto",
        "auto",
        1,
        "gpt-image-2"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 8,
      "inputs": [
        {
          "link": 6,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [],
      "pos": [
        1109.9999897734697,
        5929.999849168046
      ],
      "properties": {},
      "size": [
        550,
        540
      ],
      "type": "SaveImage",
      "widgets_values": [
        "Product_Edit"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 12,
      "inputs": [
        {
          "link": null,
          "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"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            22,
            33
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        50.00005131012074,
        4569.999948094343
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "image": "dd16d95625c95c7390fca4624644d65ffa4a218cdbd9a0485f058dc97184941b.png [input]"
      },
      "size": [
        410,
        540
      ],
      "title": "INPUT PRODUCT",
      "type": "LoadImage",
      "widgets_values": [
        "fb62af506af863e4e580127b6596710ed9349a62214d60b1feea5e319af3fb05.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 13,
      "inputs": [
        {
          "link": 37,
          "localized_name": "image_a",
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 15,
          "localized_name": "image_b",
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "compare_view",
          "name": "compare_view",
          "type": "IMAGECOMPARE",
          "widget": {
            "name": "compare_view"
          }
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [],
      "pos": [
        1689.999980290701,
        5929.999849168046
      ],
      "properties": {
        "Node name for S&R": "ImageCompare"
      },
      "size": [
        510,
        540
      ],
      "type": "ImageCompare",
      "widgets_values": []
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 16,
      "inputs": [
        {
          "link": 32,
          "localized_name": "image",
          "name": "image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "mask",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": null,
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "localized_name": "quality",
          "name": "quality",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "quality"
          }
        },
        {
          "link": null,
          "localized_name": "background",
          "name": "background",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "background"
          }
        },
        {
          "link": null,
          "localized_name": "size",
          "name": "size",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "size"
          }
        },
        {
          "link": null,
          "localized_name": "n",
          "name": "n",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "n"
          }
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "model"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            18,
            19
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        570.000012217809,
        4909.999935502695
      ],
      "properties": {
        "Node name for S&R": "OpenAIGPTImage1"
      },
      "size": [
        520,
        540
      ],
      "type": "OpenAIGPTImage1",
      "widgets_values": [
        "Place the product in the first image to the scene in second image, and change the greenery to mint leaves.",
        515288000,
        "randomize",
        "high",
        "auto",
        "auto",
        1,
        "gpt-image-2"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 17,
      "inputs": [
        {
          "link": 18,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [],
      "pos": [
        1119.9999862610289,
        4909.999935502695
      ],
      "properties": {},
      "size": [
        550,
        540
      ],
      "type": "SaveImage",
      "widgets_values": [
        "Product"
      ]
    },
    {
      "flags": {},
      "id": 18,
      "inputs": [
        {
          "link": 22,
          "localized_name": "image_a",
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 19,
          "localized_name": "image_b",
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "compare_view",
          "name": "compare_view",
          "type": "IMAGECOMPARE",
          "widget": {
            "name": "compare_view"
          }
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [],
      "pos": [
        1699.9999379304986,
        4909.999935502695
      ],
      "properties": {
        "Node name for S&R": "ImageCompare"
      },
      "size": [
        510,
        540
      ],
      "type": "ImageCompare",
      "widgets_values": []
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {
        "collapsed": false
      },
      "id": 21,
      "inputs": [
        {
          "link": 261,
          "localized_name": "first_frame",
          "name": "first_frame",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "last_frame",
          "name": "last_frame",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": null,
          "localized_name": "model.prompt",
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          }
        },
        {
          "link": null,
          "localized_name": "model.resolution",
          "name": "model.resolution",
          "type": "COMBO",
          "widget": {
            "name": "model.resolution"
          }
        },
        {
          "link": null,
          "localized_name": "model.ratio",
          "name": "model.ratio",
          "type": "COMBO",
          "widget": {
            "name": "model.ratio"
          }
        },
        {
          "link": null,
          "localized_name": "model.duration",
          "name": "model.duration",
          "type": "INT",
          "widget": {
            "name": "model.duration"
          }
        },
        {
          "link": null,
          "localized_name": "model.generate_audio",
          "name": "model.generate_audio",
          "type": "BOOLEAN",
          "widget": {
            "name": "model.generate_audio"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "localized_name": "watermark",
          "name": "watermark",
          "type": "BOOLEAN",
          "widget": {
            "name": "watermark"
          }
        },
        {
          "link": null,
          "localized_name": "first_frame_asset_id",
          "name": "first_frame_asset_id",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "first_frame_asset_id"
          }
        },
        {
          "link": null,
          "localized_name": "last_frame_asset_id",
          "name": "last_frame_asset_id",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "last_frame_asset_id"
          }
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            24
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        560.0000123917704,
        6699.9997729489
      ],
      "properties": {
        "Node name for S&R": "ByteDance2FirstLastFrameNode"
      },
      "showAdvanced": false,
      "size": [
        520,
        408.96875
      ],
      "type": "ByteDance2FirstLastFrameNode",
      "widgets_values": [
        "Seedance 2.0",
        "Camera slowly orbits left to right around the subject, one continuous take, no cuts.",
        "720p",
        "adaptive",
        7,
        false,
        1401855032,
        "randomize",
        false,
        "",
        ""
      ]
    },
    {
      "flags": {},
      "id": 22,
      "inputs": [
        {
          "link": 24,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "codec",
          "type": "COMBO",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [],
      "pos": [
        1109.9999897734697,
        6699.9997729489
      ],
      "properties": {},
      "size": [
        800,
        530
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/Product_Video",
        "auto",
        "auto"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 29,
      "inputs": [
        {
          "link": null,
          "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"
          }
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            34
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        60.00004779767983,
        5159.999925387194
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "size": [
        400,
        570
      ],
      "title": "INPUT BACKGROUND (OPTIONAL)",
      "type": "LoadImage",
      "widgets_values": [
        "554142288b31f8cea9dd6fb55f088bd58ad00ed408e2505dd84268010e200d73.png [output]",
        "image"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 30,
      "inputs": [
        {
          "link": 33,
          "localized_name": "image_1",
          "name": "image_1",
          "type": "IMAGE"
        },
        {
          "link": 34,
          "localized_name": "image_2",
          "name": "image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "inputcount",
          "name": "inputcount",
          "type": "INT",
          "widget": {
            "name": "inputcount"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            32
          ],
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        570,
        4850
      ],
      "properties": {},
      "size": [
        270,
        180
      ],
      "type": "ImageBatchMulti",
      "widgets_values": [
        2,
        null
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 31,
      "inputs": [
        {
          "link": null,
          "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"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            35,
            37
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        60.00004779767983,
        5929.999849168046
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "image": "fdd6743167a5a253a78c96cc4a3c200c3b8f1930dfd84c0833964e2e892a7da1.png [input]"
      },
      "size": [
        410,
        540
      ],
      "title": "INPUT IMAGE",
      "type": "LoadImage",
      "widgets_values": [
        "fdd6743167a5a253a78c96cc4a3c200c3b8f1930dfd84c0833964e2e892a7da1.png [input]",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 33,
      "inputs": [
        {
          "link": null,
          "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"
          }
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            261
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        60.00004779767983,
        6699.9997729489
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "image": "2c6468738c833e1734eaf3669a8546021a4ca96dea6a52cb534ee0d1f0efb877.png [input]"
      },
      "size": [
        410,
        540
      ],
      "title": "INPUT FRAME",
      "type": "LoadImage",
      "widgets_values": [
        "9a00b90337b2951d4965135f2bf35a48c620be82930380c4fe5759bce2b31234.png",
        "image"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 114,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [],
      "pos": [
        0.00003002456423928379,
        4149.99996936164
      ],
      "properties": {},
      "size": [
        610,
        280
      ],
      "title": "Quick Intro",
      "type": "MarkdownNote",
      "widgets_values": [
        "**STEP 1 - PRODUCT PHOTOGRAPHY GENERATION**\n<br> Input a product reference image and an optional background to generate a product photography\n\n**STEP 2 - PRODUCT PHOTOGRAPHY EDITS**\n<br> Input a product photography. Then right click and \"open mask editor\" to draw circles or lines as art direction notes, and reflect them in text prompts to edit the photo\n\n**STEP 3 - PRODUCT VIDEO GENERATION**\n<br> Input the final product photography to generate a hero shot of the product\n\n**All three steps are optional and can be used independently. Before running a step, bypass all nodes in the other two steps.**"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}