ComfyUI Node
Reality Check (LM Studio)
Asks a local vision model perception questions about one picture and infers whether it is physically possible.
Reality Check (LM Studio)
- image
- passed
- failed
- score
- report
- json
- image
◄base_urlhttp://localhost:1234/v1►
◄model►
◄expected_people1►
◄threshold0.50►
◄passes1►
◄temperature0.10►
◄aggregationmedian►
◄check_partstrue►
◄check_peopletrue►
◄check_landmarkstrue►
◄check_handsfalse►
◄check_physicsfalse►
◄check_textfalse►
◄max_image_size1024►
◄timeout120►
◄seed0►
◄on_errorpass►
◄system_prompt►
CategoryFVM Tools/Batch
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| base_url | STRING | http://localhost:1234/v1 | LM Studio's OpenAI-compatible endpoint. |
| model | STRING | Vision model id. Empty uses whatever LM Studio has loaded. Needs a VLM — a text-only model answers nonsense. | |
| expected_people | INT | 11–10 | How many people the picture should show. More heads or limbs than this allows is a defect. |
| threshold | FLOAT | 0.500–1 | Fail when the worst weighted finding reaches this. Findings score ~1.0, so 0.5 is a wide margin. |
| passes | INT | 11–9 | Runs per probe. At temperature 0.1 repeats give identical answers — raise both together, or leave at 1. |
| temperature | FLOAT | 0.100–2 | — |
| aggregation | COMBO | median | How repeated passes are reduced. Only matters when passes > 1. |
| check_parts | BOOLEAN | true | Count heads, arms, hands, legs, feet — catches duplicated bodies and extra limbs. |
| check_people | BOOLEAN | true | Count people and spot merged bodies. |
| check_landmarks | BOOLEAN | true | Front-of-body and back-of-body landmarks seen at once — catches impossible torso twists. |
| check_hands | BOOLEAN | false | Finger counts. Off by default: small models cannot resolve fingers and raise false alarms. |
| check_physics | BOOLEAN | false | Floating bodies and limbs through furniture. Off by default: reads a compressed mattress as a body sinking through it. |
| check_text | BOOLEAN | false | Garbled lettering. Worth turning on for scenes with signage. |
| max_image_size | INT | 1024256–2048 | Long edge sent to the model. Below ~900 the giveaways blur away. |
| timeout | INT | 1205–900 | — |
| seed | INT | 00–18446744073709550000 | — |
| on_error | COMBO | pass | What to answer when the model cannot be reached. pass: keep the picture and say so — an inspector that cannot see should not reject a batch. |
| system_promptopt | STRING | Overrides the built-in instrument prompt. Empty uses the calibrated one. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| passed | BOOLEAN | — |
| failed | BOOLEAN | — |
| score | FLOAT | — |
| report | STRING | — |
| json | STRING | — |
| image | IMAGE | — |