Z‑Image Prompt Formula: A 60‑Second Guide
Source: Dev.to
Prompt Formula Overview
Use the 6‑part structure below to make prompts repeatable:
Subject + Scene + Composition + Lighting + Style + Constraints
(Full guide: [Z‑Image Prompt Formula] – [Try generator] – [Intro: What is Z‑Image?])
Why a Formula?
Unstructured prompts give the model too much freedom, leading to watermarks, stray text, anatomy errors, etc.
The 6‑part formula reduces ambiguity by:
- Anchoring the subject – tells the model exactly what to draw.
- Reserving space for text – defines where whitespace should appear.
- Enforcing hard rules – prevents unwanted artifacts.
Practical 6‑Part Checklist (one line each)
| Part | What to include |
|---|---|
| Subject | Object / person + key attributes |
| Scene | Minimal context (location, mood, 1‑2 props max) |
| Composition | Camera, frame, aspect ratio, whitespace for text |
| Lighting | Key direction + softness + rim/fill |
| Style | Single art direction (photoreal, editorial, minimal, etc.) |
| Constraints | Exact text, no logos, no watermark, anatomy rules |
(Full breakdown, extra examples & downloadable templates: Z‑Image Prompt Formula)
Example 1 – Portrait with Bilingual Text
1. Subject
A hyper‑detailed close‑up portrait of a young red‑haired woman with fair, freckled skin; loose curls pinned back by glossy black enamel clips.
2. Scene
Her face half‑veiled by overlapping cherry‑blossom branches; petals brush her temple and cast delicate, fluttering shadows over her eyes. Pollen dust sparkles on the petals.
3. Composition
Portrait in a 3:4 vertical frame, extreme close‑up / head‑and‑shoulders, shallow DOF. Subject centered, blossoms framing the face. Nikon Z8 with 105 mm macro lens look; 8K detail.
4. Lighting
Ethereal back‑lighting with soft god‑rays filtering through pink blooms; subtle fill to keep facial detail and a gentle rim to separate hair from background.
5. Style
Intricate photoreal rendering – fine eyelash strands, faint capillaries on eyelids, satin lip‑balm highlight, micro‑skin texture, pastel bokeh background with filmic grain.
6. Constraints
- No logos, no text overlays, no extra props.
- Keep focus on face and blossoms; preserve natural freckles and skin texture.
- Avoid heavy retouching or oversmoothing.
Why it works
- Micro‑detail focus – “macro lens + 8K” pushes the model toward high‑frequency detail (lashes, capillaries, pollen).
- Foreground framing – blossoms partially veil the face, adding depth and guiding the eye to the eyes.
- Controlled lighting – back‑light with soft fill preserves translucency in petals and subtle skin highlights.
3 Tweaks
- Increase aperture emphasis (shallower DOF) → push background further into pastel bokeh.
- Warm the fill light (+1–2 on warmth) → enhance freckled skin tones without breaking the pastel mood.
- Add a faint specular catch‑light in the eye → increase life and depth.
Example 2 – Website Hero Image (z‑image.win)
1. Subject
Hero image for z‑image.win featuring a top‑left Z‑Image logo (simple “Z” mark + wordmark), left‑side headline “Your Fast Path to Better Images.”, sub‑headline “Generate posters, ads, and hero visuals with precise layout.”, and CTA button “Try z‑image.win.”
2. Scene
Smooth light‑gray gradient background; clean, minimal studio‑like environment with subtle grain. Right half: bento grid of 5 rounded cards with generic UI icons and tiny preview thumbnails (no brands).
3. Composition
16:9 hero layout.
- Left half reserved for logo, headline, sub‑headline, CTA with generous negative space.
- Right half contains a balanced bento grid (2 columns × 3 rows, one cell empty) of rounded cards aligned to a grid.
- Clear margins for responsive cropping.
4. Lighting
Even soft ambient light with a gentle directional key to create soft shadows under the cards; subtle vignette to focus attention on the left headline zone.
5. Style
Modern, minimal UI‑forward look: crisp typography, consistent spacing, high readability, soft shadows, subtle reflections on cards, photoreal UI thumbnails. Neutral palette with a single accent color for the CTA.
6. Constraints
- No watermarks, no extra logos/branding except the specified top‑left logo.
- No on‑image text beyond headline, sub‑headline, CTA.
- CTA text exactly “Try z‑image.win”.
- Maintain readable font sizes for mobile crop.
Why it works
- Clear left‑right separation instantly communicates value (headline + CTA) vs. product capability (grid previews).
- Bento grid shows use‑cases at a glance while the left‑side CTA provides a direct conversion path.
- Neutral background + soft shadows keep visual hierarchy legible across crops and devices.
3 Tweaks
- Swap CTA accent color to a high‑contrast hue (e.g., primary orange) → increase click‑through visual weight.
- Reduce card count to 4 for mobile‑first variants → keep thumbnails legible.
- Increase spacing between headline and sub‑headline → improve mobile readability.
Example 3 – Modern Tech Founder Portrait
1. Subject
Modern tech founder portrait – 29‑year‑old American man with light‑tan skin, medium‑length wavy hair, light stubble, friendly confident expression; wearing a hoodie under a blazer.
2. Scene
Minimal bright studio with a clean seamless backdrop; no clutter or props to distract from the subject.
3. Composition
3:4 portrait (chest‑up to 3/4 body), centered, eye‑level framing. 85 mm lens look with shallow DOF: subject sharply in focus, background softly blurred.
4. Lighting
Clean studio key light with gentle fill and soft shadows; subtle rim/edge light to separate hair and shoulders from background.
5. Style
Contemporary color grading, ultra‑realistic photoreal rendering – fine hair detail, natural skin texture, realistic eyelashes and pores.
6. Constraints
- No logos, watermarks, extra props, or on‑image text.
- Preserve accurate anatomy (5 fingers per hand, no extra limbs).
- Avoid unrealistic exaggerations.
Why it works
- Focused subject with clear attire hierarchy (hoodie + blazer) conveys a tech‑savvy yet approachable vibe.
- Studio lighting provides even illumination while rim light adds depth.
- Shallow DOF isolates the founder, making the portrait suitable for LinkedIn or pitch decks.
3 Tweaks
- Slightly increase fill light intensity (+0.5 EV) → soften shadows for a friendlier look.
- Add a faint cool tint to the background (‑2 K) → make the subject pop without altering skin tones.
- Introduce a subtle reflective surface under the feet → add a professional studio feel.
Quick‑Copy Prompt Template
Subject:
Scene:
Composition:
Lighting:
Style:
Constraints:
Copy, paste, and tweak the values for each new image you need. Happy prompting!
Why It Works
- Focused subject – A single, clearly described subject (age, ethnicity, clothing, expression) reduces ambiguity and yields more consistent facial and wardrobe rendering.
- Commercial composition – Chest‑up framing with an 85 mm look and shallow DOF emphasizes facial features while preserving professional head‑shot proportions.
- Controlled lighting & style – Clean studio key + subtle rim ensures accurate skin tones and separation from background; contemporary grading keeps results natural and modern.
3 Tweaks
- Rim light – Increase intensity to emphasize the jawline and separate hair from the background for stronger profile definition.
- Composition – Tighten to a 1:1 crop (head‑shot) for a more intimate LinkedIn‑style portrait.
- Color grade – Add a slight warm tone (≈ +2 – +4 on warmth) to improve skin warmth for light‑tan tones.
Tip: Change only one block at a time (Subject / Composition / Constraints / Lighting). This isolates the effect of each tweak.
Prompt‑Management Tips
-
Seed reproducibility – Use a fixed seed (e.g.,
12345). Run 3 seeds, then pick the best result. -
Macro portraits (e.g., cherry blossoms) – Add explicit lens/detail instructions:
"105mm macro lens, 8K detail, shallow DOF"Tweak aperture/DOF rather than multiple blocks.
-
Website hero layouts – Lock left/right zones (e.g., “left 40 % reserved for headline”), test CTA color/contrast, and simulate mobile crops by reducing canvas width to check headline legibility.
-
Thumbnails / headshots – Prioritize text legibility:
"headline occupies top 20 %, large bold sans‑serif"Test at thumbnail size.
Clean‑Up Constraints
-
Quote exact strings and include:
no random letters, no extra text, no watermark -
Example:
EXACT headline "NEW: 2026"orChinese headline '标题' + English subtitle 'Subtitle'. -
Reduce clutter:
- “clean studio background, no props”
- “max 1 prop”
- If background is still noisy, force: “solid color background” or “soft gradient only”.
Grid / Card Layouts (Website Hero)
- Reduce card count for mobile (e.g., 4 → 3).
- Increase inter‑card spacing.
- Specify “responsive‑safe margins” to avoid cropping issues.
Color / Skin‑Tone Adjustments
- If tones look off, tweak lighting temperature:
+1 – +2 warmth. - Or specify: “soft fill + subtle rim” for balanced highlights.
Quick Recovery Recipe
- Unwanted elements – Re‑run with the same seed and add stricter constraints (e.g., “ONLY the listed elements”).
- Persistent artifacts – Slightly change the seed and re‑run.
Common Problems & Fixes
| Problem | Fix |
|---|---|
| Random letters in image | Add explicit typography lock + “no random letters” constraint |
| Text too small | “headline occupies top 20 % and is large bold sans‑serif” |
| Cluttered background | “clean studio background, no props” |
Workflow Summary
- Try 3 seeds for the same prompt; pick the best and iterate.
- Test two compositions – centered vs. split layout.
- Swap only Style (photoreal vs. editorial) to measure visual impact.
Resources
- Full tutorial, extra examples, and a library of ready‑to‑run templates: Z‑Image Prompt Formula
- Try Z‑Image Generator
Suggested dev.to tags: prompt-engineering, ai, generative-ai, design, z-image
Need a Ready‑to‑Run Prompt Transformed?
Reply with the desired format (tweet thread, LinkedIn carousel, step‑by‑step YouTube script) and I’ll draft it for you.