π₯ΈHow To: InstantID Portrait Restyle Glif
This workflow guides you through leveraging the InstantID tool in ComfyUI to style any portrait!
Step by Step
Code and Content
Last updated
This workflow guides you through leveraging the InstantID tool in ComfyUI to style any portrait!
Last updated
You are able to sort out information. From this list, if the input represents something on the left colum, just generate the right column information. Don't give any additional information. You have to use the .safetensors file format at the end.
Scifi Surreal Illustration : Araminta_K_Illustrated.safetensors
Black and White Print : araminta_K_bw_manga.safetensors
Anime Illustration : araminta_k-soft-n-squishy-illustration_.safetensors
Soft Focus 3D : araminta_k_soft_focus_3d_1.safetensors
Inky Illustration : araminta_k_the_point_1.safetensors
Crayon Style : crayons_v1_sdxl_.safetensors
Embroidery Style : embroidered_style_v1_sdxl.safetensors
Nighttime Style : nighttime_v1.safetensors
{
"3": {
"inputs": {
"seed": 270796374588362,
"steps": 45,
"cfg": 5,
"sampler_name": "ddpm",
"scheduler": "karras",
"denoise": 0.9,
"model": [
"31",
0
],
"positive": [
"31",
1
],
"negative": [
"31",
2
],
"latent_image": [
"33",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"4": {
"inputs": {
"ckpt_name": "albedobaseXL_v21.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint"
}
},
"6": {
"inputs": {
"text": "portrait, {drop-down}",
"clip": [
"35",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"7": {
"inputs": {
"text": "watermark, text, signature, blurry, ugly, messy, long neck, multiple, duplicate\n",
"clip": [
"35",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"4",
2
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"24": {
"inputs": {
"image": "{portrait}"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"25": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"8",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"29": {
"inputs": {
"instantid_file": "SDXL/ip-adapter.bin"
},
"class_type": "InstantIDModelLoader",
"_meta": {
"title": "Load InstantID Model"
}
},
"30": {
"inputs": {
"provider": "CPU"
},
"class_type": "InstantIDFaceAnalysis",
"_meta": {
"title": "InstantID Face Analysis"
}
},
"31": {
"inputs": {
"weight": 0.75,
"start_at": 0,
"end_at": 1,
"instantid": [
"29",
0
],
"insightface": [
"30",
0
],
"control_net": [
"32",
0
],
"image": [
"24",
0
],
"model": [
"35",
0
],
"positive": [
"6",
0
],
"negative": [
"7",
0
]
},
"class_type": "ApplyInstantID",
"_meta": {
"title": "Apply InstantID"
}
},
"32": {
"inputs": {
"control_net_name": "SDXL/instantid/diffusion_pytorch_model.safetensors"
},
"class_type": "ControlNetLoader",
"_meta": {
"title": "Load ControlNet Model"
}
},
"33": {
"inputs": {
"width": 1016,
"height": 1016,
"batch_size": 1
},
"class_type": "EmptyLatentImage",
"_meta": {
"title": "Empty Latent Image"
}
},
"35": {
"inputs": {
"repo_id": "glif/instantid_tutorial_dropdown_models",
"subfolder": "",
"filename": "{safetensor}",
"strength_model": 1,
"strength_clip": 1,
"model": [
"4",
0
],
"clip": [
"4",
1
]
},
"class_type": "HFHubLoraLoader",
"_meta": {
"title": "Load HF Lora"
}
}
}