ComfyUI > Nodes > ComfyUI-Prompt-Assistant > ✨Kontext Preset

ComfyUI Node: ✨Kontext Preset

Class Name

KontextPresetNode

Category
✨Prompt Assistant
Author
yawiii (Account age: 1802days)
Extension
ComfyUI-Prompt-Assistant
Latest Updated
2026-03-26
Github Stars
1.7K

How to Install ComfyUI-Prompt-Assistant

Install this extension via the ComfyUI Manager by searching for ComfyUI-Prompt-Assistant
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Prompt-Assistant 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

✨Kontext Preset Description

KontextPresetNode applies stylistic transformations to images using configurable presets for AI art.

✨Kontext Preset:

The KontextPresetNode is a specialized component within the ComfyUI-Prompt-Assistant framework designed to enhance the creative process by analyzing images and generating transformative creative instructions. This node leverages predefined "Kontext" presets to apply specific stylistic transformations to images, making it a powerful tool for AI artists looking to explore various artistic styles and effects. By utilizing a set of configurable presets, the node can seamlessly transform an image into a desired artistic expression, such as a detailed pencil sketch, while allowing for additional customization through user input. The node's primary goal is to streamline the creative workflow by providing a structured yet flexible approach to image transformation, making it an essential asset for artists seeking to experiment with different visual styles.

✨Kontext Preset Input Parameters:

kontext_preset

The kontext_preset parameter allows you to select a predefined transformation style from the available Kontext presets. This parameter determines the specific artistic effect that will be applied to the image. The impact of this parameter is significant, as it directly influences the visual outcome of the transformation. While the context does not specify the exact options available, it is implied that these presets are defined in a configuration file and can include various artistic styles. There are no explicit minimum or maximum values, but the default value is a generic transformation into a detailed pencil sketch if no preset is found.

user_prompt

The user_prompt parameter provides an opportunity for you to add custom instructions or requirements to the transformation process. This input is appended to the final prompt, allowing for additional personalization and specificity in the artistic transformation. The presence of a user prompt can enhance the final output by incorporating unique elements or details specified by you. There are no predefined options or default values for this parameter, as it is entirely user-generated.

✨Kontext Preset Output Parameters:

final_prompt

The final_prompt is the constructed output that combines the selected Kontext preset, any specified prefix and suffix, and the user prompt. This output serves as the comprehensive instruction set for the image transformation process. The importance of the final_prompt lies in its role as the guiding directive for the transformation, encapsulating all the stylistic and custom elements you wish to apply to the image. The interpretation of this output is straightforward: it is the complete set of instructions that will be used to achieve the desired artistic effect.

✨Kontext Preset Usage Tips:

  • To maximize the effectiveness of the KontextPresetNode, ensure that the selected kontext_preset aligns with your artistic goals. Familiarize yourself with the available presets to make informed choices.
  • Utilize the user_prompt to add unique elements or specific details to the transformation, enhancing the final output with personalized touches.

✨Kontext Preset Common Errors and Solutions:

Analysis error: <error_message>

  • Explanation: This error occurs when there is a failure in processing the image transformation due to an unexpected issue within the node or its dependencies.
  • Solution: Check the configuration files for any discrepancies or missing presets. Ensure that all dependencies are correctly installed and configured.

Task cancelled by user | RequestID:<request_id>

  • Explanation: This message indicates that the transformation task was manually interrupted by you, possibly due to a change in requirements or an accidental cancellation.
  • Solution: If the cancellation was unintended, simply restart the process and ensure that no interruptions occur during execution.

Analysis failed: <error_message>

  • Explanation: This error suggests that the analysis process did not complete successfully, potentially due to incorrect input parameters or configuration issues.
  • Solution: Verify that all input parameters are correctly specified and that the configuration files are properly set up. Re-run the process after making necessary adjustments.

✨Kontext Preset Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Prompt-Assistant
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.

✨Kontext Preset