Edit photos with words, restore old ones, and split songs, in your browser
Three new things run on your own graphics card at FreeGen this week, all free, all inside the browser tab, none of them uploading anything. You can change a photo by describing the change, restore and colour an old photograph, and split a song into vocals, drums, bass and the rest. The model lists in every studio got shorter too, which matters more than it sounds.
Edit a photo with words
Imagine could already start from a picture of yours, but only in the blunt way most image models can: mix the picture with noise and let the model redraw from there. A little noise keeps the picture and changes nothing you asked for; a lot follows the prompt and loses the picture.
FLUX.2 Klein, the model behind it, was trained to do something better. Its editing mode reads your picture as context, side by side with the one it is drawing, and draws it again with the change. Everything you did not mention stays put: in the fox above, the curl of the body, the ears, the framing. Our browser build of Klein had left that mode out, and it turned out to need no new model files at all. The picture is encoded with the same encoder we already ship, its pieces are placed next to the ones being drawn with a different position code, and the denoiser, which we had built to accept any length, takes the longer input unchanged.
The cost is that the model has twice as much to look at, so each step takes about 0.7 seconds on an RTX 5090 at 512 pixels instead of 0.3, and four steps make an edit. The result keeps your photo's shape rather than cropping it square. Choose a picture in Imagine, leave the option on Edit, and describe the change: “make it night”, “add a red scarf”, “turn it into a watercolour”.
Restore an old photo
Restore old photo, in the Edit studio, chains three small open models. YuNet finds each face and five points on it. Each face is lined up the way GFPGAN v1.4 was trained to see faces, redrawn sharp, and blended back through a soft oval so nothing around it changes. Then DDColor predicts the colour of the whole picture, which is laid over the photo's own full-resolution detail. Together they are a 292 MB download.
Two things we learned building it. Colour comes out much better after the faces are restored: on the raw scan DDColor read the film grain as texture and went almost grey. And both GFPGAN and DDColor gave wrong answers on the graphics card, a smear where the face should be, while giving right ones on the processor. The files store their numbers at half precision, and on the processor the runtime quietly works some of the arithmetic at full precision; on the graphics card it does exactly what it is told, and the numbers overflow. Now the files still download at half size and are widened to full precision as they load, and the graphics card's answers match the reference to a ten-thousandth.
A caution that is also on the page: restoring a face means redrawing it, and on a small or badly damaged face the model fills in plausible detail that may not be the person's. Keep the original. The colours are a convincing guess, not a record. We left out CodeFormer, a popular alternative, because its licence does not allow this kind of use.
Split a song
The new Audio studio takes a song and gives back four tracks, vocals, drums, bass and everything else, plus an instrumental made from the last three: a vocal remover, karaoke maker and stem splitter in one. Each track plays in the page and saves as a 44.1 kHz stereo WAV.
The model is Meta's HTDemucs v4, MIT licensed, in the ONNX conversion Microsoft published for its WebNN demos, along with the signal processing around it, which we use as they wrote it. It works on 7.8 seconds at a time and crossfades the pieces, so there are no seams. On a test mix where we knew the right answer, a spoken voice over synthetic drums, bass and chords, the vocal track came back at 10.6 dB SDR and the instrumental at 16.8, and 20 seconds of audio took 19 seconds on an RTX 5090, including loading the 163 MB model. The song never leaves the browser, which for an unreleased demo is the point.
Shorter model lists
Every studio now shows at most three models first, picked for the machine you are on, with the rest under More models. On a phone, the ones too large for its memory sit under Needs a computer instead of crashing the tab. It is a small change in code and a big one in how many new models we can add without the lists becoming a wall.
Try it
All of it is free, with no account and no limit, because it is your graphics card doing the work. Edit a photo, restore one, or pull the vocals out of a song. If something misbehaves on your machine, tell us on Discord: what GPU and browser, and what happened.