This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ComfyUI.js | |
// Simple ComfyUI Helper Class in JavaScript for ComfyUI API | |
// Usage: | |
/* | |
const ComfyUI = require('./classes/ComfyUI'); | |
// Define the nodes that you want to modify in your workflow | |
const nodes = { | |
seeds: ['4', '12'], // Node IDs that contain seeds |