- ComfyUI custom nodes: BridgeInput (11 types) + BridgeOutput
- AnyType wildcard for universal output capture
- Custom server route: GET /comfybridge/results/{prompt_id}
- Python async client (ComfyBridge) + sync wrapper (ComfyBridgeSync)
- Workflow JSON parser and patcher (deepcopy, original unchanged)
- WebSocket completion detection
- BridgeResult container with PIL/bytes helpers
- Examples: basic_text_to_image.py, agent_loop.py
- Unit tests for workflow parser and client
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
485 B
JSON
31 lines
485 B
JSON
{
|
|
"1": {
|
|
"class_type": "BridgeInputSTRING",
|
|
"inputs": {
|
|
"name": "prompt",
|
|
"value": "default prompt"
|
|
}
|
|
},
|
|
"2": {
|
|
"class_type": "BridgeInputINT",
|
|
"inputs": {
|
|
"name": "steps",
|
|
"value": 20
|
|
}
|
|
},
|
|
"3": {
|
|
"class_type": "BridgeInputFLOAT",
|
|
"inputs": {
|
|
"name": "cfg",
|
|
"value": 7.0
|
|
}
|
|
},
|
|
"9": {
|
|
"class_type": "BridgeOutput",
|
|
"inputs": {
|
|
"name": "output_image",
|
|
"value": ["8", 0]
|
|
}
|
|
}
|
|
}
|