ImageToImageBody

internal fun ImageToImageBody(state: ImageToImageState, strings: ImageToImageStrings, inputImageBitmap: ImageBitmap?, promptChipTextFieldState: MutableState<TextFieldValue>, negativePromptChipTextFieldState: MutableState<TextFieldValue>, processIntent: (ImageToImageIntent) -> Unit, onInPaintClick: () -> Unit)(source)

Renders the ImageToImageBody UI for the SDAI presentation layer.

Author

Dmitriy Moroz

Parameters

state

state rendered or processed by the component.

strings

strings value consumed by the API.

inputImageBitmap

input image bitmap value consumed by the API.

promptChipTextFieldState

prompt chip text field state value consumed by the API.

negativePromptChipTextFieldState

negative prompt chip text field state value consumed by the API.

processIntent

process intent value consumed by the API.

onInPaintClick

callback invoked by the component.