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

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

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

console.log(response.downloadUrl);
{
  "downloadUrl": "<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 a signed download URL for the specified Image LoRA model.

The response is of type object.