Coder Social home page Coder Social logo

radiance-ai / comfybox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from space-nuko/comfybox

0.0 0.0 0.0 14.75 MB

Customizable Stable Diffusion frontend for ComfyUI

License: GNU General Public License v3.0

Shell 0.01% JavaScript 0.06% Python 0.13% TypeScript 37.82% HTML 0.08% Batchfile 0.01% Jupyter Notebook 33.12% SCSS 3.71% Svelte 25.09%

comfybox's Introduction

ComfyBox

ComfyBox is a frontend to Stable Diffusion that lets you create custom image generation interfaces without any code. It uses ComfyUI under the hood for maximum power and extensibility.

Screenshot

Screenshot

Installation

  1. Download the latest release here and extract it somewhere.
  2. Start the ComfyUI backend with python main.py --enable-cors-header.
  3. In the folder you extracted open the run.bat/run.sh script (requires Python 3 to be on your PATH). Alternatively you can serve the contents of the folder with any web server.

Usage

A preconfigured workflow is included for the most common txt2img and img2img use cases, so all it takes to start generating is clicking Load Default to load the default workflow and then Queue Prompt.

You can import your existing workflows from ComfyUI into ComfyBox by clicking Load and choosing the .json or .png with embedded metadata, or dropping either file onto the graph viewer.

NOTE

This project is still under construction and some features are missing, be aware of the tradeoffs if you're interested in using it.

Also note that the saved workflow format is subject to change until it's been finalized after enough testing, so be prepared to lose some of your work from time to time.

Features

  • No-Code UI Builder - A novel system for creating your own Stable Diffusion user interfaces from the basic components.
  • Manage Multiple Workflows - You can open as many workflows as you like and switch between them using tabs within the app. You can also write custom "Send To" actions to copy your image outputs into other workflows for further processing.
  • Use Your Existing Workflows - Import workflows you've created in ComfyUI into ComfyBox and a new UI will be created for you.
  • Extension Support - All custom ComfyUI nodes are supported out of the box.
  • Prompt Queue - Queue up multiple prompts without waiting for them to finish first. Inspect currently queued and executed prompts.
  • Prompt History - Browse through previously generated prompts and their output images/parameters.
  • Mobile-Friendly Version - Includes a version of the UI optimized for mobile use, while still supporting the same customized workflows of the desktop version.

Development

Requirements

  • git
  • pnpm
  • An installation of vanilla ComfyUI for the backend

Installation

NOTE: If you're using Windows, the following commands must be run with Git Bash.

  1. Clone the repo with submodules:
git clone https://github.com/space-nuko/ComfyBox --recursive
  1. pnpm install
  2. pnpm prebuild
  3. pnpm dev
  4. Start ComfyUI with python main.py --enable-cors-header
  5. Visit http://localhost:3000 in your browser

comfybox's People

Contributors

haze avatar space-nuko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.