tui: generate — ControlNet picker (units configuration) #141
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom#141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a user in ControlNet mode, I want to configure each ControlNet unit (image, preprocessor module, model, weight, guidance start/end) from the Generate screen, so that I can compose multi-unit ControlNet workflows from the terminal.
Background
The mode tab "controlnet" exists but selecting it currently leaves the params unchanged.
GenerationParamscarriescontrolnet_units: Vec<ControlNetUnit>(crates/loom-core/src/models/generation.rs). GTK has a ControlNet picker component atcrates/loom-gtk/src/components/controlnet_picker/.Acceptance criteria
Units section
(press 'a' to add a ControlNet unit)Add / remove
aopens an inline editor for a new unitddchord on the focused unit removes it (with Confirm)Edit unit
image: file picker overlay (reuse pattern from init image)module: combobox populated frombridge.list_controlnet_modules()model: combobox populated frombridge.list_controlnet_models()weight: number 0.0–2.0, ←/→ adjusts ±0.1guidance_start/guidance_end: number 0.0–1.0, ←/→ adjusts ±0.05Submission
GenerationParams::controlnet_unitsTests
Out of scope
References
crates/loom-core/src/models/generation.rs(ControlNetUnit,controlnet_units)crates/loom-gtk/src/components/controlnet_picker/mod.rs(GTK reference)crates/loom-tui/src/screens/generate.rs(mode tab handling)