My stuff

  • My Workflows

  • Liked Workflows

  • Following Workflows

Go to OpenArt main site
Upload workflow

Character Studio V1

5.0

0 reviews
13
8.2K
992
1
Description

My work is heavily inpired by Mickmumpitz https://www.youtube.com/watch?v=Uls_jXy9RuU


Character Studio: From a Simple txt2img Prompt to a Ready-to-Use Character LoRA

Tested on:

  • System: Windows
  • GPU: RTX 4090 (24GB VRAM)
  • RAM: 128GB
  • Software: Latest ComfyUI (Portable)

Setup

  1. Install Missing Custom NodesUse the ComfyUI Manager to install any required custom nodes.
  2. Install Missing ModelsThis workflow should work with any SDXL model of your choice. I used a Turbo model for speed in this tutorial, but for higher quality, use full models and around 30 steps. Keep in mind that this increases processing time exponentially due to the multiple passes.
  3. Download the attached poses.png files and save them to:./comfyui/assets/poses/*.png (Ensure there are 18 pose .png files in this folder.)
  4. Copy prompts from attached prompts.pdf and save the following prompts to:./comfyui/assets/prompts.txt(You can modify the file, but maintain the structure. The "----" lines are mandatory.)Install the LoRA Trainer
    Use the LoRA trainer from eden.art after deciding against other tools like kohya_ss.

Special Features of This Trainer:

  • It captions training images using ChatGPT, cleaning up WD14 tags for better results.
  • Requires an OpenAI API key. Obtain your key from: OpenAI API Keys.

Save your API key in a .env file and place it here:
./ComfyUI/custom_nodes/sd-lora-trainer/.env

Note: If you're using huggingface transformers version 4.46, it may cause issues. Resolve this by downgrading:

pip install transformers==4.45.0

Alternatively, use the ComfyUI Manager to install this version under PIP packages: transformers==4.45.0.



Here’s an optimized and polished version of your text with corrections, improved grammar, and clarity:



Character Studio: From a Simple txt2img Prompt to a Ready-to-Use Character LoRA

Tested on:

  • System: Windows
  • GPU: RTX 4090 (24GB VRAM)
  • RAM: 128GB
  • Software: Latest ComfyUI (Portable)


Introduction

Yes, this workflow involves several custom nodes, models, and placing files in the correct folders—but it’s absolutely doable!

For optimal results, I recommend enabling the next group after each pass using the "Fast Groups Muter (rgthree)" Node.


Workflow Overview

  1. Preview: Generate a base image. Once you're satisfied with the result, enable the next group and re-run your prompt.
  2. Emotions: Generate variations of the base image with different facial expressions.
  3. Lighting & Backgrounds: Using PuLID and OpenPose ControlNet, create variations with different lighting and background settings.
  4. Poses: Generate images with different poses using OpenPose ControlNet.
  5. Upscaling: Upscale all generated images for higher resolution.
  6. Face: RestorationRestore facial details in the generated images.
  7. SUPIR: Add finer details to your training data in this pass.
  8. Export: Save the generated training data to disk.
  9. LoRA Training: Disable all other groups for this pass. After training, move the generated LoRA file to:./ComfyUI/models/loras to test it in ComfyUI.


Final Notes

Have fun experimenting with this workflow! Let me know if you have suggestions or ideas for improving the next version.



This version ensures clarity, fixes grammar and spelling, and makes the instructions easier to follow. Let me know if you need further refinements!

Discussion

(No comments yet)

Loading...

Author

1
990
13
8.2K
    prompts.pdf (31.3 kB)
    pose_face-0-1.png (71.2 kB)
    pose_face-3-1.png (134.5 kB)
    pose_face-5-0.png (104.2 kB)
    pose_face-0-2.png (76.3 kB)
    pose_face-5-1.png (135.7 kB)
    pose_face-1-2.png (72.1 kB)
    pose_face-3-0.png (130.7 kB)
    pose.png (16.7 kB)
    pose_face-2-0.png (73.5 kB)
    pose_face-1-1.png (60.4 kB)
    pose_face-1-0.png (67.8 kB)
    pose_face-4-0.png (88.9 kB)
    pose_face-2-1.png (74.4 kB)
    pose_face-0-0.png (66.9 kB)
    pose_face-2-2.png (70.6 kB)
    pose_face-5-2.png (75.7 kB)
    pose_face-3-2.png (125.2 kB)
    pose_face-4-2.png (90.7 kB)

No reviews yet

  • - latest (a year ago)

Primitive Nodes (199)

DF_To_text_(Debug) (2)

Display Any (rgthree) (3)

Eden_LoRa_trainer (1)

ExpressionEditor (8)

Fast Groups Muter (rgthree) (1)

GetNode (117)

ImageBatchToList+ (2)

Int-🔬 (2)

Label (rgthree) (1)

PulidFluxEvaClipLoader (2)

Seed (rgthree) (1)

SetNode (59)

Custom Nodes (66)

Comfyroll Studio

  • - CR Upscale Image (1)

ComfyUI

  • - CheckpointLoaderSimple (1)

  • - CLIPTextEncode (3)

  • - PreviewImage (8)

  • - ControlNetLoader (2)

  • - EmptyLatentImage (4)

  • - KSampler (3)

  • - VAEDecode (3)

  • - ControlNetApplyAdvanced (2)

  • - LoadImage (1)

  • - ImageBatch (2)

  • - GetImageSize+ (1)

  • - UltralyticsDetectorProvider (1)

  • - FaceDetailerPipe (1)

  • - ToDetailerPipe (1)

  • - CoreMLDetailerHookProvider (1)

  • - ImpactMakeImageList (1)

  • - ImpactMakeImageBatch (1)

  • - LoadImagesFromDir //Inspire (1)

  • - LoadPromptsFromFile //Inspire (1)

  • - UnzipPrompt //Inspire (1)

  • - SUPIR_first_stage (1)

  • - SUPIR_encode (1)

  • - SUPIR_decode (1)

  • - SUPIR_model_loader_v2 (1)

  • - SUPIR_conditioner (1)

  • - SUPIR_sample (1)

  • - FloatConstant (1)

  • - INTConstant (1)

  • - ImageResizeKJ (1)

  • - JoinStrings (2)

  • - PulidModelLoader (2)

  • - PulidInsightFaceLoader (2)

  • - ApplyPulid (2)

  • - Checkpoint Selector (1)

  • - Text Concatenate (2)

  • - Image Save (1)

Checkpoints (2)

SDXL\epicrealismXL_v8Kiss.safetensors

SDXL\wildcardxXLTURBO_wildcardxXLTURBOV10.safetensors

LoRAs (1)

SDXL\epicrealismXL_v8Kiss.safetensors