DP Prompt Styler
Build a cinematic prompt from dropdowns
- Modified Prompt
Type your subject once, then dress it with dropdowns. This node takes your core idea and layers on the cinematography vocabulary that's tedious to remember - depth of field, camera angle, color theme, lighting, time of day, mood, film-camera model - and glues it all into one finished prompt string. It's the difference between writing "portrait of a woman" and getting "portrait of a woman, shallow depth of field, low angle shot, warm autumn earth tones, golden hour, captured on a Canon EOS R5" without touching the keyboard nine times.
It's the flagship text node in DesertPixelAi's Desert Pixel pack, and it's the one to reach for when you want consistent, photographic-sounding prompts across a series.
How it works
You put your idea in Main_Prompt, and then set up to nine style categories, each a dropdown: DepthStyle, cameraAngles, colorTheme, FaceMood, timeOfDay, atmosphere, lighting, filter_effect, and CameraType. Every category has dozens of options and two special entries at the top - none (skip this category) and randomize (roll this one category each run). The node assembles your main prompt plus the chosen phrases into a single Modified Prompt output.
The mode switch sits over the top:
Styler_ON- apply the categories as you've set them.ByPass_All- pass your prompt straight through untouched, no styling. A clean on/off without unplugging anything.Randomize_All- roll every category at once. Slot-machine cinematography.
The optional text slots - pre_text, pre_text_B, extra_text, extra_text_B - let you inject your own fragments before and after, so you're not limited to the presets.
The inputs and outputs that matter
Main_Prompt (your subject), mode (on / bypass / randomize), and whichever of the nine category dropdowns you care about - leave the rest on none. The single output, Modified Prompt (STRING), goes into your positive CLIP Text Encode.
The habit that pays off: set the categories that define your series (say, lighting and colorTheme) to fixed values, and set one or two others to randomize for controlled variety. You get a coherent look with just enough movement.
How to install it
ComfyUI Manager: search Desert Pixel, install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes
Restart ComfyUI. No downloads. Under the DP category.
Common issues & troubleshooting
The prompt got long and the subject drifted. Stacking nine categories piles on tokens, and past a point the model starts ignoring the tail. Use fewer categories, or lean on pre_text/extra_text to keep your subject words prominent rather than buried behind style phrases.
Styling seems to do nothing. Check mode - if it's on ByPass_All, every category is ignored by design. Switch to Styler_ON.
It changes every run and you can't compare. A category set to randomize, or mode on Randomize_All, re-rolls each queue. Pin the categories to fixed values when you're tuning other settings.
A style term fights your checkpoint. Photographic terms like "captured on a Leica" push hard toward realism; on a stylized/anime model they can muddy things. Drop CameraType and filter_effect on non-photo models and keep the categories that suit the style.
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | 3 options: Styler_ON, ByPass_All, Randomize_All | |
| DepthStyle | COMBO | 44 options: none, randomize, Infinite depth of field, Ultra deep depth of field, Deep depth of field, Medium depth of field, +38 | |
| cameraAngles | COMBO | 44 options: none, randomize, Low angle shot, High angle shot, Eye level shot, Dutch angle shot, +38 | |
| colorTheme | COMBO | 52 options: none, randomize, vibrant neon cyberpunk colors, pastel watercolor tones color theme, dark gothic monochrome color theme, warm autumn earth tones color theme, +46 | |
| FaceMood | COMBO | 62 options: none, randomize, joyful face expression, happy face expression, excited face expression, proud face expression, +56 | |
| timeOfDay | COMBO | 32 options: none, randomize, early dawn time, sunrise time, early morning time, morning golden hour time, +26 | |
| atmosphere | COMBO | 62 options: none, randomize, Joyful atmosphere, Melancholic atmosphere, Peaceful atmosphere, Tense atmosphere, +56 | |
| lighting | COMBO | 67 options: none, randomize, Ambient lighting, Artificial lighting, Backlit lighting, Diffused lighting, +61 | |
| filter_effect | COMBO | 53 options: none, randomize, BlackAndWhite filter, Contrast filter, Cool filter, HDR filter, +47 | |
| CameraType | COMBO | 22 options: none, randomize, captured on a Canon EOS R5, captured on a Canon EOS RP, captured on a Canon EOS Rebel T8i, captured on a Canon EOS-1D X Mark III, +16 | |
| pre_textopt | STRING | — | |
| pre_text_Bopt | STRING | — | |
| Main_Promptopt | STRING | — | |
| extra_textopt | STRING | — | |
| extra_text_Bopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Modified Prompt | STRING | — |