POST
/
v1
/
projects
/
{project_id}
/
train
curl --request POST \
  --url https://api.landing.ai/v1/projects/{project_id}/train \
  --header 'Content-Type: application/json' \
  --data '{
  "model": {
    "architecture": "ConvNext-[16M]",
    "hyperParams": {
      "epochs": 20
    }
  },
  "transforms": {
    "preprocessing": [
      {
        "rescaleWithPadding": {
          "height": 896,
          "width": 1280,
          "paddingValue": 0
        }
      }
    ],
    "augmentations": [
      {
        "horizontalFlip": {
          "p": 0.5
        }
      },
      {
        "randAugment": {
          "numberTransforms": 2,
          "magnitude": 4
        }
      }
    ]
  }
}'
{
  "data": "edcfea45-33b5-4a52-8625-94d156e63fb3"
}

Headers

apikey
string | null

Path Parameters

project_id
integer
required

Query Parameters

timeout
integer | null
default:60

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.