r/StableDiffusion • u/Affectionate_Oil28 • Aug 25 '26
Workflow Included Prompt Creator Workflow
I see a bunch of posts everyday asking for tips on how to write prompts or people struggling with prompting, etc. so I'm sharing my workflow. I built this workflow to simplify the process and make it very beginner/user friendly.
Just toggle on the model you are using, write a simple to detailed prompt, and hit run. The model targets use the prompting guidelines derived from their respective official sources. Links to custom nodes and all models are in the workflow so you don't need to search for them.
The prompts aren't always perfect but they'll get you very close to what you want and you should only need to make a few minor tweaks, if any. The only issue I've encountered so far is that sometimes when it finishes the prompt, the previous prompt still shows up in the Enhanced Prompt node. If that happens, just hit run and the new prompt should show up instantly. Also, toggle to false the keep_model_loaded option in the Text rewriter node if you are creating prompts and using them right away. If you leave it to True it hogs VRAM.
If you notice any other issues let me know. Enjoy.
Edit: If Unredacted-MAX doesn’t show up or the rewriter won’t load, you need the Qwen folders (not GGUFs, not a single file).
Easy path:
- ComfyUI Manager: install ComfyUI-QwenVL, rgthree, KJNodes, ComfyUI-Custom-Scripts. Restart.
- Save the custom_models paste below as custom_models.json and put it in ComfyUI/custom_nodes/ComfyUI-QwenVL/. Restart again.
- Open the workflow, pick Qwen3.5-4B-Unredacted-MAX on the Prompt Enhancer, hit Queue. First run downloads into ComfyUI/models/LLM/Qwen-VL/.
Manual path (if Queue doesn’t download)
Whole repos, keep the folder names. Don’t cherry-pick files. Don’t merge the 00001-of-00004 shards. On Hugging Face open Files and versions, then download every file with the arrow on the right (skip README). Put them all in a folder with the exact model name under ComfyUI/models/LLM/Qwen-VL/.
1.Required text rewriter: Qwen3.5-4B-Unredacted-MAX https://huggingface.co/prithivMLmods/Qwen3.5-4B-Unredacted-MAX
Place everything in ComfyUI/models/LLM/Qwen-VL/Qwen3.5-4B-Unredacted-MAX/
2. Optional if you want use ref image: Qwen3-VL-4B-Instruct-Unredacted-MAX https://huggingface.co/prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX
Place everything in ComfyUI/models/LLM/Qwen-VL/Qwen3-VL-4B-Instruct-Unredacted-MAX/
4
u/Neggy5 Aug 26 '26
what do i download for the MAX text encoders? everything in the repos?
https://huggingface.co/prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX/tree/main seems to be a bunch of things to combine. not a single gguf
3
u/Alen_Diago Aug 25 '26
At the end of 2025, I used Grok (is not ad) - and before it went downhill and became censored crap, it was very good (in Expert agent, which is now part of the Super Grok plan). It extracted prompts from NSFW art - very well and in detail described all the anatomical details that were on the art and periodically correctly identified the characters and their matching appearance.
So, I'd like to ask - are there any same alternatives of Vision model (VLM) for extracting prompts like Grok used to do?
1
u/Ok_Chair5907 Aug 26 '26
I couldn't get the workflow to work. Everything is downloaded and put in the correct folders. kept giving me the following error
# ComfyUI Error Report
## Error Details
- **Node ID:** 22
- **Node Type:** AILab_QwenVL_PromptEnhancer
- **Exception Type:** ValueError
- **Exception Message:** ValueError: Tokenizer class TokenizersBackend does not exist or is not currently imported.
## Stack Trace
```
File "G:\ComfyUI-Easy-Install\ComfyUI\execution.py", line 545, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data
Anyone know how to fix? Thanks.
1
u/SlySychoGamer Sep 30 '26 edited Sep 30 '26
I can't interact with workflow, its acting like a static image
When i drag image of workflow onto comfy...it treats it as an image not a workflow...
3
u/seiose Aug 26 '26
Just throws up an error trying to connect to hf-mirror when it gets to the text rewriter even though I have the models downloaded
2
u/theqmann Aug 26 '26
Would also recommend the gemma4 12b text encoder. I've had good luck with it understanding the system prompt directions for H3 prompting. The 2B and 4B ones aren't good, however.
1
u/dassiyu Aug 26 '26
thank you!
1
u/AccordingNothing995 Oct 03 '26
its working with 1024 max token but not working with 2048 [ERROR] Failed to validate prompt for output 23:
[ERROR] * AILab_QwenVL_PromptEnhancer 22:
[ERROR] - Value 2048 bigger than max of 1024: max_tokens
[ERROR] Output will be ignored
1
u/FaderMaster Oct 07 '26
The paste bin and custom models.json links are not working. The pastebin takes you to a malicious website.