Face Find SDXL
5.0
1 reviewsDescription
Discover a unique face for your character! This workflow is designed to generate diverse, random faces, based on randomly generated names. By doing this, we sidestep the use of celebrity images and names, ensuring a pool of original names and faces for your characters, free from ethical dilemmas.
How to use it:
1. Generate random names using a name generator. I use https://www.behindthename.com/random/
2. Paste the random names into the prompt list.
2. Pick the SDXL model you want to use. I used https://civitai.com/models/133005/juggernaut-xl
3. Find your character!
Tips:
1. Keep the prompt as simple as possible to keep the focus on the name itself
2. Don't forget to reset the seed to 1 every time or you will only get the first name over and over
3. If you enable "Extra options" under "Queue Prompt" you can run this in batches. I usually put 10 for the batch. This will queue up 10 at a time. Note: this is not the same as the latent "batch_size" which will send multiple images through the sampler at once. The queue batch just sends multiple prompts to the queue, and will auto-increment the list index.
Next Steps (How I use this in my overall workflow):
1. I generate like 100 faces using this workflow
2. Pick about 5 faces I like, then generate several more faces with the same name
3. Pick the 1 face I like best for the character, upscale and detail the faces using another workflow
4. Use the face image in a face replace workflow, my preference is IPAdapter, but FaceDetailer and Reactor work well too
Additional comments:
-- the names included in the workflow were generated randomly using all categories on behindthename. I generated 5 with just first name and surname and 5 with first, middle and surname. I didn't cherry-pick them, these were just the 10 random names I got.
Node Diagram
Discussion
[rgthree] Using rgthree's optimized recursive execution.
ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "E:\AI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\AI\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "E:\AI\ComfyUI\custom_nodes\ComfyUI-0246\utils.py", line 373, in new_func
res_value = old_func(*final_args, **kwargs)
File "E:\AI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
TypeError: CR_TextList.make_list() missing 1 required positional argument: 'loops'
I know, it so sad. I posted an issue on the Comfyroll repo. If you are running locally and feel comfortable modifying the code directly, you can go to the file and fix the code manually until Comfyroll gets it fixed.
https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/issues/116
ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes/nodes/nodes_list.py
Find this line and delete the ",loop" then save then reload ComfyUI:
def make_list(self, multiline_text, start_index, max_rows, loop):
Thanks! That fixed it.
Error occurred when executing CR Text List: CR_TextList.make_list() missing 1 required positional argument: 'loops' File "F:\ComfyUI-aki-v1.1\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI-aki-v1.1\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI-aki-v1.1\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
Node Details
Primitive Nodes (10)
Note (9)
PrimitiveNode (1)
Custom Nodes (16)
- CR SDXL Aspect Ratio (1)
- CR Prompt Text (3)
- CR Text Concatenate (2)
- CR Text List To String (1)
- CR Text List (1)
- CR Simple List (1)
- CR SDXL Base Prompt Encoder (1)
- CR Select Model (1)
ComfyUI
- VAEDecode (1)
- SaveImage (1)
- KSampler (1)
- ShowText|pysssss (2)
Model Details
Checkpoints (0)
LoRAs (0)