Skip to content

wei30172/comfygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting Up a Web Interface Using ComfyUI

To quickly set up a web interface using ComfyUI, follow these steps:

1.Clone or Download the Repository:

Clone or download the repository directly into the custom_nodes directory within ComfyUI.

2.Run the ComfyUI Server:

Execute run_nvidia_gpu.bat or run_cpu.bat.

3.Replace the Default Workflow:

Follow these steps to replace the default workflow with your own:

  • Enable Dev Mode Options: Click on "Settings" in the ComfyUI interface to enable Dev Mode Options.

  • Generate Workflow JSON: Go back and click "Save (API Format)" to make a JSON for your workflow.

  • Replace Base Workflow: Replace web/js/base_workflow.json with your JSON to use your workflow.

comfygen

4.Workflow Node Configuration:

When setting up your workflow in ComfyUI, it’s essential to configure the nodes correctly. Here are some key nodes you may encounter:

  • CLIPTextEncode Node (e.g., workflow['6']): Encodes the positive prompt text for image generation.

  • CCLIPTextEncode Node for Negative Prompt (e.g., workflow['7']): Encodes the negative prompt to avoid certain features (e.g., watermarks).

  • KSampler Node (e.g., workflow['3']): Generates images based on the encoded prompts.

Notes:

  • Node identifiers (e.g., workflow['6'], workflow['7'], workflow['3']) may vary in other users' JSON files. Always check your specific workflow JSON for the correct node structure and settings.

  • When replacing models, ensure to locate the appropriate model nodes and confirm if a seed value needs to be set.

5.Access the Web Interface:

Open your web browser and navigate to http://<comfy_address>:<comfy_port>/<repository_name> (e.g., http://127.0.0.1:8188/comfygen).

Project Screenshots

comfygen comfygen comfygen

About

Setting Up a Web Interface Using ComfyUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published