YASDIG

Guide

Refine & adjust

The one place an image is finished. Click the picture on the Image tab, or open one on the Outputs tab. The picture fills the screen; the rail on the left opens floating panels over it — Refine, Edit (Klein images), Hi-res, Extend, Scale (Scale, Crop), Adjust (Tone, Colour, Detail), Brushes, Selection, Text and History. Drag a panel by its title bar to put it anywhere; it stays there next time, and a double-click on the title bar puts it back. A dot on a rail button means its panel has something in effect. Fit, 1:1 and Download (and Save to output, from the Image tab) are at the rail's foot, Apply at History's; progress and errors appear at the lower left.

The picture under the pointer belongs to whichever of the Refine panel, Crop, Selection or Brushes is open — opening one closes the others. With none open, a drag pans at 1:1; the middle button or Space+drag always pans.

Whole image or an area — the mask decides

What happens
Nothing paintedRefine image: a light pass over the whole picture, at the Refine pass’s steps and strength. Good for detail and texture.
Something paintedRefine area: only the painted part is redrawn, enlarged to the model’s size first, then blended back in. Every pixel outside it stays exactly as it was.

Scale makes the image smaller or bigger with no new drawing at all. Smaller is instant. Bigger is FSR (instant) or an upscaler model from your upscalers folder (slower, sharper). Because it draws nothing new it can’t undo a refine, so it can be the last step — a bigger file — or come before a refine, which then adds detail at the new size; scaling down first is what lets a large picture fit in memory. A painted mask scales with the picture, and it is a History step like the rest. When a pass runs out of memory, the box offers Scale down to 0.75× and try again.

Hi-res comes first (the Refine panel's Hi-res fold and button, with the Hi-res pass panel's settings): it sets the final size and re-draws the whole picture lightly on the way, which would partly undo a refine done before it. Enlarge, then refine.

Drag to paint, right-drag or the Eraser to take paint away. The mask shows only while the pointer is over the picture, so moving off it shows the result clean. Edge softness is how far past the paint the new pixels fade into the old; what you painted is always replaced in full.

The prompt

Each pass can be asked for something of its own — "sharper fabric texture", "an open hand". Blank uses, in order: the Refine pass or Hi-res pass prompt from the panel on the left, then the image’s own. (Hi-res uses the Hi-res pass panel’s prompt.) The image keeps its prompt either way; the History says what each pass was asked.

A whole-image refine is light (strength 0.2–0.35), so a prompt there brings out detail rather than changing what is in the picture. "Make it a red dress" is a painted area, or a stronger refine.

Area strengthWhat it does
0.4–0.6Keeps the shape and colours, fixes the detail. The default, 0.5, is here.
0.8Replaces what was there, matched to its surroundings.
0.9–0.95Starts the area over. For removing or swapping an object.

Editing

With a Flux.2 or FLUX.3 Klein image, Edit changes the whole picture by instruction, with no painting: type what to change — "make it night", "remove the hat", "turn the jacket red" — and press Edit. The image goes to the model as reference 1, so it keeps the picture and changes what you asked. Pictures picked under References — the Edit panel has the button too — go along as image 2 onwards. On a model that takes references, the Refine panel can follow them as well: pick them and tick Use with Refine, then paint the jacket and ask for "the jacket from image 1" (there the picks are numbered from 1). It is a History step like any other, so Compare shows what changed and Ctrl+Z takes it back. It draws at the model’s own size (1024 for Klein) and scales up to fit, so on a large image a Refine image afterwards brings the fine detail back.

Rescale with Edit does the same with a new shape: pick sides (← ↑ ↓ →) and an amount, and the button becomes Edit and rescale. The model redraws the whole picture to fill the bigger frame — "the same room, wider", "show the rest of the table". It is a re-imagining: nothing is pasted back, so for a picture that must stay exactly as it is, use Extend.

Extending

Extend makes the canvas bigger on the sides you pick and draws what lies beyond them. It works on any image, whatever made it, and keeps every pixel you already have — only the new strips are drawn, and Edge softness blends the join. Each side is its own pass at the drawing model’s full size, left and right first, so picking all four draws the corners too.

It uses FLUX.1 Fill, a model trained for exactly this, and turns on by itself once one is installed (Models → FLUX.1 Fill). With a blank prompt it continues the background; the image’s own prompt would name the subject, and Fill would draw it again in the strip. Type a prompt to put something particular there — "a window", "more of the beach".

Comparing

Compare (or C) shows an earlier step on the left and the image now on the right, split by a line you drag — or click to move it. Pick the earlier step under Compare with; it starts on the one just before. Both halves carry the same grade and sharpening, so what differs is what the pass did. A smaller earlier step of the same shape is stretched to the same size, which is how to judge an upscale; one of another shape (before an Extend) is shown whole inside the frame. Painting waits while comparing.

Going back

Every pass is a step in the History. Click a step to go back to it (Ctrl+Z and Ctrl+Shift+Z step through). A new pass from an earlier step replaces the ones after it. An image keeps its last twelve steps and always its original. A work item remembers all of it — History, sliders, selection and brushes — when you switch to another and back, and after a restart; it goes when the item is deleted.

In a batch

After each generation runs Hi-res and Refine on every image, with the prompts from the Hi-res pass and Refine pass panels. A {variable} in them rolls per image.

Saved pictures and uploads

A picture opened on the Outputs tab opens in this same dialog: refine, extend, edit or scale it like a fresh one, then Save changes over the file or Save as new output beside it. It opens the saved file, which already has its sharpening and grade in it, so the sliders start at zero. Refine with, at the top of the dialog, picks the model its passes run on: it starts at the model that made the picture, or for an upload the one picked on the Image tab.