Rétouch

Photo and video editor · Free and open source

A darkroom in your browser.

Crop, adjust, cut out and erase, with AI that runs on your own device, so your photos never leave it. No install, no account, no upload.

Before: a small wooden house among orange bushes on a pond, in thick fog After: the same pond with the fog lifted and the orange bushes glowing
Rendered by Rétouch in this page: Photo: Adrian Eperjessy

Try it

Your photos stay on your device.

Here are five photos to start with. Click one to edit it, or drop in your own. They stay in this tab, and nothing is uploaded.

Adjust · Curves · Color mix

Change one color. Leave the rest alone.

Fourteen adjustments, tone curves for each channel and an eight-band color mixer. Here the maples turn from orange to crimson; the sky and the road don't move.

Before: a road between orange maples and dark pines After: the same road with the maples turned crimson
Color mix only, rendered livePhoto: Rachel Reinhardt

Looks and filters

Try a look. Then take it apart.

A look is only settings: a filter and a few sliders you can keep adjusting. Every preview is drawn from your own photo. These five come from a plugin a few dozen lines long, built on the same API you'd use.

  • OriginalOriginal
Each tile rendered live from the originalPhoto: Štefan Štefančík

AI, on your device

AI that never sees a server.

Each model downloads once, then runs on your own graphics card or processor. Your photos stay put, and there's no account or API key to set up. These results came out of Rétouch on these photos.

Before: a person stands at the edge of the sea at the end of a line of footprints After: the person is gone, and the footprints lead to the empty shore

Erase

Brush over anything and it's gone, filled in from what's around it.

LaMa · 208 MB

A corgi on stone steps in front of yellow flowers

Select

Click what you want. Three clicks pick out the corgi, ready to cut out, mask or adjust.

SlimSAM · 38 MB

A woman in a striped shirt at sunset

Cutout

One step lifts a person off the background, hair and all. Put them anywhere.

MODNet · 25 MB

Before: a 220 pixel crop of the corgi's face, enlarged and blurry After: the same crop upscaled four times, with sharp fur and whiskers

Upscale

Four times the pixels, with fur and whiskers instead of blur. This was a 220-pixel crop.

Real-ESRGAN · 67 MB

Also on board: depth blur, denoise, and face and object detection.

And the rest

Everything you'd reach for.

Every edit stays adjustable until you're done, with undo all the way back to the original.

For developers

Drop it into your own app.

Rétouch is a TypeScript library with no framework to adopt. Mount the gallery and editor in any element, add tools with the same controls the built-in ones use, and restyle everything with CSS custom properties.

npm i @9tensor/retouch
import { Retouch } from "@9tensor/retouch";
import { installMlTools } from "@9tensor/retouch-ml";

const retouch = new Retouch({
  target: "#editor",
  theme: "auto",
  onDone: (blobs) => upload(blobs),
});

// Optional: cutout, erase, upscale and the rest, on-device.
installMlTools(retouch);