KtorAutomatic1111GenerationApi
class KtorAutomatic1111GenerationApi(val httpClient: HttpClient = createConfiguredHttpClient()) : Automatic1111GenerationApi(source)
Ktor implementation of Automatic1111 generation calls with inference traffic accounting.
Author
Dmitriy Moroz
Parameters
httpClient
Configured Ktor client used to send provider requests.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Executes the healthCheck step in the SDAI network layer.
Link copied to clipboard
open suspend override fun imageToImage(baseUrl: String, authorization: BasicHttpAuthorization?, request: ImageToImageRequest): SdGenerationResponse
Executes the imageToImage step in the SDAI network layer.
Link copied to clipboard
Performs the SDAI side effect handled by interrupt.
Link copied to clipboard
open suspend override fun textToImage(baseUrl: String, authorization: BasicHttpAuthorization?, request: TextToImageRequest): SdGenerationResponse
Executes the textToImage step in the SDAI network layer.