Commit Graph
22 Commits
Author SHA1 Message Date
gsus edf78b864f update 3 work. lots of changes 2025-10-17 17:34:17 -05:00
gsusgg 7da9b874be Dev2 (#6)
* Fix page not loading if no choice_type

* Chain lora ipmrovements, workflows work but need to test further.

* More improvement of lora bypass function.Might be stable

* 1 feat: Add video output and enhance responsive UI
    2                                                                                      3 This commit introduces two major sets of changes: a new video                          output node and significant improvements to the UI layout and                          responsiveness.
    4                                                                                      5 Video Output:
    6 - Adds a new  node to save image batches as
      video files (webm, mp4, or gif).
    7 - Implements a  WebSocket message to notify
      the frontend upon completion.
    8 - Adds  and  as dependencies for video
      encoding.
    9                                                                                     10 UI Enhancements:                                                                    11 - Reduces padding and vertical spacing across all main UI
      components for a more compact and unified layout.
   12 - Adds a new  screen breakpoint () to the Tailwind CSS
      configuration.
   13 - Updates the controls form to use the new  breakpoint,
      improving the two-column layout on smaller screens.

* moved pagination controls in gallery to top,added options for per page load amount.

* added video/audio/gif support initial. most load and play, investigating outliers

* feat: Add video output, gallery sorting, and UI layout improvements

* Removed webp support for now, verified i2v and t2v work with basic nodes (should work anywhere, but ya know), fixed video playback not loading in preview (still doesnt show if page is unloaded during generation, but will save to gallery)

* ui update for static generate button, broke out input nodes to reduce complexity(dynamicinputnodes still function), improved model population of dropdowns with new choice input node

* fixed bugs, completed example workflows

* fixed max int stuck at 2048

* fixed >1 batch size image preview

* added qwen image edit example,bypass option now disables dropdown

* Update2 commit

* readme update

* cleanup
2025-09-24 12:16:32 -05:00
gsusgg e0951e7fcc Update known issues in README.md
Clarified known issues regarding custom nodes and lora loaders.
2025-09-13 12:12:23 -05:00
gsusgg 78fc1cf4c5 Update README with known issues and changelog
Added note about custom nodes and bypass option issues.
2025-09-12 17:13:34 -05:00
gsusgg b8b14b28fa Fix page not loading if no choice_type (#4) 2025-09-12 02:09:31 -05:00
gsusgg 9898285e23 Refactor changelog and add smart resize feature 2025-09-12 01:01:08 -05:00
gsusgg 6237c26b1c Fix duplicate entries in changelog
Removed duplicate entries in the changelog for the update on 9/11/2025.
2025-09-11 23:26:47 -05:00
gsusgg 25ba6bfbe1 Update (#1)
* feat: Improve prompt handling and UI layout and other fixes

* feat: Implement image zoom/pan and improve modal display

* feat: Enhance UI persistence and randomized input display

- Display randomized numbers in input fields instead of disabling them.
- Persist generated preview images across page navigations.
- Ensure randomized form data is saved and loaded from local storage.
- Update .gitignore to include Gemini documentation.
- Add package-lock.json for dependency consistency.

* fix: Improve gallery folder navigation and "Folder up" functionality

- Add "Folder up" button to gallery for easier navigation.
- Implement path normalization to correctly handle mixed path separators (forward and backward slashes).
- Fix issue where "Folder up" button would incorrectly navigate to root from nested folders.

* feat: Enhance batch image display and modal styling\n\n- Backend: Modify CozyGenOutput to send individual WebSocket messages for each image in a batch, enabling proper display of all generated images.\n- Frontend: Implement a responsive grid layout for batch image previews on the generate page ("mini gallery").\n- Frontend: Reduce padding of the image preview modal for a more compact look.\n- Frontend: Adjust gap-y styling in DynamicForm.jsx.\n- Workflow: Update TestingTemplate.json with new dynamic input configurations.

* feat: Add CozyGen_example.json workflow

* fixing dev

* feat: Remove bypass functionality and improve dynamic input handling

* docs: Update TechDoc.md with recent error resolutions

* feat: Implement frontend bypass control for CozyGenDynamicInput

This commit introduces the functionality to bypass nodes in the ComfyUI workflow
via the frontend UI. When the "bypass" toggle is enabled for a CozyGenDynamicInput,
the connected node (e.g., LoraLoader) is removed from the workflow, and its
upstream and downstream connections are rewired.

- Added logic in `js/src/pages/MainPage.jsx` to process bypassed dynamic inputs.
- Implemented specific rewiring for `LoraLoader` nodes (model and clip outputs).
- Included generic rewiring for other nodes (limited to single input/output scenarios).
- Updated frontend build artifacts.

* feat: Revert image preview to single image display

* Update README

* feat: Implement CozyGen Image Input node and related frontend/backend changes

* catchup

* feat: Implement image upload and refactor CozyGenImageInput

* feat: Implement image upload and refactor CozyGenImageInput

- Refactored CozyGenImageInput node to accept Base64 image data.
- Implemented frontend logic in MainPage.jsx for image upload and injecting Base64 into workflow.
- Updated ImageInput.jsx to handle Base64 images for CozyGenImageInput nodes.
- Resolved merge conflicts in .gitignore.

* feat: Improve frontend control grouping and image upload visibility

This commit addresses several issues on the CozyGen generate page:

- Resolves `NameError: name 'io' is not defined` in `nodes.py` by explicitly importing `BytesIO` within the `load_image` function. This ensures proper module access within ComfyUI's execution context.
- Refactors `js/src/pages/MainPage.jsx` to correctly group dynamic input controls. Instead of rendering a separate "controls" box for each input, all `CozyGenDynamicInput` nodes are now passed to a single `DynamicForm` component, resulting in a unified and organized control panel.
- Implements conditional rendering for the "Upload Image for Workflow" section in `js/src/pages/MainPage.jsx`. This section now only appears when the loaded workflow contains a `CozyGenImageInput` node, improving UI clarity and relevance.

* feat: Implement multi-image input and optimize image handling

This commit introduces robust support for multiple image inputs and optimizes image handling to prevent browser storage issues:

- Refactors `js/src/components/ImageInput.jsx` to directly handle image uploads to the backend. When an image is selected, it is now immediately uploaded, and only its filename (instead of the large Base64 string) is stored in the frontend's `formData`. This resolves the "Quota Exceeded" DOMException previously encountered.
- Updates `js/src/pages/MainPage.jsx` by removing the single `uploadedImageBase64` state and its associated logic. The `handleGenerate` function is modified to correctly retrieve and inject image filenames from `formData` into the workflow JSON for all `CozyGenImageInput` nodes.
- Adds a `param_name` widget to the `CozyGenImageInput` node in `nodes.py`, allowing for customizable titles for image input fields in the frontend. The `load_image` function in `nodes.py` has been updated to accept this new parameter.
- Includes a new workflow file.
- Updates frontend build artifacts.

* feat: Implement smart image resize and improve gallery UI

This commit introduces a smart image resize feature and enhances the gallery modal UI:

- Implements an automatic smart resize feature in `js/src/components/ImageInput.jsx`. When an image is uploaded, it is now automatically resized to fit within a 2048-pixel sum for its dimensions (width + height), while preserving its aspect ratio. This is controlled by a 'Smart Resize' toggle.
- Simplifies the gallery image modal in `js/src/pages/Gallery.jsx` by replacing the full workflow JSON display with a 'Copy Workflow to Clipboard' button. This provides a cleaner user experience while still allowing users to access the workflow data.
- Updates `js/src/pages/MainPage.jsx` and `nodes.py` to support the new image handling and resize logic, ensuring that `param_name` and `image_filename` are correctly passed to the backend.
- Updates frontend build artifacts.

* Fix: Image preview and redundant input box on generate page\n\n- Corrected image preview URL construction in ImageInput.jsx.\n- Removed redundant 'Image Input' title block from MainPage.jsx.\n- Updated TechDoc.md to reflect these changes.

* Feat: Compact Image Input control box\n\n- Redesigned the ImageInput component for a more compact layout.\n- Browse and resize options are now on the left, with a smaller inline thumbnail on the right.\n- Updated TechDoc.md to reflect this UI/UX improvement.

* Full commit for gallery and img2img changes

* Standardized image modal view

* Fixed modal width issue

* Actually fixed modal, for real this time.hopefully.

* Added pagination to gallery. Added image modal navigation.

* Cleanup for main
2025-09-11 23:25:29 -05:00
gsusgg a1ed844a40 Update README with CozyGen installation details
Clarified installation instructions for CozyGen and specified required Python package.
2025-08-31 14:10:03 -05:00
gsusgg f30613bad3 Fix formatting in README changelog section 2025-08-31 13:51:58 -05:00
gsusgg 618c491935 Update known issues formatting in README
Formatted known issues list with bullet points.
2025-08-31 13:51:41 -05:00
gsusgg 2d4b1d6725 Update README with known issues and changelog
Added known issues and changelog sections to README.
2025-08-31 13:51:14 -05:00
gsusgg 6ecf930f55 Update README with thanks
Added acknowledgment to the disclaimer.
2025-08-29 21:33:02 -05:00
gsusgg 0653d8a653 Change license from MIT to GPL-3.0 2025-08-29 21:29:23 -05:00
gsusgg 005a8f72e9 Add LICENSE file
Changed to GPL-3.0 license
2025-08-29 21:28:20 -05:00
gsusgg 033e23ffd0 Add priority sorting feature to README
Added a feature for priority sorting of fields based on a priority value.
2025-08-29 21:16:51 -05:00
gsusgg 6e4af459ff Update README with gallery tab navigation details
Added description for gallery tab functionality.
2025-08-29 16:47:38 -05:00
gsusgg 58058d8bb1 Add project disclaimer to README
disclaimer about LLM use
2025-08-29 16:38:53 -05:00
gsus 9b033c14e6 Updated the README with new images 2025-08-29 15:45:16 -05:00
gsus cf53068358 Updated the README with new images 2025-08-29 15:41:15 -05:00
gsus 36f891d045 Updated the README with new images 2025-08-29 15:36:56 -05:00
gsus 99c305c0f1 Initial Commit 2025-08-29 15:12:27 -05:00