ComfyUI > Nodes > comfyui-portrait-master > Portrait Master v.2.9

ComfyUI Node: Portrait Master v.2.9

Class Name

PortraitMaster

Category
AI WizArt
Author
florestefano1975 (Account age: 194days)
Extension
comfyui-portrait-master
Latest Updated
2024-06-19
Github Stars
0.76K

How to Install comfyui-portrait-master

Install this extension via the ComfyUI Manager by searching for comfyui-portrait-master
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-portrait-master in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Portrait Master v.2.9 Description

Sophisticated AI node for generating detailed portrait prompts with customizable attributes for artists.

Portrait Master v.2.9:

PortraitMaster is a sophisticated node designed to assist AI artists in generating highly detailed and customized portrait prompts. Created by AI Wiz Art (Stefano Flore), this tool leverages a variety of parameters to fine-tune the characteristics of the generated portraits, such as gender, face shape, facial expressions, nationality, and hair style. The primary goal of PortraitMaster is to provide a flexible and user-friendly interface for artists to create unique and professional-quality portrait prompts, enhancing the creative process and ensuring high-quality outputs. By allowing the adjustment of various attributes and applying specific weights to them, PortraitMaster helps in achieving the desired level of detail and realism in portrait generation.

Portrait Master v.2.9 Input Parameters:

disheveled

This parameter controls the level of disheveled appearance in the portrait. It is a float value with a default of 0, a minimum of 0, and a maximum value defined by max_float_value. Adjusting this slider will impact how messy or untidy the subject's appearance is.

makeup

This parameter allows you to select the type of makeup applied to the portrait. It is a list-based parameter with options defined in makeup_list, and the default value is the first item in this list. The choice of makeup can significantly alter the visual style and mood of the portrait.

beard

This parameter specifies the type of beard for the portrait. Similar to the makeup parameter, it is list-based with options from beard_list, and the default value is the first item in this list. The beard style can add character and personality to the portrait.

natural_skin

This parameter adjusts the natural skin appearance of the portrait. It is a float value with a default of 0, a minimum of 0, and a maximum value defined by max_float_value. This slider helps in achieving a more natural and realistic skin texture.

bare_face

This parameter controls the bare face look of the portrait. It is a float value with a default of 0, a minimum of 0, and a maximum value defined by max_float_value. Adjusting this slider will affect how plain or unadorned the subject's face appears.

washed_face

This parameter adjusts the washed face appearance of the portrait. It is a float value with a default of 0, a minimum of 0, and a maximum value defined by max_float_value. This setting can be used to create a clean and fresh look for the subject.

dried_face

This parameter controls the dried face look of the portrait. It is a float value with a default of 0, a minimum of 0, and a maximum value defined by max_float_value. Adjusting this slider will impact the dryness and texture of the subject's face.

Portrait Master v.2.9 Output Parameters:

prompt

The prompt output parameter is a string that contains the generated positive prompt for the portrait. This prompt includes all the selected attributes and their respective weights, formatted to guide the AI in creating the desired portrait. It is essential for achieving the specific look and feel you want in the generated image.

negative_prompt

The negative_prompt output parameter is a string that contains the generated negative prompt for the portrait. This prompt includes attributes and characteristics that should be avoided in the generated image, helping to refine and improve the quality of the output by eliminating unwanted features.

Portrait Master v.2.9 Usage Tips:

  • Experiment with different combinations of parameters to find the perfect balance for your portrait. Adjusting weights and selecting various attributes can lead to unique and interesting results.
  • Utilize the photorealism_improvement option to enhance the realism of your portraits. Enabling this feature will add specific prompts to improve the photo quality and balance exposure.
  • Pay attention to the negative_prompt to avoid common issues like shiny skin or unwanted reflections. Fine-tuning this parameter can significantly improve the final output.

Portrait Master v.2.9 Common Errors and Solutions:

FileNotFoundError: [Errno 2] No such file or directory: 'lists/shot_list.txt'

  • Explanation: This error occurs when the required text file for the shot list is missing or the path is incorrect.
  • Solution: Ensure that the shot_list.txt file is present in the lists directory and the path is correctly specified in the script.

ValueError: could not convert string to float

  • Explanation: This error happens when a non-numeric value is provided for a parameter that expects a float.
  • Solution: Check the input values for parameters like disheveled, natural_skin, bare_face, washed_face, and dried_face to ensure they are numeric and within the specified range.

KeyError: 'makeup'

  • Explanation: This error occurs when the specified key for the makeup parameter is not found in the makeup_list.
  • Solution: Verify that the selected makeup option exists in the makeup_list and is correctly spelled.

TypeError: 'NoneType' object is not iterable

  • Explanation: This error can occur if a required list or parameter is not properly initialized or is set to None.
  • Solution: Ensure all lists such as shot_list, gender_list, face_shape_list, facial_expressions_list, nationality_list, and hair_style_list are correctly initialized and populated with values.

Portrait Master v.2.9 Related Nodes

Go back to the extension to check out more related nodes.
comfyui-portrait-master
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.