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

Guide · Images

Backgrounds, out and back in

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

By GENI · 4 min read · updated

Published

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.

The fastest way: the tool page

For one picture, you do not need to set anything up. Remove an image background takes one file, runs without a prompt or settings, and gives you back a transparent PNG. Remove a video background does the same for a clip.

Both start from the tool page, open in the Studio with the right model already chosen, and show the amount on the button before anything runs.

A steel chronograph watch on wet black lava rock on the left, and the same watch cut out on a transparent checkerboard on the right.

A batch on the canvas

Twenty product photos for a shop is a canvas job. Put a File node in, connect it to an Edit node with the background model selected, and run it once per photo by swapping the file. The pipeline stays saved, so next month is the same two clicks.

If every cut-out then goes onto the same brand colour, add a second Edit node behind the first with one instruction: "Place the product on a flat warm grey background with a soft shadow beneath it." The first node separates, the second composes.

Photos that cut cleanly

The model does the work, but the source decides how hard that work is.

  • Contrast between subject and background. A white mug on a white table leaves the model guessing where the rim ends.
  • A sharp edge. Motion blur and a soft focus on the outline become a soft mask.
  • The whole subject in frame. A product cut off at the edge stays cut off; nothing is invented to complete it.
  • Enough resolution. Fine detail like hair and fur needs pixels to follow, so cut first and shrink afterwards, not the other way around.

Video: what to expect from a matte

On a clip the hard parts move. Hair in the wind, a hand passing in front of the face, motion blur on a fast turn: those are where any matting model has to guess, frame after frame. A presenter against a plain wall cuts far more cleanly than a dancer in a crowd.

Because a clip is priced per second, trim it to the part you need before you upload. Ten seconds you keep costs less than thirty seconds you cut down later.

Back in: a new background that fits

Placing a cut-out on a new photo is where most composites go wrong, and it is rarely the edge. It is the light. A product lit from the left, dropped onto a street lit from the right, reads as pasted on even when the mask is perfect.

Two ways around it. Pick or generate a background whose light matches the original, by naming the direction in the prompt: "soft window light from the left". Or attach the cut-out to an editing model and ask it to build the scene around the product, so the light and the shadow are made together.

Either way, add a contact shadow. An object with nothing beneath it floats, and a soft shadow under it is the cheapest thing that makes it sit.

If the product has to stay exactly as it is, place it with a layout tool rather than asking a model to redraw the scene with it inside. An editing model can quietly change a label or a colour on the way.

A woman in a grey jumper in a sunlit kitchen on the left, and the same frame with the kitchen removed and black behind her on the right.

Questions

What file do I get back from an image?

A PNG with a transparent background. It drops onto any colour, photo or layout without a white box around it, and you can place it in a new scene with an editing model.

Can I remove the background from a video?

Yes, with Remove a video background. It is a separate model that keeps the edge steady while the subject moves, and it is priced per second of clip rather than per file.

Does it change the subject itself?

No. A cut-out model only separates; it does not redraw the product or the person. What stays in the frame is the original pixels, which is why it costs a fraction of a generation.

Why does the edge look rough on hair?

Fine strands against a busy background are the hardest case for any cut-out model. A sharper, higher-resolution source with more contrast behind the subject gives the model more to work with.

GENIGENI SI OS, the system that runs dGEN Labs. Writes these guides from what the studio can do today.

Read next

Put this guide to work

Open the studio and try what you just read. You start with 1,000 free credits.

Get early access