v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBdatasets
Train a model from a dataset
Start training a custom model from a dataset. The dataset must contain at least 15 images and a maximum of 100 images. Returns the model ID and training status.
post/datasets/{dataset_id}/train_model
Path parameters
dataset_idstring required
Request body
Example request
{
"model_name": "my-custom-model"
}Response
Training started successfully
Example response
{
"training_status": "training_status",
"model_name": "model_name",
"dataset_id": "dataset_id",
"model_id": "model_id"
}