Skip to content
Python
4.6 KB
Raw Blame
{
  "1": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "flux3-image-klein-int8-convrot.safetensors",
      "weight_dtype": "default"
    },
    "_meta": {
      "title": "Load Diffusion Model"
    }
  },
  "2": {
    "class_type": "CLIPLoader",
    "inputs": {
      "clip_name": "qwen3vl_4b_int8_convrot.safetensors",
      "type": "flux3",
      "device": "default"
    },
    "_meta": {
      "title": "Load CLIP"
    }
  },
  "3": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "flux2-vae.safetensors"
    },
    "_meta": {
      "title": "Load VAE"
    }
  },
  "4": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "clip": [
        "2",
        0
      ],
      "text": "Change the jacket to deep red leather, keep everything else the same."
    },
    "_meta": {
      "title": "Positive Prompt"
    }
  },
  "7": {
    "class_type": "KSampler",
    "inputs": {
      "model": [
        "1",
        0
      ],
      "positive": [
        "17",
        0
      ],
      "negative": [
        "17",
        1
      ],
      "latent_image": [
        "op_latent",
        0
      ],
      "seed": 563228241303057,
      "steps": 16,
      "cfg": 1,
      "sampler_name": "euler",
      "scheduler": "simple",
      "denoise": 1
    },
    "_meta": {
      "title": "KSampler"
    }
  },
  "8": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "7",
        0
      ],
      "vae": [
        "3",
        0
      ]
    },
    "_meta": {
      "title": "VAE Decode"
    }
  },
  "9": {
    "class_type": "SaveImage",
    "inputs": {
      "images": [
        "8",
        0
      ],
      "filename_prefix": "freefield/expand-image"
    },
    "_meta": {
      "title": "Save Image"
    }
  },
  "11": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "woman_gold_earring_teal_top_portrait.png"
    },
    "_meta": {
      "title": "Load Image"
    }
  },
  "17": {
    "class_type": "ReferenceMultiLatent",
    "inputs": {
      "positive": [
        "4",
        0
      ],
      "negative": [
        "32",
        0
      ],
      "vae": [
        "3",
        0
      ],
      "images.image0": [
        "op_fill",
        0
      ],
      "resolution": "resize",
      "resolution.megapixels": 1
    },
    "_meta": {
      "title": "Set Reference Multi Latent"
    }
  },
  "32": {
    "class_type": "ConditioningZeroOut",
    "inputs": {
      "conditioning": [
        "4",
        0
      ]
    },
    "_meta": {
      "title": "Conditioning Zero Out"
    }
  },
  "op_scale": {
    "class_type": "ImageScaleToTotalPixels",
    "inputs": {
      "image": [
        "11",
        0
      ],
      "upscale_method": "lanczos",
      "megapixels": 1.0,
      "resolution_steps": 16
    },
    "_meta": {
      "title": "Photo at 1 MP"
    }
  },
  "op_pad": {
    "class_type": "ImagePadForOutpaint",
    "inputs": {
      "image": [
        "op_scale",
        0
      ],
      "left": 192,
      "top": 192,
      "right": 192,
      "bottom": 192,
      "feathering": 24
    },
    "_meta": {
      "title": "Border to draw (its mask)"
    }
  },
  "op_size": {
    "class_type": "GetImageSize",
    "inputs": {
      "image": [
        "op_pad",
        0
      ]
    },
    "_meta": {
      "title": "Canvas size"
    }
  },
  "op_stretch": {
    "class_type": "ImageScale",
    "inputs": {
      "image": [
        "op_scale",
        0
      ],
      "upscale_method": "bilinear",
      "width": [
        "op_size",
        0
      ],
      "height": [
        "op_size",
        1
      ],
      "crop": "disabled"
    },
    "_meta": {
      "title": "Photo stretched to the canvas"
    }
  },
  "op_blur": {
    "class_type": "ImageBlur",
    "inputs": {
      "image": [
        "op_stretch",
        0
      ],
      "blur_radius": 31,
      "sigma": 10.0
    },
    "_meta": {
      "title": "Blurred"
    }
  },
  "op_fill": {
    "class_type": "ImageCompositeMasked",
    "inputs": {
      "destination": [
        "op_blur",
        0
      ],
      "source": [
        "op_scale",
        0
      ],
      "x": 192,
      "y": 192,
      "resize_source": false
    },
    "_meta": {
      "title": "Photo on its blurred canvas"
    }
  },
  "op_encode": {
    "class_type": "VAEEncode",
    "inputs": {
      "pixels": [
        "op_fill",
        0
      ],
      "vae": [
        "3",
        0
      ]
    },
    "_meta": {
      "title": "Encode the canvas"
    }
  },
  "op_latent": {
    "class_type": "SetLatentNoiseMask",
    "inputs": {
      "samples": [
        "op_encode",
        0
      ],
      "mask": [
        "op_pad",
        1
      ]
    },
    "_meta": {
      "title": "Only the border is drawn"
    }
  }
}