textToImage
abstract suspend fun textToImage(baseUrl: String, sessionId: String, model: String, credentials: AuthorizationCredentials, payload: TextToImagePayload): AiGenerationResult(source)
Executes the textToImage step in the SDAI domain layer.
Return
Result produced by textToImage.
Author
Dmitriy Moroz
Parameters
baseUrl
base url value consumed by the API.
sessionId
session id value consumed by the API.
model
model value consumed by the API.
credentials
credentials value consumed by the API.
payload
generation payload used by the operation.