dGENdGEN Visual Studio
← All guides

Backgrounds, out and back in

A fern cut cleanly away from its surroundings, the thin fronds intact.

Cutting a subject out is its own kind of model, and the edge is the whole job.

1 min read · last checked

Not a prompt, a tool

Removing a background is not something you ask for in a sentence. It is a segmentation model: it works out what the subject is and cuts everything else away. You attach a file and get a file back, with nothing to phrase.

That makes it predictable in a way generation is not. The same picture gives the same cut, every time.

Hair, fur and thin edges

Any tool can cut around a box. The test is a plant, a jumper, or someone with loose hair, because that is where a rough mask gives itself away. Models built for high-resolution segmentation are built for exactly that case.

Judge a result on the edge at full size. The middle is always fine.

Video is a different tool

Removing a background from a clip is a separate problem: the edge has to stay put while the subject moves, frame after frame. There is a model for that here too, priced per second of clip rather than per file.

Do not reach for the image tool and run it frame by frame. Each frame decides its own edge, and the result crawls.

A cut-out is a starting point, not a delivery. Put it on a new background in an editing model, or place it in a layout, and it becomes something you can use.

Read next

BiRefNetThe edge is the whole job.BriaThe same thing for a clip, priced per second.Making something biggerThe step that comes after, and why it comes last.Make an image, then change itWhat to do with the cut-out afterwards.

Put this guide to work

The studio opens in stages. We let people in in the order they signed up, and you start with 1,000 free credits.

Get early access