Skip to main content

Delete Training

Overview

Stable Diffusion V3 APIs Delete Dreambooth Model endpoint is used to delete a created Dreambooth request.

Request

--request POST 'https://modelslab.com/api/v3/finetune/delete/{training_id}' \

Send a POST request to https://modelslab.com/api/v3/finetune/delete/{training_id} endpoint. Where {training_id} is the one returned in the response upon initiating the model training using the Create training endpoint.

Body Attributes

ParameterTypeDescription
keyStringYour API Key used for request authorization

Example

Body

Body Raw
{
"key": ""
}

Request

var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
"key": ""
});

var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};

fetch("https://modelslab.com/api/v3/finetune/delete/F5jvdzGnYi", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));