workflows/sdxl_img2img.json
workflows/sdxl_img2img.jsonBrowse 33 files
547 tokens
1,652 bytes
Token encoding: o200k_base
Snapshot 24fd22b
← Back to SKILL.md
1{2 "_comment": "SDXL img2img: load an input image, encode to latent, denoise partially. Use --input-image image=./photo.png with run_workflow.py. Lower 'denoise' value preserves more of the source image.",3 "1": {4 "class_type": "LoadImage",5 "_meta": {"title": "Load Source Image"},6 "inputs": {"image": "REPLACE_WITH_UPLOADED_FILENAME.png"}7 },8 "3": {9 "class_type": "KSampler",10 "_meta": {"title": "KSampler"},11 "inputs": {12 "seed": 42,13 "steps": 30,14 "cfg": 7.5,15 "sampler_name": "dpmpp_2m",16 "scheduler": "karras",17 "denoise": 0.65,18 "model": ["4", 0],19 "positive": ["6", 0],20 "negative": ["7", 0],21 "latent_image": ["12", 0]22 }23 },24 "4": {25 "class_type": "CheckpointLoaderSimple",26 "_meta": {"title": "Load SDXL Base"},27 "inputs": {"ckpt_name": "sd_xl_base_1.0.safetensors"}28 },29 "6": {30 "class_type": "CLIPTextEncode",31 "_meta": {"title": "Positive Prompt"},32 "inputs": {"text": "make it cyberpunk, neon lights, futuristic", "clip": ["4", 1]}33 },34 "7": {35 "class_type": "CLIPTextEncode",36 "_meta": {"title": "Negative Prompt"},37 "inputs": {"text": "ugly, blurry, low quality, deformed", "clip": ["4", 1]}38 },39 "8": {40 "class_type": "VAEDecode",41 "_meta": {"title": "VAE Decode"},42 "inputs": {"samples": ["3", 0], "vae": ["4", 2]}43 },44 "9": {45 "class_type": "SaveImage",46 "_meta": {"title": "Save Image"},47 "inputs": {"filename_prefix": "sdxl_img2img", "images": ["8", 0]}48 },49 "12": {50 "class_type": "VAEEncode",51 "_meta": {"title": "VAE Encode"},52 "inputs": {"pixels": ["1", 0], "vae": ["4", 2]}53 }54}55