Consistent Character
The "Consistent Character" project aims to provide a creative tool for generating images of a specific character in various poses. This tool is particularly useful for artists, designers, and anyone interested in visual storytelling or character development.
Key Features
Image Creation Across Poses: At the core of this project is its ability to create consistent and coherent images of a character in different positions. Whether you're working on a comic strip, an animation storyboard, or simply concept art, this feature helps maintain the visual integrity of your character throughout different scenes.
Ease of Use via Replicate: Users can access the project through Replicate, an online platform that enables machine learning models to run seamlessly. This means that users can create character images without needing to handle complex software installations or configurations.
Workflow Integration in ComfyUI: For those who wish to include this tool in their existing workflows, it integrates a process within ComfyUI. However, it's important to note that this integration allows you to generate only one pose at a time, which might require repeated usage for multiple images.
Getting Started
For users interested in experimenting with the tool on their own systems, the project offers a straightforward procedure to set up and run locally.
1. Cloning the Repository: Start by cloning the project repository from GitHub. This can be done using the following command, which ensures that any associated submodules are also included:
git clone --recurse-submodules https://github.com/fofr/cog-consistent-character.git
2. Installing Custom Nodes: The project relies on custom nodes that need to be installed for the system to function as intended. This can be easily done by executing the provided installation script:
./scripts/install_custom_nodes.py
Users can review these nodes in detail by checking the custom_nodes.json
file available in the repository.
Running a Local Web Interface
Once the system is set up, users can access a web interface to interact with the tool:
1. On a GPU Machine: Begin by running a Cog container, ensuring to expose port 8188. This is achieved with the following command:
sudo cog run -p 8188 bash
2. Inside the Cog Container: After accessing the Cog container, navigate into the ComfyUI directory and start the server, ensuring it listens for connections:
cd ComfyUI/
python main.py --listen 0.0.0.0
3. Accessing the Web UI: Finally, on a local machine, you can access the tool through your web browser by visiting the URL http://<gpu-machine-ip>:8188
. Here, users will be welcomed with the classic ComfyUI web interface, ready to create imaginative character poses.
This project offers both simplicity for end-users through online platforms like Replicate and flexibility for developers who prefer to host and modify the tool locally. Whether for professional projects or simply creative exploration, the "Consistent Character" project opens up new potentials in character design and presentation.