### Install ComfyTV Node Source: https://github.com/jtydhr88/comfytv/blob/main/README.md Clone the ComfyTV repository into the ComfyUI custom_nodes directory to install the custom nodes. Restart ComfyUI after installation. ```bash cd ComfyUI/custom_nodes git clone https://github.com/jtydhr88/ComfyTV ``` -------------------------------- ### Install ComfyUI Inpaint Nodes Plugin Source: https://github.com/jtydhr88/comfytv/blob/main/workflows/inpaint/README.md Install the necessary plugin for the Fooocus SDXL inpaint workflow. This involves cloning the repository and installing a Python dependency. ```bash cd I:/ComfyUI/custom_nodes git clone https://github.com/Acly/comfyui-inpaint-nodes.git pip install opencv-python ``` -------------------------------- ### Example Preset JSON for Video to Video Workflow Source: https://github.com/jtydhr88/comfytv/blob/main/docs/custom-workflows.md This example shows the structure of a preset JSON file for a video-to-video workflow, detailing input configurations and node connections. ```json { "inputs": { "123": { "upload": [ { "content_type": "video/mp4", "filename": "video.mp4", "name": "upload", "size": 10000000, "temp_dir": "/tmp/tmpXXXXXX" } ] }, "2": "123" }, "workflow": { "123": { "inputs": { "upload": [ null ] }, "class_type": "LoadVideo" }, "2": { "inputs": { "video": [ "123", 0 ], "model": [ "3", 0 ], "positive_prompt": [ "4", 0 ], "negative_prompt": [ "5", 0 ], "latent_image": [ "6", 0 ], "sampler_name": "euler", "scheduler": "normal", "seed": 12345, "steps": 20 }, "class_type": "KSampler" } } } ``` -------------------------------- ### Example Preset JSON for Inpaint Workflow Source: https://github.com/jtydhr88/comfytv/blob/main/docs/custom-workflows.md This is an example of a preset JSON file used to store custom bindings for a workflow. These bindings are automatically applied when the workflow is loaded. ```json { "inputs": { "123": { "upload": [ { "content_type": "image/png", "filename": "image.png", "name": "upload", "size": 100000, "temp_dir": "/tmp/tmpXXXXXX" } ] }, "2": "123" }, "workflow": { "123": { "inputs": { "upload": [ null ] }, "class_type": "LoadImage" }, "2": { "inputs": { "image": [ "123", 0 ], "mask": null, "denoising_strength": 0.5, "model": [ "3", 0 ], "positive_prompt": [ "4", 0 ], "negative_prompt": [ "5", 0 ], "latent_image": [ "6", 0 ], "sampler_name": "euler", "scheduler": "normal", "seed": 12345, "steps": 20 }, "class_type": "KSampler" } } } ``` -------------------------------- ### Install Acly ComfyUI Inpaint Nodes Source: https://github.com/jtydhr88/comfytv/blob/main/workflows/erase/README.md Clone the repository for the Acly ComfyUI inpaint nodes plugin into your custom_nodes directory. Ensure opencv-python is installed. ```bash cd I:/ComfyUI/custom_nodes git clone https://github.com/Acly/comfyui-inpaint-nodes.git pip install opencv-python # if not already installed ``` -------------------------------- ### Adding a Workflow Step-by-Step Source: https://github.com/jtydhr88/comfytv/blob/main/workflows/README.md Provides a concise guide on how to add a new workflow to ComfyTV, involving saving the workflow and restarting the application. ```text 1. In ComfyUI's web UI, open the workflow you want and choose **Workflow → Save** (GUI format — **not** "Save (API Format)"). 2. Save the exported JSON as `workflows//.json`. 3. **Restart ComfyUI.** The workflow now appears in the matching stage's dropdown, labelled by a humanized filename. ``` -------------------------------- ### Typical Panorama Workflow Source: https://github.com/jtydhr88/comfytv/blob/main/docs/panorama.md Illustrates a common sequence of nodes for using the Panorama functionality, starting from an image stage and leading to either current view or multi-view captures. ```text Image Stage → Image Picker → Panorama (upload or generate) │ ├── Current View → (edit / video) └── Multi-View → Image Picker → (edit) ``` -------------------------------- ### Mesh2motion to ComfyTV Video Pipeline Source: https://github.com/jtydhr88/comfytv/blob/main/docs/bridges.md Example of chaining a mesh2motion plugin's VIDEO output through a ComfyTV Video bridge node to a Video Upscale stage. ```text [mesh2motion] ─VIDEO─→ [→ ComfyTV Video] ─COMFYTV_VIDEO─→ [Video Upscale] → … ``` -------------------------------- ### Plugin Image Batch to ComfyTV Video Pipeline Source: https://github.com/jtydhr88/comfytv/blob/main/docs/bridges.md Shows how to convert an IMAGE batch output from a plugin into a VIDEO object using ComfyUI's 'Create Video' node before passing it to a ComfyTV Video bridge. ```text [plugin] ─IMAGE batch─→ [Create Video (fps)] ─VIDEO─→ [→ ComfyTV Video] → … ``` -------------------------------- ### Workflow Directory Layout Source: https://github.com/jtydhr88/comfytv/blob/main/workflows/README.md Illustrates the expected folder structure for organizing ComfyUI workflow JSON files within the ComfyTV extension. ```text workflows/ / .json _preset.json ``` -------------------------------- ### Custom Workflow Directory Structure Source: https://github.com/jtydhr88/comfytv/blob/main/docs/custom-workflows.md Organize your custom workflow JSON files within the `custom_nodes/ComfyTV/workflows/` directory, categorized by their kind (e.g., image, video, audio). ```text workflows/ image/ my-workflow.json my-workflow_preset.json image-edit/ inpaint/ erase/ outpaint/ upscale/ multiangle/ relight/ cutout/ multiview/ sequence/ video/ text/ audio/ audio-vocal/ audio-bg/ shot-images/ storyboard/ panorama/ timeline/ ``` -------------------------------- ### Adding a Custom Workflow Source: https://github.com/jtydhr88/comfytv/blob/main/docs/custom-workflows.md To add a custom workflow, save it from the ComfyUI GUI as a JSON file and place it in the appropriate `` subdirectory within `workflows/`. Restart ComfyUI for it to appear in the dropdown. ```text workflows//.json ``` -------------------------------- ### Prompt Enhancer to ComfyTV Text Pipeline Source: https://github.com/jtydhr88/comfytv/blob/main/docs/bridges.md Demonstrates how a STRING output from a prompt enhancement node can be fed into a ComfyTV Text bridge node, which then connects to an Image/Video stage. ```text [Prompt Enhance (Comfy-Org)] ─STRING─→ [→ ComfyTV Text] ─COMFYTV_TEXT─→ [Image / Video Stage] → … ``` -------------------------------- ### Prompt Format for Multiangle Workflows Source: https://github.com/jtydhr88/comfytv/blob/main/workflows/multiangle/README.md This is the format for prompts automatically generated by the MultiangleStage based on 3D camera viewpoints. It includes azimuth, elevation, and distance, with optional extra context. ```plaintext [azimuth] [elevation] [distance], [optional extra context] ``` -------------------------------- ### Bridge Node Integration Diagram Source: https://github.com/jtydhr88/comfytv/blob/main/docs/bridges.md Illustrates how a plugin's output tensor is passed through a ComfyTV bridge node to become a viewable URL for downstream ComfyTV stages. ```text [any plugin] IMAGE [ComfyTV → Image] COMFYTV_IMAGE [Image Picker / Upscale / …] output ────tensor─────→ bridge stage ─────/view URL─────→ ComfyTV stages (Run + snapshot) ``` -------------------------------- ### Download LaMa Inpainting Model Source: https://github.com/jtydhr88/comfytv/blob/main/workflows/erase/README.md Download the big-lama.pt model file and place it in the ComfyUI models/inpaint directory. This model is required for the LaMa Erase workflow. ```bash cd I:/ComfyUI/models/inpaint curl -L -O https://github.com/Sanster/models/releases/download/add_big_lama/big-lama.pt ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.