ComfyUI > Nodes > ComfyUI-SAM3 > SAM3 Create Point

ComfyUI Node: SAM3 Create Point

Class Name

SAM3CreatePoint

Category
SAM3/prompts
Author
PozzettiAndrea (Account age: 2240days)
Extension
ComfyUI-SAM3
Latest Updated
2025-12-22
Github Stars
0.32K

How to Install ComfyUI-SAM3

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

SAM3 Create Point Description

Facilitates intuitive point prompt creation for image segmentation using sliders.

SAM3 Create Point:

The SAM3CreatePoint node is designed to facilitate the creation of point prompts in a visual and intuitive manner, specifically for use in segmentation tasks. This node allows you to define a point within an image using sliders, which makes it easy to specify precise locations without needing to manually input coordinates. The primary goal of this node is to streamline the process of creating point prompts that can be used to refine segmentation results, distinguishing between foreground and background areas. By providing a simple interface to set these points, the node enhances the user experience, making it accessible even to those who may not have a technical background in image processing or segmentation.

SAM3 Create Point Input Parameters:

x

The x parameter represents the horizontal position of the point within the image, normalized between 0 and 1. This means that a value of 0 corresponds to the left edge of the image, while a value of 1 corresponds to the right edge. The default value is 0.5, which places the point in the center horizontally. You can adjust this value using a slider, with a minimum step of 0.01, allowing for precise placement of the point. This parameter is crucial for accurately defining the location of the point prompt in the image.

y

The y parameter indicates the vertical position of the point within the image, also normalized between 0 and 1. A value of 0 places the point at the top edge of the image, while a value of 1 places it at the bottom edge. The default value is 0.5, positioning the point in the center vertically. Like the x parameter, this can be adjusted with a slider, with a step size of 0.01, enabling fine-tuning of the point's vertical position. This parameter is essential for setting the exact location of the point prompt.

is_foreground

The is_foreground parameter is a boolean that determines whether the point is considered part of the foreground or background. By default, this is set to True, indicating that the point is part of the foreground. If set to False, the point is treated as part of the background. This distinction is important for segmentation tasks, as it helps in refining the segmentation results by specifying which areas should be included or excluded.

SAM3 Create Point Output Parameters:

point_prompt

The point_prompt output is a structured representation of the point created by the node. It consists of the coordinates of the point, as defined by the x and y parameters, and a label indicating whether the point is part of the foreground or background. The label is 1 for foreground points and 0 for background points. This output is crucial for downstream processes, as it provides the necessary information to refine segmentation tasks by clearly defining the areas of interest.

SAM3 Create Point Usage Tips:

  • Use the sliders to precisely position the point within the image, ensuring that the x and y values accurately reflect the desired location for segmentation refinement.
  • Consider the is_foreground setting carefully, as it significantly impacts the segmentation results. Use True for areas you want to include in the foreground and False for areas to exclude as background.

SAM3 Create Point Common Errors and Solutions:

Invalid coordinate range

  • Explanation: The x or y values are outside the allowed range of 0 to 1. - Solution: Ensure that both x and y values are within the 0 to 1 range. Use the sliders to adjust the values accurately.

Incorrect boolean value

  • Explanation: The is_foreground parameter is not set to a valid boolean value.
  • Solution: Verify that the is_foreground parameter is either True or False. Adjust the setting to reflect the correct foreground or background status.

SAM3 Create Point Related Nodes

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