withSource

internal fun ImageToImageState.withSource(source: ServerSource, stableDiffusionSamplers: List<String>?): ImageToImageState(source)

Executes the withSource step in the SDAI presentation layer.

Return

Result produced by withSource.

Author

Dmitriy Moroz

Parameters

source

source value consumed by the API.

stableDiffusionSamplers

stable diffusion samplers value consumed by the API.