Class StableDiffusionLocalProvider

Implements

Constructors

Methods

  • Initialise the provider.

    Accepts baseURL / baseUrl / baseurl from the config bag and auto-detects the backend by probing known endpoints.

    Parameters

    • config: Record<string, unknown>

      Provider configuration. Must contain a baseURL string.

    Returns Promise<void>

    Throws

    When no baseURL is supplied.

Properties

providerId: "stable-diffusion-local" = 'stable-diffusion-local'
isInitialized: boolean = false
defaultModelId?: string