ComfyUI Node
OC Generator
Aggregate multiple OC blocks into one positive prompt string.
OC Generator
- oc_block_0
- positive_prompt
- blocks_json
- debug_text
◄prefix_prompt►
◄suffix_prompt►
◄separator, ►
◄dedupetrue►
CategoryOC Generator
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| prefix_prompt | STRING | Static prompt text inserted before all OC block fragments. | |
| suffix_prompt | STRING | Static prompt text appended after all OC block fragments. | |
| separator | STRING | , | String used to join prefix, block prompts, and suffix. |
| dedupe | BOOLEAN | true | Remove duplicated prompt fragments after block aggregation. |
| oc_block_0opt | OC_BLOCK | Connect one OC block per socket. Additional sockets can be added dynamically in the UI. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| positive_prompt | STRING | The final positive prompt assembled from prefix, OC blocks, and suffix. |
| blocks_json | STRING | JSON dump of all received OC blocks after sorting, useful for inspection or future export. |
| debug_text | STRING | Readable execution summary for each connected block. |