comfyui-remote-asset-injection-protocol
Installation
SKILL.md
ComfyUI Remote Asset Injection Protocol
Trigger Conditions
- Large batch I2V jobs are pending.
- Assets (anchor frames) have been generated but reside in the remote
~/ComfyUI/output/folder. - The user has moved files to
~/ComfyUI/input/via SSH.
Execution Steps
- Map Assets to Prompts: Identify deterministic relationships between filenames and motion prompts (e.g., from a prompt library).
- Load Workflow Template: Use a flattened ComfyUI API JSON template compatible with the remote server's node structure.
- Prepare Payloads:
- Iterate through mapping.
- Create deep copies of the workflow template for each shot.
- Inject the filename into the
LoadImagenode (verify Node ID first). - Inject the motion prompt into the text/conditioning node (verify Node ID first).
- Batch Submission: Submit payloads via HTTP POST to the remote
/promptendpoint. - Verify Execution: Log all returned
prompt_ids for tracking and retrieval.