Nodes Browser

ComfyDeploy: How Embedding Merge for ComfyUI works in ComfyUI?

What is Embedding Merge for ComfyUI?

Extremely inspired and forked from: [a/https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge](https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge)

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for Embedding Merge for ComfyUI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

Embedding Merge for ComfyUI

Extremely inspired and forked from: https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge

The Art of Embedding Merging

Turning Words into Visual Magic

What's Really Happening Here? 🎨

Ever notice how different words create different feelings? Stable Diffusion works the same way - it turns words into mathematical patterns (called tokens) that paint pictures in its mind. What we're doing is learning to blend these patterns together, like mixing colors on a palette, but with concepts instead of paint!

The Basic Magic ✨

Your spell format is beautifully simple:

<'anything you can imagine' + 'something else'*0.5>

That's it! And when we say "anything," we mean it:

  • Song lyrics: <'dancing in the moonlight' + 'neon glow'*0.7>
  • Vibes: <'cozy autumn afternoon' + 'vintage film grain'*0.4>
  • Actual embeddings: <'your_style.pt' + 'ethereal'*0.5>
  • Random ideas: <'space whales' + 'bioluminescent'*1.2>

Playing with Words 🎮

Quick Experiments:

  1. Take your favorite song lyric: <'we are all just stardust' + 'cosmic'*0.5>
  2. Mix moods: <'cyberpunk' + 'cottagecore'*0.8>
  3. Blend concepts: <'morning coffee' + 'peaceful'*1.2>

Pro Moves 🎯

  • Use *0 to make something disappear (great for removing unwanted elements!)
  • Switch to {...} instead of <...> if needed
  • Stack multiple expressions in one prompt for complex vibes

Understanding the Magic 💫

  1. The Numbers Game:

    • 0.1 to 0.5 = whispers of an idea
    • 0.5 to 1.5 = normal conversation
    • 1.5 to 3.0 = shouting
    • Above that = screaming into the void (sometimes in a good way!)
  2. Smart Blending:

    A dreamy scene of <'starlit ocean' + 'bioluminescence'*0.7>, 
    {'soft focus' + 'cinematic' + 'ethereal'=/3}
    

What Works & What's Tricky 🎭

Works Beautifully:

  • Mixing vibes and moods
  • Playing with intensity
  • Blending concepts
  • Song lyrics and poetry
  • Abstract ideas
  • Style mixing

Still Experimental:

  • Trying to be too specific
    # Might not work as expected:
    <'red'+'dress'>  # Won't necessarily make a red dress
    
  • Doing concept math
    # Usually gets weird:
    <'happy' - 'smile' + 'laugh'>
    

Creative Tips 🌟

  1. For Vibes: Mix freely and play with weights

    <'synthwave sunset' + 'lofi aesthetic'*0.6>
    
  2. For Songs: Start pure, then enhance

    <'walking on sunshine'*0.8 + 'bright'*0.3>
    
  3. For Experiments: Try the unexpected

    <'jazz' + 'forest'*0.5>  # Why not?
    

The Heart of Creation 💝

Remember: You're not just writing prompts - you're painting with concepts! Sometimes the most beautiful results come from playful experiments and unexpected combinations. Don't be afraid to try wild ideas or mix things that "shouldn't" go together.

Let your imagination run wild - try song lyrics, poetry, random thoughts, or that weird idea you had at 3 AM. The worst that can happen is an interesting mistake, and the best? Pure magic! ✨


Got some numbers looking weird? (Like super high or super low?) Just dial them back with lower multipliers. Think of it like turning down music that's too loud - sometimes softer is better! 🎵

Remember, this is all about creative exploration. There's no "wrong" way to merge - only new discoveries waiting to happen! 🚀