Compare commits

...
178 Commits
Author SHA1 Message Date
sakura1bgx 844bc7adad Update pyproject.toml 2026-09-21 11:34:07 +09:00
sakura1bgx cb06e1c129 Update README.md 2026-09-21 11:33:34 +09:00
sakura1bgx 62bf68f397 Update flipstreamviewer.js 2026-09-21 11:22:24 +09:00
sakura1bgx 5b85650858 Update flipstreamviewer.py
- Changed FlipStreamChatJson: `temperature` and `top_p` are now inputs.
- Add FlipStreamViewerVideo: streams frames and optional audio to the viewer.
- Add FlipStreamFileSelect_DiffusionModels.
- Add FlipStreamLogger.
- Some fixes.
2026-09-21 11:21:28 +09:00
sakura1bgx 98f3faabbc Update README.md 2026-01-17 09:27:38 +09:00
sakura1bgx 3339d466e5 Update pyproject.toml 2026-01-17 09:21:24 +09:00
sakura1bgx 085eb339df Update README.md 2026-01-17 09:20:47 +09:00
sakura1bgx bd9257763c Update README.md 2026-01-17 09:19:45 +09:00
sakura1bgx 5fd1ddcf24 Merge pull request #16 from sakura1bgx/develop
- Remove Tagger UI and WD14 functions.
- Remove wd14exc option from FlipStreamViewer
- Add FlipStreamButton
- Add FlipStreamGetFrame, it can be use with WD14Tagger node.
- Remove Tagger.
- AddFlipStreamFileSelect_Loras.
- Refine FlipStreamSetParam to refresh UI.
- Refine Section to folding UI.
- Add Secret xor_crypt function (joking level crypt).
- Fix FlipStreamFileSelect to be selectable collect path.
- Fix FlipStreamChat n_ctx, max_tokens option range.
- Add pingpong option to FlipStreamViewer.
- Add FlipStreamFileSelect_LLM node.
- Add elapsed time bar UI.
- Refine FlipStreamSource to support upscale with keep aspect.
- Add FlipStreamFileSelect_LLM node.
- Add elapsed time bar UI.
- Add FlipStreamPasteBox.
- Add FlipStreamTextConcat.
- Add loraMode selection and @mode{} format.
- Add FlipStreamLoraMode to set loraMode.
- Add FlipStreamLoadLora like Lora Tag Loader, it can select mode to apply @mode{} section.
- Refine updating status control to check Comfy task remaining.
- Add FlipStreamCurrent to show any text in status info.
- Change FlipStreamSetUpdateAndReload to FlipStreamRunOnce.
- Change progress bar range to 120 sec.
- Add FlipStreamSetState, FlipStreamGetState.
- Change FlipStreamGetParam outputs
- Add frame trimming options for FlipStreamGetFrame.
- Add FlipStreamSizeSelect.
- Add FlipStreamViewerSimple, FlipStreamAllowIp.
- Add FlipStreamSaveApiWorkflow, FlipStreamRunApiWorkflow.
- Add FlipStreamFree.
- Add FlipStreamShutdown.
- Add experimental nodes FlipStreamAnd, FlipStreamOr,  FlipStreamGet, FlipStreamChatJson.
- Depricated FlipStreamGate, FlipStreamSegMask.
- And some minor changes.
2026-01-17 09:14:30 +09:00
sakura1bgx 2bf629280c Update README.md 2026-01-17 09:03:27 +09:00
sakura1bgx dcaf4ac593 Update README.md 2026-01-17 09:00:50 +09:00
sakura1bgx 453caa62da Update README.md 2026-01-17 08:56:50 +09:00
sakura1bgx beea6b09cd Update README.md 2026-01-17 08:55:51 +09:00
sakura1bgx 47d0e5110c Create flipstreamviewer.js 2026-01-17 08:22:37 +09:00
sakura1bgx cd1ac4bd9e Update __init__.py 2026-01-17 08:19:01 +09:00
sakura1bgx ad959afa21 Update flipstreamviewer.py
- Add loraMode selection and @mode{} format.
- Add FlipStreamLoraMode to set loraMode.
- Add FlipStreamLoadLora like Lora Tag Loader, it can select mode to apply @mode{} section.
- Refine FlipStreamPasteBox.
- Refine updating status control to check Comfy task remaining.
- Add FlipStreamCurrent to show any text in status info.
- Change Update button to Run button.
- Change FlipStreamSetUpdateAndReload to FlipStreamRunOnce.
- Change progress bar range to 120 sec.
- Add FlipStreamSetState, FlipStreamGetState.
- Change FlipStreamGetParam outputs
- Add frame trimming options for FlipStreamGetFrame.
- Add FlipStreamSizeSelect.
- Add FlipStreamViewerSimple, FlipStreamAllowIp.
- Add FlipStreamSaveApiWorkflow, FlipStreamRunApiWorkflow.
- Add FlipStreamFree.
- Add FlipStreamShutdown.
- Add experimental nodes FlipStreamAnd, FlipStreamOr,  FlipStreamGet, FlipStreamChatJson.
- Depricated FlipStreamGate, FlipStreamSegMask.
- And some minor changes.
2026-01-17 08:17:57 +09:00
sakura1bgx 7520526dc1 Update README.md 2025-12-30 23:58:38 +09:00
sakura1bgx 1a7f142c9b Update flipstreamviewer.py
- Add FlipStreamTextConcat.
- Fix FlipStreamPasteBox.
- Refine some code.
2025-12-30 23:57:15 +09:00
sakura1bgx fb16962357 Update README.md 2025-12-28 11:55:13 +09:00
sakura1bgx 946a0106bb Update flipstreamviewer.py
- Add FlipStreamPasteBox.
- Change Capture button order.
2025-12-28 11:52:40 +09:00
sakura1bgx 88ab694ae4 Update flipstreamviewer.py
- Add FlipStreamFileSelect_LLM node.
- Add elapsed time bar UI.
- Refine FlipStreamSource to support upscale with keep aspect.
2025-12-21 20:31:09 +09:00
sakura1bgx 428f247253 Update flipstreamviewer.py
- Fix FlipStreamFileSelect to be selectable collect path.
- Fix FlipStreamChat n_ctx, max_tokens option range.
- Add pingpong option to FlipStreamViewer.
2025-11-19 00:42:36 +09:00
sakura1bgx 68370b4b82 Update flipstreamviewer.py
- Add Secret xor_crypt function.
2025-11-10 00:03:26 +09:00
sakura1bgx c0c5d924fd Update flipstreamviewer.py
- AddFlipStreamFileSelect_Loras.
- Refine FlipStreamSetParam to refresh UI.
- Refine Section to folding UI.
2025-11-09 19:58:04 +09:00
sakura1bgx a5e4f3893b Update README.md 2025-11-08 02:27:08 +09:00
sakura1bgx 6685866cd9 Update flipstreamviewer.py
- Changed FlipStreamButton order.
2025-11-08 02:25:56 +09:00
sakura1bgx 5b39eb16b2 Update README.md
- Remove Tagger.
- Update llama cpp python building description.
- Add sage attention building description.
2025-11-08 02:17:02 +09:00
sakura1bgx 0daa37e1c3 Update flipstreamviewer.py
- Remove Tagger UI and WD14 functions.
- Remove wd14exc option from FlipStreamViewer
- Add FlipStreamButton
- Add FlipStreamGetFrame, it can be use with WD14Tagger node.
2025-11-08 01:57:47 +09:00
sakura1bgx 947d1b942d Merge pull request #15 from sakura1bgx/main
Update
2025-11-08 01:54:32 +09:00
sakura1bgx eb9513674c Update pyproject.toml 2025-11-05 16:33:16 +09:00
sakura1bgx 93005dfc2c Update flipstreamviewer.py
- Add fontsize option for FlipStreamSetMessage.
- Changed to split json_input by "\n" for FlipStreamParseJson.
2025-11-05 16:32:15 +09:00
sakura1bgx b42d40addf Update pyproject.toml 2025-10-04 13:47:35 +09:00
sakura1bgx 9b6f84d187 Update flipstreamviewer.py
- Add reset_updating flag for FlipStreamViewer, it enable to use multiple FlipStreamViewer nodes.
2025-10-04 13:47:13 +09:00
sakura1bgx 73c1b67dec Update pyproject.toml 2025-09-21 00:03:24 +09:00
sakura1bgx c0cd4f1fef Update requirements.txt 2025-09-20 23:59:34 +09:00
sakura1bgx 04bf0f397b Update flipstreamviewer.py
- Fix FlipStreamVideoInput
2025-09-20 23:59:13 +09:00
sakura1bgx 0bb1fe65f5 Update pyproject.toml 2025-09-20 22:46:09 +09:00
sakura1bgx 1ae9d32ed9 Update requirements.txt 2025-09-20 22:45:48 +09:00
sakura1bgx 8a2eee3b2a Update flipstreamviewer.py
- Change streaming method to improve processing speed.
2025-09-20 22:45:07 +09:00
sakura1bgx 927f47d73b Update pyproject.toml 2025-09-05 19:53:00 +09:00
sakura1bgx 8b70e94d0c Update flipstreamviewer.py
- FlipStreamTextReplace: 'find' support multiple words by comma(,) separated.
- FlipStreamParseJson: igonre json error.
- FlipStreamViewer: show frame size console log
2025-09-05 19:52:06 +09:00
sakura1bgx 675ab1f3b6 Update README.md 2025-07-05 10:32:49 +09:00
sakura1bgx 38c85016cd Update README.md 2025-07-05 10:23:39 +09:00
sakura1bgx c5d89b6f5a Update pyproject.toml 2025-07-05 10:10:04 +09:00
sakura1bgx 9d08101663 Update README.md 2025-07-05 10:08:51 +09:00
sakura1bgx 6b1f89a229 Update flipstreamviewer.py
- Align MessageBox layout
- Add FlipStreamLogBox
- Clear old params when loading presets
- Add response_format to FlipStreamChat
- Change max_history behavior in FlipStreamChat
- Add FlipStreamParseJson
2025-07-05 09:55:43 +09:00
sakura1bgx 232d54440e Update pyproject.toml 2025-05-31 10:16:41 +09:00
sakura1bgx 78a887fba4 Update README.md
- Update "Toggle View" description.
2025-05-31 10:16:14 +09:00
sakura1bgx c5c0effed6 Update flipstreamviewer.py
- Refine status info to keep height and show update processing time.
- Change click behavior of the center panel to keep image shown.
2025-05-31 10:12:37 +09:00
sakura1bgx ad47db33ff Update flipstreamviewer.py
fix auto hide of previewbox
2025-05-25 05:09:39 +09:00
sakura1bgx b33c90dfee Update pyproject.toml 2025-05-24 08:23:52 +09:00
sakura1bgx 9af3f373a7 Update flipstreamviewer.py
- fix import path for custom_nodes
2025-05-24 08:23:21 +09:00
sakura1bgx 80992559d8 Update pyproject.toml 2025-04-19 08:59:08 +09:00
sakura1bgx 5d94d31ec7 Merge pull request #14 from sakura1bgx/develop
- Support utf8 in base64 encoding.
- Add message box at the bottom of center panel.
- Refine refresh view process.
- Add FlipStreamSetUpdateAndReload node.
- Add FlipStreamSetMessage node.
- Add FlipStreamChat node.
- Add FlipStreamSwitch node.
- Fix loraTagSelect.
2025-04-19 08:57:38 +09:00
sakura1bgx b742c7405e Update README.md 2025-04-19 08:46:05 +09:00
sakura1bgx a1da4dc4a3 Add files via upload 2025-04-19 08:43:25 +09:00
sakura1bgx 1828ed0b46 Update README.md 2025-04-19 08:13:33 +09:00
sakura1bgx a17ba97cfe Merge pull request #13 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2025-04-19 05:38:49 +09:00
sakura1bgx 699e9459c1 Update flipstreamviewer.py
- Fix loraTagSelect.
2025-03-22 18:39:24 +09:00
sakura1bgx 488d59f0df Update flipstreamviewer.py
- Add FlipStreamSwitch node.
- Fix minor issues.
2025-03-10 04:34:43 +09:00
sakura1bgx 4e09723821 Update README.md
- Merge to FlipStreamChat
2025-03-07 04:51:36 +09:00
sakura1bgx 1881ad9eb6 Update flipstreamviewer.py
- Fix model management.
2025-03-07 04:48:29 +09:00
sakura1bgx 22d59bd44b Update flipstreamviewer.py
- Merge FlipStreamLoadChatModel to FlipStreamChat and add close_after_use option.
2025-03-07 04:12:22 +09:00
sakura1bgx 9ce270721c Update flipstreamviewer.py
- Refine FlipStreamChat parameters.
- Fix darker.
2025-03-07 03:25:23 +09:00
sakura1bgx 476602aa2f Update flipstreamviewer.py
- Rename FlipStreamChatLoad to FlipStreamLoadChatModel
2025-03-03 04:28:10 +09:00
sakura1bgx ab06b9d5f1 Update README.md
- Description for llama-cpp-python dependency.
2025-03-03 04:22:18 +09:00
sakura1bgx ee55a0affb Update README.md
- Add new nodes descriptions.
2025-03-03 04:09:46 +09:00
sakura1bgx ed8e98270e Update flipstreamviewer.py
- Support utf8 in base64 encoding.
- Add message box at the bottom of center panel.
- Refine refresh view process.
- Add FlipStreamSetUpdateAndReload node.
- Add FlipStreamSetMessage node.
- Add FlipStreamChatLoad node.
- Add FlipStreamChat node.
2025-03-03 03:51:17 +09:00
sakura1bgx 1f69a9cb78 Merge pull request #12 from sakura1bgx/main
main to develop
2025-02-27 21:11:19 +09:00
sakura1bgx 3d6d951c94 Merge pull request #11 from sakura1bgx/develop
Merge pull request #10 from sakura1bgx/main
2025-02-27 21:09:11 +09:00
sakura1bgx f49630d622 Update README.md 2025-02-27 21:03:31 +09:00
sakura1bgx 73044772e9 Update README.md 2025-02-27 21:03:05 +09:00
sakura1bgx 72e3ffe342 Update flipstreamviewer.py
- Remove print.
2025-02-27 21:01:36 +09:00
sakura1bgx 9267444da0 Add files via upload 2025-02-27 21:01:02 +09:00
sakura1bgx cf75bc7722 Merge pull request #10 from sakura1bgx/main
v3.2.0 to develop
2025-02-27 20:34:05 +09:00
sakura1bgx 14dc44a74d Update pyproject.toml
- Add FlipStreamGetPreviewRoi.
- Add FlipStreamGate.
- Add loramode option to FlipStreamViewer.
- Removed use_lora option from FlipStreamFileSelect.
2025-02-27 20:29:02 +09:00
sakura1bgx fe5f9c416b Update README.md
- Add FlipStreamGetPreviewRoi
- Add FlipStreamGate
2025-02-27 20:25:45 +09:00
sakura1bgx 3949a20047 Merge pull request #9 from sakura1bgx/develop
Develop to main
2025-02-27 20:16:32 +09:00
sakura1bgx 6a31483d47 Update flipstreamviewer.py
- Fix comfyui_tensorrt import
2025-02-27 20:14:29 +09:00
sakura1bgx c95e470fcc Update flipstreamviewer.py
- Prevent double execution during update.
- Improved FlipStreamGate for KSampler.
2025-02-24 10:52:17 +09:00
sakura1bgx 9edb0e9d99 Update README.md
- Update FlipStreamFileSelect_Checkpoints descriptions.
2025-02-23 01:58:44 +09:00
sakura1bgx c50f25580a Update README.md
- Update label input descriptions.
2025-02-23 01:40:12 +09:00
sakura1bgx 9e01d94d7d Update flipstreamviewer.py
- Remove use_lora options from FileSelect nodes.
- Move loramode param to loraMode state.
- Add loramode input to the Viewer node.
2025-02-23 01:38:50 +09:00
sakura1bgx 324bfb81fe Merge v3.1.5 to develop 2025-02-22 23:47:24 +09:00
sakura1bgx d606136136 Update flipstreamviewer.py
- Fix FileSelect folder path to support linux
2025-02-22 23:38:30 +09:00
sakura1bgx e1fc07d19e Update README.md
- Fix label input descriptions.
2025-02-22 23:02:37 +09:00
sakura1bgx c06b5b3154 Update pyproject.toml
- Fix to support Python 3.11 and linux
2025-02-22 22:29:49 +09:00
sakura1bgx cf33bed93f Update segmask.json
- Fix to support linux
2025-02-22 22:27:04 +09:00
sakura1bgx d0ce5a7941 Update quick_vid2vid.json
- Fix to support linux
2025-02-22 22:26:40 +09:00
sakura1bgx 190df55c88 Update grab_rembg_depth_animate.json
- Fix to support linux
2025-02-22 22:25:57 +09:00
sakura1bgx 2c7e0a42e8 Update dmd2_and_lora.json
- Fix to support linux
2025-02-22 22:24:33 +09:00
sakura1bgx fbd9d544e4 Update animate.json
- Fix to support linux
2025-02-22 22:24:08 +09:00
sakura1bgx c0a28913f6 Update simple.json
- Fix to support linux
2025-02-22 22:22:04 +09:00
sakura1bgx 0a43dd359d Update flipstreamviewer.py
- Fix to support python 3.11
2025-02-22 22:20:59 +09:00
sakura1bgx dd64a6ad2d Update flipstreamviewer.py
- Add FlipStreamGate.
- Change FlipStreamSource upscale method.
- Fix FlipStreamVideoInput.
2025-02-22 21:04:25 +09:00
sakura1bgx bae2d39701 Update flipstreamviewer.py
- Fix to set update flag on change PreviewRoi
- Fix to save all param.
2025-02-17 09:41:31 +09:00
sakura1bgx c31babf59d Update flipstreamviewer.py
- Add FlipStreamGetPreviewRoi.
2025-02-16 23:28:11 +09:00
sakura1bgx 131b0b93d3 Update pyproject.toml 2025-02-16 01:48:19 +09:00
sakura1bgx fe96226508 Update README.md 2025-02-16 01:46:12 +09:00
sakura1bgx 55d621d288 Update flipstreamviewer.py
- Improve status message.
- Enhance node flexibility.
- Optimize frame processing.
2025-02-16 01:44:25 +09:00
sakura1bgx 163a5da00d Add files via upload 2025-02-16 01:38:20 +09:00
sakura1bgx d433488062 Update pyproject.toml 2025-02-14 20:06:23 +09:00
sakura1bgx 466f08ea11 Update grab_rembg_depth_animate.json 2025-02-14 20:05:46 +09:00
sakura1bgx ef0e387e89 Update animate.json 2025-02-14 20:04:22 +09:00
sakura1bgx 76b80a0089 Update flipstreamviewer.py
- Reimplement FlipStreamVideoInput using imageio.
- Set default stream compression to 0.
2025-02-14 20:01:53 +09:00
sakura1bgx 3837719be1 Update pyproject.toml 2025-02-13 00:07:52 +09:00
sakura1bgx b3592893f7 Update requirements.txt 2025-02-13 00:07:21 +09:00
sakura1bgx 02c0549a5b Update flipstreamviewer.py
- Faster streaming.
- Removed refresh checkbox.
2025-02-13 00:06:30 +09:00
sakura1bgx f9eed7e13e Update flipstreamviewer.py
- Remove unnecessary import
- Implement checkbox to enable/disable status refresh
- Optimize stream logic for better performance
2025-02-11 03:50:52 +09:00
sakura1bgx 5bebd491fd Update pyproject.toml 2025-02-09 14:04:42 +09:00
sakura1bgx 5d9981a956 Update README.md 2025-02-09 14:03:26 +09:00
sakura1bgx e6ddef866c Update flipstreamviewer.py
- Fixed presetDialog buttons layout.
- Fixed presetFolder, presetFile queries.
2025-02-09 13:50:13 +09:00
sakura1bgx 8a145a1494 Update pyproject.toml 2025-02-09 07:32:11 +09:00
sakura1bgx ee34b613b7 Update README.md 2025-02-09 07:30:14 +09:00
sakura1bgx 5689d49335 Update README.md 2025-02-09 07:29:47 +09:00
sakura1bgx 379656b405 Update README.md 2025-02-09 07:25:30 +09:00
sakura1bgx e633e18387 Add files via upload 2025-02-09 06:49:36 +09:00
sakura1bgx 5135252801 Add files via upload
- Add new nodes: FlipStreamSection, FlipStreamFileSelect_ControlNetModel, FlipStreamFileSelect_Input, FlipStreamFileSelect_Output, FlipStreamScreenGrabber, FlipStreamSource, and FlipStreamRembg.
- Remove nodes: FlipStreamVideoInput and FlipStreamFileSelect_VideoSrc due to missing some codec support.
- Implement preset selection button and dialog.
- Add new queries: toggleView, showPresetDialog, presetFolder, and preset.
2025-02-09 06:48:51 +09:00
sakura1bgx c727b903bb Update README.md
add animate.json workflow and some fix.
2025-01-31 01:54:41 +09:00
sakura1bgx f3dda0da69 Add files via upload 2025-01-31 01:53:13 +09:00
sakura1bgx 76480e9198 Update flipstreamviewer.py
fix to clean warning
2025-01-30 20:09:20 +09:00
sakura1bgx 30eed43b99 Update README.md
fix escape
2025-01-30 20:00:39 +09:00
sakura1bgx 104a71a380 Update pyproject.toml
v3.0.0
2025-01-30 19:49:20 +09:00
sakura1bgx 5ede2a6213 Update README.md 2025-01-30 19:46:00 +09:00
sakura1bgx 1739c61b68 Update README.md 2025-01-30 19:41:50 +09:00
sakura1bgx d63f8322e5 Update README.md 2025-01-30 19:38:43 +09:00
sakura1bgx 3bddecf4fe Add files via upload 2025-01-30 19:31:13 +09:00
sakura1bgx ba62ff8503 Delete workflows/workflow.json 2025-01-30 19:29:45 +09:00
sakura1bgx 214573981c Delete presetsamples directory 2025-01-30 19:29:19 +09:00
sakura1bgx ff5fa12bfc Update publish.yml
fix branches
2025-01-30 13:58:59 +09:00
snomiao df741f1dea chore(publish): update GitHub Actions workflow for node publishing
- Add permissions for issue writing
- Update condition to check repository owner instead of fork status
- Change action version from `main` to `v1` for stability and consistency
2025-01-25 06:26:26 +00:00
sakura1bgx 5a8f1af2e8 Add files via upload
- Fix videosrc function.
2024-11-04 13:39:41 +09:00
sakura1bgx b46775489c Add files via upload
- Fix to {lora} replacement can be used in appPrompt.
2024-10-31 18:58:34 +09:00
sakura1bgx 5f9f8f039a Update pyproject.toml 2024-10-30 22:56:25 +09:00
sakura1bgx 8b9902e1be Add files via upload
- Adjust resolution when using videosrc
- Fix nodes for current comfyui version
2024-10-30 22:54:26 +09:00
sakura1bgx 53a6017ca2 Add files via upload 2024-10-30 22:48:02 +09:00
sakura1bgx d8ae6fa875 Update pyproject.toml 2024-09-30 19:50:48 +09:00
sakura1bgx 413eca1c30 Update README.md 2024-09-30 19:47:07 +09:00
sakura1bgx 0e46d2d73f Update README.md 2024-09-30 19:45:50 +09:00
sakura1bgx 8ed61a80ab Add files via upload 2024-09-30 19:32:48 +09:00
sakura1bgx ab37de1805 Update flipstreamviewer.py
- Support controlnet with video source.
- Refined nodes.
2024-09-30 19:26:38 +09:00
sakura1bgx ea0ccac4de Update workflow.json 2024-09-30 19:22:00 +09:00
sakura1bgx 2c63bdad22 Delete workflows/workflow_batch.json 2024-09-30 19:19:20 +09:00
sakura1bgx 1701b24541 Update README.md 2024-09-12 20:58:32 +09:00
sakura1bgx a8346a5c25 Update pyproject.toml 2024-09-12 20:55:05 +09:00
sakura1bgx 485bce950d Delete LICENSE.txt 2024-09-12 20:54:28 +09:00
sakura1bgx e57b2bb53e Add files via upload 2024-09-12 20:54:16 +09:00
sakura1bgx 2f7462bcb3 Delete workflows/workflow.png 2024-09-12 20:53:37 +09:00
sakura1bgx 24e62a87d5 Add files via upload 2024-09-12 20:53:11 +09:00
sakura1bgx 116a758efa Update flipstreamviewer.py
- Add nodes FlipStreamBatch, FlipStreamMap, FlipStreamReduce
2024-09-12 20:50:22 +09:00
sakura1bgx 1b3f19bc65 Update pyproject.toml 2024-09-07 11:25:28 +09:00
sakura1bgx 80f1dbd580 Add files via upload 2024-09-07 11:23:52 +09:00
sakura1bgx 24a4d254cc Update cat.json 2024-09-07 11:22:51 +09:00
sakura1bgx 20584e4d06 Update README.md 2024-09-07 11:21:50 +09:00
sakura1bgx 00b7a2784c Update README.md 2024-09-07 11:19:30 +09:00
sakura1bgx 56b08c9d5b Update flipstreamviewer.py
- Organized viewer layout
- Using Automatic CFG Node for speed on the workflow example
2024-09-07 11:13:21 +09:00
sakura1bgx dd9e3815a3 Update pyproject.toml 2024-09-03 22:01:20 +09:00
sakura1bgx 4c4583d4ab Add files via upload 2024-09-03 21:54:54 +09:00
sakura1bgx 3d8955297f Update README.md 2024-09-03 21:51:18 +09:00
sakura1bgx 7b1ce0a607 Update README.md 2024-09-03 21:47:32 +09:00
sakura1bgx 649e3a1c64 Update flipstreamviewer.py
- Refined button design and style managements.
- Refined nodes interface.
- Move preset control to the right pane and refined buttons.
- Add WD14Tagger threshould inputs.
2024-09-03 21:47:04 +09:00
sakura1bgx cecb717940 Update flipstreamviewer.py
- Fix random tags generation.
2024-08-28 06:44:36 +09:00
sakura1bgx 671b385b94 Update flipstreamviewer.py
- Fix toggle lora and tags.
2024-08-28 06:42:10 +09:00
sakura1bgx a73e4e4a33 Update README.md 2024-08-28 04:52:38 +09:00
sakura1bgx 7b22b8e0bd Update README.md 2024-08-28 04:49:38 +09:00
sakura1bgx 61a0f2b6ae Update pyproject.toml 2024-08-28 04:44:09 +09:00
sakura1bgx 1ab38e6e1a Update README.md 2024-08-28 04:42:34 +09:00
sakura1bgx 5bf7a9f062 Add files via upload 2024-08-28 04:41:44 +09:00
sakura1bgx dbdb4a59cd Merge pull request #5 from sakura1bgx/sakura1bgx-patch-1-4
Update pyproject.toml
2024-08-28 04:39:09 +09:00
sakura1bgx 0a77545c42 Merge pull request #4 from sakura1bgx/sakura1bgx-patch-1-1
Update workflow.json
2024-08-28 04:38:55 +09:00
sakura1bgx 7dbceda8d9 Merge pull request #3 from sakura1bgx/sakura1bgx-patch-1
Update flipstreamviewer.py
2024-08-28 04:38:38 +09:00
sakura1bgx 581f17f1fc Update pyproject.toml 2024-08-28 04:34:02 +09:00
sakura1bgx cd2b988e6e Update workflow.json 2024-08-28 04:28:24 +09:00
sakura1bgx 461edf21f4 Update flipstreamviewer.py
- Add the '{lora}' keyword to the prompt input. This keyword can be replaced with the contents of the LoRA input. If you don't include this keyword in the prompt, the LoRA input will be ignored.
- Fix the toggle buttons for LoRA and tags so that they correctly toggle within the LoRA input section.
2024-08-28 04:24:13 +09:00
sakura1bgx de66112415 Update pyproject.toml 2024-08-27 18:24:08 +09:00
sakura1bgx 5da8ae6385 Add files via upload 2024-08-27 18:18:59 +09:00
sakura1bgx 210e40401d Update README.md 2024-08-27 18:14:08 +09:00
sakura1bgx 9349641565 Update flipstreamviewer.py
- Add control for WD14Tag parameters.
- Add allowip and wd14exc options on FlipStreamViewer
2024-08-27 18:09:00 +09:00
21 changed files with 22181 additions and 2281 deletions
+5 -4
View File
@@ -4,21 +4,22 @@ on:
push:
branches:
- main
- master
paths:
- "pyproject.toml"
permissions:
issues: write
jobs:
publish-node:
name: Publish Custom Node to registry
runs-on: ubuntu-latest
# if this is a forked repository. Skipping the workflow.
if: github.event.repository.fork == false
if: ${{ github.repository_owner == 'sakura1bgx' }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main
uses: Comfy-Org/publish-node-action@v1
with:
## Add your own personal access token to your Github Repository secrets and reference it here.
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
-21
View File
@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2024 sakura1bgx
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+136 -91
View File
@@ -1,113 +1,158 @@
# ComfyUI_FlipStreamViewer
**ComfyUI_FlipStreamViewer** is a tool that provides a viewer interface for flipping images with frame interpolation, allowing you to watch high-fidelity pseudo-videos without needing AnimateDiff.
**ComfyUI_FlipStreamViewer** is a tool that provides a customizable viewer interface for flipping images with frame interpolation.
![viewer_snapshot](https://github.com/user-attachments/assets/61e79e55-111e-40b9-8417-f93acb90aed7)
## Required Custom Nodes
Please install the following nodes via ComfyUI-Manager:
- ComfyUI Impact Pack
- ComfyUI Frame Interpolation
- ComfyUI WD 1.4 Tagger
- FizzNodes
- LoRA Tag Loader for ComfyUI
<div><video controls src="https://github.com/user-attachments/assets/2a40c7c6-045e-4d86-a0fd-51a24f5472b4"></video></div>
## Getting Started
1. Navigate to the custom_nodes directory of ComfyUI. Run the following command to clone the repository:
1. **Run ComfyUI** and from ComfyUI-Manager, select Manager -> Custom Node Manager and install ComfyUI_FlipStreamViewer.
2. **Restart ComfyUI** and load the `simple.json` file located in the `workflows` folder.
3. Access the viewer at the following URL if ComfyUI is running at localhost port 8188:
`git clone https://github.com/sakura1bgx/ComfyUI_FlipStreamViewer.git`
`http://localhost:8188/flipstreamviewer`
2. **Run ComfyUI** and load the `workflow.json` file located in the `workflows` folder.
3. Access the viewer at the following URL if ComfyUI is running at `http://localhost:8188`:
4. Run a workflow on the ComfyUI
`http://localhost:8188/viewer`
5. The UI nodes will refresh after the workflow is completed once, so you need to click 'Update' after that.
3. To respond to viewer input:
- Check 'Extra options', 'Auto Queue', and 'instant' on the ComfyUI control panel.
- Then click the 'Queue Prompt' button.
6. The 'preset' folder may be created in the current directory for saving and loading preset files.
4. The 'preset' folder may be created in the current directory for saving and loading preset files. Sample presets can be found in the `presetsamples` folder.
## Limitations
## Prompt Format
- Please note that this tool is not designed with security measures against third-party attacks. Therefore, it should only be used for personal purposes within a secure network.
- There is no save video function available; please customize your workflow as needed.
Use the following format for input prompts. The 'pre text' and 'append text' sections apply to all frames. The separator `----` should consist of four hyphens, and each line of 'frameN text' applies to individual frames.
## Optional Custom Nodes dependencies
The following custom nodes can be used as needed:
- ComfyUI-Inspyrenet-Rembg: For FlipStreamRembg
- ComfyUI-Frame-Interpolation: For FlipStreamFilmVfi
The following custom nodes may also be used within workflows:
- ComfyUI Impact Pack
- LoRA Tag Loader for ComfyUI
- ComfyUI-WD14-Tagger
- ComfyUI-AnimateDiff-Evolved
- ComfyUI-VideoHelperSuite
- ComfyUI-DepthAnythingV2
- ComfyUI-Advanced-ControlNet
## Optional Python Packages Dependencies
llama-cpp-python for FlipStreamChat:
```
REM Before that, may be need to install Visual Studio 2022, VC++ development options and cmake
set PATH=D:\ComfyUI_windows_portable\python_embeded;D:\ComfyUI_windows_portable\python_embeded\Scripts;%PATH%
cd python_embeded
python -m pip install scikit-build-core
python -m pip install cmake
set CMAKE_ARGS="-DGGML_CUDA=on"
python -m pip install llama-cpp-python
```
## UI Features
- **Customizable Left Panel**: The left panel UI is customizable with UI Nodes.
- **UI Node Ordering**: These UI nodes are ordered by their titles, and you can change the node titles to something like '10.steps' or '11.cfg'. You can also click on the title to compact the node on the workflow.
- **Label Input**: Each UI node has a 'label' input, which should be a unique identifier used as the parameter name. 'lora' is internally used, so they cannot be used for labels.
- **Enable Output**: Each UI node also has an 'enable' output to use with 'Control Bridge' for switching to bypass some nodes or FlipStreamSwitch* for switching input.
- **Right Panel**: You can operate several prepared functions such as Status, Darker, Preset, and Lora.
- **Status**: The right panel shows ComfyUI status and error information.
- **Darker**: You can adjust the image brightness on the viewer using the darker parameter. It can also be set via query:
`http://localhost:8188/flipstreamviewer?darker=0.33`
- **Preset**: You can save and load parameters that are set on viewer controls. There are joking level XOR crypt mode for preset files, it can be use with &px query. The 'M' button means Move to another folder. It can also be set via query:
`http://localhost:8188/flipstreamviewer?showPresetDialog=1&presetFolder=folder_name&presetFile=file_name.json`
- **Lora**: You can select LoRA and choose tags. It can also choose random tags. The LoRA preview box can be clicked to jump to the Civitai LoRA page if found. The 'M' button means Move to another folder. The 'T' button means Toggle. The 'R' button means Random choose.
- **Toggle View**: You can click the center panel to hide the left/right panels and the message box, a subsequent click will show them. It can also be set via query:
`http://localhost:8188/flipstreamviewer?toggleView=1`
- **Run on Load**: The workflow can be run when the page is loaded via query:
`http://localhost:8188/flipstreamviewer?run=1`
- **Message Box**: If a message is set by FlipStreamSetMessage, you can view it at the top left of the center panel.
- **Auto Hide**: Stream and preview in the viewer will automatically hide after 5 minutes if the page is not reloaded.
- **Reset**: clears the queue, interrupts the current run and resets all viewer parameters, state and stream. It can be called via query:
`http://localhost:8188/flipstreamviewer?reset=1`
## UI Nodes
- **FlipStreamSection**: A section label for UI Nodes. 'closed' makes the section collapsed initially.
- **FlipStreamButton**: Run and Capture buttons. The Capture button can be use with FlipStreamGetFrame to get captured image.
- **FlipStreamSlider**: A slider for adjusting values.
- **FlipStreamTextBox**: A text box for inputting multiline text.
- **FlipStreamInputBox**: An input box for various boxtype inputs. The 'U' button means update. You can choose special boxtype 'seed' or 'r4d' with the 'R' button, which means randomize. The boxtype 'r4d' can be used to generate a 4-digit part of a prompt like 'MOV_{num}'. In this case, FlipStreamTextReplace can help find '{num}' and replace with the output of the input box.
- **FlipStreamSelectBox_Samplers**: A select box for choosing samplers.
- **FlipStreamSelectBox_Scheduler**: A select box for choosing schedulers.
- **FlipStreamSizeSelect**: A select box for choosing size by aspect ratio. The size can also get using FlipStreamGetSize.
- **FlipStreamFileSelect_Checkpoints**: A file selector for checkpoints. 'mode' is used to select a subfolder such as 'sd15', 'sdxl', 'pony', or 'flux' in 'checkpoints'. 'use_sub' means using subfolders in the 'mode' folder. 'use_move' means using the move file selector.
- **FlipStreamFileSelect_DiffusionModels**: A file selector for diffusion models.
- **FlipStreamFileSelect_VAE**: A file selector for VAE models.
- **FlipStreamFileSelect_LLM**: A file selector for LLM models.
- **FlipStreamFileSelect_ControlNetModel**: A file selector for ControlNet models.
- **FlipStreamFileSelect_TensorRT**: A file selector for TensorRT models. It may be used with ComfyUI_TensorRT.
- **FlipStreamFileSelect_AnimateDiffModel**: A file selector for AnimateDiff models. It may be used with ComfyUI-AnimateDiff-Evolved.
- **FlipStreamFileSelect_Input**: A file selector for ComfyUI input folder.
- **FlipStreamFileSelect_Output**: A file selector for ComfyUI output folder.
- **FlipStreamPreviewBox**: A box for previewing the input image. You can select the ROI (Region of Interest) in the preview by dragging the mouse.
- **FlipStreamPasteBox**: A box for paste an input image. You can select the box by click once, then you can paste image from clipboard by Ctrl+V or delete image by DEL.
- **FlipStreamLogBox**: A box for displaying logs on the screen.
## Other Nodes
- **FlipStreamRunOnce**: Updates parameters, reloads pages, and run the current workflow once.
- **FlipStreamSetMessage**: Sets a message for the message box at the bottom of the center panel.
- **FlipStreamAnd(experimental)**: Multiple inputs AND operation node.
- **FlipStreamOr(experimental)**: Multiple inputs OR operation node.
- **FlipStreamSetState**: A node for setting internal state.
- **FlipStreamGetState**: A node for getting internal state.
- **FlipStreamSetParam**: A node for setting parameters. However, it needs a reload to update the value in the viewer UI.
- **FlipStreamGetParam**: A node for getting parameters. 'lora' is a prepared parameter that contains text at the Lora input. Some prompts can contain '{lora}' and FlipStreamTextReplace can help find '{lora}' and replace it with the output of the get param node of 'lora'. 'b64dec' is true for 'lora' and other 'FlipStreamTextBox' parameters, because these multiline parameters are internally base64 encoded.
- **FlipStreamGet(experimental)**: A node for getting internal state and parameters with independent node cache.
- **FlipStreamGetFrame**: A node for get image from frame buffer. It can be use with FlipStreamButton - Capture button to get captured image.
- **FlipStreamGetPreviewRoi**: A node for obtaining the preview ROI (Region of Interest) selection.
- **FlipStreamImageSize**: A node for getting image size.
- **FlipStreamTextReplace**: A node for replacing text. It will output the result of `text.replace(find, replace.format(value))`.
- **FlipStreamTextConcat**: A node for concatenate text.
- **FlipStreamScreenGrabber**: A node for grab multiframe screenshots.
- **FlipStreamVideoInput**: A node for input video frames.
- **FlipStreamSource**: A node for prepare image or latent source.
- **FlipStreamSwitchImage**: A node for switching images.
- **FlipStreamSwitchLatent**: A node for switching latents.
- **FlipStreamGate(deprecated)**: A node for consolidating input timing to ensure that inputs to the sampler do not occur sequentially.
- **FlipStreamRembg**: A node for remove background. It depends on ComfyUI-Inspyrenet-Rembg.
- **FlipStreamSegMask(deprecated)**: Currently cannot use, so please use original node ComfyUI-Florence2.
- **FlipStreamChat**: Loads an LLM (Large Language Model) and obtains chat responses. It only supports *.gguf files in the models/LLM folder and uses llama-cpp-python. The output format can be customized using the response_format parameter, which supports [JSON Schema](https://llama-cpp-python.readthedocs.io/en/latest/#json-schema-mode) for structured responses.
- **FlipStreamParseJson**: Extracts values for multiple keys from a JSON string and joins them using a specified delimiter.
- **FlipStreamChatJson**: Mix and simplified FlipStreamChat and FlipStreamParseJson using auto generated json scheme.
- **FlipStreamBatchPrompt**: A node for simple batch prompting. Use the following format for the input prompt of this node. The 'pre text' and 'append text' sections apply to all frames. The separator `----` should consist of four hyphens, and each line of 'frame text' applies evenly to the number of frames specified in 'frames'. For example, if 'frames' is 8 and there are 2 'frame text' lines, they will be applied starting from frames 0 and 4.
```
pre text,
----
- frame1 text
- frame2 text
- frame text,
- frame text,
----
append text
```
- **FlipStreamFilmVfi**: A node for video frame interpolation. It depends on ComfyUI-Frame-Interpolation.
- **FlipStreamViewer**: A node for viewing content. The 'allowip' parameter allows you to set IP addresses that can access the viewer. ComfyUI commandline options "--listen 0.0.0.0" and appropriate firewall settings are also needed for that. The 'w14exc' parameter is used to set exclude_tags for the WD14 Tagger. 'fps' can control flip speed.
- **FlipStreamViewerSimple**: Simplified FlipStreamViewer.
- **FlipStreamViewerVideo**: Streams frames (and optional audio) to the viewer as a single MP4 instead of PNG frames, it is much faster for long or large videos. Audio is muted and the volume is 0 by default, the mute button and volume slider appear at the top left. FlipStreamGetFrame cannot get frames from the video stream.
- **FlipStreamLogger**: Prints the input data to the console with a label.
- **FlipStreamCurrent**: A node for setting current information text on the right panel status info.
- **FlipStreamAllowIp**: A node for setting allowip.
- **FlipStreamLoraMode**: A node for setting loraMode.
- **FlipStreamSaveApiWorkflow**: A node for save current workflow as api workflow.
- **FlipStreamRunApiWorkflow**: A node for run an api workflow.
- **FlipStreamFree**: A node for free model and comfy caches.
- **FlipStreamShutdown**: A node for scheduling shutdown (Windows only).
### Limitations
## Workflow Examples
- There is no save video function available; please customize your workflow as needed.
- Excessively long text may cause exceptions.
- The keywords `BREAK`, `AND`, and `<lora:...>` cannot be used in the prompt.
These workflow are sometimes old.
## Parameters
You can adjust the following parameters on the viewer:
- **Seed**: Random seed for KSampler.
- **Iv**: Interval in seconds for auto-changing the random seed.
- **Nstp**: Steps for KSampler.
- **Ncfg**: CFG for KSampler.
- **Nsta**: Start step for the second KSampler; increasing this value will stabilize the output between frames.
- **Nfrm**: Number of frames; each frame undergoes x8 interpolation in the sample workflow.
- **Nspf**: Seconds per frame displayed in the viewer stream.
## Inputs
Provide the following text inputs in the viewer:
- **Prompt Input**: Located at the top of the left pane (refer to the Prompt Format section above).
- **Negative Prompt Input**: Located below the Prompt Input; this applies to all frames.
- **LoRA Input**: Located in the middle of the right pane; input LoRA such as `<lora:startsfilename:1>`.
## Controls
**Left Pane Buttons:**
- **Update**: Apply input data to the workflow.
- **Change**: Change the seed and update.
- **K**: Keep the seed to search for another good seed.
- **B**: Go back to the previous seed.
- **M**: Move the checkpoint file.
- **L**: Load a preset.
- **P**: Load a preset prompt only.
- **S**: Save the current preset.
- **D**: Delete a preset.
**Right Pane Buttons:**
- **T**: Toggle LoRA enable/disable.
- **M**: Move the LoRA file.
- **T**: Toggle tag enable/disable at the Prompt Input.
- **R**: Switch to random tags at the Prompt Input.
- **U**: Same as Update.
- **W**: Apply WD14Tagger to the first frame; outputs tags to LoRA input.
- **C**: Capture an image from another browser tab or desktop and set it as the first frame; useful with W.
## Additional Features
- **LoRA Preview**: At the bottom of the right pane; click to jump to the Civitai LoRA page if found.
- **Auto-hide**: Click to hide controls and images or the viewer auto-hides after 5 minutes of inactivity.
## Quality and Speed
- Use more higher-quality checkpoint models.
- To enhance stability between frames, use a deliberate prompt in the 'pre text' to establish a consistent background, such as `on desk, ideal background`. Additionally, using LoRA can also improve stability.
- Select the appropriate words in 'frameN text' to achieve the desired motion. This can be reused in other prompts.
- Since 0sta is more flexible, it's better to change the Nsta only after testing those first.
- Recommended speed setting: `4stp 1cfg 0sta dpmpp_2m,sgm_uniform` with `<lora:TCD-SDXL:1>`. You can download the TCD LoRA from [Civitai](https://civitai.com/models/395638). Rename the file to `TCD-SDXL.safetensors`.
## Customizing Workflow
You can customize the workflow for specific needs:
- **FlipStreamLoader**: Use the 'mode' parameter to switch between sub-directories for checkpoints and LoRAs, useful for managing models like sd15, pony, etc.
- **simple.json**: Customized a ComfyUI default workflow for FlipStreamViewer UI nodes.
- **dmd2_lora.json**: Using DMD2 and some LoRA, only needs 5 steps to generate an image.
- **segmask.json**: A 2-step process for generating frames using batch prompts and segmentation mask, followed by interpolation.
- **animate.json**: Using AnimateDiff with FlipStreamSource, FlipStreamBatchPrompt, and FlipStreamFilmVfi.
- **grab_rembg_depth_animate.json**: Using ControlNet and AnimateDiff with FlipStreamScreenGrabber, FlipStreamRembg.
- **quick_vid2vid.json**: Quick tuning workflow for vid2vid.
- **quick_vid2vid_roi.json**: An example demonstrating the use of FlipStreamGetPreviewRoi and FlipStreamGate.
- **visualnobel.json**: Visual nobel like UI using FlipStreamChat.
+2 -3
View File
@@ -1,3 +1,2 @@
from .flipstreamviewer import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
from .flipstreamviewer import WEB_DIRECTORY, NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ['WEB_DIRECTORY', 'NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
+3790 -614
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -1 +0,0 @@
{"prompt": "aGlnaHJlcywgb24gdGFibGUsIGlkZWFsIGJhY2tncm91bmQsIHNvbG8sIGJsYWNrIGNhdCwKLS0tLQotIAotIHNpdHRpbmcKLS0tLQo=", "negativePrompt": "", "seed": 0, "keepSeed": 0, "steps": 13, "cfg": 4, "interval": 30, "sampler": "dpmpp_2m,sgm_uniform", "checkpoint": "", "lora": "", "startstep": 0, "frames": 2, "framewait": 1, "offsetX": 0, "offsetY": 0, "scale": 100}
+4 -4
View File
@@ -1,12 +1,12 @@
[project]
name = "comfyui_flipstreamviewer"
description = "ComfyUI_FlipStreamViewer is a tool that provides a viewer interface for flipping images with frame interpolation, allowing you to watch high-fidelity pseudo-videos without needing AnimateDiff."
version = "1.0.0"
license = {file = "LICENSE"}
description = "ComfyUI_FlipStreamViewer is a tool that provides a customizable viewer interface for flipping images with frame interpolation."
version = "4.1.0"
license = {file = "LICENSE.txt"}
[project.urls]
Repository = "https://github.com/sakura1bgx/ComfyUI_FlipStreamViewer"
# Used by Comfy Registry https://comfyregistry.org
# Used by Comfy Registry https://comfyregistry.org
[tool.comfy]
PublisherId = "sakura1bgx"
+2
View File
@@ -0,0 +1,2 @@
imageio
mss
Binary file not shown.
+68
View File
@@ -0,0 +1,68 @@
import { app } from "../../../scripts/app.js";
import { api } from "../../../scripts/api.js";
app.registerExtension({
name: "FlipStreamViewer.RunOnce",
async setup() {
api.addEventListener("FlipStreamViewer_run_once", async () => {
await api.interrupt();
await api.fetchApi("/queue", {
method: "POST",
body: JSON.stringify({ clear: true }),
});
await app.queuePrompt(0, 1);
});
}
});
app.registerExtension({
name: "FlipStreamViewer.FlipStreamChatJson",
async beforeRegisterNodeDef(t, d) {
const config = {
"FlipStreamGet": { in: 0, out: 2, range: 20, iname:'label', oname:'value', useo: true },
"FlipStreamChatJson": { in: 11, out: 3, range: 20, iname:'label', oname:'value', useo: true },
"FlipStreamTextConcat": { in: 2, out: 1, range: 20, iname:'text', oname:'', useo: false }
};
const CFG = config[d.name];
if (!CFG) return;
const sync = (n) => {
const w = n.widgets;
if (CFG.useo) {
while (n.outputs.length > w.length + CFG.out - CFG.in) {
if (n.outputs.length < CFG.out || n.outputs[n.outputs.length - 1]?.links?.length) break;
n.removeOutput(n.outputs.length - 1);
n.outputs_dirty = true;
}
}
if (w.length < CFG.in + CFG.range && (w.at(-1)?.value || n.inputs[w.length - 1]?.link !== null)) {
if (CFG.useo) {
n.addOutput(`${CFG.oname}${w.length - CFG.in}`, "*");
n.outputs_dirty = true;
}
const inputName = `${CFG.iname}${w.length - CFG.in}`;
n.addWidget("string", inputName, "", () => {}, { forceInput: true });
n.inputs_dirty = true;
}
while (w.length > CFG.in + 1 && (!w.at(-1).value && n.inputs[w.length - 1]?.link === null) && (!w.at(-2).value && n.inputs[w.length - 2]?.link === null)) {
if (n.outputs[w.length + CFG.out - CFG.in - 1]?.links?.length) break;
if (CFG.useo) {
n.removeOutput(w.length + CFG.out - CFG.in - 1);
n.outputs_dirty = true;
}
w.pop();
n.inputs_dirty = true;
}
n.setSize(n.computeSize());
n.setDirtyCanvas(true, true);
};
t.prototype.onNodeCreated = function() { sync(this); };
t.prototype.onWidgetChanged = function() { sync(this); };
t.prototype.onConnectionsChange = function(type, slot, connected, info) { requestAnimationFrame(() => sync(this)); };
t.prototype.onConfigure = function(c) {
c.widgets_values.forEach((v, i) => { if (this.widgets[i]) this.widgets[i].value = v; sync(this);});
};
}
});
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 KiB