CivArchive
    ← All articles
    Published January 8, 2025by Realor

    Combining LoRA and LyCORIS Variants (LoCon, LoHa, LoKR, DyLoRA) in Stable Diffusion

    221 views4 reactions1 comments on CivitAI7 collected
    image generationgeneration guideloralycoris

    When working with Stable Diffusion, one of the exciting possibilities is combining different models to achieve stunning results. For instance, you may want to use one model to define a specific style and another to represent a detailed character. However, conflicts between these models can arise, and balancing them becomes critical. Here, I’ll share my insights into which formats (LoRA, LyCORIS, or their variants) work best in scenarios where the character model should adapt to the style without distorting it.


    Key Principles of Combining Models

    1. Model for Style: Controls the overall aesthetic, textures, and color palette of the image.

    2. Model for Character: Focuses on details like facial features, clothing, and pose.

    To ensure that the style remains consistent and the character model adapts seamlessly, careful selection of model formats and parameters is vital.


    Recommended Combinations

    Option 1: Style as LyCORIS (e.g., LoHa or LoKR), Character as LoRA

    • Why it works: LyCORIS excels at deeply integrating stylistic changes into the image, ensuring the style takes precedence. LoRA adapts the character to this style without distorting the stylistic integrity.

    • Use Case: Perfect for cases where the style is complex or bold (e.g., 2D artistic styles), and the character should fully conform to this aesthetic, even if it means altering some details of the character.

    Option 2: Style as LoRA, Character as LyCORIS (e.g., LoCon)

    • Why it works: LoRA for style provides a subtle and lightweight adaptation, leaving convolutional layers available for LyCORIS to handle detailed character adaptation. The character will adjust to fit the style but without overpowering it.

    • Use Case: Suitable when the style is subtle and the character requires intricate detailing that remains consistent with the overall image.

    Option 3: Both Style and Character as LoRA

    • Why it works: LoRA’s lightweight adaptation ensures minimal interaction between the models, reducing the risk of conflicts. However, the lack of deep integration can make this setup less expressive.

    • Limitations: Better suited for simpler use cases where neither the style nor the character requires highly detailed adaptation.

    Option 4: Both Style and Character as LyCORIS (e.g., LoCon + LoHa)

    • Why it works: LyCORIS offers high expressiveness and allows intricate adaptations for both style and character. However, careful tuning of weights is required to avoid conflicts.

    • Limitations: This approach is better suited for advanced users who can fine-tune parameters to balance the models effectively.


    Practical Tips to Avoid Conflicts

    1. Prioritize Style: Use higher prompt strength for the style model (e.g., 0.7–0.8) and slightly lower for the character model (e.g., 0.6–0.7). This ensures the style dominates while the character adapts.

    2. Set CFG Scale: Keep CFG Scale values between 6 and 9 to balance style and character representation without oversaturation.

    3. Clear Prompt Separation: Ensure that style-related descriptors and character-specific details are clearly defined in the prompt to minimize overlap.

    4. Iterative Testing: Experiment with different combinations of weights and parameters, generating previews to assess results and make adjustments as needed.


    Example Scenario

    Let’s consider a specific use case:

    • Goal: Recreate a 3D cartoon character in a 2D artistic style (e.g., watercolor or sketch).

    Setup 1:

    • Style Model: A LyCORIS (LoHa) trained on "watercolor painting."

    • Character Model: A LoRA trained on the 3D character.

    Approach: Set the LyCORIS model to 0.8 and the LoRA model to 0.6. This prioritizes the watercolor aesthetic while allowing the character to adapt to the 2D style seamlessly. Any changes to the character will align with the stylistic vision.

    Setup 2:

    • Style Model: A LoRA trained on "minimalist line art."

    • Character Model: A LyCORIS (LoCon) trained on the 3D character.

    Approach: Use the LoRA model for style at a strength of 0.7 and the LyCORIS model for the character at 0.9. This ensures the minimalist style is preserved while the character conforms to it naturally.


    Conclusion

    If the goal is to ensure the style model remains dominant and the character adapts without distorting the style, the best approach is to use LyCORIS for style (e.g., LoHa or LoKR) and LoRA for the character. This combination allows the style to deeply influence the overall aesthetic, while the character conforms to it without overpowering or altering the stylistic integrity.

    Experimentation and parameter adjustment are key to achieving optimal results. This approach ensures harmony between style and character, especially when transforming characters from one medium (e.g., 3D) to another (e.g., 2D).


    This article represents my personal opinions and research. I may be mistaken, and I welcome corrections or alternative perspectives. If you’ve found any errors or have different insights, please share them with me in the comments!