feat: add ComfyUI integration for image generation
- Implemented ComfyUI API for generating images with various modes (text-to-image, image-to-image, inpaint, outpaint). - Created GenerateSheet and associated controls for user input on generation settings. - Added subtle scrollbar styles for improved UI experience. - Enhanced canvas input handling to ignore key events when focused on editable elements. - Optimized canvas resizing logic to prevent unnecessary dispatches. - Introduced error handling for generation failures and loading models. - Added functionality to upload images and masks for inpainting.
This commit is contained in:
@@ -8,6 +8,7 @@ type Shortcut = {
|
||||
|
||||
const shortcuts: Shortcut[] = [
|
||||
{ keys: ["S"], label: "Select" },
|
||||
{ keys: ["G"], label: "Generate" },
|
||||
{ keys: ["B"], label: "Brush" },
|
||||
{ keys: ["E"], label: "Eraser" },
|
||||
{ keys: ["K"], label: "Chroma key" },
|
||||
|
||||
Reference in New Issue
Block a user