Prompt Detail Density
Add detail to a prompt one layer at a time and watch a plain shape turn into a full scene.
AI prompt
Four-step illustration of prompt detail: a single matte clay vase in the centre of each frame, first on a blank grey background, then with a visible terracotta clay texture, then standing on a wooden table in front of a window, then lit by warm low sun with long soft shadows and a few dried flowers, same camera angle in all four frames, flat clean style, labelled 1 to 4. Negative: different vases, changing camera angle, text errors, clutter. Reduced motion: static comparison.About this pattern
Definition
A short prompt leaves the model to guess everything; each added layer fixes one more decision. Subject, then material, then setting, then light and mood. Past a certain point more words stop helping and start to conflict.
When to use it
- Layer 1 is the subject, layer 2 its material or colour, layer 3 where it sits, layer 4 the light and mood.
- Every layer should answer a question the previous prompt left open.
- Stop when the image matches; do not add words that repeat an earlier layer.
What the controls do
- Four layers on a Detail slider, with the prompt text growing beside the picture.
Motion & timing
- New layers fade in over 300ms.
- Reduced motion: they appear instantly.
Tips & variations
- Keep the order consistent: subject first, style last.
- Do not mix contradictory lights or materials in one prompt.
Code of this live preview
<div class="bx"><div class="sc" id="sc"><div class="wn"></div><div class="tb"></div><div class="sh"></div><div class="vs"></div><div class="fl"></div></div><label class="rw">Detail <b id="dv">1 of 4</b><input id="dt" type="range" min="1" max="4" value="1"></label><p class="out" id="out" aria-live="polite"></p></div>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sc{height:118px;border-radius:12px;position:relative;overflow:hidden;background:#d9d9d6}
.sc>div{position:absolute;transition:opacity .3s}.wn{left:12%;top:10%;width:30%;height:50%;background:linear-gradient(#ffe6b8,#f7b878);border:5px solid #f4efe6;border-radius:4px;opacity:0}
.tb{left:0;right:0;bottom:0;height:34%;background:repeating-linear-gradient(90deg,#b98a5a 0 18px,#a87b4d 18px 20px);opacity:0}
.sh{left:46%;bottom:15%;width:70px;height:12px;border-radius:50%;background:rgba(60,35,10,.45);filter:blur(3px);transform:skewX(-35deg);opacity:0}
.vs{left:48%;bottom:30%;width:34px;height:56px;border-radius:40% 40% 30% 30%/30% 30% 50% 50%;background:#9aa0a6;transition:background .3s,opacity .3s}
.fl{left:56%;bottom:52%;width:3px;height:30px;background:#6b7a3a;opacity:0;box-shadow:8px 4px 0 #6b7a3a,-7px 6px 0 #6b7a3a}
.sc.l2 .vs{background:linear-gradient(90deg,#c4623a,#e08a5a 55%,#a64a28)}.sc.l3 .wn,.sc.l3 .tb,.sc.l4 .wn,.sc.l4 .tb{opacity:1}.sc.l3{background:#e9e4da}.sc.l4{background:#f3dcc0}.sc.l4 .sh,.sc.l4 .fl{opacity:1}
.sc.l1 .vs{box-shadow:none}.sc.l3 .vs,.sc.l4 .vs{background:linear-gradient(90deg,#c4623a,#e08a5a 55%,#a64a28)}
@media (prefers-reduced-motion:reduce){.sc>div{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const P=['a vase','a terracotta clay vase','a terracotta clay vase on a wooden table in front of a window','a terracotta clay vase on a wooden table in front of a window, warm low sun, long soft shadows, dried flowers'],sc=document.getElementById('sc'),dt=document.getElementById('dt'),out=document.getElementById('out');
function up(){const l=+dt.value;sc.className='sc l'+l;if(l<2)sc.className='sc l1';out.innerHTML='<b>Prompt:</b> '+P[l-1];document.getElementById('dv').textContent=l+' of 4';}
dt.addEventListener('input',up);up();One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Prompt Detail Density — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sc{height:118px;border-radius:12px;position:relative;overflow:hidden;background:#d9d9d6}
.sc>div{position:absolute;transition:opacity .3s}.wn{left:12%;top:10%;width:30%;height:50%;background:linear-gradient(#ffe6b8,#f7b878);border:5px solid #f4efe6;border-radius:4px;opacity:0}
.tb{left:0;right:0;bottom:0;height:34%;background:repeating-linear-gradient(90deg,#b98a5a 0 18px,#a87b4d 18px 20px);opacity:0}
.sh{left:46%;bottom:15%;width:70px;height:12px;border-radius:50%;background:rgba(60,35,10,.45);filter:blur(3px);transform:skewX(-35deg);opacity:0}
.vs{left:48%;bottom:30%;width:34px;height:56px;border-radius:40% 40% 30% 30%/30% 30% 50% 50%;background:#9aa0a6;transition:background .3s,opacity .3s}
.fl{left:56%;bottom:52%;width:3px;height:30px;background:#6b7a3a;opacity:0;box-shadow:8px 4px 0 #6b7a3a,-7px 6px 0 #6b7a3a}
.sc.l2 .vs{background:linear-gradient(90deg,#c4623a,#e08a5a 55%,#a64a28)}.sc.l3 .wn,.sc.l3 .tb,.sc.l4 .wn,.sc.l4 .tb{opacity:1}.sc.l3{background:#e9e4da}.sc.l4{background:#f3dcc0}.sc.l4 .sh,.sc.l4 .fl{opacity:1}
.sc.l1 .vs{box-shadow:none}.sc.l3 .vs,.sc.l4 .vs{background:linear-gradient(90deg,#c4623a,#e08a5a 55%,#a64a28)}
@media (prefers-reduced-motion:reduce){.sc>div{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="sc" id="sc"><div class="wn"></div><div class="tb"></div><div class="sh"></div><div class="vs"></div><div class="fl"></div></div><label class="rw">Detail <b id="dv">1 of 4</b><input id="dt" type="range" min="1" max="4" value="1"></label><p class="out" id="out" aria-live="polite"></p></div>
</div>
<script>
const P=['a vase','a terracotta clay vase','a terracotta clay vase on a wooden table in front of a window','a terracotta clay vase on a wooden table in front of a window, warm low sun, long soft shadows, dried flowers'],sc=document.getElementById('sc'),dt=document.getElementById('dt'),out=document.getElementById('out');
function up(){const l=+dt.value;sc.className='sc l'+l;if(l<2)sc.className='sc l1';out.innerHTML='<b>Prompt:</b> '+P[l-1];document.getElementById('dv').textContent=l+' of 4';}
dt.addEventListener('input',up);up();
</script>
</body></html>