GenerationBottomToolbar
fun GenerationBottomToolbar(modifier: Modifier = Modifier, mode: ServerSource, prompt: String, negativePrompt: String, strokeAccentState: Boolean = false, onExtraSelected: (prompt: String, negativePrompt: String, type: ExtraType) -> Unit = { _, _, _ -> }, onEmbeddingsSelected: (prompt: String, negativePrompt: String) -> Unit = { _, _ -> }, content: @Composable () -> Unit)(source)
Renders the GenerationBottomToolbar UI for the SDAI presentation layer.
Author
Dmitriy Moroz
Parameters
modifier
Compose modifier applied to the rendered UI.
mode
mode value consumed by the API.
prompt
positive prompt text for image generation.
negativePrompt
negative prompt text for image generation.
strokeAccentState
stroke accent state value consumed by the API.
onExtraSelected
callback invoked by the component.
onEmbeddingsSelected
callback invoked by the component.
content
content value consumed by the API.