> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/developer/python-sdk/create-a-project.md).

# Create a Project

`Workspace.create_project()` creates a new project in the workspace and returns a `Project` object you can then upload images to.

```python
import roboflow

rf = roboflow.Roboflow(api_key="YOUR_API_KEY")

project = rf.workspace().create_project(
    project_name="Flower detector",
    project_type="object-detection",
    project_license="MIT",
    annotation="flowers",
)
print(project.id)
```

## Parameters

* `project_name` (str) - the display name. The URL slug is auto-generated from this.
* `project_type` (str) - one of:
  * `object-detection`
  * `classification`
  * `instance-segmentation`
  * `semantic-segmentation`
  * `keypoint-detection`
* `project_license` (str) - set to `"Private"` for private projects (paid plans only). Public-license values include `"MIT"`, `"CC BY 4.0"`, `"Public Domain"`, etc. - see the project creation form in the web app for the full list.
* `annotation` (str) - the annotation group: a noun describing what's being labeled (`"flowers"`, `"vehicles"`, `"defects"`). Used in the labeling UI prompts.

## REST and CLI equivalents

* REST: see [Create a Project (REST)](/developer/rest-api/create-a-project.md).
* CLI: see [Create a Project (CLI)](/developer/command-line-interface/create-a-project.md).
