textToImage

abstract suspend fun textToImage(apiKey: String, engineId: 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.

engineId

engine id value consumed by the API.

payload

generation payload used by the operation.