Automated ComfyUI character generator
Project description
Automated ComfyUI Character Generator
This tool replicates the ComfyUI workflow that is in the workflows
subdirectory.
This workflow does the following:
- Loads a checkpoint
- Loads a character LoRA (or any LoRA)
- Loads a pose controlnet
- Concatenates the system prompt, the dressing prompt, the face expression prompt and the pose and environment settings prompt
- It also concatenates the system and user negative prompts
- Evaluates a switch to either apply the controlnet pose or just bypass it
- If the controlnet pose is to be applied, it calculates the pose provided by the user and applies it to the generation
- Finally, after generation, it does a face swap, using the face image provided by the user, and applies it to the generated image
- It then saves the image to the output directory
The script does exactly the same thing as the ComfyUI workflow but it allows
configuration of some parameters (you just have to run the script with the
--help option to learn more about the parameters).
To run this tool, just type:
uvx comfyui-character-generator --help
It will prompt with all the necessary information.
NOTE: You can install the custom nodes using the following command:
uvx comfyui-character-generator --install_nodes --confyui_path /path/to/comfyui --venv_path relative/path/to/venv
Take a look at the sample configuration file.
NOTE: This tool works with the ComfyUI version 0.3.50 and up.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comfyui_character_generator-0.2.4.tar.gz.
File metadata
- Download URL: comfyui_character_generator-0.2.4.tar.gz
- Upload date:
- Size: 28.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a14c0a4447e7187946b74cee366868e4f105223bc1eee7ca177948c301afeb5d
|
|
| MD5 |
5f0792d85c9c0545d039295eb93a7965
|
|
| BLAKE2b-256 |
ab036dddcc0779313ef3a062389d7bb24f751b1706826440c4470a17a4688649
|
File details
Details for the file comfyui_character_generator-0.2.4-py3-none-any.whl.
File metadata
- Download URL: comfyui_character_generator-0.2.4-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f61041537eb7ec4c295396bb79bd9d1a77b0a1777238c529ebb24e4714aa0d3
|
|
| MD5 |
9a8d04886418d117a953da667dd9131e
|
|
| BLAKE2b-256 |
d679e24584ee8adcdbe7878d62cb3be3ff857ab9390cc0c9e2f328af790fd131
|