Remote

Defines the Remote contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun imageToImage(baseUrl: String, sessionId: String, model: String, credentials: AuthorizationCredentials, payload: ImageToImagePayload): AiGenerationResult

Executes the imageToImage step in the SDAI domain layer.

Link copied to clipboard
abstract suspend fun textToImage(baseUrl: String, sessionId: String, model: String, credentials: AuthorizationCredentials, payload: TextToImagePayload): AiGenerationResult

Executes the textToImage step in the SDAI domain layer.