GET
/
image-lora-models
/
{id}
/
status
JavaScript
import Weights from '@weights-ai/sdk';

const client = new Weights({
  bearerToken: 'My Bearer Token',
});

const response = await client.imageLoraModels.retrieveStatus('id');

console.log(response.id);
{
  "id": "<string>",
  "status": "QUEUED",
  "shortStatusText": "<string>",
  "queuePosition": 123,
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/json

Returns the training status of the specified image LoRA model.

The response is of type object.