Skip to main content

Get Training Status (Sandbox)

Overview

This endpoint returns the status of the Dreambooth request from Create Dreambooth Request.

This endpoint allows to check the current status of the model training and the estimated time remaining for its completion if not completed yet.

Request

--request POST 'https://stablediffusionapi.com/api/sandbox/v3/fine_tune_status/{training_id}' \

Make a POST request to 'https://stablediffusionapi.com/api/sandbox/v3/fine_tune_status/{training_id} endpoint. Where {training_id} is returned in the response upon initiating the model training using the Create Dreambooth Request endpoint. This endpoint only returns information for an already initiated model training.

Attributes

ParameterDescription
keyYour 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://stablediffusionapi.com/api/sandbox/v3/fine_tune_status/F5jvdzGnYi", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Response

Example Response
{
"status": "success",
"messege": "model_ready",
"data": " /n Step:1 Training Started, 5 Steps to go : ETA : 30 minutes /n Step:2 Training Done, 4 Steps to go : ETA : 15 minutes /n Step:3 Model Uploading, 3 Steps to go : ETA : 10 minutes /n /n Step:4 Model Uploaded, 2 Steps to go : ETA : 5 minutes /n Model loaded successfully"
}