[AI Technique] Existing Image -> Flux -> HighRes
Posted: Sun Apr 27, 2025 11:09 am
This procedure explains how to generate highres Flux images starting from an already existing image, ie. a 3D image, or a movie still. Flux will take the composition and the color scheme from your image as additional input. The color scheme transfer is why for lineart, you need to transfer the image via (Canny) controlnet instead, otherwise the resulting image will be heavily influence by the predominantly white color of the lineart drawing.
The hardest part is installing ComfyUI. First copy the workflow file, below, onto your local machine, then drag and drop it on top of a pre-opened ComfyUI window. You may be prompted to install missing custom nodes (hit yes). If some nodes are still unrecognized, go to the ComfyUI Manager Menu and press Install Missing Custom Nodes.
I use an RTX 4060 Ti with 16GB of VRAM (= memory on the graphics card), with 32GB of system memory. Not bad, not too fancy either. Flux requires a lot of VRAM. This workflow will work on lower spec machines, to a certain point; in cases of insufficient VRAM, ComfyUI will try to load part of the model in system memory. This works but image generation will be slower. If a PC doesn't have enough VRAM and it doesn't have enough system memory either, ComfyUI will throw an insufficient memory error.
I used a slightly edited version of the movie still Jarpi posted in his thread as a base, staying with the Deathstalker theme.
Workflow file: https://filebin.net/kp764j8usmvq0y7c
Result (input, output):
The hardest part is installing ComfyUI. First copy the workflow file, below, onto your local machine, then drag and drop it on top of a pre-opened ComfyUI window. You may be prompted to install missing custom nodes (hit yes). If some nodes are still unrecognized, go to the ComfyUI Manager Menu and press Install Missing Custom Nodes.
I use an RTX 4060 Ti with 16GB of VRAM (= memory on the graphics card), with 32GB of system memory. Not bad, not too fancy either. Flux requires a lot of VRAM. This workflow will work on lower spec machines, to a certain point; in cases of insufficient VRAM, ComfyUI will try to load part of the model in system memory. This works but image generation will be slower. If a PC doesn't have enough VRAM and it doesn't have enough system memory either, ComfyUI will throw an insufficient memory error.
I used a slightly edited version of the movie still Jarpi posted in his thread as a base, staying with the Deathstalker theme.
Workflow file: https://filebin.net/kp764j8usmvq0y7c
Result (input, output):