Skip to content

A simple docker container that provides an accessible way to use ComfyUI with lots of features. Optionally, get paid to provide your GPU for rendering services via MineTheFUTR.com

Notifications You must be signed in to change notification settings

FUTRlabs/ComfyUI-Magic

Repository files navigation

ComfyUI-Magic: 🔋Batteries🔋 included

Why

We're AI Art enthusiasts, developers, and artists. We wanted this to be easier for everyone to reliably use.

This work began in discord channels and through serendipity - it felt wrong not to give this back to everyone, so we open sourced it here.

Preview:

asciicast

Quick Start

  1. Update your NVIDIA Drivers (only NVIDIA cards supported right now)
  2. Install Docker and NVIDIA's container toolkit (Windows: Install WSL, then install Docker Desktop)
  3. Run the following command if all you want is a ComfyUI:
  4. Have roughly 20GB of space ready for default models and room to grow for any others you might want to add!
docker run --name comfyui-magic -p 8188:8188 --gpus all -it --rm -v magic:/storage futrlabsmagic/comfyui-magic:latest

Run it as a service

docker run -d --name comfyui-magic --restart=unless-stopped -p 8188:8188 --gpus all -it -v magic:/storage futrlabsmagic/comfyui-magic:latest

Auto accept terms and run as service

docker run -e AUTOACCEPT=yes -d --name comfyui-magic --restart=unless-stopped -p 8188:8188 --gpus all -it -v magic:/storage futrlabsmagic/comfyui-magic:latest

Earn USDC and FUTR

If you'd like to earn money while your GPU isn't processing ComfyUI workflows, sign up here and run the command provided:

https://www.minethefutr.com

Features

Prepackaged Custom Nodes for Your Sanity

Currently, we automatically bake in stable mixtures of these popular custom nodes:

Automatic downloading of models at boot

We place a sample "extra_downloads.yml" file in your storage directory.

Edit that file to download and place any custom models you'd like to have, then restart the container and watch the magic.

See this file for our default models we download at boot: extra_downloads.yml

To add your own models, take note that the path item in the yml is the path inside the container.

All paths should generally use /storage/ComfyUI/.../... unless you have very good reason not to.

Once the file is placed for the first time in your storage directory, it won't be overwritten again.

Earn USDC and FUTR tokens when idle

Your card is mostly idle all day. There are large websites that would like to use your GPU horsepower and will pay to do it.

While your job is not in the queue, a simple script talks to our queues and pulls jobs.

You'll see these jobs enter your ComfyUI queue if you've got the UI open in your browser.

When you're ready to run your own job on your own card, just queue it up like you normally would in ComfyUI,

and it will execute after the currently running job that is earning you money.

If you ever want to not process jobs for a while, simply stop the container, remove the environment variable (-e SUPPLIER_ID), and start the container back up!

Requirements:

  1. Windows or Linux Operating System (Mac unsupported for now)
  2. NVIDIA GPU of series 2xxx or better (ideally)
  3. Updated CUDA drivers (update your graphics drivers)
  4. Docker installed and working with NVIDIA container support (Use WSL and Docker Desktop for Windows!)
  5. 50-100GB+ of HDD space (roughly 10GB for the default models and 8GB for the container alone)
  6. Solana Wallet and Discord if you want to earn

About

A simple docker container that provides an accessible way to use ComfyUI with lots of features. Optionally, get paid to provide your GPU for rendering services via MineTheFUTR.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published