Back to blog
How-to·May 31, 2026·6 min

How to prompt GPT Image 2 for UI mockups

Get pixel-clean app screens, dashboards, and onboarding flows out of GPT Image 2 — without the AI mush.

The structure

Every UI mockup prompt for GPT Image 2 has five parts:

  1. Frame — device, aspect ratio, surrounding context
  2. Layout — grid, regions, hierarchy
  3. Components — each block named with its type
  4. Copy — every label in quotes
  5. Finish — color system, type, polish

Working template

Clean iPhone 15 mockup, 9:19.5 portrait, photographed on a soft grey desk surface, subtle shadow. On screen: a mobile app onboarding flow, 4-region vertical layout. Top: small status bar, back arrow left, page indicator "2 / 4" right. Middle: large bold headline "[HEADLINE, 6 WORDS MAX]" set in a humanist sans, near-black. Below in lighter grey: "[SUBHEAD, ONE SENTENCE]". Below headline: simple illustration — flat 2-color line art of [SUBJECT], single accent color. Bottom: primary CTA button labeled "[CTA TEXT]" — full-width, rounded 12px, deep indigo with white text. Below it a small text link "[SECONDARY LINK]". System: 8pt grid, 24px page margins. Palette: off-white background, near-black ink, one deep indigo accent. Pixel-clean, design-quality.

Why each part matters

Frame

Three options work reliably:

  • "iPhone 15 mockup, 9:19.5 portrait" — mobile app screens
  • "Desktop dashboard, 16:10 landscape, MacBook frame" — web apps
  • "Flat screen-only mockup, 9:16 vertical, no device chrome" — embedded in landing pages

Always include the ratio. Without it you get a square that crops wrong on every preview.

Layout

Name the grid. "8pt grid." "12-column layout." "4-region vertical stack." The model respects layout cues more than people expect — it just needs them named.

Components

Use design vocabulary, not vibes:

  • ❌ "a nice button"
  • ✅ "primary CTA button, full-width, rounded 12px"

Words like *navbar*, *sidebar*, *card*, *toggle*, *segmented control*, *toast*, *tab bar* all map cleanly.

Copy

Quote everything. "Sign in", "Get started", "2 / 4". The model renders quoted text far more accurately than paraphrased intent. Keep individual labels under 4 words.

Finish

What separates "AI screenshot" from "designed screen":

  • Named accent color, not "blue"
  • Named font style ("humanist sans," "geometric grotesk")
  • Pixel grid hint ("8pt grid")
  • Soft device shadow, neutral desk surface — sells it as a render

Skip the rewrite

Depikt detects UI intent and applies this structure automatically. Browse UI mockup prompts in the library for proven starting points.

Generate yours

Generate polished prompts in seconds.

Paste a rough idea. Get back a structured prompt that ships.