Remote

Defines the Remote contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun checkAvailability(baseUrl: String, credentials: AuthorizationCredentials)

Executes the checkAvailability step in the SDAI domain layer.

Link copied to clipboard
abstract suspend fun imageToImage(baseUrl: String, credentials: AuthorizationCredentials, payload: ImageToImagePayload): List<AiGenerationResult>

Executes the imageToImage step in the SDAI domain layer.

Link copied to clipboard
abstract suspend fun interruptGeneration(baseUrl: String, credentials: AuthorizationCredentials)

Performs the SDAI side effect handled by interruptGeneration.

Link copied to clipboard
abstract suspend fun textToImage(baseUrl: String, credentials: AuthorizationCredentials, payload: TextToImagePayload): List<AiGenerationResult>

Executes the textToImage step in the SDAI domain layer.