mapToPayload

internal fun ImageToImageState.mapToPayload(maskBase64: String? = null): ImageToImagePayload(source)

Converts the current img2img state into the domain generation request.