Remote

Defines the Remote contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun imageToImage(apiKey: String, engineId: String, payload: ImageToImagePayload): AiGenerationResult

Executes the imageToImage step in the SDAI domain layer.

Link copied to clipboard
abstract suspend fun textToImage(apiKey: String, engineId: String, payload: TextToImagePayload): AiGenerationResult

Executes the textToImage step in the SDAI domain layer.

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

Executes the validateApiKey step in the SDAI domain layer.