ComfyUI Extension: ae-in-workflow
In-workflow Nodes for ComfyUI - Heavy interaction and streaming capabilities
Custom Nodes (0)
README
In-workflow Nodes for ComfyUI
A collection of interactive nodes that provide heavy interaction and streaming capabilities for ComfyUI workflows.

ðŊ Features
ð Super Easy Pose Editing - Click, drag, boop and you're done. No complex workflows or external tools needed!
- ⥠One-Click Editing: Click any keypoint and drag to move it instantly
- ðŊ Smart Person Selection: Automatically selects the person closest to your cursor
- ðĨ Multi-Person Scenes: Add, remove, and manage multiple people in one scene
- ð Pose Manipulation: Move, rotate, and scale entire poses or individual limbs
- ðĶī Limb Controls: Move keypoints with or without their "children" (connected joints)
- ð Flip & Turn: Mirror poses horizontally or rotate them 180°
- âĻ Auto-Fix Missing Keypoints: Estimates missing joints using T-pose proportions
- ð Smart Spacing: Automatically prevents people from overlapping
- ð Duplicate & Clone: Copy poses for creating variations quickly
- ðŽ Animation Chains: Link multiple nodes for frame-by-frame stop-motion style animation
- ðū Smart Caching: Remembers your edits for instant loading next time
- ðĨïļ Window Memory: Remembers window position and size between sessions
- ð Cross-Platform: Works identically on Windows, macOS, and Linux
- ðĻ T-Pose Templates: Start fresh with clean T-poses when no input provided
ðĶ Installation
-
Clone (or download and extract) this repository into your ComfyUI
custom_nodesdirectory:ComfyUI/ âââ custom_nodes/ <- clone here â âââ ae-in-workflow/ â âââ __init__.py â âââ pose_editor.py â âââ setup.py â âââ requirements.txt â âââ pyproject.toml â âââ CHANGELOG.md â âââ LICENSE â âââ MANIFEST.in â âââ README.md â âââ assets/ â â âââ screenshot.png â âââ web/ â âââ index.html -
Restart ComfyUI
ð§ Requirements
Note: When you run
pip install -r requirements.txtfrom within your ComfyUI virtual environment, these packages will be installed automatically.
pygame>=2.0.0
torch>=1.9.0
numpy>=1.19.0
Pillow>=8.0.0
screeninfo>=0.8.0 # Optional: improves window positioning
ðĻ Nodes
Interactive Pose Editor (ae)
Category: ae-in-workflow
An interactive pose editor that allows users to manipulate OpenPose keypoints with full control.
Controls:
Left Click: Select and drag keypoints
Left Drag: Move keypoint
Ctrl + Left Drag: Move keypoint with children
Middle Click + Drag: Move selected person
Scroll: Zoom selected person
Ctrl + Scroll: Rotate selected person
Shift + Scroll: Rotate children around nearest keypoint
Ctrl + D: Duplicate selected person
Ctrl + X: Delete selected person
Ctrl + N: Add new T-pose person
Ctrl + F: Fix missing keypoints
Ctrl + R: Flip horizontally (mirror pose)
Ctrl + Shift + R: Flip horizontally (turn around)
Ctrl + Z: Undo last action
Ctrl + Shift + Z / Ctrl + Y: Redo action
Ctrl + O: Reset to original input
ESC: Save & Exit
Inputs:
- pose_data (optional): OpenPose format pose data as JSON string (if not provided, starts with default T-pose)
- padding (optional): Padding around poses in output (default: 128)
- seed (optional): Change to force re-execution with same pose data (default: 0)
- reset_cached_window_position (optional): Reset window position/size to defaults (default: False)
Outputs:
- image: Rendered pose visualization image
- edited_pose_data: Modified pose data in OpenPose format as JSON string
ð Usage Examples
Basic Pose Editing
- Load pose data from OpenPose detection
- Connect to the Pose Editor node
- Click "Queue" to launch the interactive editor
- Edit poses using mouse and keyboard controls
- Close the editor to get the modified pose data
Multi-person Scene Creation
- Start with a single person pose (or no input for default T-pose)
- Use Ctrl+N to add more T-pose people
- Position and edit each person individually
- Use Ctrl+D to duplicate poses for variations
- Export the complete multi-person scene
Iterative Refinement and Animation
- Edit a pose and save
- Next time you load the same pose data, it starts with your previous edits
- Use Ctrl+Z to reset to the original if needed
- You can also link multiple Pose Editor nodes in your workflow to chain distinct poses for rudimentary animation
ðĪ Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
ð License
This project is licensed under the MIT License - see the LICENSE file for details.
ð Acknowledgments
- Built for the ComfyUI community
- Inspired by the need for more interactive workflow tools
- Thanks to the OpenPose project for the pose format standard
ð Support
If you encounter any issues or have questions:
- Check the ComfyUI console for error messages
- Ensure all requirements are installed
- Try resetting the pose cache if edits aren't saving
- File an issue on GitHub with detailed reproduction steps
Made with âĪïļ by-ae