AV ComfyUI Manual
22 / 64
Files
22
TEXT ARCHITECTURE

How global strings feed SDXL, FLUX and PEOPLE/PPL

The main prompt is not stored in a single field. OBJECT, ENVIRONMENT, LIGHT/STYLE and ADDITIONAL are assembled by nodes 895–897 and reused by several stages.

CONFIRMEDString links and conditioning consumers are confirmed by topology
GLOBAL TEXT ROUTING

One prompt assembly serves SDXL and main FLUX

797OBJECT
799ENVIRONMENT
800LIGHT / STYLE
801ADDITIONAL
895 + 896 → 897GLOBAL POSITIVE STRING
5SDXL positive
811FLUX GLOBAL
453GLOBAL / Florence2
591 DETAIL MASK + 802 IMAGE NEGATIVE + 803 GLOBAL NEGATIVE → 813 / 814 → node 6
01 · POSITIVE

Four semantic blocks become one global string

CONFIRMED

Shared dependency

Changing node 799 or 800 affects more than one stage: both participate in the global prompt and the PPL prompt.

INFERRED

Editing rule

OBJECT describes the scene; ENVIRONMENT defines context; LIGHT/STYLE defines the visual mode; ADDITIONAL carries local constraints.

NodeBlockAssembly / consumers
797OBJECT797 + 799 → 895
799ENVIRONMENT895; also PPL assembly 824
800LIGHT / STYLE800 + 801 → 896; also PPL assembly 820
801ADDITIONAL896
895 + 896Partial strings→ 897 with comma separator
897GLOBAL positive stringSDXL encoder 5, display 804, FLUX encoder 811
02 · SDXL NEGATIVE

Detail-mask text contributes to SDXL negative conditioning

Node 591 describes architectural elements used to create the detail mask. It is also combined with IMAGE-SPECIFIC negative 802 through 813. GLOBAL negative 803 is then added in 814, which feeds encoder 6.

RouteResult
591 + 802 → 813Detail terms + image-specific exclusions
803 + 813 → 814Final SDXL negative string
814 → 6 → 418Negative conditioning after the ControlNet stack
03 · ALTERNATIVE FLUX PROMPT

Node 453 selects GLOBAL encoding or a Florence2 caption

Image Filter 779 sends the image to Florence2Run 157. The caption is displayed through 158 and fed to encoder 52. Selector 453 chooses either 811 or 52; the current value 1 selects GLOBAL 811.

CONFIRMED

Current selection

453 = 1, so main FLUX receives conditioning 811.

NOT CONFIRMED

Caption quality

The saved text shown by 158 does not prove caption quality on the next run.

04 · PEOPLE CONTEXT

Node 408 is a specialized brief inside the shared prompt system

PPL assembly combines prefix 825, PEOPLE text 408 and ENVIRONMENT 799 through 823/824. Node 820 adds LIGHT/STYLE 800 and framing instruction 822. Encoder 831 and FluxGuidance 830 prepare separate PPL conditioning.