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 > NKD Klein Tools > 😺NKD Klein Prompt Builder

ComfyUI Node: 😺NKD Klein Prompt Builder

Class Name

NKDKleinPromptBuilder

Category
😺NKD Nodes/Klein
Author
nekodificador (Account age: 2573days)
Extension
NKD Klein Tools
Latest Updated
2026-06-17
Github Stars
0.06K

How to Install NKD Klein Tools

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

😺NKD Klein Prompt Builder Description

Specialized prompt builder node for Klein, integrates custom text with presets for detailed prompts.

😺NKD Klein Prompt Builder:

The NKDKleinPromptBuilder is a specialized node designed to assist you in crafting prompts for Klein by seamlessly integrating your custom text with a selection of curated presets that Klein can interpret effectively. This node is particularly beneficial for those looking to generate detailed and nuanced prompts, as it allows you to input your subject matter and select from various dropdown options to enhance the prompt with specific attributes such as style, mood, and lighting. The node dynamically assembles the final prompt, which is displayed in real-time in a preview box, ensuring you can see the results of your selections immediately. The output can be formatted in two ways: as flowing prose, which is optimal for Klein, or as a structured JSON template, which is useful for automation purposes. The presets used by this node are sourced from a file named klein_presets.json, which you can customize to better suit your needs by editing the file and restarting ComfyUI.

😺NKD Klein Prompt Builder Input Parameters:

user_prompt

This parameter allows you to input the main subject or theme of your prompt. It serves as the foundation upon which additional attributes are layered to create a comprehensive prompt. There are no specific minimum or maximum values, but it is recommended to provide a clear and concise subject to ensure the prompt is effective.

format

This parameter determines the output format of the prompt. You can choose between "natural" for a prose format, which is recommended for Klein, or "json" for a structured format suitable for automation. The default value is "natural".

medium

This parameter allows you to specify the medium of the artwork, such as painting or digital art. Selecting "—" will skip this category. The default value is "—".

style

This parameter lets you choose a specific artistic style to apply to the prompt. Options are drawn from the presets, and selecting "—" will omit this category. The default value is "—".

lighting

This parameter enables you to define the lighting conditions for the scene described in the prompt. Like other categories, selecting "—" will skip this attribute. The default value is "—".

camera_angle

This parameter allows you to specify the camera angle for the scene, adding a layer of detail to the prompt. The default value is "—", which means this category will be skipped if not specified.

lens_shot

This parameter lets you choose the type of lens shot, such as close-up or wide-angle, to further refine the prompt. The default value is "—", indicating it will be omitted if not selected.

composition

This parameter allows you to define the composition of the scene, contributing to the overall structure and balance of the prompt. The default value is "—", meaning it will be skipped if not specified.

mood

This parameter enables you to set the mood or emotional tone of the prompt, adding depth to the narrative. The default value is "—", which will omit this category if not selected.

color_grade

This parameter allows you to specify the color grading, influencing the visual tone and atmosphere of the prompt. The default value is "—", indicating it will be skipped if not selected.

extra

This parameter provides additional space for any extra details or specifications you wish to include in the prompt. There are no specific constraints, allowing for flexibility in adding unique elements.

😺NKD Klein Prompt Builder Output Parameters:

prompt

The output parameter prompt is a string that represents the fully assembled prompt, combining your input text with the selected presets. This prompt is designed to be connected to Presampling's positive input, where it can be used to guide the generation of artwork or other creative outputs. The prompt's format and content are influenced by the input parameters, ensuring it aligns with your creative vision.

😺NKD Klein Prompt Builder Usage Tips:

  • Customize the klein_presets.json file to better suit your artistic style and preferences, and remember to restart ComfyUI to apply changes.
  • Use the "natural" format for prompts intended for Klein, as it is optimized for narrative prose and tends to yield better results.
  • Experiment with different combinations of attributes to discover unique and compelling prompt variations that enhance your creative projects.

😺NKD Klein Prompt Builder Common Errors and Solutions:

Presets file not found

  • Explanation: The klein_presets.json file is missing or not located in the expected directory.
  • Solution: Ensure that the klein_presets.json file is present in the correct directory and restart ComfyUI to load the presets.

Invalid format selection

  • Explanation: An unsupported format was selected for the format parameter.
  • Solution: Choose either "natural" or "json" as the format to ensure compatibility with the node's functionality.

Missing prompt output

  • Explanation: The node did not generate a prompt, possibly due to all categories being skipped.
  • Solution: Ensure that at least one category is selected or provide additional input in the extra parameter to generate a meaningful prompt.

😺NKD Klein Prompt Builder Related Nodes

Go back to the extension to check out more related nodes.
NKD Klein Tools
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.

😺NKD Klein Prompt Builder