Creating ultra-realistic AI-generated images has never been easier, thanks to node like DeepSeek AI, ComfyUI, and Flux. In this article, I’ll walk you through my workflow for generating stunning, high-quality images with precision hand and face fixes, upscaling, and more. Whether you’re a beginner or an experienced creator, this guide will help you get the most out of these powerful tools.
Here is the Link of Node I created: https://github.com/comfyuiblog/deepseek_prompt_generator_comfyui
What This Workflow Can Do
With this workflow, you can:
- Generate any image using the Flux Model.
- Enhance your prompts using the Deepseek Prompt Generator.
- Add custom LoRAs (like the Ultra Real Photo LoRA) to achieve specific styles or effects.
- Upscale your images using models like 4xNMKD Super Scale or any other upscaler of your choice.
- Improve facial and hand details using specialized nodes for enhanced realism.
Step-by-Step Workflow
1. Setting Up DeepSeek AI
To get started, I use DeepSeek AI for prompt generation. You can run it in two ways:
- Via API: Generate an API key from the DeepSeek website and add it to your project’s
config.env
file. - Locally with Ollama: Download Ollama, install the DeepSeek-R1 model (I recommend the 14B version for better results), and run it using the command:
ollama run deepseek-r1:14b
2. Installing the ComfyUI Custom Node
Next, I install the custom node for DeepSeek in ComfyUI:
- Navigate to the
custom_nodes
folder in ComfyUI. - Clone the repository:
git clone https://github.com/comfyuiblog/deepseek_prompt_generator_comfyui.git
- Install dependencies by running:
pip install -r requirements.txt
3. Downloading the Model Checkpoint
For image generation, I use the Flux model. Download the v1-5-pruned-emaonly.ckpt
file and save it in the models/checkpoints
folder of ComfyUI.
4. Loading the Workflow
I import the workflow file into ComfyUI, which includes nodes for:
- DeepSeek Prompt Generator
- Flux Model for image generation
- Ultra Real Photo LoRA for hyper-realistic details
- 4xNMKD Super Scale for upscaling
- Specialized nodes for hand and face fixes
How I Use the DeepSeek Prompt Generator
The DeepSeek Prompt Generator is a game-changer. Here’s how I use it:
- Input a basic idea, like:
“A realistic woman in a café with blue eyes, New York location, cinematic lighting.” - DeepSeek transforms it into a detailed prompt:
“A highly detailed depiction of a beautiful woman with striking blue eyes, sitting in a cozy New York café, surrounded by soft natural light, wearing elegant attire, with cinematic lighting that adds drama and depth.” - If I want to tweak the prompt, I copy it into the Write Your Prompt node and make adjustments.
Enhancing Images with Flux and LoRAs
The Flux model is my go-to for generating ultra-realistic images. Here’s how I enhance them:
- Ultra Real Photo LoRA: Adds hyper-realistic details to faces and textures.
- 4xNMKD Super Scale: Upscales images for higher resolution without losing quality.
- Hand and Face Fix Nodes: Ensure hands and facial features look natural and detailed.
LORA LINK:- https://huggingface.co/identityailabs-com/ultra-realistic-lora/tree/main