Flux Lifestyle Prompt Node
The Grok-Powered Lifestyle Photo Prompt Machine
- enhanced_prompt
You know the genre. "Lifestyle photography" - the clean, soft, magazine-quality shot of a person in a real place, doing a normal thing, lit like a commercial. It's a popular look on Flux, and it has a very specific prompt shape: location, model description, expression, pose, angle, placement, lighting, color palette, styling, all in balanced detail. Writing that out every time is a chore. The Flux Lifestyle Prompt Node hands the chore to Grok.
It's part of babydjacNODES, the personal utility pack by the solo dev babydjac. It's one of the simpler nodes in the pack: one prompt in, one enhanced prompt out, no knobs beyond an API key. If you generate a lot of lifestyle/editorial images on Flux, this saves you the blank-page problem every time.
How it works
You feed it a rough prompt and an xAI API key. It sends a system instruction to grok-3-latest that spells out exactly what a Flux/FAL lifestyle prompt needs - location, model overview, expression, pose, angle, placement, lighting, color palette, styling, with "equal detail" - and asks for only the prompt text back, no labels, no explanations. The returned string is your positive prompt, ready to drop into CLIPTextEncodeFlux.
Note the target: the system prompt says "optimized for Flux Pro and Flux Pro 1.1," the API-hosted Flux variants. It still works fine as a plain text enhancer for local Flux Dev - a good prompt is a good prompt - but that's the intended audience.
The inputs that matter
There are exactly two, and they're both required:
- prompt - your raw idea. "A woman reading a book in a sunlit café" is enough.
- api_key - a Grok/xAI key from console.x.ai. No env-var fallback here; leave it empty and you get a string back that says exactly that.
Output is a single STRING, enhanced_prompt, and the node is marked as an output node - it's built to be the end of a prompt line, wired into your Flux text encoder.
Install
ComfyUI Manager → search babydjacNODES, or:
cd ComfyUI/custom_nodes
git clone https://github.com/babydjac/babydjacNODES
Restart ComfyUI. No browser hard-refresh strictly needed for this one (no custom JS), but do it anyway to be safe. No extra pip deps.
Things to know before you rely on it
- It costs money per call. Every queue run is a fresh Grok API call, and you're billed per token. Batching 20 lifestyle prompts = 20 paid calls. The pack's author is fine with this; just know it going in.
- It can over-write. A good enhancer adds detail you asked for; Grok sometimes adds detail you didn't. Glance at the output before sampling, especially if the idea was already specific.
- The community is lukewarm on the pack. The r/comfyui announcement thread got a top comment calling it "arrogant," and honestly the pack is one person's opinionated take on how prompts should work. That doesn't make the node bad - it makes it opinionated. Judge it by its output.
For the "I want a good lifestyle shot and don't want to write the paragraph" workflow, this is the pack's most focused single-output tool. It does one thing and does it cleanly.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| api_key | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| enhanced_prompt | STRING | — |