Nodes/Sage Utils/LLM Prompt (Vision) Refined
ComfyUI Node

LLM Prompt (Vision) Refined

Unified provider-switching vision-refine node that outputs both initial and refined responses.

By arcum42·Created 2 years ago·Updated 24 days ago· 32
LLM Prompt (Vision) Refined
  • image
  • initial_response
  • refined_response
promptWrite a detailed description for this image. Use precise, unambiguous language. Avoid vague or general terms. This is going to be used as input for an AI image generator, so do not include anything other than the description, and do not break things into sections or use markdown.
seed0
refine_promptTake the provided text description and rewrite it to be more vivid, detailed, and engaging, while preserving the original meaning.
refine_seed0
provider
CategorySage Utils/LLM

Inputs (6)

NameTypeDefaultDescription
promptSTRINGWrite a detailed description for this image. Use precise, unambiguous language. Avoid vague or general terms. This is going to be used as input for an AI image generator, so do not include anything other than the description, and do not break things into sections or use markdown.The text prompt for the initial vision generation pass.
imageIMAGEThe reference image sent to the vision provider.
seedINT00–4294967295Seed for the initial generation pass.
refine_promptSTRINGTake the provided text description and rewrite it to be more vivid, detailed, and engaging, while preserving the original meaning.Instructions used for the second (refinement) pass.
refine_seedINT00–4294967295Seed for the refinement pass.
providerCOMBOPick the backend provider and its model/runtime settings.

Outputs (2)

NameTypeDescription
initial_responseSTRINGThe initial response generated by the vision provider.
refined_responseSTRINGThe refined response generated during the second pass.