| { |
| "1": { |
| "_meta": { |
| "title": "Load FLUX.1 Dev fp8 (all-in-one checkpoint)" |
| }, |
| "class_type": "CheckpointLoaderSimple", |
| "inputs": { |
| "ckpt_name": "flux1-dev-fp8.safetensors" |
| } |
| }, |
| "10": { |
| "_meta": { |
| "title": "VAE Encode content" |
| }, |
| "class_type": "VAEEncode", |
| "inputs": { |
| "pixels": [ |
| "15", |
| 0 |
| ], |
| "vae": [ |
| "1", |
| 2 |
| ] |
| } |
| }, |
| "11": { |
| "_meta": { |
| "title": "Flux Guidance" |
| }, |
| "class_type": "FluxGuidance", |
| "inputs": { |
| "conditioning": [ |
| "7", |
| 0 |
| ], |
| "guidance": 3.5 |
| } |
| }, |
| "12": { |
| "_meta": { |
| "title": "Style Reference Image" |
| }, |
| "class_type": "LoadImage", |
| "inputs": { |
| "image": "example.png" |
| } |
| }, |
| "13": { |
| "_meta": { |
| "title": "Pass 1 \u2014 USO style (denoise = style strength)" |
| }, |
| "class_type": "KSampler", |
| "inputs": { |
| "cfg": 1.0, |
| "denoise": 0.6, |
| "latent_image": [ |
| "10", |
| 0 |
| ], |
| "model": [ |
| "6", |
| 0 |
| ], |
| "negative": [ |
| "9", |
| 0 |
| ], |
| "positive": [ |
| "11", |
| 0 |
| ], |
| "sampler_name": "euler", |
| "scheduler": "simple", |
| "seed": 42, |
| "steps": 20 |
| } |
| }, |
| "14": { |
| "_meta": { |
| "title": "Content Image (what to restyle)" |
| }, |
| "class_type": "LoadImage", |
| "inputs": { |
| "image": "example.png" |
| } |
| }, |
| "15": { |
| "_meta": { |
| "title": "Scale content (working resolution)" |
| }, |
| "class_type": "ImageScaleToMaxDimension", |
| "inputs": { |
| "image": [ |
| "14", |
| 0 |
| ], |
| "largest_size": 1280, |
| "upscale_method": "lanczos" |
| } |
| }, |
| "16": { |
| "class_type": "VAEDecode", |
| "inputs": { |
| "samples": [ |
| "23", |
| 0 |
| ], |
| "vae": [ |
| "1", |
| 2 |
| ] |
| } |
| }, |
| "2": { |
| "_meta": { |
| "title": "USO DiT LoRA" |
| }, |
| "class_type": "LoraLoaderModelOnly", |
| "inputs": { |
| "lora_name": "uso-flux1-dit-lora-v1.safetensors", |
| "model": [ |
| "1", |
| 0 |
| ], |
| "strength_model": 1.0 |
| } |
| }, |
| "21": { |
| "class_type": "SaveImage", |
| "inputs": { |
| "filename_prefix": "uso_style_transfer", |
| "images": [ |
| "16", |
| 0 |
| ] |
| } |
| }, |
| "23": { |
| "_meta": { |
| "title": "Pass 2 \u2014 plain flux refine (cleans USO texture)" |
| }, |
| "class_type": "KSampler", |
| "inputs": { |
| "cfg": 1.0, |
| "denoise": 0.3, |
| "latent_image": [ |
| "13", |
| 0 |
| ], |
| "model": [ |
| "1", |
| 0 |
| ], |
| "negative": [ |
| "9", |
| 0 |
| ], |
| "positive": [ |
| "11", |
| 0 |
| ], |
| "sampler_name": "euler", |
| "scheduler": "simple", |
| "seed": 42, |
| "steps": 20 |
| } |
| }, |
| "3": { |
| "_meta": { |
| "title": "USO Projector (model patch)" |
| }, |
| "class_type": "ModelPatchLoader", |
| "inputs": { |
| "name": "uso-flux1-projector-v1.safetensors" |
| } |
| }, |
| "4": { |
| "_meta": { |
| "title": "Load SigCLIP Vision" |
| }, |
| "class_type": "CLIPVisionLoader", |
| "inputs": { |
| "clip_name": "sigclip_vision_patch14_384.safetensors" |
| } |
| }, |
| "5": { |
| "_meta": { |
| "title": "Encode Style 1" |
| }, |
| "class_type": "CLIPVisionEncode", |
| "inputs": { |
| "clip_vision": [ |
| "4", |
| 0 |
| ], |
| "crop": "center", |
| "image": [ |
| "12", |
| 0 |
| ] |
| } |
| }, |
| "6": { |
| "_meta": { |
| "title": "Apply USO Style 1" |
| }, |
| "class_type": "USOStyleReference", |
| "inputs": { |
| "clip_vision_output": [ |
| "5", |
| 0 |
| ], |
| "model": [ |
| "2", |
| 0 |
| ], |
| "model_patch": [ |
| "3", |
| 0 |
| ] |
| } |
| }, |
| "7": { |
| "_meta": { |
| "title": "Positive Prompt (describe the content image!)" |
| }, |
| "class_type": "CLIPTextEncode", |
| "inputs": { |
| "clip": [ |
| "1", |
| 1 |
| ], |
| "text": "A high quality photo of a young woman, natural skin texture, professional photography" |
| } |
| }, |
| "9": { |
| "_meta": { |
| "title": "Negative (zeroed \u2014 flux uses CFG 1)" |
| }, |
| "class_type": "ConditioningZeroOut", |
| "inputs": { |
| "conditioning": [ |
| "7", |
| 0 |
| ] |
| } |
| } |
| } |
|
|