Skip to content

Commit

Permalink
ported memoji_portrait workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed Jun 25, 2024
1 parent d146b51 commit ad3b6cd
Showing 1 changed file with 299 additions and 0 deletions.
299 changes: 299 additions & 0 deletions flows/memoji_portrait.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,299 @@
{
"14": {
"inputs": {
"ckpt_name": "DreamShaperXL_Lightning.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint Base"
}
},
"290": {
"inputs": {
"text": [
"390",
0
],
"clip": [
"379",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"291": {
"inputs": {
"text": "Signature, deformed, smooth, plastic, blurry, grainy, closed eyes, ((hands)), ((hand)), (freckle, spot:1.4)\n",
"clip": [
"379",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"336": {
"inputs": {
"weight": 0.6,
"start_at": 0,
"end_at": 1,
"instantid": [
"337",
0
],
"insightface": [
"338",
0
],
"control_net": [
"339",
0
],
"image": [
"387",
0
],
"model": [
"379",
0
],
"positive": [
"290",
0
],
"negative": [
"291",
0
],
"image_kps": [
"385",
0
]
},
"class_type": "ApplyInstantID",
"_meta": {
"title": "Apply InstantID"
}
},
"337": {
"inputs": {
"instantid_file": "instantid-ip-adapter.bin"
},
"class_type": "InstantIDModelLoader",
"_meta": {
"title": "Load InstantID Model"
}
},
"338": {
"inputs": {
"provider": "CPU"
},
"class_type": "InstantIDFaceAnalysis",
"_meta": {
"title": "InstantID Face Analysis"
}
},
"339": {
"inputs": {
"control_net_name": "instantid-controlnet.safetensors"
},
"class_type": "ControlNetLoader",
"_meta": {
"title": "Load ControlNet Model"
}
},
"345": {
"inputs": {
"width": 1016,
"height": 1016,
"batch_size": 1
},
"class_type": "EmptyLatentImage",
"_meta": {
"title": "Empty Latent Image"
}
},
"357": {
"inputs": {
"seed": 110504518086022,
"steps": 4,
"cfg": 3,
"sampler_name": "dpmpp_sde",
"scheduler": "karras",
"denoise": 1,
"preview_method": "none",
"vae_decode": "true",
"model": [
"381",
0
],
"positive": [
"336",
1
],
"negative": [
"336",
2
],
"latent_image": [
"345",
0
],
"optional_vae": [
"14",
2
],
"script": [
"383",
0
]
},
"class_type": "KSampler (Efficient)",
"_meta": {
"title": "KSampler (Efficient)"
}
},
"358": {
"inputs": {
"upscale_type": "latent",
"hires_ckpt_name": "(use same)",
"latent_upscaler": "ttl_nn.SDXL",
"pixel_upscaler": "4x_NMKD-Siax_200k.pth",
"upscale_by": 1.5,
"use_same_seed": true,
"seed": -1,
"hires_steps": 4,
"denoise": 0.5,
"iterations": 1,
"use_controlnet": false,
"control_net_name": "depth-zoe-xl-v1.0-controlnet.safetensors",
"strength": 0.8,
"preprocessor": "DepthAnythingPreprocessor",
"preprocessor_imgs": true
},
"class_type": "HighRes-Fix Script",
"_meta": {
"title": "HighRes-Fix Script"
}
},
"359": {
"inputs": {
"filename_prefix": "Memoji/img_",
"images": [
"357",
5
]
},
"class_type": "SaveImage",
"_meta": {
"title": "@Datou https://twitter.com/Datou"
}
},
"379": {
"inputs": {
"lora_name": "memoji_1024-000005.safetensors",
"strength_model": 1,
"strength_clip": 0.8,
"model": [
"14",
0
],
"clip": [
"14",
1
]
},
"class_type": "LoraLoader",
"_meta": {
"title": "Load LoRA"
}
},
"381": {
"inputs": {
"hard_mode": true,
"boost": true,
"model": [
"336",
0
]
},
"class_type": "Automatic CFG",
"_meta": {
"title": "Automatic CFG"
}
},
"383": {
"inputs": {
"state": true,
"display_name": "Perform 1.5x scaling",
"optional": true,
"advanced": true,
"order": 99,
"custom_id": "extra_size",
"input_on_state": [
"358",
0
]
},
"class_type": "VixUiCheckboxLogic",
"_meta": {
"title": "VixUI-CheckboxLogic"
}
},
"385": {
"inputs": {
"image": "",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "input;Person's face pose; optional;advanced;order=3"
}
},
"387": {
"inputs": {
"image": "",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "input;Person's face;order=1"
}
},
"388": {
"inputs": {
"name": "memoji_portrait",
"display_name": "Memoji Portrait",
"description": "Portrait photos as a Memoji",
"author": "Datou",
"homepage": "https://openart.ai/workflows/datou/memoji/Lcprla9BQL29IFVjC93l",
"documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/MemojiPortrait.html",
"license": "",
"tags": "[\"cartoon\", \"portrait\"]",
"version": "1.0.0"
},
"class_type": "VixUiWorkflowMetadata",
"_meta": {
"title": "VixUI-WorkflowMetadata"
}
},
"390": {
"inputs": {
"text": "girl, portrait, close up",
"display_name": "Prompt",
"optional": false,
"advanced": false,
"order": 2,
"custom_id": ""
},
"class_type": "VixUiPrompt",
"_meta": {
"title": "VixUI-Prompt"
}
}
}

0 comments on commit ad3b6cd

Please sign in to comment.