ComfyUI Extension: ComfyUI Deadline Submission
ComfyUI plugin for submitting workflows to Thinkbox Deadline for distributed rendering. Enables render farm distribution with configurable job settings, batch processing, and automatic seed variation.
Custom Nodes (0)
README
ComfyUI Deadline Plugin
A comprehensive plugin for integrating ComfyUI workflows with Thinkbox Deadline render farm management.
š Features
- Seamless Integration: Submit ComfyUI workflows directly to Deadline from within ComfyUI
- Distributed Rendering: Leverage your render farm to process ComfyUI workflows at scale
- Real-time Progress Monitoring: Track rendering progress through Deadline Monitor
- Seed Variation Control: Automatically vary seeds across tasks for batch rendering
- Flexible Configuration: Support for pools, groups, priorities, and custom output directories
š¦ Repository Structure
This repository contains two main components:
ComfyUI-Deadline-Plugin/
āāā deadline_submit.py # Main ComfyUI custom node
āāā __init__.py # Node exports for ComfyUI
āāā plugins/ComfyUI/ # Deadline plugin (manual install required)
ā āāā ComfyUI.py
ā āāā ComfyUI.param
āāā example_extra_model_paths.yaml # Example model paths configuration
āāā requirements.txt # Python dependencies
āāā pyproject.toml # Modern Python packaging
āāā LICENSE # MIT License
āāā README.md # This file
š§ Installation
Option 1: ComfyUI Manager (Recommended)
-
Install Custom Nodes (Automatic):
- Open ComfyUI Manager
- Go to "Install Custom Nodes"
- Search for "ComfyUI Deadline Submission"
- Click Install
- Restart ComfyUI
-
Install Deadline Plugin (Manual - Required):
- Copy the
plugins/ComfyUI/
directory to your Deadline Repository'scustom/plugins/
directory - Restart Deadline services or Deadline Monitor
- Copy the
Option 2: Manual Installation
-
Clone Repository:
cd ComfyUI/custom_nodes git clone https://github.com/YOUR_USERNAME/ComfyUI-Deadline-Plugin.git
-
Install Deadline Plugin:
- Copy
ComfyUI-Deadline-Plugin/plugins/ComfyUI/
to[Deadline Repository]/custom/plugins/ComfyUI/
- Restart Deadline services
- Copy
-
Restart ComfyUI
Worker Machine Setup
No additional Python dependencies required - the plugin uses only standard library modules.
šÆ Quick Start
Using ComfyUI Custom Nodes
- Add Submit Node: In ComfyUI, add a "Submit to Deadline" node to your workflow
- Configure Settings: Set job name, priority, pool, group, etc.
- Execute Workflow: Run your workflow normally
- Monitor Progress: Check job status in Deadline Monitor
Direct Workflow Submission
- Export Workflow: Save your workflow as JSON from ComfyUI
- Submit via Deadline: Use the ComfyUI plugin in Deadline Monitor
- Configure Job: Set rendering parameters and submit
āļø Configuration
Deadline Plugin Configuration
Configure these settings in Deadline Monitor:
- ComfyUI Instalation Path: Path toComfyUI_windows_portable folder
Model Paths Configuration (Optional)
ComfyUI is very slow to read models from network. For render farms with shared model storage, you can configure ComfyUI to use centralized model paths:
- Copy the example file:
ComfyUI\custom_nodes\deadline_submission\example_extra_model_paths.yaml
to your ComfyUI installation - Rename it:
extra_model_paths.yaml
- Edit paths: Update the paths to match your network storage setup
The example configuration shows a local-first, network-fallback setup:
- Local path:
C:/AI
(fast access on each worker) - Network path:
X:/AI
(centralized storage, fallback)
This ensures workers use local models when available, falling back to network storage when needed.
š Usage Guide
Submit to Deadline Node
Required Inputs:
workflow_file
: Override workflow file path (leave empty for auto-detection)auto_detect_workflow
: Use current workflow (recommended: ON)batch_count
: Number of tasks to create (1-100)chunk_size
: Frames per task (1-16)change_seeds_per_task
: Vary seeds across tasks for different outputspriority
: Job priority (0-100)pool
: Deadline pool to usegroup
: Deadline group to usejob_name
: Name for the Deadline jobbypass
: Skip submission (for testing)skip_local_execution
: Submit only vs. submit and run locally
Optional Inputs:
output_directory
: Custom output directory for all workerscomment
: Job commentdepartment
: Department name
Outputs:
job_id
: Deadline job ID for tracking
Seed Variation Feature
Control how seeds are handled across batch tasks:
- ON: Each task gets randomized seeds ā Different outputs
- OFF: All tasks use original seeds ā Identical outputs
Compatible with:
- KSampler nodes (seed parameter)
- RandomNoise nodes (noise_seed parameter)
- Any node with seed-like parameters
šļø Technical Details
How It Works
- Workflow Capture: Automatically captures current ComfyUI workflow
- Deadline Submission: Creates Deadline job with proper configuration
- Worker Execution:
- Starts ComfyUI server on worker
- Submits workflow via API
- Randomizes seeds for batch
- Monitors progress
- Progress Reporting: Progress updates through Deadline Monitor
Note: This plugin requires both ComfyUI and Thinkbox Deadline to be properly installed and configured. The ComfyUI custom nodes can be installed automatically via ComfyUI Manager, but the Deadline plugin must be manually copied to your Deadline Repository.