Auto-installing the nodes doesn't install my fork, which fixes issues with the original GPT prompt node!
This workflow uses Flux + Img2Img + GPT-4o-mini to create and upsample provided prompts. It works incredibly well in my experience.
Optional nodes in top-left for clip merging old loras for experimentation.
The GPT-Interrogator can be found here
The GPT-Interrogator was a modification of the ComfyUI-KepOpenAI node pack, which I've only just made into a fork because the original repo isnt maintained. The only changes made were to nodes.py. Prompt below:
I am going to give you an image as well as some keywords. use both of them to create an elaborate generative image prompt using approximately 256 tokens, with exquisite detail. Use complex and uncommon descriptive words. Favor heavily stylized image descriptors. If needed, weights can be applied to the caption in the following format: '(word or phrase:weight)', where the weight should be a float less than 1.8. Only reply with your proposed text prompt and nothing else. Keywords: <insert keywords here>Description
Ensure you have your OPENAI_API_KEY set as an environment variable.
FAQ
Comments (5)
Silly question, but how do I specify my OpenAI API key for this workflow?
I ended up finding this myself. In Windows you need to set the environment variable for Windows itself and then reboot. I'm still getting an error about the model being deprecated but I at least have something to work with now.
You need a platform subscription and not a chatgpt sub for openai, took way too long for me to figure that out :/
You can replace with Llama 3.1
@diaserikcg114 Any tutorials or workflows out there?

