ComfyUI Node
Surreal Premise
A ComfyUI node in Eric Prompt Enhancers with 23 inputs and 8 outputs.
Surreal Premise
- clip
- text
- llm_instructions
- why
- title
- negative_additions
- law
- scene_prompt
- edit_instruction
◄idea►
◄modeauto►
◄operationauto►
◄count1►
◄strangenessbalanced►
◄registerdeadpan photographic►
◄chargeauto►
◄criticllm►
◄candidates6►
◄seed-1►
◄mediumimage►
◄backendlm_studio►
◄endpointhttp://localhost:1234/v1►
◄model►
◄temperature0.80►
◄embeddernone►
◄use_archivetrue►
◄wildcard_instructions—►
◄law►
◄nsfwoff►
◄violence_filteroff►
◄stagingone_stage►
CategoryEric Prompt Enhancers
Inputs (23)
| Name | Type | Default | Description |
|---|---|---|---|
| idea | STRING | Your subject and scene, in your own words. Keep it ordinary: the strangeness is this node's job. Wildcards work here. | |
| mode | COMBO | auto | How candidates are generated. auto = two modes chosen by weight (strangeness shifts the weights). affinity_search: finds a partner that is far in domain yet bound to the subject by shape, material or function (Magritte) problem: poses 'the problem of X': lists X's defining properties, then the ONE substitution that exposes one of them (Magritte) read_the_noise: draws unrelated fragments and asks what single, seamless scene they are (Ernst) double_reading: two things with the same silhouette, one form that is honestly both (Dali) working_machine: a mechanism, a feedstock and a product, joined by a causal chain that looks functional (Varo) archive_composite: joins fragments from YOUR iconography file and prompt database, never from stock (Uelsmann, Maar) found_strange: no anomaly at all: ONE hour and ONE condition - emptiness, stillness, light or a trace - and a story that is withheld (Atget, Crewdson) process_estrangement: an ordinary subject and one photographic process (Man Ray, Miller) |
| operation | COMBO | auto | auto = the mode decides. Naming one forces the affinity search to use only that operation. displacement: an ordinary object where it has no business being (Magritte, Lautreamont) scale_violation: one thing at the wrong size, everything else correct (Magritte) hybridization: two things fused at a logical seam, best frozen mid-change (Magritte, Ernst) material_substitution: right form, wrong substance (Oppenheim, Dali) physics_negation: one law suspended, all others intact (Magritte, Varo) inversion: container and contained, inside and outside, swap (Magritte, Escher) animation_petrification: the inanimate lives, or the living becomes object (Ernst, Bellmer, Tanning) absence: the veiled face, the shadow with no caster (Magritte, de Chirico) metaphysical_space: empty arcades, long wrong shadows, stopped time (de Chirico, Sage, Tanguy) literalized_language: an idiom rendered straight (Magritte, Carrington) multiplication: one thing too many times, identical (Magritte, Kusama) temporal: video: one thing wrong in time, everything else in ordinary time (Cocteau, Deren) causal_reversal: the effect is present and its cause is absent, or arrives after it (Magritte, Bunuel) autonomy: a shadow, reflection or garment acts on its own, against what it belongs to (Magritte, Svankmajer) taxonomy_error: the thing is presented as a specimen, classified under the wrong kingdom (Ernst, Cornell, Broodthaers) behavior_transfer: one thing keeps its identity but obeys the physical behaviour of another material (Dali, Magritte) |
| count | INT | 11–2 | How many operations. 1 or 2, never more: one impossibility against a credible world is the whole effect, and three read as a collage of effects. A second operation is always atmosphere-level (light, shadow, time, absence) so that both read as one event. |
| strangeness | COMBO | balanced | subtle = may need a second look (absence, light, found strange). overt = unmistakable (scale, inversion, fusion). |
| register | COMBO | deadpan photographic | How the picture is rendered. The default is evidence: a photograph argues with its own impossibility. Some operations insist on their own register; the why output says when that happened. |
| charge | COMBO | auto | The emotional source the anomaly serves. An anomaly with no stake in it reads as a gimmick. auto = drawn by seed. none = leave it out. dread: quiet dread: something is about to happen, or has just happened, and nobody in the picture reacts longing: longing: distance, a thing out of reach, a place one cannot return to absurdity: absurdity held with a perfectly straight face: nobody in the picture finds it odd grief: grief: absence made visible, the ordinary world carrying on around it wonder: wonder without sweetness: the awe of something too large or too exact to be an accident tenderness: tenderness: care taken over something fragile or out of place menace: menace in daylight: a threat that is tidy, domestic and calm desire: desire: the wanted thing close, displaced onto an object |
| critic | COMBO | llm | llm = one LLM call judges the candidates, binds the premise to your actual subject, carries out the procedure modes, and writes a restatement, a title and counter-terms. Falls back to code if it fails. code = seeded, offline, instant. The premise may say THE SUBJECT; the enhancer's LLM resolves it. |
| candidates | INT | 62–12 | How many candidates the critic chooses from. Most are meant to be thrown away. |
| seed | INT | -1-1–2147483647 | -1 = a fresh roll each run (the why output shows the seed drawn). 0 or more = reproducible. |
| medium | COMBO | image | video adds anomalies in TIME (reversed, slowed, looped, mismatched sound) and tells the enhancer the anomaly persists for the whole clip. |
| backend | COMBO | lm_studio | For critic = llm. |
| endpoint | STRING | http://localhost:1234/v1 | For critic = llm. For qwen3_vl: a model folder or folder name, or leave as is. |
| model | STRING | Blank = whatever model is loaded. | |
| temperature | FLOAT | 0.800–2 | — |
| embedderopt | COMBO | none | Optional. With an embedding model, partners that are FAR from your idea in meaning score higher (distance is what makes an affinity a shock). none = tags only, no model loaded. |
| use_archiveopt | BOOLEAN | true | Let the archive-composite mode draw fragments from your prompt database as well as your iconography file. |
| clipopt | CLIP | Optional. Used as the embedder when `embedder` is auto or graph_clip. | |
| wildcard_instructionsopt | STRING | llm_instructions from a Wildcard Processor or Semantic Variation node upstream; passed on with this node's block. | |
| lawopt | STRING | The transformation rule the picture obeys: what may change, what may not, and how the change behaves. An anomaly that obeys no rule reads as random; this is the commonest failure. Leave blank and one is drawn for you (from the chosen operation, or from the charge: grief makes things heavier, desire changes scale) and the LLM critic rewrites it to fit the premise it chose. Typed here, it is never overridden. Example: only patterned fabric can cross the boundary between a body and a wall. | |
| nsfwopt | COMBO | off | How far wildcard picks may go (a word match on each entry and on list names, no model). off = SFW: no suggestive, nude or explicit lists or entries suggestive = also lingerie, bikinis, sexy, seductive ... nudity = also nude, naked, topless ... explicit = everything, including lists under _nsfw/ Fix a wrong rating in _catalog_user.yaml (nsfw: on a list, ratings: on entries). Entries pairing minor-related and sexual terms are removed at every level (config.json "content_filter"). |
| violence_filteropt | COMBO | off | Hold back violent wildcard picks (a word match on each entry and on list names, no model). off = nothing held back no gore = blood and gore, torture, mutilation, corpses no gore or violent acts = also murder, execution, stabbing, strangling, suicide ... no violence or weapons = also guns, swords, knives, bombs, battle, war Only wildcard picks are filtered; text you type is left as is. |
| stagingopt | COMBO | one_stage | How the picture is made. one_stage = one prompt carries the anomaly (text + llm_instructions into an enhancer). two_stage = generate the ORDINARY picture from scene_prompt, then apply edit_instruction with an edit model (Qwen-Image-Edit, Flux 2 edit, Kontext, Qwen-Image 2.1 i2i). Edit models are trained on exactly replace / make-it-out-of / enlarge, and keep the rest of the picture intact, so the anomaly survives. two_stage also restricts the automatic choice to operations that can be done as one edit. scene_prompt and edit_instruction are filled whenever the operation allows it, in either setting. |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| llm_instructions | STRING | — |
| why | STRING | — |
| title | STRING | — |
| negative_additions | STRING | — |
| law | STRING | — |
| scene_prompt | STRING | — |
| edit_instruction | STRING | — |