Automatic1111MetadataApi
Defines the Automatic1111MetadataApi contract for the SDAI network layer.
Author
Dmitriy Moroz
Inheritors
Functions
Link copied to clipboard
abstract suspend fun fetchConfiguration(baseUrl: String, authorization: BasicHttpAuthorization?): ServerConfigurationRaw
Loads SDAI data through fetchConfiguration.
Link copied to clipboard
abstract suspend fun fetchEmbeddings(baseUrl: String, authorization: BasicHttpAuthorization?): KtorSdEmbeddingsResponse
Loads SDAI data through fetchEmbeddings.
Link copied to clipboard
abstract suspend fun fetchHyperNetworks(baseUrl: String, authorization: BasicHttpAuthorization?): List<StableDiffusionHyperNetworkRaw>
Loads SDAI data through fetchHyperNetworks.
Link copied to clipboard
abstract suspend fun fetchLoras(baseUrl: String, authorization: BasicHttpAuthorization?): List<StableDiffusionLoraRaw>
Loads SDAI data through fetchLoras.
Link copied to clipboard
abstract suspend fun fetchModels(baseUrl: String, authorization: BasicHttpAuthorization?): List<KtorStableDiffusionModelRaw>
Loads SDAI data through fetchModels.
Link copied to clipboard
abstract suspend fun fetchSamplers(baseUrl: String, authorization: BasicHttpAuthorization?): List<StableDiffusionSamplerRaw>
Loads SDAI data through fetchSamplers.
Link copied to clipboard
abstract suspend fun updateConfiguration(baseUrl: String, authorization: BasicHttpAuthorization?, request: ServerConfigurationRaw)
Performs the SDAI side effect handled by updateConfiguration.