Project
Overview
Creates or finds a Supervisely project by name. If no matching project exists, the node creates it. Set Project to create once when every copy of the flow should get its own fresh project: the first run creates a new project, and later runs keep writing to that same one. The node requires a Supervisely workspace ID and a configured Supervisely secret with the server address and API token.
Prerequisites
How it works
Resolves the workspace from Workspace ID, or falls back to the first team on the account and its OvalBee workspace, creating that workspace when it is missing.
In create-once mode, skips the name search and returns the project this node created on its last run, as long as it still exists and has the selected Project type.
FAQ
When should I use create once?
When a template or a copied flow must not write into someone else’s project. Each flow gets a clean project with its own classes and tags on the first run, and all later runs add to that project. If you delete the project in Supervisely, the next run creates a new one.
When are Classes and Tags applied?
Only when the node creates the project. An existing project keeps its current classes and tags untouched.
How do I write tag definitions?
As a comma-separated list. is_person creates a tag without a value, confidence:num a numeric tag, description:str a text tag, and status:accepted/rejected a tag limited to those values.
Which geometry do new classes get?
It follows Task Type: object detection creates rectangle classes, and instance or semantic segmentation creates bitmap classes. Without a task type, classes are rectangles.
What happens when a class or tag name already exists with another type?
The node keeps the existing definition and adds a renamed copy with a numeric suffix, such as person_1.
What happens when the existing project has another type?
The run fails and names both types. The node never converts a project, so set Project type to the existing type or pick another name.
Where is the project created when Workspace ID is empty?
In a workspace named OvalBee inside the first team on the account. The node creates that workspace on first use.
Why did the node pick the wrong project?
Several projects in the workspace share that exact name, so the first match was used. Give each project a unique name when the choice must be predictable. An empty name fails the run.
Inputs
Exact project name to find or create inside the workspace. Key: PROJECT_NAME.
How the project is chosen. The default uses the project with this name, or creates it. The other option creates a new project on the first run, even when one with this name already exists, and keeps using that project on later runs. Key: PROJECT_MODE.
Options:
- Use the project with this name, or create it (
find_or_create) - Create a new project on the first run, then keep using it (
create_once)
Type of the project to create when none with that name exists. An existing project of another type fails the run. Key: PROJECT_TYPE.
Options:
- Images (
images) - Videos (
videos)
Your Supervisely server address and API token, stored as a secret. Allowed credential types: supervisely. Key: SLY_SECRET.
Shape given to classes that do not name one of their own - rectangle for object detection, bitmap for either segmentation type. Key: TASK_TYPE.
Options:
- Object Detection (
object_detection) - Instance Segmentation (
instance_segmentation) - Semantic Segmentation (
semantic_segmentation)
Annotation classes to create in the project. Classes and tags are added only when the project is new - an existing project keeps the ones it already has. Key: CLASSES.
Comma-separated tag definitions to create in the project, for example status:accepted/rejected, confidence:num, is_person, description:str. A bare name makes a tag with no value, :num or :str accepts any number or any text, and slash-separated values restrict the tag to that list. Key: TAGS.
Supervisely workspace the project lives in. Leave empty to use the OvalBee workspace of the selected team, created when it is not there yet. Key: SLY_WORKSPACE_ID.
Supervisely team the workspace is looked up in. Leave empty to use the first team on your account. Key: SLY_TEAM_ID.
Outputs
ID of the project the node found, reused from a previous run, or created. Key: SLY_PROJECT_ID.
URL of the existing or newly created Supervisely project. Key: SLY_PROJECT_URL.
URL of the preview image from the project. Key: PREVIEW_IMAGE_URL.
String with the count of items in the project. Key: ITEMS_COUNT_STR.
JSON config
Machine-readable node interface for automation and advanced usage.