Skip to content

Commit

Permalink
added new flow from Datou and support for IPAdapterUnifiedLoader models
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed Jul 3, 2024
1 parent 257726a commit 85c0829
Show file tree
Hide file tree
Showing 2 changed files with 465 additions and 4 deletions.
377 changes: 377 additions & 0 deletions flows/mad_scientist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,377 @@
{
"2": {
"inputs": {
"image": "",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "input;Person's face;order=1"
}
},
"5": {
"inputs": {
"preset": "STANDARD (medium strength)",
"model": [
"8",
0
]
},
"class_type": "IPAdapterUnifiedLoader",
"_meta": {
"title": "IPAdapter Unified Loader"
}
},
"8": {
"inputs": {
"ckpt_name": "DreamShaperXL_Lightning.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint"
}
},
"9": {
"inputs": {
"weight": 1,
"weight_faceidv2": 1,
"weight_type": "strong style transfer",
"combine_embeds": "concat",
"start_at": 0,
"end_at": 1,
"embeds_scaling": "V only",
"layer_weights": "0:0,1:0,2:0,3:0,4:0,5:0,6:1,7:0,8:0,9:0,10:0,11:0",
"model": [
"5",
0
],
"ipadapter": [
"5",
1
],
"image": [
"11",
0
]
},
"class_type": "IPAdapterMS",
"_meta": {
"title": "IPAdapter Mad Scientist"
}
},
"11": {
"inputs": {
"image": "",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "input;Style;order=2"
}
},
"12": {
"inputs": {
"seed": 214343101176349,
"steps": 6,
"cfg": 2,
"sampler_name": "dpmpp_sde",
"scheduler": "karras",
"denoise": 1,
"model": [
"29",
0
],
"positive": [
"29",
1
],
"negative": [
"29",
2
],
"latent_image": [
"15",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"13": {
"inputs": {
"text": [
"26",
0
],
"clip": [
"8",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"14": {
"inputs": {
"text": "",
"clip": [
"8",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"15": {
"inputs": {
"pixels": [
"18",
0
],
"vae": [
"8",
2
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"16": {
"inputs": {
"samples": [
"12",
0
],
"vae": [
"8",
2
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"17": {
"inputs": {
"filename_prefix": "Mad Scientist/img_",
"images": [
"16",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image @Datou"
}
},
"18": {
"inputs": {
"megapixels": 1,
"images": [
"2",
0
]
},
"class_type": "ImageScaleToMegapixels",
"_meta": {
"title": "Scale To Megapixels"
}
},
"22": {
"inputs": {
"strength": 0.6,
"conditioning": [
"13",
0
],
"control_net": [
"23",
0
],
"image": [
"18",
0
]
},
"class_type": "ControlNetApply",
"_meta": {
"title": "Apply ControlNet"
}
},
"23": {
"inputs": {
"control_net_name": "CN-anytest_v4-marged.safetensors"
},
"class_type": "ControlNetLoader",
"_meta": {
"title": "Load ControlNet Model"
}
},
"24": {
"inputs": {
"query": "Is this picture a painting, 3DCG, or photo? What is its artistic genre?",
"debug": "enable",
"url": "http://127.0.0.1:11434",
"model": "llava:7b-v1.6-vicuna-fp16",
"keep_alive": 0,
"images": [
"25",
0
]
},
"class_type": "OllamaVision",
"_meta": {
"title": "Ollama Vision"
}
},
"25": {
"inputs": {
"megapixels": 0.5,
"images": [
"11",
0
]
},
"class_type": "ImageScaleToMegapixels",
"_meta": {
"title": "Scale To Megapixels"
}
},
"26": {
"inputs": {
"text": [
"24",
0
]
},
"class_type": "ShowText|pysssss",
"_meta": {
"title": "Show Text 🐍"
}
},
"29": {
"inputs": {
"weight": 0.8,
"start_at": 0,
"end_at": 1,
"instantid": [
"30",
0
],
"insightface": [
"31",
0
],
"control_net": [
"32",
0
],
"image": [
"33",
0
],
"model": [
"9",
0
],
"positive": [
"22",
0
],
"negative": [
"14",
0
],
"image_kps": [
"18",
0
]
},
"class_type": "ApplyInstantID",
"_meta": {
"title": "Apply InstantID"
}
},
"30": {
"inputs": {
"instantid_file": "instantid-ip-adapter.bin"
},
"class_type": "InstantIDModelLoader",
"_meta": {
"title": "Load InstantID Model"
}
},
"31": {
"inputs": {
"provider": "CPU"
},
"class_type": "InstantIDFaceAnalysis",
"_meta": {
"title": "InstantID Face Analysis"
}
},
"32": {
"inputs": {
"control_net_name": "instantid-controlnet.safetensors"
},
"class_type": "ControlNetLoader",
"_meta": {
"title": "Load ControlNet Model"
}
},
"33": {
"inputs": {
"max_number_of_faces": 5,
"index_of_face": 1,
"scale_factor": 1.5,
"shift_factor": 0.5,
"aspect_ratio": 1,
"image": [
"18",
0
]
},
"class_type": "AutoCropFaces",
"_meta": {
"title": "Auto Crop Faces"
}
},
"34": {
"inputs": {
"images": [
"33",
0
]
},
"class_type": "PreviewImage",
"_meta": {
"title": "Preview Image"
}
},
"39": {
"inputs": {
"name": "mad_scientist",
"display_name": "Mad Scientist",
"description": "Applying different custom styles to an image",
"author": "Datou",
"homepage": "https://openart.ai/workflows/datou/mad-scientist/wOEGydoDWbpwcVPL4GLc",
"documentation": "",
"license": "",
"tags": "[\"general\", \"portrait\"]",
"version": "1.0.0"
},
"class_type": "VixUiWorkflowMetadata",
"_meta": {
"title": "VixUI-WorkflowMetadata"
}
}
}
Loading

0 comments on commit 85c0829

Please sign in to comment.