Set master input black/white points, midtone gamma, and output black/white points on a connected image.
Where: Flowgen → Add → Image & Vector → Adjust → Levels
Key ideas
- Levels is one graph step: Set master input black/white points, midtone gamma, and output black/white points on a connected image.
- Typed sockets: Inputs: Image / image_in — one source image.. Outputs: Image Output / image_out — the levels-adjusted image.. Settings stay on the node rather than masquerading as extra wires.
- Card and Properties agree: The compact card and selected-node Properties sidebar expose the same persisted controls: Input Black: 0–255.; Input White: 0–255.; Gamma: 0.1–10.; Output Black: 0–255.; Output White: 0–255..
- Execution behavior: This browser-local pure operation previews automatically after a short pause while a control changes, then overwrites one durable result file after the value settles. Deselecting the card or starting a downstream flow flushes the pending save. A terminal error exposes Retry; there is no normal Run button.
- Cost and privacy boundary: It calls no generation provider and charges no Sparks/Flowies. Processing happens in the open browser, so it cannot execute in a headless/server-only flow and the source must be readable by the page.
- Levels card: PureOpNode uses the authored shared-card path. Set master input points, gamma, and output range.
- Properties sidebar: Card-owned operation controls; common properties shell
- Opened surfaces: Live image preview
Steps
- Connect an image.
- Move Input Black to the darkest meaningful detail.
- Move Input White to the brightest meaningful detail.
- Set Gamma for midtones without moving the endpoints.
- Use Output Black/White only when delivery needs a compressed range.
- Inspect clipping and connect Image Output.
Inputs
- Image / image_in — one source image.
Outputs
- Image Output / image_out — the levels-adjusted image.
Controls
- Input Black: 0–255.
- Input White: 0–255.
- Gamma: 0.1–10.
- Output Black: 0–255.
- Output White: 0–255.
Important behavior
- Input values at/below black are crushed; values at/above white clip to white.
- Gamma above 1 lifts midtones; below 1 deepens them.
- Output points compress the final range instead of clipping the input.
- The node applies one master levels curve, not separate R/G/B levels.
MCP authoring
- Create with create_node { type: "imageLevels" }.
- Connect exact handles with connect_nodes when the node has more than one input or output.
- Use set_props with the complete opParams bag and let the open Flowgen client preview/save it; there is no normal run_node step.
Levels controls and presets
- Add path: Flowgen → Add → Image & Vector → Adjust → Levels.
- Card: PureOpNode.
- Properties: Card-owned operation controls; common properties shell.
- Controls: Input Black; Input White; Gamma; Output Black; Output White.
- Opened surfaces: Live image preview.
Tips
- Test the operation on one representative asset before placing it inside a List iteration.
- Keep the untouched source upstream so the operation can be changed or bypassed later.
- Judge edges and color at the intended delivery size as well as at full preview size.
Limitations and important notes
- No histogram is drawn on the focused node.
- Per-channel RGB levels are not available here.
Troubleshooting
Shadow or highlight detail disappeared
Move Input Black lower or Input White higher; those controls intentionally clip values outside the range.
FAQ
Does this open the full Image Editor?
No. This is a focused Flowgen node. Use Image Editor when you need layers, selections, paint, paths, or several edits in one document.
Can I use it in a List iteration?
Yes. Wire the current row field into the typed input, collect the exact output handle, and test one row before scaling the run.