ArliAiGenerationApi

Describes the ArliAI SDNext-compatible generation endpoints.

Implementations use bearer authorization and return Automatic1111-style generation responses so the data layer can reuse Stable Diffusion mappers.

Author

Dmitriy Moroz

Inheritors

Functions

Link copied to clipboard
abstract suspend fun fetchModels(apiKey: String): List<KtorStableDiffusionModelRaw>

Loads the checkpoint list exposed by ArliAI.

Link copied to clipboard
abstract suspend fun imageToImage(apiKey: String, request: ArliAiImageToImageRequest): SdGenerationResponse

Sends an image-to-image request to ArliAI.

Link copied to clipboard
abstract suspend fun textToImage(apiKey: String, request: ArliAiTextToImageRequest): SdGenerationResponse

Sends a text-to-image request to ArliAI.

Link copied to clipboard
abstract suspend fun validateApiKey(apiKey: String)

Verifies that the supplied ArliAI key can access the provider API.