Nodes/Krea Reason/Krea Reason (expand prompt + encode)
ComfyUI Node

Krea Reason (expand prompt + encode)

A ComfyUI node in ShootTheSound/KreaReason with 13 inputs and 2 outputs.

By shootthesound·Created about a month ago·Updated about a month ago· 10
Krea Reason (expand prompt + encode)
  • clip
  • image
  • conditioning
  • generated_text
prompt
modeexpand
max_new_tokens220
temperature0.70
seed0
image_removepeople + main subject (keep the scene)
custom_image_instruction
image_megapixels1.0
instruction
top_p0.95
cond_boost1.0
CategoryShootTheSound/KreaReason

Inputs (13)

NameTypeDefaultDescription
clipCLIP
promptSTRING
modeCOMBOexpandexpand: encode the rewritten prompt (impactful). think: keep prompt, append the reasoning as context (subtle/experimental). Ignored when an image is connected
max_new_tokensINT22016–2048Length cap for each generation pass
temperatureFLOAT0.700–20 = deterministic (greedy). Higher = more varied phrasing
seedINT00–18446744073709550000Sampling seed (only matters when temperature > 0)
imageoptIMAGEOptional reference image — described, filtered, then combined with your prompt (3 passes). Vision works on bf16 and fp8_scaled encoders; if a build can't run vision you'll get a clear error
image_removeoptCOMBOpeople + main subject (keep the scene)What to REMOVE from the image description before combining with your prompt. e.g. remove people + subject to keep only the scene/background. 'custom' uses the box below. Ignored if no image
custom_image_instructionoptSTRINGUsed only when image_remove = 'custom'. Say what to remove (or keep), e.g. 'remove the sky and any text'
image_megapixelsoptFLOAT1.00.1–4Downscale cap for the reference image (megapixels). Lower = fewer vision tokens / faster
instructionoptSTRINGSystem instruction for text-only expansion (blank = built-in). Ignored when an image is connected (image_remove drives it)
top_poptFLOAT0.950–1
cond_boostoptFLOAT1.00–8Multiply the output conditioning (CFG-free guidance boost). 1.0 = off; ~1.5-4x often sharpens Krea 2; saturates past ~6-8x. Sweep by eye

Outputs (2)

NameTypeDescription
conditioningCONDITIONING
generated_textSTRING