Skip to main content

Automated ComfyUI Character Generator

This tool replicates the ComfyUI workflow that is in the workflows subdirectory.

This workflow does the following:

  1. Loads a checkpoint
  2. Loads a character LoRA (or any LoRA)
  3. Loads a pose controlnet
  4. Concatenates the system prompt, the dressing prompt, the face expression prompt and the pose and environment settings prompt
  5. It also concatenates the system and user negative prompts
  6. Evaluates a switch to either apply the controlnet pose or just bypass it
  7. If the controlnet pose is to be applied, it calculates the pose provided by the user and applies it to the generation
  8. Finally, after generation, it does a face swap, using the face image provided by the user, and applies it to the generated image
  9. 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.

Release files for comfyui-character-generator 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comfyui-character-generator 0.2.4
File Size Uploaded
comfyui_character_generator-0.2.4.tar.gz 28.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for comfyui-character-generator 0.2.4
File Interpreter ABI Platform
comfyui_character_generator-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 45.6 kB

Release files / comfyui_character_generator-0.2.4.tar.gz

Download URL comfyui_character_generator-0.2.4.tar.gz
Size 28.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a14c0a4447e7187946b74cee366868e4f105223bc1eee7ca177948c301afeb5d
BLAKE2b-256 checksum
How to use checksums
ab036dddcc0779313ef3a062389d7bb24f751b1706826440c4470a17a4688649
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.9

Release files / comfyui_character_generator-0.2.4-py3-none-any.whl

Download URL comfyui_character_generator-0.2.4-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f61041537eb7ec4c295396bb79bd9d1a77b0a1777238c529ebb24e4714aa0d3
BLAKE2b-256 checksum
How to use checksums
d679e24584ee8adcdbe7878d62cb3be3ff857ab9390cc0c9e2f328af790fd131
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.9

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page