Remote

Sends ArliAI validation and generation requests to the network layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun imageToImage(apiKey: String, model: String, payload: ImageToImagePayload): List<AiGenerationResult>

Generates image-to-image results with a resolved ArliAI checkpoint.

Link copied to clipboard
abstract suspend fun textToImage(apiKey: String, model: String, payload: TextToImagePayload): List<AiGenerationResult>

Generates text-to-image results with a resolved ArliAI checkpoint.

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

Checks whether ArliAI accepts the supplied API key.