Remote
Defines the Remote contract for the SDAI domain layer.
Author
Dmitriy Moroz
Functions
Link copied to clipboard
abstract suspend fun imageToImage(apiKey: String, modelName: String, payload: ImageToImagePayload): AiGenerationResult
Executes the imageToImage step in the SDAI domain layer.
Link copied to clipboard
abstract suspend fun textToImage(apiKey: String, modelName: String, payload: TextToImagePayload): AiGenerationResult
Executes the textToImage step in the SDAI domain layer.
Link copied to clipboard
Executes the validateApiKey step in the SDAI domain layer.