Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HostedModelConfig

The config object used to construct a new HostedModel.

// For private models...
{
  url: 'https://my-model.hosted-models.runwayml.cloud/v1',
  token: 'kN5PB/GGgL5IcXxViegzUA==', // this is a fake token, use your own
}

// For public models...
{
  url: 'https://my-model.hosted-models.runwayml.cloud/v1',
}

Hierarchy

  • HostedModelConfig

Index

Properties

Properties

Optional token

token: string

The secret token associated with this model. Only required if this model is private.

url

url: string

The full URL of your hosted model in the format https://my-model.hosted-models.runwayml.cloud/v1

Generated using TypeDoc