• Most new users don't bother reading our rules. Here's the one that is ignored almost immediately upon signup: DO NOT ASK FOR FANEDIT LINKS PUBLICLY. First, read the FAQ. Seriously. What you want is there. You can also send a message to the editor. If that doesn't work THEN post in the Trade & Request forum. Anywhere else and it will be deleted and an infraction will be issued.
  • If this is your first time here please read our FAQ and Rules pages. They have some useful information that will get us all off on the right foot, especially our Own the Source rule. If you do not understand any of these rules send a private message to one of our staff for further details.
  • Please read our Rules & Guidelines

    Vote now in wave 1 of the FEOTM Reboot!

TUTORIAL: STABLE DIFFUSION IMAGES FOR COLOR GRADING

krausfadr

Well-known member
Donor
Faneditor
Messages
695
Reaction score
1,042
Trophy Points
118
I tested using Stable Diffusion to generate still images for color grading reference, and it works well. Below is a tutorial with screenshots and links:

This process uses:

1. Stable Diffusion A1111 (A self contained version of Stable Diffusion for a Windows PC). Much more powerful than using the online version.

2. Davinci Resolve - for the "SHOT MATCH TO THIS CLIP" function in the color grading panel. You can use a still image (from Stable Diffusion) as a clip in Resolve.

To install and use Stable Diffusion A1111, your PC should run Windows 10 or higher with a discrete Nvidia video card (GPU) with 4 GB VRAM or more. I've heard it can be installed onto a Macbook too, but I don't have experience trying that.
A very nice person made an automated installer for A1111 (if the installer freezes, just start it again and it will probably finish).

The online version of Stable Diffusion v1 is a viable alternative if you don't want to install A1111: https://huggingface.co/spaces/stabilityai/stable-diffusion-1
Note: you will not be able to generate content from a picture, only text. The latest online Stable Diffusion v2.1 is not recommended for generating artistic content, i.e., with artist styles or retro styles.

Here is a great beginners guide for using Stable Diffusion A1111 Web UI:

This is how I color graded a clip from T2 using Stable Diffusion content:

First, I needed a screenshot of the T2 clip to load into A1111. I removed the teal from the clip using Resolve's color warper in the color grading panel. Teal removed to avoid Stable Diffusion incorporating the teal look.

Resolve color warper tutorial:

A1111 can use different model files to generate images. I did not use the basic Stable Diffusion 1.5 model, instead I used realisticVision v1.3. You can use any model you want. See the A1111 guide above for installing additional models.

Here's the clip (teal removed) I loaded into the img2img panel of A1111 on the left and the generated output of a "retro" look on the right:

full


The img2img panel of A1111 lets you use a picture as a base to make a new picture, keeping it very similar or radically changing it. You can use text to tweak the output. In the lower right of the screenshot you can see all the parameters I used to generate the output, even including the image dimensions. It doesn't matter if the output looks a little weird or has completely different looking people as long as the coloring and picture has a retro look.

I added the following prompt in to give the base image on the left the vintage look I wanted:
dark, night, blue, scene from The Terminator 1984, photorealistic movie screenshot, (1985 movie aesthetics:1.5), shot on Eastman 250T 5293 film using Arriflex 35 III Camera

And I used the following negative prompt (stuff I didn't want in the output):
duplication, fake, cartoon, digital painting, text

I imported the Stable Diffusion output image to my timeline and matched an original shot below (without any teal removal) to the Stable Diffusion output images.

Shot match tutorial:

Here's the before and after (I tweaked the contrast and coloring a bit after matching the shot):

full

full


So there you have it: Stable Diffusion can be used to generate retro style images which in turn then can be used for grading in Resolve.

: )
 
Last edited:
The images I uploaded disappeared in the main post above. And when I re-uploaded them to my gallery they are now pending moderation. It looks like new images are being approved by mods now. So I'll wait for that to cycle through and then correct the post.
 
The images I uploaded disappeared in the main post above. And when I re-uploaded them to my gallery they are now pending moderation. It looks like new images are being approved by mods now. So I'll wait for that to cycle through and then correct the post.
As shared here the gallery is only for IFDb posters. Any other images will need to be hosted via third parties and embedded using the embed tool.
 
Thank you for taking the time to post this tutorial, @krausfadr! Thanks for always going out of your way to help others on their learning curves.
 
Back
Top Bottom