Add editable reference image preprocessor node

This commit is contained in:
2026-11-02 09:02:09 +00:00
parent 83773470bf
commit 6646ecdfd9
5 changed files with 248 additions and 0 deletions
+20
View File
@@ -104,6 +104,26 @@ from the installed upstream H3 Continuum pack. Install that pack alongside
DumasNodes; DumasNodes does not copy or replace the upstream reference-image
implementation.
### DUMAS Reference Image Preprocessor
`DumasReferenceImagePreprocessor` keeps a reference `IMAGE` unchanged and
creates an editable `STRING` prompt for a reusable `@R1`–`@R9` reference.
Choose a type (`Character`, `Object`, `Scene`, `Creature`, or `Vehicle`), a
reference ID, and optional additional information. The generated prompt is
shown in a multiline editor and is also emitted as the `reference_prompt`
output. Type and reference-ID changes regenerate the editor; description
changes can be applied with **Regenerate prompt**, preserving manual edits
until regeneration is requested.
The node outputs:
- `image`: the original image tensor, unchanged
- `reference_prompt`: the editable prompt text containing the selected `@R#`
The prompt editor is intended to sit before a normal prompt builder or
Continuum reference-image workflow. It does not encode, resize, crop, or
modify the image.
### DUMAS H3 RefMod Save
`DUMAS H3 RefMod Save` accepts the `H3_REF_MODS` bundle produced by the