textToImage
abstract suspend fun textToImage(apiKey: String, modelName: String, payload: TextToImagePayload): AiGenerationResult(source)
Executes the textToImage step in the SDAI domain layer.
Return
Result produced by textToImage.
Author
Dmitriy Moroz
Parameters
apiKey
api key value consumed by the API.
modelName
model name value consumed by the API.
payload
generation payload used by the operation.