Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Sage Utils > LM Studio LLM Prompt (Vision) Refined

ComfyUI Node: LM Studio LLM Prompt (Vision) Refined

Class Name

Sage_LMStudioLLMPromptVisionRefine

Category
Sage Utils/LLM/LM Studio
Author
arcum42 (Account age: 6442days)
Extension
Sage Utils
Latest Updated
2026-05-17
Github Stars
0.03K

How to Install Sage Utils

Install this extension via the ComfyUI Manager by searching for Sage Utils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Sage Utils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

LM Studio LLM Prompt (Vision) Refined Description

Enhances language model prompts with text and images, refining responses for vivid detail.

LM Studio LLM Prompt (Vision) Refined:

The Sage_LMStudioLLMPromptVisionRefine node is designed to enhance your interaction with language models by allowing you to send a prompt and receive a refined response. This node is particularly useful for those who wish to leverage the capabilities of multimodal language models, as it supports the inclusion of images alongside text prompts. By utilizing this node, you can generate initial responses from a language model and then refine these responses to be more vivid, detailed, and engaging, all while maintaining the original meaning. This refinement process is facilitated by a secondary model, ensuring that the output is not only accurate but also enriched with additional detail and creativity. The node is part of the Sage Utils suite and requires models to be installed via LM Studio, making it a powerful tool for AI artists looking to create more compelling and nuanced content.

LM Studio LLM Prompt (Vision) Refined Input Parameters:

prompt

The prompt parameter is a text input that serves as the initial query or statement you wish to send to the language model. It can be a simple question or a detailed description, and it supports multiline input to accommodate longer prompts. The default value is set to a predefined vision prompt, which can be customized to suit your specific needs. This parameter is crucial as it forms the basis of the initial response generated by the model.

model

The model parameter allows you to select from a list of available language models installed via LM Studio. This selection determines which model will process your prompt and generate the initial response. The options are sorted alphabetically, and choosing the right model can significantly impact the quality and style of the output.

image

The image parameter is an optional input that lets you provide one or more images to the language model, assuming it supports multimodal input. This can enhance the model's understanding and context, leading to more accurate and relevant responses. Including images can be particularly beneficial when the prompt relates to visual content or when you want the model to consider visual elements in its response.

seed

The seed parameter is an integer value used to initialize the random number generator for the model's response generation process. It ranges from 0 to 2^32

  • 1, with a default value of 0. By setting a specific seed, you can ensure that the model produces consistent and reproducible results across multiple runs with the same input.

refine_prompt

The refine_prompt parameter is a text input that guides the refinement process of the initial response. It instructs the secondary model to rewrite the text to be more vivid, detailed, and engaging while preserving the original meaning. This parameter supports multiline input and has a default value that can be adjusted to fit your desired refinement style.

refine_model

The refine_model parameter allows you to choose a secondary model specifically for refining the initial response. Similar to the model parameter, it offers a sorted list of available models, and selecting the appropriate one can enhance the quality of the refined output.

refine_seed

The refine_seed parameter is an integer value used to initialize the random number generator for the refinement process. It operates within the same range as the seed parameter, from 0 to 2^32

  • 1, with a default value of 0. Setting a specific refine seed ensures that the refinement process is consistent and reproducible.

LM Studio LLM Prompt (Vision) Refined Output Parameters:

initial_response

The initial_response parameter provides the output generated by the selected language model based on the original prompt and any accompanying images. This response serves as the foundation for further refinement and is crucial for understanding how the model interprets the initial input.

refined_response

The refined_response parameter delivers the output after the initial response has been processed by the secondary model using the refine_prompt. This refined output is designed to be more vivid, detailed, and engaging, offering a polished version of the initial response that retains its original meaning.

LM Studio LLM Prompt (Vision) Refined Usage Tips:

  • Experiment with different models for both the initial and refinement stages to find the combination that best suits your creative needs.
  • Utilize the image parameter to provide visual context, especially when working with prompts related to art or design, to enhance the model's understanding and output quality.
  • Adjust the refine_prompt to tailor the refinement process to your specific style or project requirements, ensuring the final output aligns with your creative vision.

LM Studio LLM Prompt (Vision) Refined Common Errors and Solutions:

Model not available

  • Explanation: This error occurs when the selected model is not installed or recognized by LM Studio.
  • Solution: Ensure that the model is correctly installed via LM Studio and that it appears in the list of available models.

Empty response

  • Explanation: An empty response may result from an invalid prompt or an issue with the model's processing capabilities.
  • Solution: Verify that the prompt is correctly formatted and that the model supports the input type. Consider using a different model if the issue persists.

Refinement model not available

  • Explanation: This error indicates that the selected refinement model is not installed or recognized.
  • Solution: Check that the refinement model is installed via LM Studio and is listed among the available options.

LM Studio LLM Prompt (Vision) Refined Related Nodes

Go back to the extension to check out more related nodes.
Sage Utils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.