textToImage
open suspend override fun textToImage(apiKey: String, modelName: String, payload: TextToImagePayload): AiGenerationResult(source)
Executes the textToImage step in the SDAI data layer.
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.