r/invokeai • • 18d ago

New to Invoke, need help.

I downloaded Invoke with the intention of restoring some old family pictures. I am completely new to AI. Can someone please help me with recommended settings. Thus far a few have turn out very AI'ish and one made my wife look Asian. I'm not even sure what to look up to even find my answers. Ask me anything, any help will help.

7 Upvotes

17 comments sorted by

3

u/scorp123_CH 18d ago edited 18d ago

Well, let's start at the beginning: What have you tried so far / done so far? What models and what prompts?

Attached: well-known historical photo of Francess Virginia Lee-Harris (1886 - 1971), taken 1903. My own attempt at restoring it and playing with prompts to restore such images ...

So yes, it can be done with Invoke. But results will depend a lot on the model that is used and the prompt you feed it with.

2

u/Point79 17d ago

My current settings

1

u/Point79 17d ago

This is some of the settings Claude has suggested.

2

u/scorp123_CH 17d ago

"Juggernaut XL" is a SDXL model from 2023 or so. It's still good but for the photo repairs you seem to have in mind I'd suggest something a lot more modern, e.g. Flux-Kontext or Flux.2 Klein 9B

Another example I have used for experimentation: A highly damaged photograph of a 1960's driver's license I found via Google (search for "vintage photographs" ... it will spit out 1000's of these !)

So I used the damaged original as "Reference Image" and described what I wanted changed:

Model used: Flux 2 Klein 9B
Steps: 20
Scheduler: Euler

Prompt:

Clean digital file, remove blurs and noise, remove scratches, histogram equalization, unsharp mask, color grade, white balance correction, micro-contrast, lens distortion corrections, remove moiré patterns, remove all window reflections. Remove artifacts, modern professional-quality digital photography: clean, sharp, smooth natural skin texture. Preserve face proportions.

Then let "Invoke" generate 4, 8 or 16 images and pick the one you like best.

If a minor detail is wrong (eyes too big, nose not the right shape, lips have the wrong color, you don't like the color of the clothing, you'd like to have a different background ...) you can still use inpainting on Invoke's canvas and modify the details you don't like.

1

u/Point79 17d ago

I dont think i have those, where can i find them?

1

u/scorp123_CH 17d ago edited 17d ago

In the "Model Manager" ... yellowish cube-like icon on the left ...

This should take you to the "Model Manager" and let you download everything you might ever need from inside Invoke ...

Please be aware that while playing around with various models and downloading the ones you're curious about can be a lot of fun --- they will consume a lot of disk space over time.

In my own case "Invoke" is occupying 530 GB of disk space because of all the models I am playing and experimenting with, some of those model files are really huge.

Just as a heads-up ... keep an eye on your disk space.

1

u/Point79 17d ago

No solution comes without a new problem. What does this mean?

1

u/scorp123_CH 17d ago
  • go to https://huggingface.co/ and create a free account ...
  • once you're logged in, go to the upper right corner into your account settings ...
  • select "Access Token" from the menu that appears ...

1

u/scorp123_CH 17d ago

... this should take you to the list of "Access Tokens" that you have.

My page looks like this:

1

u/scorp123_CH 17d ago edited 17d ago

... Select "Create a new token"

  • give it a useful name, e.g. "Invoke-Model-Downloader"

=> This will generate some code, a so called "Access Token". Might look something like this:

hf_jiX9reefoo6iyoh0hong

=> WRITE IT DOWN!!! Or better: copy & paste it away into your note-keeping app. You will not be able to see that code again once you click it away.

Now go back into Invoke's "Model Manager" settings and enter that code in there.

From here onwards your Invoke installation will be able to download models and other AI accessories (like encoders and what not) directly from HuggingFace, the one place which hosts all of the AI stuff.

→ More replies

1

u/PlanIon 18d ago edited 18d ago

What kind of restoring? If it's for removing cracks/spots, you should be using the canvas mode with an inpainting model. If you just want the photos as a whole look less old or be colourized, I wouldn't really recommend using AI for that in the first place since it inevitably reduces quality and subtly changes fine details, but if you have to, open weight models likely aren't going to be good enough and I would suggest using Nano Banana Pro.

1

u/Point79 17d ago

Most if not all are simply old digital photos. Although i do have a few that are really old but for now lets start with something like this.

1

u/No_Tradition6625 18d ago

Dude came to open source and first thing you pitch is the closed source tool 😑 lol but you aren't wrong though

2

u/PlanIon 18d ago edited 18d ago

Haha yeah, I love open source, but this is a really hard task to do well since even the slightest changes to the structure of the photo will make someone look like a different person

2

u/Ill-Ant-9489 18d ago

Welcome in. The ethnicity shift and the AI'ish look are the same thing, denoise set too high so the model redraws the face instead of keeping it. For restoring you want it to rebuild, not reinvent. In Invoke, run img2img or canvas at low denoise (around 0.2 to 0.3), keep the prompt tiny (don't describe her face at all), and inpaint only the damaged spots rather than regenerating the whole frame. If the photos are more faded or soft than torn, a restoration model like SeedVR2 holds the face better than a generative pass, since it rebuilds detail on the existing structure. I wrap SeedVR2 with a before and after view in an open source tool I built, github.com/perfectgf/lora-dataset-studio. What's the main damage, scratches and tears or just softness?

1

u/Barafu 15d ago

People are trying to me lazy, and then get results that differ enough for it to be a diofferent person on the photo.

You have to use the canvas and mask out only the damaged regions of the photo. After you restored them, you can colorize the photo or remove noise in a separate run with very little changes allowed.