用这个模板做的 3 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
这是一个为 AI 图像生成器打造的深色电影感落地页,使用 React、Tailwind CSS 和 Motion 构建。首屏直接承担转化任务:玻璃质感的提示词框逐字打出一段示例提示词,Generate 按钮填满进度条,旁边的大图通过一个手写的小型 WebGL 着色器溶解成匹配的画面。五组提示词与图像循环播放,访客可以通过缩略图条在它们之间跳转。首屏下方,页面按照生成式产品的常见顺序展开:产品数据条、三张带小型界面模拟的「工作原理」卡片、功能 Bento 网格、带三种收尾模式的前后对比滑块、瀑布流画廊、按点数计费的定价、FAQ,以及覆盖在模糊结果拼贴图上的注册引导区。
它适合正在推出图像、头像、放大或概念艺术工具的创始人和独立开发者,也适合任何想为按点数计费的创意应用做一个精致页面的人。配色接近纯黑,搭配柔和的米白文字,以及仅用于按钮、焦点环、光标和高亮套餐的紫到珊瑚渐变。画廊卡片悬停时变暗,露出完整提示词、风格标签和复制按钮,风格标签可以重新排列瀑布流,并带有平滑的布局动效。对比滑块支持指针和键盘操作。开启减少动态效果的用户会看到完整提示词、静态图像和手动下一步按钮。
要适配它,请修改品牌、产品描述、目标受众和使用单位的名称;提示词会要求构建者重写每一个标题、套餐和答案以匹配。定价计算已写明(每张草稿、标准图和 HD 图的成本),因此换用自己的数字很快。六张图像共享同一种黄昏光照风格,四张画廊卡片是用 canvas 绘制的抽象艺术。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# AI Image Generator Landing Page
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A one-page, dark, cinematic landing page for [BRAND], [PRODUCT]. The first screen is a working-looking product moment: a glass prompt box types example prompts letter by letter while the large image beside it dissolves into a matching picture through a hand-written WebGL noise-displacement shader. The page then proves the product with a stats strip, a three-step how-it-works with small UI mocks, a feature bento, a draggable before/after slider, a filterable masonry gallery that reveals the prompt behind each image, credit-based pricing, an FAQ and a sign-up band over a blurred collage of results.
- Audience: [AUDIENCE] who want finished images from a sentence without learning a complex tool, and founders or indie developers launching a generative product (image, video, avatar or upscaler apps) who need a believable landing page.
- Goal: Show the product working within two seconds, make the credit pricing easy to understand, and turn visitors into sign-ups through the 'Start free' buttons and the email field in the final CTA band.
- Tone: Calm, confident and concrete. Short sentences, plain verbs, real numbers (render times, pixel sizes, credit costs). No hype words like 'revolutionary', 'unleash' or 'magic'; let the images and the live prompt do the selling.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), motion (motion.dev, import from motion/react) (MIT), lucide-react (ISC), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource-variable/bricolage-grotesque (OFL-1.1), @fontsource-variable/dm-sans (OFL-1.1), @fontsource-variable/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Scaffold with npm create vite@latest using the react-ts template. One page: index.html at the project root with entry src/main.tsx. package.json scripts: dev 'vite', build 'tsc -b && vite build', preview 'vite preview'.
- vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0 }. Images live in public/images/ and are referenced as './images/<file>' so they work under any sub-path. Do not copy src/ into dist/.
- Tailwind 3.4 through PostCSS (tailwindcss + postcss + autoprefixer), content ['./index.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every Design color to theme.extend.colors with kebab-case keys (void, panel, raised, lifted, line, line-strong, text, muted, faint, violet, orchid, coral, mint) and fontFamily display ['Bricolage Grotesque Variable', 'system-ui', 'sans-serif'], sans ['DM Sans Variable', 'system-ui', 'sans-serif'], mono ['JetBrains Mono Variable', 'ui-monospace', 'monospace']; maxWidth { container: '1200px' }; borderRadius { tile: '24px', card: '20px', thumb: '16px' }; backgroundImage { accent: 'linear-gradient(100deg, #8E6CFF 0%, #C86BD8 50%, #FF7A59 100%)' }.
- src/fonts.ts imports the three Fontsource packages; src/main.tsx imports src/fonts.ts and src/index.css. index.css holds the Tailwind layers, body background #0B0B10 and color #F2F0EC, the .glass recipe, the .text-gradient and .border-gradient utilities, the caret 'blink' and 'shimmer' keyframes, and a @media (prefers-reduced-motion: reduce) block that disables CSS animations and transitions longer than 0.01ms.
- File layout: src/content.ts (all copy and data, typed), src/lib/brand.ts (brandSlug, emailDomain, companyName, creditSingular), src/lib/useReducedMotion.ts (matchMedia hook), src/lib/random.ts (mulberry32), src/lib/clipboard.ts, src/hero/morphShader.ts (WebGL setup and GLSL strings), src/hero/useHeroLoop.ts (state machine), src/hero/Hero.tsx, src/hero/PromptBox.tsx, src/hero/ImagePanel.tsx, src/art/drawTiles.ts (the four code-drawn canvases), src/components/ (Header.tsx, MobileMenu.tsx, StatsStrip.tsx, HowItWorks.tsx, Bento.tsx, CompareSlider.tsx, Gallery.tsx, GalleryTile.tsx, Pricing.tsx, BillingToggle.tsx, Faq.tsx, CtaBand.tsx, Footer.tsx, SectionHeader.tsx, Button.tsx, Reveal.tsx), src/App.tsx composing them in page order.
- Morph shader (src/hero/morphShader.ts), plain WebGL1, no libraries: a full-screen quad; uniforms uFrom, uTo (sampler2D), uProgress (0..1), uZoom (1.00..1.04), uRes (canvas px), uFromSize, uToSize (image natural px). Compute cover-fit UVs per texture (scale so the image fills the canvas aspect, centered) and apply uZoom around the center. Noise: 2D value noise with 4-octave fbm. In the fragment shader: n = fbm(uv * 3.0); t = n * 0.75 + (1.0 - uv.y) * 0.25; m = smoothstep(uProgress - 0.1, uProgress + 0.1, t) (1 = still showing uFrom); displace the from-UV by (n - 0.5) * 0.10 * uProgress and the to-UV by (n - 0.5) * 0.10 * (1.0 - uProgress); color = mix(texture(uTo), texture(uFrom), m); add an edge glow where the dissolve front is: glow = (1.0 - smoothstep(0.0, 0.05, abs(t - uProgress))) * step(0.001, uProgress) * step(uProgress, 0.999); color += glow * 0.55 * mix(vec3(0.557, 0.424, 1.0), vec3(1.0, 0.478, 0.349), uv.x). Load the five hero images as textures (UNPACK_FLIP_Y_WEBGL true, CLAMP_TO_EDGE, LINEAR) after all have decoded; size the canvas with a ResizeObserver at devicePixelRatio capped at 2; render only while a transition or the zoom hold is running and the hero is visible. If WebGL is unavailable or a context is lost, fall back to two stacked <img> elements crossfading opacity over 700ms.
- Reveal.tsx wraps sections in Motion whileInView fade-up (opacity 0 -> 1, y 24 -> 0, duration 0.6, ease [0.22, 1, 0.36, 1], viewport once with amount 0.2) and renders children unanimated when reduced motion is on. Wrap the app in MotionConfig reducedMotion='user'.
- index.html: lang en, <meta name='theme-color' content='#0B0B10'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>, <title>[BRAND] — Type a sentence, get the picture</title>. public/favicon.svg is the logo mark (gradient rounded square with the tilted off-white frame).
- Download the six images with the curl commands under Assets into public/images/ before building, and write ASSETS.md at the project root as described under Assets.
- dist/ holds index.html, hashed JS/CSS, the woff2 files, favicon.svg and the six images; it should stay under 5 MB.
## Variables
- [BRAND] — Brand name (default: "Driftframe"). Invented product name. Used in the wordmark, page title, hero subhead, gallery heading, FAQ, footer and the email domain. Never a real AI product, model family or company.
- [PRODUCT] — What the product is (default: "an AI image generator that turns one sentence into a print-ready picture"). One lowercase phrase that completes '[BRAND] is ...'. Drives the hero subhead, step copy, features and FAQ. Any generative visual product fits: avatars, upscaling, concept art, product shots.
- [AUDIENCE] — Who it is for (default: "designers, marketers and indie creators"). Plural noun phrase. Used in the hero subhead and footer line; feature and FAQ examples adapt to it.
- [CREDIT_NAME] — Usage unit (plural) (default: "credits"). The plural word for what users spend per render, e.g. credits, sparks, tokens. Used on the Generate button, pricing headlines, the credit explainer, the CTA and FAQ; the singular drops the trailing s.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/ai-image-generator-landing-page in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.
## Design
### Colors
- void `#0B0B10` — Page background, text on gradient buttons
- panel `#12121A` — Cards, tiles, prompt box base, chips
- raised `#1A1A25` — Inputs, hover fills, checkerboard dark squares
- lifted `#15141F` — Highlighted Creator plan background
- line `#FFFFFF14` — Hairline borders and dividers (white at 8%)
- line-strong `#FFFFFF26` — Glass panel borders, image frames, ghost buttons (white at 15%)
- text `#F2F0EC` — Primary text, light buttons, handle line
- muted `#A3A1AD` — Body copy, nav links, labels
- faint `#6B6977` — Captions, footnotes, mono labels
- violet `#8E6CFF` — Gradient start, glows, cursor light
- orchid `#C86BD8` — Gradient midpoint
- coral `#FF7A59` — Gradient end, section labels, errors, 'Rendering' state
- mint `#5BD6A0` — Success states and paid-plan check icons only
- accent gradient `linear-gradient(100deg, #8E6CFF 0%, #C86BD8 50%, #FF7A59 100%)` — Used sparingly: primary buttons, focus rings, caret, highlighted plan border, gradient text in H1/H2 phrases and key numbers
### Typography
- Display: H1 clamp(40px, 5.4vw, 76px) line-height 1.02 letter-spacing -0.035em weight 650; H2 clamp(34px, 4vw, 54px) line-height 1.06 letter-spacing -0.03em weight 600; card titles 22px weight 600; big numbers: Bricolage Grotesque Variable (OFL), weights 500/600/650/700
- Text: body 16px/1.6, subheads 17-18px, nav 14px, buttons 14-15px weight 600: DM Sans Variable (OFL), weights 400/500/600
- Mono: prompt text, seeds, section labels (12px, letter-spacing 0.14em, uppercase), credit numbers, chips: JetBrains Mono Variable (OFL), weights 400/500/600
### Layout & motion
- Spacing: 8px base. Container max-width 1200px with 24px side padding (20px below 640px). Sections 112px vertical padding on desktop, 80px on mobile. 12-column grid with 20-48px gaps. Section header blocks have 56px space below them. Cards pad 24-32px.
- Radius: Bento tiles, image panel, slider frame and plan cards 24px; step cards and FAQ card 20px; prompt box 20px; gallery tiles 16px; small thumbnails 10px; inputs inside panels 14px; every button, chip, tab and toggle is a full pill (999px).
- Motion: Hero loop: type 30ms/char, hold 450ms, generate 1400ms progress with shimmer, WebGL noise-dissolve morph 1200ms easeInOutCubic, show 2600ms with 1.00 -> 1.04 zoom, erase 12ms/char; pauses off screen and in hidden tabs.
- Motion: Blinking gradient caret (1s steps) in the prompt box.
- Motion: Cursor-following violet glow and gradient border ring on the prompt box; soft white pointer spotlight on bento tiles (hover devices only).
- Motion: Scroll reveals: fade up 24px, 0.6s, ease [0.22, 1, 0.36, 1], once, stagger 0.05-0.1s.
- Motion: Gallery: tiles lift 4px and zoom image to 1.04 on hover, prompt overlay fades in; filter changes reflow with Motion layout springs.
- Motion: Before/after: one-time hint sweep of the handle when first in view; drag with pointer or keyboard.
- Motion: Pricing numbers slide on billing toggle; FAQ answers animate height; CTA collage drifts slowly.
- Motion: prefers-reduced-motion: no typing, shader zoom, shimmer, glow, hint sweep, layout animation or drift; hero shows full prompts with a manual 'Next prompt' button and instant image swaps.
- Imagery: Six generated images in one consistent look: cinematic digital renders with photographic realism, dusk light with deep violet shadows and warm coral highlights, soft haze and glowing practical lights, no people and no text. They appear as hero morph targets, step and bento visuals, the before/after subject, gallery tiles and the blurred CTA collage. Four extra gallery tiles are abstract art drawn in canvas with the same violet/orchid/coral palette. All UI mocks (prompt fields, chips, toggles, export panel, batch table) are built in HTML/CSS. No stock photos, no faces, no logos.
## Pages & Sections
### Home (`index.html`)
1. **Content file and copy rules** — All copy in this prompt is written for the default values ([BRAND] = Driftframe, [PRODUCT] = an AI image generator that turns one sentence into a print-ready picture, [AUDIENCE] = designers, marketers and indie creators, [CREDIT_NAME] = credits). Put every string, number, prompt, gallery item, stat, feature, plan, FAQ answer and footer link in src/content.ts and render from it; components contain no copy. If any variable value differs, rewrite every headline, subhead, step, feature, stat label, plan bullet, FAQ answer and CTA so it is specific and believable for the new product and audience, keeping the same structure, item counts and approximate lengths. The six images never change, so when you rewrite the hero and gallery prompts, each prompt must still describe what its image actually shows (only the framing and vocabulary change). [CREDIT_NAME] is the plural usage unit; use it everywhere the word credits appears (pricing headline numbers, the Generate button cost, the credit explainer, FAQ) and derive the singular by dropping a trailing 's'. Derived values in src/lib/brand.ts: brandSlug = [BRAND] lowercased with every run of non-alphanumeric characters replaced by '-'; emailDomain = brandSlug without hyphens + '.com' (driftframe.com); companyName = [BRAND] + ' Labs, Inc.'. Company facts used in the footer and FAQ: 418 Halden Street, Studio 3, Portland, OR 97209; hello@ + emailDomain; support@ + emailDomain. Every number on the page is an invented product fact for the invented brand; there are no user counts, customer logos or testimonials.
Layout: No visual output. content.ts exports typed objects: brand, nav, hero (pairs), stats, steps, features, compare (tabs), gallery (filters, items), pricing (plans, creditCosts), faq, cta, footer. Section order on the page: Header, Hero, Stats strip, How it works, Feature bento, Before/after, Gallery, Pricing, FAQ, CTA band, Footer.
2. **Header (shared, sticky)** — Left: logo mark + wordmark '[BRAND]' (Bricolage Grotesque 650, 20px, letter-spacing -0.02em). Logo mark: 26px inline SVG, a rounded square (rx 8) filled with the accent gradient (100deg #8E6CFF -> #C86BD8 -> #FF7A59), inside it an off-white (#F2F0EC) 12px-wide rounded rectangle outline (stroke 2) rotated -8deg with a 3px off-white dot at its top-right corner, like a tilted photo frame. Center nav links (DM Sans 500, 14px, #A3A1AD, hover #F2F0EC): How it works (#how), Features (#features), Gallery (#gallery), Pricing (#pricing), FAQ (#faq). Right: text link 'Log in' (href #cta, #A3A1AD) and a gradient pill button 'Start free' (href #cta).
Layout: Fixed top, height 68px, full width; inner container max-width 1200px, padding-x 24px, flex justify-between items-center. Transparent at scroll 0; after 12px of scroll it gets background rgba(11,11,16,0.72), backdrop-filter blur(14px) saturate(140%) and a 1px bottom border #FFFFFF14 (transition 200ms). Below 900px: nav and Log in hide; show 'Start free' (small, height 36px) and a 40px icon button with Lucide Menu that opens a full-width sheet sliding down from under the header (background #12121A, border-bottom #FFFFFF14) listing the five nav links at 18px with 56px row height plus a full-width 'Start free' button; X icon closes it, Escape closes it, tapping a link closes it. All anchors scroll smoothly with a 72px top offset (scroll-margin-top on sections).
Motion: Sheet: Motion height/opacity 220ms ease-out. Header background change is a CSS transition. No motion under prefers-reduced-motion except instant state changes.
3. **Hero: typing prompt box + morphing image** — Eyebrow pill: Lucide Sparkles 14px in coral + 'New: Style lock keeps one look across 40 images' (DM Sans 500, 13px, #F2F0EC on #FFFFFF0D, border #FFFFFF1A, pill, padding 6px 12px). H1 (two lines on desktop): 'Type a sentence.' / 'Get the picture you meant.' where 'the picture you meant' uses gradient text (background-clip text, accent gradient). Subhead (18px, #A3A1AD, max-width 520px): '[BRAND] is an AI image generator that turns one sentence into a print-ready picture, built for designers, marketers and indie creators who need visuals today, not next sprint.' Then the PROMPT BOX (see layout). Under it a row of two buttons: primary gradient pill 'Start free with 50 credits' (Lucide ArrowRight 16px trailing, href #cta) and ghost pill 'Browse the gallery' (Lucide ArrowDown, href #gallery, border #FFFFFF26, text #F2F0EC). Under the buttons, one muted line (13px, #6B6977) with three items separated by middots: 'No card required' · 'Commercial use on paid plans' · 'Exports up to 4096 px'. Prompt/image pairs, in loop order (file | style tag | seed | prompt text): 1) hero-greenhouse.webp | style 'Cinematic' | seed 48213 | prompt "A glass greenhouse on a sea cliff at dusk, fog rolling in, warm lamps glowing inside, wide cinematic shot"; 2) hero-camper.webp | style 'Cinematic' | seed 90577 | prompt "A vintage camper van alone on a salt flat at twilight, string lights, coral horizon, faint star trails"; 3) hero-perfume.webp | style 'Product' | seed 31146 | prompt "Unlabeled ribbed ceramic perfume bottle on wet black stone, coral rim light, low violet mist, studio product shot"; 4) hero-nook.webp | style '3D render' | seed 77402 | prompt "A cozy reading nook with a round window over a rainy neon city at night, soft lamp light, 3D render"; 5) hero-jellyfish.webp | style 'Fantasy' | seed 15889 | prompt "A giant glowing jellyfish drifting above a pine forest at night, bioluminescent trails, dreamy matte painting". Each pair also has a fixed render time label: 6.2s, 5.8s, 4.9s, 7.1s, 6.6s.
Layout: Section min-height 100vh (min 760px), padding-top 132px, padding-bottom 96px. Background: #0B0B10 plus two absolutely positioned blurred glows (a 620px violet #8E6CFF circle at left 8% top 4% and a 520px coral #FF7A59 circle at right 4% bottom 0, both filter blur(140px), opacity 0.18) and a full-section SVG feTurbulence grain overlay at opacity 0.04, pointer-events none. Container 1200px, 12-column grid, gap 48px, items-center: text column col-span-6, image column col-span-6. PROMPT BOX (margin-top 32px, max-width 560px): relative glass panel, background rgba(18,18,26,0.72), backdrop-filter blur(16px), 1px border #FFFFFF26, radius 20px, padding 18px 18px 14px, box-shadow 0 24px 60px -24px rgba(0,0,0,0.7). Top row (flex, gap 8px): mono label 'PROMPT' (JetBrains Mono 500, 11px, letter-spacing 0.12em, #6B6977), then on the right two small chips (mono 11px, #A3A1AD, background #FFFFFF0D, radius 999px, padding 3px 9px): the current style tag and '4:5'. Text area: min-height 84px (3 lines), margin 10px 0 14px, JetBrains Mono 400, 16px, line-height 1.55, color #F2F0EC; the typed text is followed by a caret span 2px wide, 1.15em tall, background accent gradient, blinking with steps(1) at 1s. The text is an aria-live='polite' region that announces each full prompt once it finishes typing (not every letter). Bottom row (flex justify-between, border-top 1px #FFFFFF14, padding-top 12px): left three 32px icon buttons with tooltips (Lucide ImagePlus 'Add reference', RectangleVertical 'Aspect 4:5', Wand2 'Enhance prompt'; #A3A1AD, hover background #FFFFFF0D, radius 10px; they are decorative and do nothing on click); right the Generate button: gradient pill, height 40px, padding 0 16px, Lucide Sparkles 16px + 'Generate' (DM Sans 600, 14px, #0B0B10 text on the gradient) + a mono '4 [CREDIT_NAME]' label at 12px in rgba(11,11,16,0.7). During the generating phase its label becomes 'Generating…' and the Sparkles icon spins. Along the very bottom edge inside the box (left 18px, right 18px, bottom 0) sits a 2px progress track (#FFFFFF14) whose fill is the accent gradient with a moving white shimmer highlight. Clicking Generate restarts the current pair's generate phase. IMAGE PANEL (image column): relative wrapper with a decorative glow behind it (inset -24px, accent gradient at 100deg, filter blur(72px), opacity 0.32, radius 32px). The panel itself: aspect-ratio 4/5, width 100%, max-width 520px, margin-left auto, radius 24px, overflow hidden, 1px border #FFFFFF26, background #12121A. Inside: a full-size <canvas> running the morph shader (see Stack setup) with a plain <img> of the first image underneath until all textures load. Overlays: top-left glass chip (rgba(11,11,16,0.55), blur 10px, radius 999px, padding 6px 12px, DM Sans 500 13px) showing the current style tag with a 6px gradient dot; bottom-left glass caption (radius 12px, padding 8px 12px, JetBrains Mono 12px #F2F0EC) reading 'seed 48213 · 4:5 · 6.2s' for the current pair; right edge inside (right 14px, vertically centered) a vertical stack of five 46px square thumbnails (radius 10px, gap 8px, object-fit cover, opacity 0.6, 1px border #FFFFFF26) of the five hero images; the active one has opacity 1 and a 2px accent-gradient ring (outline via a padded gradient wrapper). Clicking a thumbnail jumps to that pair: its prompt is set instantly (no typing), the morph runs, then the loop continues from there. During the generating phase a diagonal shimmer band (linear-gradient 115deg, transparent -> rgba(255,255,255,0.08) -> transparent, 40% wide) sweeps across the panel once per 1.1s. Mobile (<900px): single column, text centered-left; order is eyebrow, H1 (40px), subhead (16px), image panel (aspect 1/1, full width, max-width none), then the prompt box overlapping the bottom of the image panel by 56px (relative z-index 2, margin-top -56px, margin-x 12px), then buttons stacked full width, then the muted line. On mobile the thumbnail stack becomes a horizontal row of five 8px dots at the panel's top-right (active dot is a 20px gradient pill).
Motion: Loop state machine (one requestAnimationFrame/timeout driver, starts 600ms after load): TYPE the prompt at 30ms per character -> HOLD 450ms -> GENERATE: Generate button pressed (scale 0.97 for 120ms), progress fills 0 to 100% over 1400ms (ease-in-out), panel shimmer runs -> MORPH: shader progress tweens 0 to 1 over 1200ms (easeInOutCubic) from the previous image to this pair's image; style chip, caption and active thumbnail update when progress passes 0.5 -> SHOW for 2600ms (shader applies a slow 1.00 to 1.04 zoom over the hold) -> ERASE the prompt backwards at 12ms per character -> next pair (wraps to 1). The very first pair skips the morph (image already shown) but still runs type and generate. Pause the whole loop (and the render loop) when the hero is less than 20% visible (IntersectionObserver) or document.hidden; resume where it stopped. Cursor glow: pointermove on the prompt box sets CSS variables --mx/--my; a ::before layer paints radial-gradient(260px circle at var(--mx) var(--my), rgba(142,108,255,0.20), transparent 65%) and a ::after layer paints the same circle in the accent gradient but masked to a 1px border ring (mask with content-box/xor technique), fading in on pointerenter and out on pointerleave over 200ms. Only when (hover: hover) and motion is allowed. Entry: text column children fade up (y 24 -> 0, opacity 0 -> 1, 0.6s, stagger 0.08s); image panel fades in and scales 0.96 -> 1 over 0.8s. REDUCED MOTION: no typing, no erase, no shimmer, no shader zoom, no cursor glow; the prompt text shows in full, the image swaps with a 200ms opacity crossfade (or instantly), and a small ghost button 'Next prompt' with Lucide ArrowRight appears under the prompt box (right-aligned) to step through the five pairs manually; thumbnails still work.
4. **Stats strip (logo-free trust)** — Four product facts, each a big number and a label: '6.2 s' / 'median render time for a 1024 px image'; '48' / 'curated styles, from film still to clay'; '4096 px' / 'maximum export, ready for print'; '1 credit' / 'per draft preview, so exploring stays cheap' (render the word credit from [CREDIT_NAME] singular). No logos, no user counts.
Layout: Container 1200px, margin-top -24px. One row of four equal cells inside a panel with 1px border #FFFFFF14 top and bottom only (no box), padding 28px 0; cells separated by 1px vertical #FFFFFF14 lines; each cell padding-x 28px. Number: Bricolage Grotesque 600, 40px, letter-spacing -0.03em, #F2F0EC with the unit ('s', 'px', 'credit') at 18px #A3A1AD. Label: DM Sans 400, 14px, #A3A1AD, max-width 220px, margin-top 6px. Mobile: 2x2 grid, horizontal divider between rows, numbers 32px.
Motion: Cells fade up with 0.08s stagger when 30% in view (once). Numbers do not count up.
5. **How it works (#how): three steps with small UI mocks** — Section label (mono 12px, letter-spacing 0.14em, coral #FF7A59): 'HOW IT WORKS'. H2: 'Three steps from idea to file.' Sub (17px, #A3A1AD): 'No node graphs, no settings maze. Describe it, pick a direction, export.' Step 01 'Describe it' — 'Write what you see in plain words. [BRAND] suggests lighting, lens and mood as chips you can tap in.' Mock: a mini prompt field (mono 13px text 'a lighthouse made of frosted glass, stormy sea…' with a static gradient caret) and below it four suggestion chips: '+ golden hour', '+ 35 mm', '+ volumetric fog', '+ 4:5' (the first two shown as selected with gradient border). Step 02 'Pick a direction' — 'Every run gives you four drafts at 1 [CREDIT_NAME singular] each. Keep the one that feels right.' Mock: a 2x2 grid of four square thumbnails, all cropped from public/images/hero-greenhouse.webp with object-position 20% 30%, 80% 30%, 30% 80%, 70% 70% and CSS filters hue-rotate(0deg), hue-rotate(18deg), hue-rotate(-16deg) saturate(1.2), hue-rotate(36deg); the second one is selected (2px gradient ring + a 20px circular Lucide Check badge on #F2F0EC). Step 03 'Refine and export' — 'Upscale, remove the background or fix one detail with a brush, then download.' Mock: an export panel with three rows: 'Upscale 4x' with an on toggle (gradient track), 'Remove background' with an off toggle, 'Format' with a segmented control PNG / WEBP / JPG (PNG active); then a full-width small gradient button 'Export 4096 x 5120'.
Layout: Section padding 112px 0 (80px mobile). Header block left-aligned, max-width 640px, margin-bottom 56px. Three cards in a 3-column grid (gap 24px; single column below 900px). Card: background #12121A, 1px border #FFFFFF14, radius 20px, padding 24px; top: the mock area (height 220px, background #0B0B10, radius 14px, 1px border #FFFFFF0D, padding 16px, contents vertically centered), then step number '01' (JetBrains Mono 500, 13px, gradient text), title (Bricolage Grotesque 600, 22px, margin-top 20px), body (15px, #A3A1AD, line-height 1.6). Mocks are built in HTML/CSS (not images) except the step 02 thumbnails.
Motion: Cards fade up with 0.1s stagger (once). In step 01 the two selected chips pop in (scale 0.9 -> 1) 300ms after the card appears. Static under reduced motion.
6. **Feature bento (#features)** — Section label 'FEATURES'. H2: 'Control without the learning curve.' Six tiles: T1 (large) 'Style lock' — 'Save a look once (palette, light, lens, grain) and apply it to every image in a campaign. Up to 40 images stay visually related.' Visual: three overlapping image cards fanned like photos (public/images/hero-greenhouse.webp, hero-jellyfish.webp, hero-camper.webp; 3:4, radius 14px, 1px border #FFFFFF26, rotated -8deg, 0deg, 8deg, offset 70px apart), each with a small glass chip 'Look: Dusk Glass' and a Lucide Lock 12px icon. T2 'Brush to fix' — 'Paint over one detail and say what should be there instead. The rest of the image stays untouched.' Visual: public/images/hero-perfume.webp (cover, height 180px, radius 12px) with an SVG dashed brush loop (stroke #F2F0EC, 2px, dash 6 5) drawn around the upper right of the bottle and a glass speech chip 'add a sprig of lavender'. T3 'Upscale to 4096 px' — 'Turn any 1024 px result into a sharp print file in about ten seconds.' Visual: JetBrains Mono numbers '1024' -> '4096' (Lucide ArrowRight between) at 34px with the second in gradient text, and a 6px bar below that fills to 100%. T4 'Clean cutouts' — 'Remove the background in one click and export a transparent PNG.' Visual: a CSS checkerboard (12px squares, #1A1A25 / #12121A) with a code-drawn glossy orb (radial gradient #F2F0EC -> #C86BD8 -> #8E6CFF -> #2A1E4A) and a soft contact shadow. T5 'Brand palettes' — 'Pin your brand colors so every render leans toward them.' Visual: five 40px circular swatches #8E6CFF, #C86BD8, #FF7A59, #F2C27B, #1A1A25 in a row, the first three with a small Lucide Pin badge. T6 'Batch from a sheet' — 'Upload a CSV of prompts and get a folder of images back. Up to 500 rows per batch on Studio.' Visual: a mini table of three rows (mono 12px): 'hero banner, spring sale' — chip 'Done' (#5BD6A0 on #5BD6A01A); 'product card, mint tin' — 'Done'; 'story frame 03' — 'Rendering' (coral on #FF7A591A with a pulsing dot).
Layout: Section padding 112px 0. Grid of 12 columns, gap 20px, auto rows. Row 1-2: T1 col-span-7 row-span-2 (min-height 520px); T2 col-span-5; T3 col-span-5. Row 3: T4, T5, T6 col-span-4 each (min-height 260px). Tile: background #12121A, 1px border #FFFFFF14, radius 24px, padding 28px, overflow hidden, flex column with the text block (title Bricolage Grotesque 600 22px; body 15px #A3A1AD, max-width 380px) at the top and the visual filling the rest. Below 900px every tile is full width in source order and T1 min-height 440px.
Motion: Tiles fade up with stagger (once). Each tile has a pointer spotlight: a ::before radial-gradient(360px circle at var(--mx) var(--my), rgba(255,255,255,0.06), transparent 60%) that appears on hover (hover devices only). T1 cards fan slightly further apart on tile hover (rotation x1.25, 300ms). T2 brush path draws in via stroke-dashoffset over 900ms when in view. T3 bar fills 0 -> 100% over 1.2s when in view. T6 'Rendering' dot pulses (opacity 1 -> 0.3, 1.2s loop). All static under reduced motion.
7. **Before / after slider** — Section label 'BEFORE / AFTER'. H2: 'From rough draft to print-ready in one click.' Sub: 'Drag the handle. Same seed, same prompt; only the finishing pass changes.' Three tabs above the slider: 'Upscale 8x' (default), 'Relight', 'Denoise'. Corner labels per tab (left = before, right = after): Upscale: 'Draft · 512 px' / 'Upscaled · 4096 px'; Relight: 'Flat light' / 'Relit · golden hour'; Denoise: 'Noisy draft' / 'Cleaned'. Under the slider, the prompt in mono 13px #6B6977: 'A floating island with a tiny observatory above a sea of clouds at sunrise, waterfalls spilling into the clouds'.
Layout: Section padding 112px 0. Header centered, max-width 680px, margin 0 auto 32px. Tabs: centered segmented control (background #12121A, 1px border #FFFFFF14, radius 999px, padding 4px; active tab background #FFFFFF14 with #F2F0EC text, others #A3A1AD; DM Sans 500 14px; role tablist). Slider frame: margin-top 28px, width 100%, aspect-ratio 16/9, radius 24px, overflow hidden, 1px border #FFFFFF26, position relative, touch-action pan-y, cursor ew-resize. AFTER layer: public/images/compare-island.webp, object-fit cover. BEFORE layer: a <canvas> on top, same size, clipped with clip-path inset(0 calc(100% - var(--pos)) 0 0). Before images are derived at runtime from the same file (no extra assets): Upscale = draw the image into an offscreen canvas 1/10 of the display width, then draw it back at full size with imageSmoothingEnabled = false (visible pixelation) and apply filter 'saturate(0.85) contrast(0.92)'; Relight = draw with ctx.filter 'saturate(0.35) brightness(0.82) contrast(0.82)' then fill #5D6B8C at globalAlpha 0.28 with globalCompositeOperation 'multiply'; Denoise = draw the image, then add monochrome noise (each pixel offset by a seeded random -38..38, mulberry32 seed 7) and a light 'blur(0.6px)'. Re-render the before canvas on resize (debounced 150ms) and on tab change. Handle: a 2px vertical line (#F2F0EC, box-shadow 0 0 12px rgba(0,0,0,0.5)) at var(--pos) full height, with a 48px circular glass knob centered on it (rgba(11,11,16,0.6), blur 10px, 1.5px border #F2F0EC) holding Lucide ChevronsLeftRight 20px. Corner labels: glass chips at top-left and top-right (16px inset), JetBrains Mono 12px. Accessibility: the knob is role='slider', tabindex 0, aria-label 'Compare before and after', aria-valuemin 0, aria-valuemax 100, aria-valuenow = pos; ArrowLeft/ArrowRight move 5, Shift+Arrow 10, Home 0, End 100; visible focus ring (2px accent gradient outline offset 3px). Pointer: pointerdown anywhere on the frame jumps the handle there and setPointerCapture drags it; position clamps to 0..100. Default pos 50. Mobile: aspect-ratio 4/3, tabs scroll horizontally if needed.
Motion: When the frame is first 50% in view, a one-time hint animates pos 50 -> 62 -> 40 -> 50 over 1.6s (easeInOut) unless the user already interacted or reduced motion is on. Tab switch crossfades the before canvas (opacity 0 -> 1, 200ms).
8. **Gallery (#gallery): masonry with hover prompts and style filters** — Section label 'GALLERY'. H2: 'Made with [BRAND]. Prompts included.' Sub: 'Hover any image to see exactly what was typed. Copy it, change two words, make it yours.' Filter chips: All, Cinematic, Product, 3D, Fantasy, Abstract (each chip shows its count in mono at 11px: All 10, Cinematic 2, Product 1, 3D 2, Fantasy 2, Abstract 3). Ten tiles in this order (source | aspect | style | credit line | prompt): 1) public/images/hero-greenhouse.webp | 3:4 | style 'Cinematic' | by @mira.okafor · 4 [CREDIT_NAME] | prompt "A glass greenhouse on a sea cliff at dusk, fog rolling in, warm lamps glowing inside, wide cinematic shot"; 2) canvas:liquid-chrome | 1:1 | style 'Abstract' | by @tvale · 4 [CREDIT_NAME] | prompt "Liquid chrome ribbons folding through violet and coral light, macro, ultra smooth gradients"; 3) public/images/hero-perfume.webp | 3:4 | style 'Product' | by @juno.studio · 8 [CREDIT_NAME] | prompt "Unlabeled ribbed ceramic perfume bottle on wet black stone, coral rim light, low violet mist, studio product shot"; 4) public/images/compare-island.webp | 16:9 | style 'Fantasy' | by @kasper.lind · 8 [CREDIT_NAME] | prompt "A floating island with a tiny observatory above a sea of clouds at sunrise, waterfalls spilling into the clouds"; 5) public/images/hero-nook.webp | 1:1 | style '3D' | by @noor.makes · 4 [CREDIT_NAME] | prompt "A cozy reading nook with a round window over a rainy neon city at night, soft lamp light, 3D render"; 6) canvas:glass-orbs | 4:5 | style '3D' | by @ellis.park · 4 [CREDIT_NAME] | prompt "Seven glossy glass orbs floating in a dark void, soft studio reflections, violet and coral glow"; 7) public/images/hero-jellyfish.webp | 3:4 | style 'Fantasy' | by @rhea.prakash · 8 [CREDIT_NAME] | prompt "A giant glowing jellyfish drifting above a pine forest at night, bioluminescent trails, dreamy matte painting"; 8) canvas:topographic-dusk | 4:3 | style 'Abstract' | by @dmitri.k · 4 [CREDIT_NAME] | prompt "Topographic contour lines glowing coral on a deep violet field, minimal, map-like"; 9) public/images/hero-camper.webp | 3:4 | style 'Cinematic' | by @saoirse.frames · 8 [CREDIT_NAME] | prompt "A vintage camper van alone on a salt flat at twilight, string lights, coral horizon, faint star trails"; 10) canvas:aurora-ribbons | 3:4 | style 'Abstract' | by @lowtide.co · 4 [CREDIT_NAME] | prompt "Soft aurora ribbons in violet, orchid and coral over a quiet starfield, long exposure feel". Code-drawn tiles (canvas, rendered once at devicePixelRatio capped at 2, seeded with mulberry32 so every build looks identical): liquid-chrome (seed 11) = background linear gradient #1B1030 -> #0B0B10, then 70 horizontal sine ribbons (y offset = i*height/70 plus 0.18*height*sin(x*0.006 + i*0.21)), each stroked with a #8E6CFF -> #FF7A59 horizontal gradient, lineWidth 1.2, globalAlpha 0.45, globalCompositeOperation 'lighter'; glass-orbs (seed 7) = background #0E0B16, seven orbs at seeded positions and radii 8%-22% of width, each a radial gradient (highlight #F2F0EC at 30%/28% of the orb, body alternating #8E6CFF and #FF7A59, rim #1A1230), with a soft blurred shadow under each; topographic-dusk (seed 23) = background #120E1C, 26 concentric closed contours around a seeded center, radius r_i = 12 + i*14 px plus a wobble 6*sin(3a + i*0.4) + 4*sin(5a - i*0.7), stroke #FF7A59 with globalAlpha falling from 0.9 to 0.15 outward, lineWidth 1.2; aurora-ribbons (seed 31) = background #07070C, 140 star dots (radius 0.4-1.2 px, #F2F0EC at alpha 0.2-0.8), then five wide curved bands (lineWidth 40-90 px, lineCap round) in #8E6CFF, #C86BD8, #FF7A59, #8E6CFF, #C86BD8 at globalAlpha 0.35 with ctx.filter 'blur(28px)' and 'lighter' compositing. Each tile: role figure, the image or canvas has alt / aria-label 'Generated image: ' + prompt.
Layout: Section padding 112px 0. Header left-aligned; filter chips in a row under it (margin 28px 0 32px), chip = DM Sans 500 14px, height 36px, padding 0 14px, radius 999px, background #12121A, 1px border #FFFFFF14, #A3A1AD; active chip background #F2F0EC, text #0B0B10; chips are a role='radiogroup'; they scroll horizontally on mobile without a visible scrollbar. Masonry is computed in JS, not CSS columns: column count 3 at >= 1024px, 2 below (including 390px mobile); for the current filter, place each visible item in order into the currently shortest column (column height = sum of 1/aspect for its items); render columns as flex columns with gap 16px (12px mobile) inside a flex row with the same gap. Tile: relative, width 100%, aspect-ratio from data, radius 16px, overflow hidden, background #12121A, 1px border #FFFFFF14; images object-fit cover, loading lazy except the first three. Hover overlay (hidden until hover/focus-within): a layer with background rgba(11,11,16,0.45) plus a bottom gradient (transparent 35% -> rgba(11,11,16,0.92) 100%); at the bottom (padding 16px): the style tag chip (glass, mono 11px), the prompt (JetBrains Mono 13px, line-height 1.5, #F2F0EC, 3-line clamp, 4 lines on tiles wider than 360px), and a row with the credit line ('by @mira.okafor · 4 credits', DM Sans 12px #A3A1AD) on the left and a 'Copy prompt' button on the right (height 32px, padding 0 12px, radius 999px, background #F2F0EC, text #0B0B10, DM Sans 600 12px, Lucide Copy 14px). Copy uses navigator.clipboard.writeText inside try/catch with a hidden-textarea execCommand('copy') fallback; on success the button shows Lucide Check + 'Copied' for 1600ms. Each tile is keyboard focusable (tabindex 0) so the overlay also shows on focus. On touch devices (hover: none) the first tap on a tile toggles the overlay; tapping another tile moves it.
Motion: Hover (hover devices): tile translateY(-4px) and box-shadow 0 24px 48px -20px rgba(0,0,0,0.8); image scale 1 -> 1.04 (400ms ease-out); overlay opacity 0 -> 1 and prompt block y 8 -> 0 (220ms). Filtering: each tile is a Motion element with layout and layoutId so tiles glide to their new columns (spring stiffness 260, damping 30); leaving tiles fade and scale to 0.96 via AnimatePresence (180ms), entering tiles fade in. Tiles fade up on first scroll into view with stagger 0.05s. Under reduced motion: no lift, zoom or layout animation; overlay still appears on hover/focus instantly.
9. **Pricing (#pricing): credit-based plans** — Section label 'PRICING'. H2: 'Pay for what you make.' Sub: 'Every plan runs on [CREDIT_NAME]. A standard 1024 px image costs 4.' Billing toggle: 'Monthly' / 'Yearly' with a small badge 'Save 20%' next to Yearly. Plan 1 'Free' — price '$0' with caption 'forever'; headline number '50' + '[CREDIT_NAME], once'; explainer line 'About 12 standard images'; bullets: 'Up to 1024 px exports', '8 starter styles', 'Personal use only', 'Small corner watermark'; button 'Start free' (ghost). Plan 2 'Creator' (highlighted, badge 'Most popular') — Monthly '$12' / Yearly '$9.60' with caption '/month' and, in yearly mode, a second caption 'billed $115 yearly'; headline '1,200' + '[CREDIT_NAME] / month'; explainer 'About 300 standard images'; bullets: 'All 48 styles', 'Upscale to 4096 px', 'Style lock: 3 saved looks', 'Brush to fix and clean cutouts', 'Commercial license', 'Private gallery'; button 'Choose Creator' (gradient). Plan 3 'Studio' — Monthly '$36' / Yearly '$28.80', yearly caption 'billed $346 yearly'; headline '4,800' + '[CREDIT_NAME] / month'; explainer 'About 1,200 standard images'; bullets: 'Everything in Creator', '5 seats sharing one pool', 'Batch from CSV, 500 rows', 'Unlimited style locks', 'Brand palettes', 'Priority render queue'; button 'Choose Studio' (ghost). All buttons link to #cta. Credit explainer row under the cards, titled 'How [CREDIT_NAME] work', four cells: '1' + 'draft preview, 512 px'; '4' + 'standard image, 1024 px'; '8' + 'HD image, 2048 px'; '+6' + 'upscale to 4096 px'. Footnote (13px #6B6977): 'Unused [CREDIT_NAME] roll over for one month on paid plans. Failed renders are refunded automatically. Prices in USD.'
Layout: Section padding 112px 0. Header centered, max-width 640px. Toggle centered below it (margin 28px auto 48px): segmented pill like the compare tabs, role radiogroup, the badge 'Save 20%' is a tiny gradient-bordered pill in coral text. Cards: 3-column grid, gap 20px, items-stretch; single column below 900px with Creator first. Card: background #12121A, 1px border #FFFFFF14, radius 24px, padding 32px, flex column. Creator card: 1px gradient border (gradient wrapper with 1px padding and inner #12121A, or border-image via mask), background slightly lifted #15141F, a soft accent glow behind it (box-shadow 0 30px 80px -30px rgba(142,108,255,0.45)), and the 'Most popular' badge (gradient fill, #0B0B10 text, DM Sans 600 12px, pill) at the top-right. Inside each card in order: plan name (DM Sans 600, 15px, #A3A1AD, uppercase, letter-spacing 0.08em); price row (Bricolage Grotesque 600, 48px, letter-spacing -0.03em) + caption (15px #A3A1AD) and the yearly billed caption beneath (13px #6B6977, reserved height so cards do not jump); a divider; the credits headline number (Bricolage Grotesque 600, 36px, gradient text on Creator, #F2F0EC on others) with its unit text (15px #A3A1AD) on the same line; explainer (14px #6B6977); bullets (15px #F2F0EC, 12px gap, Lucide Check 16px in #5BD6A0 on the paid plans and #A3A1AD on Free); button pinned to the bottom (margin-top auto, full width, height 48px, radius 999px). Credit explainer row: margin-top 40px, panel with 1px border #FFFFFF14 radius 20px, a title cell on the left and four cells (JetBrains Mono 600 28px number in gradient text + 13px label) separated by vertical lines; 2x2 under the title on mobile.
Motion: Price change on toggle: the number slides (Motion AnimatePresence, old y 0 -> -12 and fade out, new y 12 -> 0 and fade in, 220ms); the toggle thumb moves with a Motion layout spring. Cards fade up with stagger. Reduced motion: values swap instantly.
10. **FAQ (#faq)** — Section label 'FAQ'. H2: 'Questions, answered.' Eight items: 1) 'What is a credit?' — 'It is how [BRAND] measures work. A 512 px draft costs 1, a standard 1024 px image costs 4, an HD 2048 px image costs 8 and upscaling to 4096 px adds 6. You see the cost on the Generate button before you press it.' 2) 'Can I use the images commercially?' — 'Yes on Creator and Studio. You can use what you make in client work, ads, packaging, merch and print. Images made on the Free plan are for personal use.' 3) 'Do unused credits roll over?' — 'On paid plans, unused credits carry over for one month, up to one month of your plan's allowance. Free credits do not expire.' 4) 'What if a result is not what I wanted?' — 'Start with 1-credit drafts to explore, then spend more only on the direction you like. If a render fails on our side, the credits go back to your balance automatically.' 5) 'Can I keep one style across a whole campaign?' — 'Style lock saves the palette, light, lens and grain of an image you like and applies it to new prompts. Creator keeps 3 saved looks; Studio keeps as many as you need.' 6) 'Are my prompts and images private?' — 'Paid plan galleries are private by default and are never used to train models. Free plan images can appear in the public gallery unless you delete them.' 7) 'What can't I generate?' — 'Prompts that name living artists or real people, copyrighted characters, or explicit content are blocked. You will see a short note explaining why, and no credits are spent.' 8) 'Can I cancel anytime?' — 'Yes. Your plan stays active until the end of the billing period. Yearly plans can be refunded in full within 14 days of purchase; write to support@' + emailDomain + '.' In all answers, use [CREDIT_NAME] for the unit word.
Layout: Section padding 112px 0. Two columns on desktop: left col-span-4 holds the label, H2 and a small card 'Still stuck?' with text 'Write to us and a human replies within one business day.' and the email support@ + emailDomain as a link (mailto); right col-span-8 holds the accordion. Accordion: items separated by 1px #FFFFFF14 lines; question row is a full-width button (DM Sans 500, 18px, #F2F0EC, padding 22px 0, aria-expanded, aria-controls) with a 28px circular icon on the right (Lucide Plus that rotates 45deg when open, background #FFFFFF0D); answer 16px #A3A1AD line-height 1.65, max-width 640px, padding-bottom 22px. Only one item open at a time; item 1 open by default. Mobile: single column, the 'Still stuck?' card moves below the accordion.
Motion: Answer height animates with Motion (auto height, 240ms ease-out) and opacity; icon rotates 200ms. Instant under reduced motion.
11. **Sign-up CTA band (#cta) over a blurred collage** — H2 (centered, two lines): 'Your first 50 [CREDIT_NAME]' / 'are on us.' Sub: 'Enough for a dozen finished images. No card, no trial clock.' Form: email input (placeholder '[email protected]', aria-label 'Email address') + gradient button 'Get my [CREDIT_NAME]'. Small line under it (13px #6B6977): 'We send one sign-in link. No newsletter unless you ask.' Success state (replaces the form in place): a 40px circle with Lucide Check on #5BD6A01A in #5BD6A0, heading 'Check your inbox' and text 'Your sign-in link is on its way to {email}.' plus a text button 'Use a different email' that restores the form. Invalid email: inline error 'Enter a valid email address' in #FF7A59 under the field, aria-invalid on the input.
Layout: Full-bleed section, margin 48px 0 0, min-height 560px, position relative, overflow hidden, border-top and border-bottom 1px #FFFFFF14. Background collage (aria-hidden): an absolutely positioned 5-column grid, width 130%, left -15%, top -20%, rotated -6deg, gap 16px, made of the six images and the four gallery canvases (re-drawn small, or use toDataURL from the gallery renders) in aspect 3:4 tiles, radius 16px, filter blur(18px) saturate(1.25), opacity 0.5. Over it: radial-gradient(ellipse at center, rgba(11,11,16,0.55) 0%, rgba(11,11,16,0.92) 70%, #0B0B10 100%). Content centered, max-width 640px, padding 120px 24px. H2 Bricolage Grotesque 600, 56px (36px mobile), letter-spacing -0.035em, with '50 [CREDIT_NAME]' in gradient text. Form: margin-top 32px, a single glass pill (background rgba(18,18,26,0.75), blur 14px, 1px border #FFFFFF26, radius 999px, padding 6px, max-width 480px, margin auto) containing the input (transparent, 16px, padding 0 18px, flex 1) and the button (height 48px, radius 999px). Focus within the pill: 2px accent-gradient ring. Mobile: input and button stack inside a radius-20px panel, button full width.
Motion: Collage drifts very slowly (translateX 0 -> -40px, 30s linear alternate infinite; off under reduced motion). Content fades up on view. Success state: Motion fade/scale 0.96 -> 1 (220ms). The form calls preventDefault and only changes local state; nothing is sent.
12. **Footer** — Left: logo mark + '[BRAND]', one line 'An AI image generator for designers, marketers and indie creators.' (rewrite from the variables), and the address '418 Halden Street, Studio 3, Portland, OR 97209' with hello@ + emailDomain. Three link columns: Product (Features #features, Gallery #gallery, Pricing #pricing, How it works #how); Resources (Prompt guide, Style library, Help center, Status) linking to #top; Company (About, Careers, Press kit, Contact) linking to #top, Contact as mailto hello@. Bottom row: '© ' + companyName on the left; on the right text links Terms, Privacy, Acceptable use (#top) and three 36px icon buttons with generic Lucide icons Mail (mailto), Rss and MessageCircle (#top). Then the optional [CREDIT] link if provided.
Layout: Padding 72px 0 40px, border-top 1px #FFFFFF14 (omit if directly after the CTA border). Container 1200px; grid 12 columns: brand block col-span-5, link columns col-span-2 each with a column heading (DM Sans 600, 13px, #F2F0EC, uppercase, letter-spacing 0.08em) and links (15px #A3A1AD, hover #F2F0EC, 12px gap). Bottom row margin-top 56px, padding-top 24px, border-top 1px #FFFFFF14, 13px #6B6977, flex justify-between. Mobile: brand block full width, link columns in a 2-column grid, bottom row stacks.
Motion: None beyond link color transitions.
## Assets
- image: Six template images generated for this design (Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template). Download each with curl -L -o into public/images/ and reference them as ./images/<file>: https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-greenhouse.webp -> public/images/hero-greenhouse.webp (hero pair 1, step 02 thumbnails, bento T1, gallery tile 1, CTA collage; alt 'A glass greenhouse glowing on a foggy sea cliff at dusk'); https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-camper.webp -> public/images/hero-camper.webp (hero pair 2, bento T1, gallery tile 9, CTA collage; alt 'A vintage camper van with string lights on a salt flat at twilight'); https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-perfume.webp -> public/images/hero-perfume.webp (hero pair 3, bento T2, gallery tile 3, CTA collage; alt 'An unlabeled ceramic perfume bottle on wet black stone with coral backlight'); https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-nook.webp -> public/images/hero-nook.webp (hero pair 4, gallery tile 5, CTA collage; alt 'A reading nook with a round window over a rainy city at night'); https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-jellyfish.webp -> public/images/hero-jellyfish.webp (hero pair 5, bento T1, gallery tile 7, CTA collage; alt 'A glowing jellyfish drifting above a pine forest at night'); https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/compare-island.webp -> public/images/compare-island.webp (before/after slider, gallery tile 4, CTA collage; alt 'A floating island with a small observatory above clouds at sunrise'). Six files in total; do not substitute other images.
- image: Drawn in code, no bitmaps: the logo mark and public/favicon.svg, hero glows and SVG grain, the four abstract gallery canvases (liquid-chrome, glass-orbs, topographic-dusk, aurora-ribbons, algorithms given in the Gallery section), the before images of the slider (derived at runtime from compare-island.webp), the step and bento UI mocks, the checkerboard and orb in bento T4, the color swatches and the brush path.
- icon: lucide-react (ISC), imported per icon: Sparkles, ArrowRight, ArrowDown, ImagePlus, RectangleVertical, Wand2, Check, Copy, Lock, Pin, ChevronsLeftRight, Plus, Menu, X, Mail, Rss, MessageCircle. No brand logos, no Simple Icons, no Lucide brand-shaped icons.
- font: Install @fontsource-variable/bricolage-grotesque, @fontsource-variable/dm-sans and @fontsource-variable/jetbrains-mono (all OFL-1.1) and import them in src/fonts.ts. Vite bundles the woff2 files into dist/.
- image: Write ASSETS.md at the project root with a table (path, source URL, author, license): one row per image in public/images/ with its media.vibefather.ai URL, author 'VibeFather', license 'Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template'; rows for the three Fontsource packages (OFL-1.1, https://fontsource.org) and lucide-react (Lucide contributors, ISC, https://lucide.dev); and a line stating that the logo, favicon, abstract gallery art and UI mocks are drawn in code for this project.
## Don'ts
- No backend of any kind: no server code, API routes, databases, auth, email services, payment providers, image-generation APIs, analytics or third-party APIs. The Generate button only replays the scripted demo; the CTA form calls preventDefault and only changes local UI state; nothing is submitted or sent.
- Do not load fonts from fonts.googleapis.com, fonts.gstatic.com, Adobe Fonts or any CDN. Self-host through the three Fontsource packages only. No commercial or custom fonts.
- No CDN <script>, <link> or import maps. Every script, style, font, icon and image is installed or downloaded into the project and bundled into dist/. Never hotlink the media.vibefather.ai URLs at runtime; download them first.
- No source maps in the production build (build.sourcemap false), and src/ is not copied into dist/.
- Relative asset paths (Vite base './', images as ./images/<file>). Internal links are hash anchors (#how, #features, #gallery, #pricing, #faq, #cta, #top) or ./index.html, never a bare directory or a leading slash.
- No names, logos, UI chrome, wordmarks or model names of real AI image products, model families or AI companies anywhere in copy, labels, sample data, alt text or code comments. The product is the invented [BRAND]; refer to the engine generically ('our image model').
- No prompts that name living artists, studios or photographers ('in the style of ...'), real people, celebrities, or copyrighted characters, mascots and game or anime IP. Describe looks with generic terms (film still, matte painting, clay, 3D render).
- No images scraped from AI image communities or showcase feeds, no Unsplash, Pexels, Pixabay or other restricted stock, no watermarked images, no placeholder-image services. Use only the six listed files and the code-drawn art.
- No real usage numbers, user counts, model benchmarks, funding, customer logos or testimonials. Stats are invented product facts for the invented brand.
- Do not use code or components from Aceternity UI, Tailwind Plus / Tailwind UI or any purchased template for the compare slider, spotlight, glow border, masonry or any other effect. Re-implement everything as described here.
- No real payment processor names, logos, card icons or checkout flows on the pricing cards; plan buttons only scroll to #cta.
- No three.js or other 3D/WebGL libraries: the hero morph is the small hand-written WebGL1 shader described in Stack setup, with an <img> crossfade fallback.
- Animate only transform, opacity, clip-path and CSS variables on HTML elements; never animate width, height, top or left directly (Motion auto-height in the FAQ is the one exception). Pause the hero loop and its render loop when off screen or in a hidden tab.
- Respect prefers-reduced-motion: no typing, shader zoom, shimmer, cursor glow, hint sweep, layout animation or collage drift; the hero shows full prompts with a manual 'Next prompt' button.
- Must work at 1440x900 and 390x844 with zero console errors and no horizontal scroll; the first screen on mobile must show the image panel.
- Do not mention VibeFather anywhere in the site except the optional [CREDIT] footer link.
---
— Prompt by VibeFather · https://vibefather.ai/t/ai-image-generator-landing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# AI 图像生成器落地页
完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。
## 简介
为 [BRAND]、[PRODUCT] 打造的单页、深色、电影感落地页。首屏是一个看起来正在工作的产品时刻:一个玻璃质感的提示词输入框逐字打出示例提示词,同时旁边的大图通过手写的 WebGL 噪声位移着色器溶解为与之匹配的图片。随后页面用一条数据统计带、带小型 UI 模拟图的三步“工作原理”、功能便当格、可拖拽的前后对比滑块、可筛选且能揭示每张图片背后提示词的瀑布流画廊、基于积分的定价、FAQ,以及覆盖在模糊结果拼贴图上的注册横幅来证明产品实力。
- 受众:[AUDIENCE],他们希望用一句话得到成品图片,而不想学习复杂工具;以及正在发布生成式产品(图像、视频、虚拟形象或放大类应用)的创始人或独立开发者,他们需要一个可信的落地页。
- 目标:在两秒内展示产品正在工作,让积分定价易于理解,并通过“Start free”按钮和最终 CTA 横幅中的邮箱输入框将访客转化为注册用户。
- 语气:平静、自信、具体。短句、朴实的动词、真实的数字(渲染时间、像素尺寸、积分成本)。不要使用“revolutionary”、“unleash”或“magic”这类炒作词;让图片和实时提示词来完成销售。
## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:react(MIT)、react-dom(MIT)、motion(motion.dev,从 motion/react 导入)(MIT)、lucide-react(ISC)、tailwindcss(MIT)、postcss(MIT)、autoprefixer(MIT)、vite(MIT)、@vitejs/plugin-react(MIT)、typescript(Apache-2.0)、@fontsource-variable/bricolage-grotesque(OFL-1.1)、@fontsource-variable/dm-sans(OFL-1.1)、@fontsource-variable/jetbrains-mono(OFL-1.1)
- 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 初始化:
- 使用 npm create vite@latest 以 react-ts 模板搭建脚手架。单页面:项目根目录的 index.html,入口为 src/main.tsx。package.json 脚本:dev 'vite',build 'tsc -b && vite build',preview 'vite preview'。
- vite.config.ts:base './',plugins [react()],build { outDir 'dist',sourcemap false,assetsInlineLimit 0 }。图片放在 public/images/ 下,并以 './images/<file>' 引用,以便在任何子路径下都能正常工作。不要将 src/ 复制到 dist/。
- Tailwind 3.4 通过 PostCSS(tailwindcss + postcss + autoprefixer),content ['./index.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将每个 Design 颜色以 kebab-case 键添加到 theme.extend.colors(void、panel、raised、lifted、line、line-strong、text、muted、faint、violet、orchid、coral、mint),并设置 fontFamily display ['Bricolage Grotesque Variable', 'system-ui', 'sans-serif']、sans ['DM Sans Variable', 'system-ui', 'sans-serif']、mono ['JetBrains Mono Variable', 'ui-monospace', 'monospace'];maxWidth { container: '1200px' };borderRadius { tile: '24px', card: '20px', thumb: '16px' };backgroundImage { accent: 'linear-gradient(100deg, #8E6CFF 0%, #C86BD8 50%, #FF7A59 100%)' }。
- src/fonts.ts 导入三个 Fontsource 包;src/main.tsx 导入 src/fonts.ts 和 src/index.css。index.css 包含 Tailwind 各层、body 背景 #0B0B10 和颜色 #F2F0EC、.glass 配方、.text-gradient 和 .border-gradient 工具类、caret 'blink' 和 'shimmer' 关键帧,以及一个 @media (prefers-reduced-motion: reduce) 块,用于禁用时长超过 0.01ms 的 CSS 动画和过渡。
- 文件布局:src/content.ts(所有文案和数据,带类型)、src/lib/brand.ts(brandSlug、emailDomain、companyName、creditSingular)、src/lib/useReducedMotion.ts(matchMedia hook)、src/lib/random.ts(mulberry32)、src/lib/clipboard.ts、src/hero/morphShader.ts(WebGL 设置和 GLSL 字符串)、src/hero/useHeroLoop.ts(状态机)、src/hero/Hero.tsx、src/hero/PromptBox.tsx、src/hero/ImagePanel.tsx、src/art/drawTiles.ts(四个代码绘制的画布)、src/components/(Header.tsx、MobileMenu.tsx、StatsStrip.tsx、HowItWorks.tsx、Bento.tsx、CompareSlider.tsx、Gallery.tsx、GalleryTile.tsx、Pricing.tsx、BillingToggle.tsx、Faq.tsx、CtaBand.tsx、Footer.tsx、SectionHeader.tsx、Button.tsx、Reveal.tsx)、src/App.tsx 按页面顺序组合它们。
- Morph 着色器(src/hero/morphShader.ts),纯 WebGL1,无库:一个全屏四边形;uniforms uFrom、uTo(sampler2D)、uProgress(0..1)、uZoom(1.00..1.04)、uRes(画布 px)、uFromSize、uToSize(图片自然 px)。为每个纹理计算 cover-fit UV(缩放使图像填满画布宽高比,居中),并围绕中心应用 uZoom。噪声:带 4 倍频 fbm 的 2D value noise。在片段着色器中:n = fbm(uv * 3.0);t = n * 0.75 + (1.0 - uv.y) * 0.25;m = smoothstep(uProgress - 0.1, uProgress + 0.1, t)(1 = 仍显示 uFrom);将 from-UV 偏移 (n - 0.5) * 0.10 * uProgress,将 to-UV 偏移 (n - 0.5) * 0.10 * (1.0 - uProgress);color = mix(texture(uTo), texture(uFrom), m);在溶解前沿处添加边缘辉光:glow = (1.0 - smoothstep(0.0, 0.05, abs(t - uProgress))) * step(0.001, uProgress) * step(uProgress, 0.999);color += glow * 0.55 * mix(vec3(0.557, 0.424, 1.0), vec3(1.0, 0.478, 0.349), uv.x)。在所有五张 hero 图片解码后将其作为纹理加载(UNPACK_FLIP_Y_WEBGL true、CLAMP_TO_EDGE、LINEAR);使用 ResizeObserver 以 devicePixelRatio(上限为 2)设置画布尺寸;仅在过渡或缩放保持运行且 hero 可见时渲染。如果 WebGL 不可用或上下文丢失,则回退到两个堆叠的 <img> 元素,在 700ms 内交叉淡入淡出透明度。
- Reveal.tsx 使用 Motion whileInView 淡入上移包裹各区块(opacity 0 -> 1,y 24 -> 0,duration 0.6,ease [0.22, 1, 0.36, 1],viewport once 且 amount 0.2),并在减少动态效果开启时以无动画方式渲染子元素。将应用包裹在 MotionConfig reducedMotion='user' 中。
- index.html:lang en,<meta name='theme-color' content='#0B0B10'>,<link rel='icon' href='./favicon.svg' type='image/svg+xml'>,<title>[BRAND] — Type a sentence, get the picture</title>。public/favicon.svg 是 logo 标记(带倾斜米白色边框的渐变圆角方块)。
- 在构建前使用 Assets 下的 curl 命令将六张图片下载到 public/images/,并按 Assets 下所述在项目根目录写入 ASSETS.md。
- dist/ 包含 index.html、带哈希的 JS/CSS、woff2 文件、favicon.svg 和六张图片;应保持在 5 MB 以下。
## 变量
- [BRAND] — 品牌名称(默认:"Driftframe")。虚构的产品名称。用于字标、页面标题、首屏副标题、画廊标题、FAQ、页脚和电子邮件域名。绝不是真实的 AI 产品、模型系列或公司。
- [PRODUCT] — 产品是什么(默认:"an AI image generator that turns one sentence into a print-ready picture")。一个完成 '[BRAND] is ...' 的小写短语。驱动首屏副标题、步骤文案、功能特性和 FAQ。任何生成式视觉产品都适用:头像、放大、概念艺术、产品图。
- [AUDIENCE] — 面向谁(默认:"designers, marketers and indie creators")。复数名词短语。用于首屏副标题和页脚行;功能特性和 FAQ 示例随之调整。
- [CREDIT_NAME] — 使用单位(复数)(默认:"credits")。用户每次渲染所花费的复数词,例如 credits、sparks、tokens。用于 Generate 按钮、定价标题、额度说明、CTA 和 FAQ;单数形式去掉末尾的 s。
- [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接指向 https://vibefather.ai/t/ai-image-generator-landing-page(默认:是;删除此行以移除它)
Pages & Sections 下的文案是为默认值编写的。如果你的值不同,请为它们重写每个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块键控,以便之后无需改动组件即可替换内容。
## 设计
### 颜色
- void `#0B0B10` — 页面背景、渐变按钮上的文字
- panel `#12121A` — 卡片、磁贴、提示词框基底、标签片
- raised `#1A1A25` — 输入框、悬停填充、棋盘格深色方块
- lifted `#15141F` — 高亮的 Creator 方案背景
- line `#FFFFFF14` — 细线边框和分隔线(白色 8%)
- line-strong `#FFFFFF26` — 玻璃面板边框、图片边框、幽灵按钮(白色 15%)
- text `#F2F0EC` — 主文本、浅色按钮、手柄线
- muted `#A3A1AD` — 正文、导航链接、标签
- faint `#6B6977` — 说明文字、脚注、等宽标签
- violet `#8E6CFF` — 渐变起点、辉光、光标光
- orchid `#C86BD8` — 渐变中点
- coral `#FF7A59` — 渐变终点、区块标签、错误、'Rendering' 状态
- mint `#5BD6A0` — 仅用于成功状态和付费方案勾选图标
- accent gradient `linear-gradient(100deg, #8E6CFF 0%, #C86BD8 50%, #FF7A59 100%)` — 谨慎使用:主按钮、焦点环、光标、高亮方案边框、H1/H2 短语和关键数字中的渐变文字
### 字体排印
- 展示字体:H1 clamp(40px, 5.4vw, 76px) line-height 1.02 letter-spacing -0.035em weight 650;H2 clamp(34px, 4vw, 54px) line-height 1.06 letter-spacing -0.03em weight 600;卡片标题 22px weight 600;大数字:Bricolage Grotesque Variable (OFL),字重 500/600/650/700
- 文本:正文 16px/1.6,副标题 17-18px,导航 14px,按钮 14-15px weight 600:DM Sans Variable (OFL),字重 400/500/600
- 等宽:提示词文本、种子、区块标签(12px,letter-spacing 0.14em,大写)、额度数字、标签片:JetBrains Mono Variable (OFL),字重 400/500/600
### 布局与动效
- 间距:8px 基准。容器最大宽度 1200px,两侧内边距 24px(640px 以下为 20px)。桌面端区块垂直内边距 112px,移动端 80px。12 列网格,间距 20-48px。区块标题块下方留 56px 空间。卡片内边距 24-32px。
- 圆角:Bento 磁贴、图片面板、滑块框架和方案卡片 24px;步骤卡片和 FAQ 卡片 20px;提示词框 20px;画廊磁贴 16px;小缩略图 10px;面板内输入框 14px;每个按钮、标签片、选项卡和开关都是完整胶囊形(999px)。
- 动效:Hero 循环:打字 30ms/字符,停留 450ms,生成 1400ms 进度带微光,WebGL 噪点溶解变形 1200ms easeInOutCubic,展示 2600ms 带 1.00 -> 1.04 缩放,擦除 12ms/字符;离开屏幕和隐藏标签页时暂停。
- 动效:提示词框内闪烁的渐变光标(1s steps)。
- 动效:提示词框上跟随光标的紫色辉光和渐变边框环;Bento 磁贴上的柔和白色指针聚光(仅悬停设备)。
- 动效:滚动显现:淡入上移 24px,0.6s,ease [0.22, 1, 0.36, 1],仅一次,错开 0.05-0.1s。
- 动效:画廊:悬停时磁贴上浮 4px 并将图片放大至 1.04,提示词覆盖层淡入;筛选变化通过 Motion 布局弹簧重新排布。
- 动效:前后对比:首次进入视口时手柄一次性提示扫过;用指针或键盘拖动。
- 动效:计费切换时价格数字滑动;FAQ 答案高度动画;CTA 拼贴缓慢漂移。
- 动效:prefers-reduced-motion:无打字、着色器缩放、微光、辉光、提示扫过、布局动画或漂移;Hero 显示完整提示词,带手动 'Next prompt' 按钮和即时图片切换。
- 图像:六张生成图片保持统一外观:电影感数字渲染,具有照片级真实感,黄昏光线配深紫色阴影和暖珊瑚高光,柔和雾气和发光的实用光源,无人物、无文字。它们作为 Hero 变形目标、步骤和 Bento 视觉、前后对比主体、画廊磁贴和模糊的 CTA 拼贴出现。另外四个画廊磁贴是用相同紫/兰/珊瑚调色板在 canvas 中绘制的抽象艺术。所有 UI 模型(提示词字段、标签片、开关、导出面板、批量表格)均用 HTML/CSS 构建。无库存照片、无面孔、无标志。
## 页面与区块
### 首页(`index.html`)
1. **内容文件与文案规则** — 本提示词中的所有文案均按默认值编写([BRAND] = Driftframe,[PRODUCT] = 一款将一句话变成可打印图片的 AI 图像生成器,[AUDIENCE] = 设计师、营销人员和独立创作者,[CREDIT_NAME] = credits)。将每个字符串、数字、提示词、画廊条目、统计数据、功能、方案、FAQ 答案和页脚链接都放入 src/content.ts 并从中渲染;组件中不包含任何文案。如果任何变量值不同,请重写每个标题、副标题、步骤、功能、统计标签、方案要点、FAQ 答案和 CTA,使其对新产品和受众具体且可信,同时保持相同的结构、条目数量和大致长度。六张图片永不改变,因此当你重写主视觉和画廊提示词时,每个提示词仍必须描述其图片实际展示的内容(仅调整构图和词汇)。[CREDIT_NAME] 是复数用法单位;在出现 credits 一词的所有地方都使用它(定价标题数字、Generate 按钮费用、credits 说明、FAQ),并通过去掉末尾的 's' 来推导单数形式。src/lib/brand.ts 中的派生值:brandSlug = [BRAND] 转为小写,并将每一段连续的非字母数字字符替换为 '-';emailDomain = 去掉连字符的 brandSlug + '.com'(driftframe.com);companyName = [BRAND] + ' Labs, Inc.'。页脚和 FAQ 中使用的公司信息:418 Halden Street, Studio 3, Portland, OR 97209;hello@ + emailDomain;support@ + emailDomain。页面上的每个数字都是为虚构品牌编造的产品事实;没有用户数量、客户标志或推荐语。
布局:无视觉输出。content.ts 导出类型化对象:brand、nav、hero(配对)、stats、steps、features、compare(标签页)、gallery(筛选器、条目)、pricing(方案、creditCosts)、faq、cta、footer。页面上的区块顺序:页头、主视觉、统计条、工作原理、功能便当盒、前后对比、画廊、定价、FAQ、CTA 横幅、页脚。
2. **页头(共享,粘性)** — 左侧:标志图形 + 字标 '[BRAND]'(Bricolage Grotesque 650,20px,letter-spacing -0.02em)。标志图形:26px 内联 SVG,一个圆角方形(rx 8),填充强调渐变(100deg #8E6CFF -> #C86BD8 -> #FF7A59),内部是一个米白色(#F2F0EC)12px 宽的圆角矩形轮廓(stroke 2),旋转 -8deg,其右上角有一个 3px 的米白色圆点,像一个倾斜的相框。中间导航链接(DM Sans 500,14px,#A3A1AD,悬停 #F2F0EC):How it works(#how)、Features(#features)、Gallery(#gallery)、Pricing(#pricing)、FAQ(#faq)。右侧:文本链接 'Log in'(href #cta,#A3A1AD)和一个渐变胶囊按钮 'Start free'(href #cta)。
布局:固定顶部,高度 68px,全宽;内部容器 max-width 1200px,padding-x 24px,flex justify-between items-center。滚动为 0 时透明;滚动 12px 后获得背景 rgba(11,11,16,0.72)、backdrop-filter blur(14px) saturate(140%) 和 1px 底部边框 #FFFFFF14(过渡 200ms)。低于 900px:导航和 Log in 隐藏;显示 'Start free'(小号,高度 36px)和一个 40px 图标按钮,带 Lucide Menu,点击后打开一个从页头下方滑下的全宽面板(背景 #12121A,border-bottom #FFFFFF14),以 18px 字号、56px 行高列出五个导航链接,外加一个全宽 'Start free' 按钮;X 图标关闭它,Escape 关闭它,点击链接关闭它。所有锚点平滑滚动,顶部偏移 72px(区块上设置 scroll-margin-top)。
动效:面板:Motion height/opacity 220ms ease-out。页头背景变化是 CSS 过渡。在 prefers-reduced-motion 下除即时状态变化外无动效。
3. **主视觉:打字提示词框 + 变形图片** — 眉标胶囊:Lucide Sparkles 14px 珊瑚色 + 'New: Style lock keeps one look across 40 images'(DM Sans 500,13px,#F2F0EC 于 #FFFFFF0D 上,边框 #FFFFFF1A,胶囊,padding 6px 12px)。H1(桌面端两行):'Type a sentence.' / 'Get the picture you meant.',其中 'the picture you meant' 使用渐变文字(background-clip text,强调渐变)。副标题(18px,#A3A1AD,max-width 520px):'[BRAND] is an AI image generator that turns one sentence into a print-ready picture, built for designers, marketers and indie creators who need visuals today, not next sprint.' 然后是提示词框(见布局)。其下方一行两个按钮:主渐变胶囊 'Start free with 50 credits'(Lucide ArrowRight 16px 尾随,href #cta)和幽灵胶囊 'Browse the gallery'(Lucide ArrowDown,href #gallery,边框 #FFFFFF26,文字 #F2F0EC)。按钮下方,一行弱化文字(13px,#6B6977),三个条目以中点分隔:'No card required' · 'Commercial use on paid plans' · 'Exports up to 4096 px'。提示词/图片配对,按循环顺序(文件 | 风格标签 | 种子 | 提示词文本):1) hero-greenhouse.webp | 风格 'Cinematic' | 种子 48213 | 提示词 "A glass greenhouse on a sea cliff at dusk, fog rolling in, warm lamps glowing inside, wide cinematic shot";2) hero-camper.webp | 风格 'Cinematic' | 种子 90577 | 提示词 "A vintage camper van alone on a salt flat at twilight, string lights, coral horizon, faint star trails";3) hero-perfume.webp | 风格 'Product' | 种子 31146 | 提示词 "Unlabeled ribbed ceramic perfume bottle on wet black stone, coral rim light, low violet mist, studio product shot";4) hero-nook.webp | 风格 '3D render' | 种子 77402 | 提示词 "A cozy reading nook with a round window over a rainy neon city at night, soft lamp light, 3D render";5) hero-jellyfish.webp | 风格 'Fantasy' | 种子 15889 | 提示词 "A giant glowing jellyfish drifting above a pine forest at night, bioluminescent trails, dreamy matte painting"。每个配对还有一个固定的渲染时间标签:6.2s、5.8s、4.9s、7.1s、6.6s。
布局:Section 最小高度 100vh(最小 760px),padding-top 132px,padding-bottom 96px。背景:#0B0B10 加上两个绝对定位的模糊光晕(一个 620px 的紫罗兰色 #8E6CFF 圆形位于 left 8% top 4%,一个 520px 的珊瑚色 #FF7A59 圆形位于 right 4% bottom 0,两者均 filter blur(140px)、opacity 0.18),以及一个覆盖整个 section 的 SVG feTurbulence 颗粒叠加层,opacity 0.04,pointer-events none。容器 1200px,12 列网格,gap 48px,items-center:文本列 col-span-6,图片列 col-span-6。PROMPT BOX(margin-top 32px,max-width 560px):相对定位的玻璃面板,background rgba(18,18,26,0.72),backdrop-filter blur(16px),1px 边框 #FFFFFF26,radius 20px,padding 18px 18px 14px,box-shadow 0 24px 60px -24px rgba(0,0,0,0.7)。顶行(flex,gap 8px):等宽标签 'PROMPT'(JetBrains Mono 500,11px,letter-spacing 0.12em,#6B6977),然后右侧两个小 chip(等宽 11px,#A3A1AD,background #FFFFFF0D,radius 999px,padding 3px 9px):当前风格标签和 '4:5'。文本区域:min-height 84px(3 行),margin 10px 0 14px,JetBrains Mono 400,16px,line-height 1.55,color #F2F0EC;输入的文本后面跟着一个光标 span,宽 2px,高 1.15em,背景为强调色渐变,以 steps(1) 在 1s 内闪烁。该文本是一个 aria-live='polite' 区域,在完整 prompt 输入完成后播报一次(不是每个字母都播报)。底行(flex justify-between,border-top 1px #FFFFFF14,padding-top 12px):左侧三个 32px 图标按钮带 tooltip(Lucide ImagePlus 'Add reference'、RectangleVertical 'Aspect 4:5'、Wand2 'Enhance prompt';#A3A1AD,hover background #FFFFFF0D,radius 10px;它们只是装饰性的,点击无任何作用);右侧是 Generate 按钮:渐变胶囊,高度 40px,padding 0 16px,Lucide Sparkles 16px + 'Generate'(DM Sans 600,14px,渐变上的 #0B0B10 文字)+ 一个等宽 '4 [CREDIT_NAME]' 标签,12px,颜色 rgba(11,11,16,0.7)。在生成阶段,其标签变为 'Generating…',Sparkles 图标旋转。沿盒子内部最底边(left 18px,right 18px,bottom 0)有一条 2px 进度轨道(#FFFFFF14),其填充为强调色渐变,并带有一个移动的白色微光高亮。点击 Generate 会重新开始当前配对的生成阶段。IMAGE PANEL(图片列):相对定位的包裹层,其后有一个装饰性光晕(inset -24px,强调色渐变 100deg,filter blur(72px),opacity 0.32,radius 32px)。面板本身:aspect-ratio 4/5,width 100%,max-width 520px,margin-left auto,radius 24px,overflow hidden,1px 边框 #FFFFFF26,background #12121A。内部:一个全尺寸的 <canvas> 运行 morph shader(见 Stack setup),在所有纹理加载完成之前,其下方有一个普通 <img> 显示第一张图片。叠加层:左上角玻璃 chip(rgba(11,11,16,0.55),blur 10px,radius 999px,padding 6px 12px,DM Sans 500 13px)显示当前风格标签,带一个 6px 渐变圆点;左下角玻璃说明文字(radius 12px,padding 8px 12px,JetBrains Mono 12px #F2F0EC)显示当前配对的 'seed 48213 · 4:5 · 6.2s';内部右边缘(right 14px,垂直居中)一列五个 46px 方形缩略图(radius 10px,gap 8px,object-fit cover,opacity 0.6,1px 边框 #FFFFFF26),对应五张 hero 图片;激活的那张 opacity 为 1,并带有一个 2px 强调色渐变环(通过带 padding 的渐变包裹层实现 outline)。点击缩略图会跳转到该配对:其 prompt 立即设置(无打字效果),morph 运行,然后循环从那里继续。在生成阶段,一条对角微光带(linear-gradient 115deg,transparent -> rgba(255,255,255,0.08) -> transparent,40% 宽)每 1.1s 扫过面板一次。移动端(<900px):单列,文本左对齐;顺序为 eyebrow、H1(40px)、副标题(16px)、图片面板(aspect 1/1,全宽,max-width none),然后是 prompt box 与图片面板底部重叠 56px(relative z-index 2,margin-top -56px,margin-x 12px),然后按钮全宽堆叠,然后是弱化文字行。在移动端,缩略图堆叠变为面板右上角一行五个 8px 圆点(激活圆点为 20px 渐变胶囊)。
动效:循环状态机(一个 requestAnimationFrame/timeout 驱动器,加载后 600ms 启动):以每字符 30ms 的速度 TYPE prompt -> HOLD 450ms -> GENERATE:Generate 按钮按下(scale 0.97 持续 120ms),进度在 1400ms 内从 0 填充到 100%(ease-in-out),面板微光运行 -> MORPH:shader 进度在 1200ms 内从 0 补间到 1(easeInOutCubic),从上一张图片过渡到该配对的图片;当进度超过 0.5 时,风格 chip、说明文字和激活缩略图更新 -> SHOW 持续 2600ms(shader 在保持期间应用缓慢的 1.00 到 1.04 缩放)-> 以每字符 12ms 的速度反向 ERASE prompt -> 下一配对(循环回 1)。第一对跳过 morph(图片已显示),但仍运行 type 和 generate。当 hero 可见度低于 20%(IntersectionObserver)或 document.hidden 时,暂停整个循环(以及渲染循环);在停止处恢复。光标光晕:prompt box 上的 pointermove 设置 CSS 变量 --mx/--my;一个 ::before 层绘制 radial-gradient(260px circle at var(--mx) var(--my), rgba(142,108,255,0.20), transparent 65%),一个 ::after 层用强调色渐变绘制同样的圆形,但遮罩为 1px 边框环(使用 content-box/xor 技术遮罩),在 pointerenter 时淡入、pointerleave 时淡出,持续 200ms。仅在 (hover: hover) 且允许动效时启用。入场:文本列子元素淡入上移(y 24 -> 0,opacity 0 -> 1,0.6s,stagger 0.08s);图片面板淡入并在 0.8s 内从 0.96 缩放到 1。REDUCED MOTION:无打字、无擦除、无微光、无 shader 缩放、无光标光晕;prompt 文本完整显示,图片以 200ms 透明度交叉淡入淡出(或立即)切换,并且在 prompt box 下方(右对齐)出现一个小的幽灵按钮 'Next prompt',带 Lucide ArrowRight,用于手动步进五个配对;缩略图仍然可用。
4. **Stats strip(无 logo 的信任背书)** — 四个产品事实,每个是一个大数字和一个标签:'6.2 s' / 'median render time for a 1024 px image';'48' / 'curated styles, from film still to clay';'4096 px' / 'maximum export, ready for print';'1 credit' / 'per draft preview, so exploring stays cheap'(单词 credit 从 [CREDIT_NAME] 单数形式渲染)。无 logo,无用户数。
布局:容器 1200px,margin-top -24px。一行四个等宽单元格,位于一个仅上下有 1px 边框 #FFFFFF14 的面板内(无盒子),padding 28px 0;单元格之间用 1px 垂直 #FFFFFF14 线分隔;每个单元格 padding-x 28px。数字:Bricolage Grotesque 600,40px,letter-spacing -0.03em,#F2F0EC,单位('s'、'px'、'credit')为 18px #A3A1AD。标签:DM Sans 400,14px,#A3A1AD,max-width 220px,margin-top 6px。移动端:2x2 网格,行之间有水平分隔线,数字 32px。
动效:当 30% 进入视口时(一次),单元格以 0.08s 的 stagger 淡入上移。数字不进行计数动画。
5. **How it works(#how):三个步骤,带小型 UI 模拟** — Section 标签(等宽 12px,letter-spacing 0.14em,珊瑚色 #FF7A59):'HOW IT WORKS'。H2:'Three steps from idea to file.' 副标题(17px,#A3A1AD):'No node graphs, no settings maze. Describe it, pick a direction, export.' 步骤 01 'Describe it' — 'Write what you see in plain words. [BRAND] suggests lighting, lens and mood as chips you can tap in.' 模拟:一个迷你 prompt 输入框(等宽 13px 文本 'a lighthouse made of frosted glass, stormy sea…',带一个静态渐变光标),其下方四个建议 chip:'+ golden hour'、'+ 35 mm'、'+ volumetric fog'、'+ 4:5'(前两个显示为选中状态,带渐变边框)。步骤 02 'Pick a direction' — 'Every run gives you four drafts at 1 [CREDIT_NAME singular] each. Keep the one that feels right.' 模拟:一个 2x2 网格的四张方形缩略图,全部从 public/images/hero-greenhouse.webp 裁剪,object-position 分别为 20% 30%、80% 30%、30% 80%、70% 70%,CSS filters 分别为 hue-rotate(0deg)、hue-rotate(18deg)、hue-rotate(-16deg) saturate(1.2)、hue-rotate(36deg);第二张为选中状态(2px 渐变环 + 一个 20px 圆形 Lucide Check 徽章,位于 #F2F0EC 上)。步骤 03 'Refine and export' — 'Upscale, remove the background or fix one detail with a brush, then download.' 模拟:一个导出面板,包含三行:'Upscale 4x' 带一个开启状态的 toggle(渐变轨道),'Remove background' 带一个关闭状态的 toggle,'Format' 带一个分段控件 PNG / WEBP / JPG(PNG 激活);然后是一个全宽的小渐变按钮 'Export 4096 x 5120'。
布局:Section padding 112px 0(移动端 80px)。头部块左对齐,max-width 640px,margin-bottom 56px。三张卡片在 3 列网格中(gap 24px;低于 900px 时单列)。卡片:background #12121A,1px 边框 #FFFFFF14,radius 20px,padding 24px;顶部:模拟区域(高度 220px,background #0B0B10,radius 14px,1px 边框 #FFFFFF0D,padding 16px,内容垂直居中),然后是步骤编号 '01'(JetBrains Mono 500,13px,渐变文字),标题(Bricolage Grotesque 600,22px,margin-top 20px),正文(15px,#A3A1AD,line-height 1.6)。模拟用 HTML/CSS 构建(非图片),步骤 02 的缩略图除外。
动效:卡片以 0.1s 的错峰淡入上移(仅一次)。在步骤 01 中,两张选中的 chip 在卡片出现后 300ms 弹入(scale 0.9 -> 1)。在减少动态效果下为静态。
6. **功能 bento(#features)** — 区块标签 'FEATURES'。H2:'Control without the learning curve.' 六个磁贴:T1(大)'Style lock' — 'Save a look once (palette, light, lens, grain) and apply it to every image in a campaign. Up to 40 images stay visually related.' 视觉:三张重叠的图片卡片像照片一样扇形展开(public/images/hero-greenhouse.webp、hero-jellyfish.webp、hero-camper.webp;3:4,radius 14px,1px border #FFFFFF26,旋转 -8deg、0deg、8deg,间隔偏移 70px),每张都带一个小玻璃 chip 'Look: Dusk Glass' 和一个 Lucide Lock 12px 图标。T2 'Brush to fix' — 'Paint over one detail and say what should be there instead. The rest of the image stays untouched.' 视觉:public/images/hero-perfume.webp(cover,height 180px,radius 12px),瓶身右上方绘制一个 SVG 虚线画笔环(stroke #F2F0EC,2px,dash 6 5),并带一个玻璃对话 chip 'add a sprig of lavender'。T3 'Upscale to 4096 px' — 'Turn any 1024 px result into a sharp print file in about ten seconds.' 视觉:JetBrains Mono 数字 '1024' -> '4096'(中间为 Lucide ArrowRight),34px,第二个为渐变文字,下方一条 6px 的条填充至 100%。T4 'Clean cutouts' — 'Remove the background in one click and export a transparent PNG.' 视觉:一个 CSS 棋盘格(12px 方块,#1A1A25 / #12121A),带一个代码绘制的光泽球体(radial gradient #F2F0EC -> #C86BD8 -> #8E6CFF -> #2A1E4A)和柔和接触阴影。T5 'Brand palettes' — 'Pin your brand colors so every render leans toward them.' 视觉:五个 40px 圆形色块 #8E6CFF、#C86BD8、#FF7A59、#F2C27B、#1A1A25 排成一行,前三个带一个小 Lucide Pin 徽标。T6 'Batch from a sheet' — 'Upload a CSV of prompts and get a folder of images back. Up to 500 rows per batch on Studio.' 视觉:一个三行的迷你表格(mono 12px):'hero banner, spring sale' — chip 'Done'(#5BD6A0 于 #5BD6A01A);'product card, mint tin' — 'Done';'story frame 03' — 'Rendering'(coral 于 #FF7A591A,带一个脉动圆点)。
布局:区块 padding 112px 0。12 列网格,gap 20px,自动行。第 1-2 行:T1 col-span-7 row-span-2(min-height 520px);T2 col-span-5;T3 col-span-5。第 3 行:T4、T5、T6 各 col-span-4(min-height 260px)。磁贴:background #12121A,1px border #FFFFFF14,radius 24px,padding 28px,overflow hidden,flex column,文本块(标题 Bricolage Grotesque 600 22px;正文 15px #A3A1AD,max-width 380px)位于顶部,视觉填充其余部分。低于 900px 时每个磁贴按源顺序全宽,T1 min-height 440px。
动效:磁贴以错峰淡入上移(仅一次)。每个磁贴有一个指针聚光灯:一个 ::before radial-gradient(360px circle at var(--mx) var(--my), rgba(255,255,255,0.06), transparent 60%),在悬停时出现(仅悬停设备)。T1 卡片在磁贴悬停时扇形展开得稍远一些(rotation x1.25,300ms)。T2 画笔路径在进入视图时通过 stroke-dashoffset 在 900ms 内绘制。T3 条在进入视图时在 1.2s 内填充 0 -> 100%。T6 'Rendering' 圆点脉动(opacity 1 -> 0.3,1.2s 循环)。在减少动态效果下全部为静态。
7. **前后对比滑块** — 区块标签 'BEFORE / AFTER'。H2:'From rough draft to print-ready in one click.' 副标题:'Drag the handle. Same seed, same prompt; only the finishing pass changes.' 滑块上方三个标签页:'Upscale 8x'(默认)、'Relight'、'Denoise'。每个标签页的角落标签(左 = 前,右 = 后):Upscale:'Draft · 512 px' / 'Upscaled · 4096 px';Relight:'Flat light' / 'Relit · golden hour';Denoise:'Noisy draft' / 'Cleaned'。滑块下方,提示词以 mono 13px #6B6977 显示:'A floating island with a tiny observatory above a sea of clouds at sunrise, waterfalls spilling into the clouds'。
布局:区块 padding 112px 0。头部居中,max-width 680px,margin 0 auto 32px。标签页:居中的分段控件(background #12121A,1px border #FFFFFF14,radius 999px,padding 4px;活动标签 background #FFFFFF14 配 #F2F0EC 文字,其他 #A3A1AD;DM Sans 500 14px;role tablist)。滑块框架:margin-top 28px,width 100%,aspect-ratio 16/9,radius 24px,overflow hidden,1px border #FFFFFF26,position relative,touch-action pan-y,cursor ew-resize。AFTER 层:public/images/compare-island.webp,object-fit cover。BEFORE 层:顶部一个 <canvas>,相同尺寸,用 clip-path inset(0 calc(100% - var(--pos)) 0 0) 裁剪。Before 图像在运行时从同一文件派生(无额外资源):Upscale = 将图像绘制到显示宽度 1/10 的离屏 canvas,然后以完整尺寸绘制回来,imageSmoothingEnabled = false(可见像素化)并应用 filter 'saturate(0.85) contrast(0.92)';Relight = 用 ctx.filter 'saturate(0.35) brightness(0.82) contrast(0.82)' 绘制,然后以 globalAlpha 0.28 和 globalCompositeOperation 'multiply' 填充 #5D6B8C;Denoise = 绘制图像,然后添加单色噪声(每个像素偏移一个种子随机 -38..38,mulberry32 seed 7)和一个轻微的 'blur(0.6px)'。在 resize(防抖 150ms)和标签页切换时重新渲染 before canvas。手柄:一条 2px 垂直线(#F2F0EC,box-shadow 0 0 12px rgba(0,0,0,0.5))位于 var(--pos) 全高,带一个 48px 圆形玻璃旋钮居中其上(rgba(11,11,16,0.6),blur 10px,1.5px border #F2F0EC),内含 Lucide ChevronsLeftRight 20px。角落标签:玻璃 chip 位于左上和右上(16px 内缩),JetBrains Mono 12px。无障碍:旋钮为 role='slider',tabindex 0,aria-label 'Compare before and after',aria-valuemin 0,aria-valuemax 100,aria-valuenow = pos;ArrowLeft/ArrowRight 移动 5,Shift+Arrow 10,Home 0,End 100;可见焦点环(2px 强调渐变轮廓偏移 3px)。指针:在框架上任意位置 pointerdown 会将手柄跳转到该处,setPointerCapture 拖动它;位置限制在 0..100。默认 pos 50。移动端:aspect-ratio 4/3,标签页必要时水平滚动。
动效:当框架首次 50% 进入视图时,一次性提示在 1.6s 内动画 pos 50 -> 62 -> 40 -> 50(easeInOut),除非用户已经交互或减少动态效果开启。标签页切换交叉淡入 before canvas(opacity 0 -> 1,200ms)。
8. **画廊(#gallery):带悬停提示和风格筛选的瀑布流** — 区块标签 'GALLERY'。H2:'Made with [BRAND]. Prompts included.' 副标题:'Hover any image to see exactly what was typed. Copy it, change two words, make it yours.' 筛选标签:All、Cinematic、Product、3D、Fantasy、Abstract(每个标签以等宽字体 11px 显示其数量:All 10、Cinematic 2、Product 1、3D 2、Fantasy 2、Abstract 3)。十张图块按此顺序排列(来源 | 宽高比 | 风格 | 署名行 | 提示词):1) public/images/hero-greenhouse.webp | 3:4 | 风格 'Cinematic' | by @mira.okafor · 4 [CREDIT_NAME] | 提示词 "A glass greenhouse on a sea cliff at dusk, fog rolling in, warm lamps glowing inside, wide cinematic shot";2) canvas:liquid-chrome | 1:1 | 风格 'Abstract' | by @tvale · 4 [CREDIT_NAME] | 提示词 "Liquid chrome ribbons folding through violet and coral light, macro, ultra smooth gradients";3) public/images/hero-perfume.webp | 3:4 | 风格 'Product' | by @juno.studio · 8 [CREDIT_NAME] | 提示词 "Unlabeled ribbed ceramic perfume bottle on wet black stone, coral rim light, low violet mist, studio product shot";4) public/images/compare-island.webp | 16:9 | 风格 'Fantasy' | by @kasper.lind · 8 [CREDIT_NAME] | 提示词 "A floating island with a tiny observatory above a sea of clouds at sunrise, waterfalls spilling into the clouds";5) public/images/hero-nook.webp | 1:1 | 风格 '3D' | by @noor.makes · 4 [CREDIT_NAME] | 提示词 "A cozy reading nook with a round window over a rainy neon city at night, soft lamp light, 3D render";6) canvas:glass-orbs | 4:5 | 风格 '3D' | by @ellis.park · 4 [CREDIT_NAME] | 提示词 "Seven glossy glass orbs floating in a dark void, soft studio reflections, violet and coral glow";7) public/images/hero-jellyfish.webp | 3:4 | 风格 'Fantasy' | by @rhea.prakash · 8 [CREDIT_NAME] | 提示词 "A giant glowing jellyfish drifting above a pine forest at night, bioluminescent trails, dreamy matte painting";8) canvas:topographic-dusk | 4:3 | 风格 'Abstract' | by @dmitri.k · 4 [CREDIT_NAME] | 提示词 "Topographic contour lines glowing coral on a deep violet field, minimal, map-like";9) public/images/hero-camper.webp | 3:4 | 风格 'Cinematic' | by @saoirse.frames · 8 [CREDIT_NAME] | 提示词 "A vintage camper van alone on a salt flat at twilight, string lights, coral horizon, faint star trails";10) canvas:aurora-ribbons | 3:4 | 风格 'Abstract' | by @lowtide.co · 4 [CREDIT_NAME] | 提示词 "Soft aurora ribbons in violet, orchid and coral over a quiet starfield, long exposure feel"。代码绘制的图块(canvas,在 devicePixelRatio 上限为 2 时渲染一次,用 mulberry32 播种,使每次构建看起来完全一致):liquid-chrome(种子 11)= 背景线性渐变 #1B1030 -> #0B0B10,然后 70 条水平正弦缎带(y 偏移 = i*height/70 加上 0.18*height*sin(x*0.006 + i*0.21)),每条以 #8E6CFF -> #FF7A59 水平渐变描边,lineWidth 1.2,globalAlpha 0.45,globalCompositeOperation 'lighter';glass-orbs(种子 7)= 背景 #0E0B16,七个球体位于播种位置,半径为宽度的 8%-22%,每个为径向渐变(高光 #F2F0EC 位于球体的 30%/28% 处,主体交替 #8E6CFF 和 #FF7A59,边缘 #1A1230),每个下方带柔和模糊阴影;topographic-dusk(种子 23)= 背景 #120E1C,围绕播种中心的 26 条同心闭合等高线,半径 r_i = 12 + i*14 px 加上抖动 6*sin(3a + i*0.4) + 4*sin(5a - i*0.7),描边 #FF7A59,globalAlpha 从 0.9 向外递减至 0.15,lineWidth 1.2;aurora-ribbons(种子 31)= 背景 #07070C,140 个星点(半径 0.4-1.2 px,#F2F0EC 透明度 0.2-0.8),然后五条宽弯曲带(lineWidth 40-90 px,lineCap round),颜色为 #8E6CFF、#C86BD8、#FF7A59、#8E6CFF、#C86BD8,globalAlpha 0.35,使用 ctx.filter 'blur(28px)' 和 'lighter' 合成。每个图块:role 为 figure,图像或 canvas 具有 alt / aria-label 'Generated image: ' + 提示词。
布局:区块内边距 112px 0。页眉左对齐;筛选标签在其下方一行(margin 28px 0 32px),标签 = DM Sans 500 14px,高度 36px,内边距 0 14px,圆角 999px,背景 #12121A,1px 边框 #FFFFFF14,文字 #A3A1AD;激活标签背景 #F2F0EC,文字 #0B0B10;标签为 role='radiogroup';在移动端可水平滚动且不显示滚动条。瀑布流在 JS 中计算,而非 CSS 列:列数在 >= 1024px 时为 3,以下为 2(包括 390px 移动端);对于当前筛选,按顺序将每个可见项放入当前最短的列(列高度 = 其各项 1/宽高比 之和);将列渲染为 flex 列,间距 16px(移动端 12px),置于具有相同间距的 flex 行内。图块:relative,宽度 100%,宽高比来自 data,圆角 16px,overflow hidden,背景 #12121A,1px 边框 #FFFFFF14;图像 object-fit cover,除前三张外 loading lazy。悬停覆盖层(悬停/focus-within 前隐藏):一层背景 rgba(11,11,16,0.45) 加上底部渐变(transparent 35% -> rgba(11,11,16,0.92) 100%);底部(内边距 16px):风格标签 chip(玻璃质感,等宽 11px)、提示词(JetBrains Mono 13px,行高 1.5,#F2F0EC,3 行截断,宽度超过 360px 的图块为 4 行),以及一行:左侧为署名行('by @mira.okafor · 4 credits',DM Sans 12px #A3A1AD),右侧为 'Copy prompt' 按钮(高度 32px,内边距 0 12px,圆角 999px,背景 #F2F0EC,文字 #0B0B10,DM Sans 600 12px,Lucide Copy 14px)。复制在 try/catch 内使用 navigator.clipboard.writeText,并以隐藏 textarea 的 execCommand('copy') 作为回退;成功后按钮显示 Lucide Check + 'Copied' 持续 1600ms。每个图块可通过键盘聚焦(tabindex 0),因此覆盖层在聚焦时也会显示。在触摸设备上(hover: none),首次点击图块切换覆盖层;点击另一图块则移动它。
动效:悬停(悬停设备):图块 translateY(-4px) 和 box-shadow 0 24px 48px -20px rgba(0,0,0,0.8);图像 scale 1 -> 1.04(400ms ease-out);覆盖层 opacity 0 -> 1,提示词块 y 8 -> 0(220ms)。筛选:每个图块是 Motion 元素,带 layout 和 layoutId,使图块滑向其新列(spring stiffness 260,damping 30);离开的图块通过 AnimatePresence 淡出并缩放至 0.96(180ms),进入的图块淡入。图块首次滚动进入视图时淡入上移,交错 0.05s。在减少动效下:无上浮、缩放或布局动画;覆盖层在悬停/聚焦时仍立即出现。
9. **定价(#pricing):基于额度的方案** — 区块标签 'PRICING'。H2:'Pay for what you make.' 副标题:'Every plan runs on [CREDIT_NAME]. A standard 1024 px image costs 4.' 计费切换:'Monthly' / 'Yearly',Yearly 旁带小徽章 'Save 20%'。方案 1 'Free' — 价格 '$0',说明 'forever';标题数字 '50' + '[CREDIT_NAME], once';说明行 'About 12 standard images';要点:'Up to 1024 px exports'、'8 starter styles'、'Personal use only'、'Small corner watermark';按钮 'Start free'(幽灵按钮)。方案 2 'Creator'(高亮,徽章 'Most popular')— 月付 '$12' / 年付 '$9.60',说明 '/month',年付模式下第二个说明 'billed $115 yearly';标题 '1,200' + '[CREDIT_NAME] / month';说明 'About 300 standard images';要点:'All 48 styles'、'Upscale to 4096 px'、'Style lock: 3 saved looks'、'Brush to fix and clean cutouts'、'Commercial license'、'Private gallery';按钮 'Choose Creator'(渐变)。方案 3 'Studio' — 月付 '$36' / 年付 '$28.80',年付说明 'billed $346 yearly';标题 '4,800' + '[CREDIT_NAME] / month';说明 'About 1,200 standard images';要点:'Everything in Creator'、'5 seats sharing one pool'、'Batch from CSV, 500 rows'、'Unlimited style locks'、'Brand palettes'、'Priority render queue';按钮 'Choose Studio'(幽灵按钮)。所有按钮链接到 #cta。卡片下方的额度说明行,标题 'How [CREDIT_NAME] work',四个单元格:'1' + 'draft preview, 512 px';'4' + 'standard image, 1024 px';'8' + 'HD image, 2048 px';'+6' + 'upscale to 4096 px'。脚注(13px #6B6977):'Unused [CREDIT_NAME] roll over for one month on paid plans. Failed renders are refunded automatically. Prices in USD.'
布局:区块内边距 112px 0。页眉居中,最大宽度 640px。切换开关在其下方居中(外边距 28px auto 48px):分段胶囊形,类似对比标签页,角色为 radiogroup,徽章 'Save 20%' 是一个带渐变边框的小胶囊,珊瑚色文字。卡片:3 列网格,间距 20px,items-stretch;低于 900px 时单列,Creator 排在最前。卡片:背景 #12121A,1px 边框 #FFFFFF14,圆角 24px,内边距 32px,flex 纵向排列。Creator 卡片:1px 渐变边框(渐变包裹层,1px 内边距,内部 #12121A,或通过 mask 实现 border-image),背景略微提亮为 #15141F,其后方有柔和强调光晕(box-shadow 0 30px 80px -30px rgba(142,108,255,0.45)),右上角有 'Most popular' 徽章(渐变填充,#0B0B10 文字,DM Sans 600 12px,胶囊形)。每张卡片内部依次为:套餐名称(DM Sans 600,15px,#A3A1AD,大写,字间距 0.08em);价格行(Bricolage Grotesque 600,48px,字间距 -0.03em)+ 说明文字(15px #A3A1AD)以及下方的按年计费说明(13px #6B6977,预留高度以免卡片跳动);一条分隔线;额度标题数字(Bricolage Grotesque 600,36px,Creator 上为渐变文字,其他为 #F2F0EC)及其单位文字(15px #A3A1AD)在同一行;解释文字(14px #6B6977);项目符号列表(15px #F2F0EC,间距 12px,Lucide Check 16px,付费套餐为 #5BD6A0,Free 为 #A3A1AD);按钮固定在底部(margin-top auto,全宽,高度 48px,圆角 999px)。额度说明行:margin-top 40px,面板带 1px 边框 #FFFFFF14、圆角 20px,左侧为标题单元格,右侧四个单元格(JetBrains Mono 600 28px 数字,渐变文字 + 13px 标签)由竖线分隔;移动端在标题下方呈 2x2 排列。
动效:切换时价格变化:数字滑动(Motion AnimatePresence,旧值 y 0 -> -12 并淡出,新值 y 12 -> 0 并淡入,220ms);切换开关的滑块用 Motion layout spring 移动。卡片以交错方式淡入上移。减少动效:数值即时切换。
10. **FAQ (#faq)** — 区块标签 'FAQ'。H2:'Questions, answered.' 八项:1) 'What is a credit?' — 'It is how [BRAND] measures work. A 512 px draft costs 1, a standard 1024 px image costs 4, an HD 2048 px image costs 8 and upscaling to 4096 px adds 6. You see the cost on the Generate button before you press it.' 2) 'Can I use the images commercially?' — 'Yes on Creator and Studio. You can use what you make in client work, ads, packaging, merch and print. Images made on the Free plan are for personal use.' 3) 'Do unused credits roll over?' — 'On paid plans, unused credits carry over for one month, up to one month of your plan's allowance. Free credits do not expire.' 4) 'What if a result is not what I wanted?' — 'Start with 1-credit drafts to explore, then spend more only on the direction you like. If a render fails on our side, the credits go back to your balance automatically.' 5) 'Can I keep one style across a whole campaign?' — 'Style lock saves the palette, light, lens and grain of an image you like and applies it to new prompts. Creator keeps 3 saved looks; Studio keeps as many as you need.' 6) 'Are my prompts and images private?' — 'Paid plan galleries are private by default and are never used to train models. Free plan images can appear in the public gallery unless you delete them.' 7) 'What can't I generate?' — 'Prompts that name living artists or real people, copyrighted characters, or explicit content are blocked. You will see a short note explaining why, and no credits are spent.' 8) 'Can I cancel anytime?' — 'Yes. Your plan stays active until the end of the billing period. Yearly plans can be refunded in full within 14 days of purchase; write to support@' + emailDomain + '.' 在所有回答中,单位词使用 [CREDIT_NAME]。
布局:区块内边距 112px 0。桌面端两列:左列 col-span-4 放置标签、H2 和一张小卡片 'Still stuck?',文字为 'Write to us and a human replies within one business day.',以及作为链接(mailto)的邮箱 support@ + emailDomain;右列 col-span-8 放置手风琴。手风琴:各项之间用 1px #FFFFFF14 线条分隔;问题行是一个全宽按钮(DM Sans 500,18px,#F2F0EC,内边距 22px 0,aria-expanded,aria-controls),右侧有 28px 圆形图标(Lucide Plus,展开时旋转 45deg,背景 #FFFFFF0D);答案 16px #A3A1AD,行高 1.65,最大宽度 640px,下内边距 22px。一次只展开一项;第 1 项默认展开。移动端:单列,'Still stuck?' 卡片移到手风琴下方。
动效:答案高度用 Motion 动画(自动高度,240ms ease-out)并配合透明度;图标旋转 200ms。减少动效时即时呈现。
11. **注册 CTA 横幅 (#cta),位于模糊拼贴背景之上** — H2(居中,两行):'Your first 50 [CREDIT_NAME]' / 'are on us.' 副标题:'Enough for a dozen finished images. No card, no trial clock.' 表单:邮箱输入框(占位符 '[email protected]',aria-label 'Email address')+ 渐变按钮 'Get my [CREDIT_NAME]'。其下方小字(13px #6B6977):'We send one sign-in link. No newsletter unless you ask.' 成功状态(就地替换表单):一个 40px 圆形,内含 Lucide Check,背景 #5BD6A01A,图标色 #5BD6A0,标题 'Check your inbox',文字 'Your sign-in link is on its way to {email}.',以及一个文字按钮 'Use a different email' 用于恢复表单。无效邮箱:字段下方内联错误 'Enter a valid email address',颜色 #FF7A59,输入框上设置 aria-invalid。
布局:全出血区块,外边距 48px 0 0,最小高度 560px,position relative,overflow hidden,上下边框 1px #FFFFFF14。背景拼贴(aria-hidden):一个绝对定位的 5 列网格,宽度 130%,left -15%,top -20%,旋转 -6deg,间距 16px,由六张图片和四个画廊画布(重新绘制为小尺寸,或使用画廊渲染结果的 toDataURL)组成,3:4 比例的瓦片,圆角 16px,filter blur(18px) saturate(1.25),不透明度 0.5。其上方覆盖:radial-gradient(ellipse at center, rgba(11,11,16,0.55) 0%, rgba(11,11,16,0.92) 70%, #0B0B10 100%)。内容居中,最大宽度 640px,内边距 120px 24px。H2 Bricolage Grotesque 600,56px(移动端 36px),字间距 -0.035em,其中 '50 [CREDIT_NAME]' 为渐变文字。表单:margin-top 32px,一个玻璃胶囊(背景 rgba(18,18,26,0.75),模糊 14px,1px 边框 #FFFFFF26,圆角 999px,内边距 6px,最大宽度 480px,margin auto),内含输入框(透明,16px,内边距 0 18px,flex 1)和按钮(高度 48px,圆角 999px)。胶囊内聚焦:2px 强调渐变环。移动端:输入框和按钮在圆角 20px 面板内堆叠,按钮全宽。
动效:拼贴非常缓慢地漂移(translateX 0 -> -40px,30s linear alternate infinite;减少动效时关闭)。内容进入视口时淡入上移。成功状态:Motion 淡入/缩放 0.96 -> 1(220ms)。表单调用 preventDefault,仅更改本地状态;不发送任何内容。
12. **页脚** — 左侧:logo 标记 + '[BRAND]',一行 'An AI image generator for designers, marketers and indie creators.'(根据变量改写),以及地址 '418 Halden Street, Studio 3, Portland, OR 97209' 和 hello@ + emailDomain。三个链接列:Product(Features #features、Gallery #gallery、Pricing #pricing、How it works #how);Resources(Prompt guide、Style library、Help center、Status)链接到 #top;Company(About、Careers、Press kit、Contact)链接到 #top,Contact 为 mailto hello@。底部行:左侧 '© ' + companyName;右侧文字链接 Terms、Privacy、Acceptable use(#top)以及三个 36px 图标按钮,使用通用 Lucide 图标 Mail(mailto)、Rss 和 MessageCircle(#top)。然后是可选提供的 [CREDIT] 链接。
布局:内边距 72px 0 40px,上边框 1px #FFFFFF14(若紧接 CTA 边框之后则省略)。容器 1200px;12 列网格:品牌区块 col-span-5,链接列各 col-span-2,带列标题(DM Sans 600,13px,#F2F0EC,大写,字间距 0.08em)和链接(15px #A3A1AD,悬停 #F2F0EC,间距 12px)。底部行 margin-top 56px,padding-top 24px,上边框 1px #FFFFFF14,13px #6B6977,flex justify-between。移动端:品牌区块全宽,链接列呈 2 列网格,底部行堆叠。
动效:除链接颜色过渡外无其他动效。
## 资源
- 图片:为本设计生成的六张模板图片(由 VibeFather 使用 qwen-image-3.0-pro 生成,可随本模板再分发)。用 curl -L -o 将每张图片下载到 public/images/ 中,并以 ./images/<file> 引用:https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-greenhouse.webp -> public/images/hero-greenhouse.webp(hero 配对 1、步骤 02 缩略图、bento T1、画廊图块 1、CTA 拼贴;alt 'A glass greenhouse glowing on a foggy sea cliff at dusk');https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-camper.webp -> public/images/hero-camper.webp(hero 配对 2、bento T1、画廊图块 9、CTA 拼贴;alt 'A vintage camper van with string lights on a salt flat at twilight');https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-perfume.webp -> public/images/hero-perfume.webp(hero 配对 3、bento T2、画廊图块 3、CTA 拼贴;alt 'An unlabeled ceramic perfume bottle on wet black stone with coral backlight');https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-nook.webp -> public/images/hero-nook.webp(hero 配对 4、画廊图块 5、CTA 拼贴;alt 'A reading nook with a round window over a rainy city at night');https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/hero-jellyfish.webp -> public/images/hero-jellyfish.webp(hero 配对 5、bento T1、画廊图块 7、CTA 拼贴;alt 'A glowing jellyfish drifting above a pine forest at night');https://media.vibefather.ai/assets/5bb65dea-af92-461c-9e11-5240dcf552c8/compare-island.webp -> public/images/compare-island.webp(前后对比滑块、画廊图块 4、CTA 拼贴;alt 'A floating island with a small observatory above clouds at sunrise')。共六个文件;不要替换为其他图片。
- 图片:用代码绘制,不使用位图:logo 标记和 public/favicon.svg、hero 光晕和 SVG 颗粒、四个抽象画廊画布(liquid-chrome、glass-orbs、topographic-dusk、aurora-ribbons,算法见画廊部分)、滑块的前图(在运行时从 compare-island.webp 派生)、步骤和 bento UI 模型、bento T4 中的棋盘格和球体、色板以及画笔路径。
- 图标:lucide-react(ISC),按图标逐个导入:Sparkles、ArrowRight、ArrowDown、ImagePlus、RectangleVertical、Wand2、Check、Copy、Lock、Pin、ChevronsLeftRight、Plus、Menu、X、Mail、Rss、MessageCircle。不使用品牌 logo,不使用 Simple Icons,不使用 Lucide 品牌形状图标。
- 字体:安装 @fontsource-variable/bricolage-grotesque、@fontsource-variable/dm-sans 和 @fontsource-variable/jetbrains-mono(均为 OFL-1.1),并在 src/fonts.ts 中导入它们。Vite 会将 woff2 文件打包到 dist/ 中。
- 图片:在项目根目录编写 ASSETS.md,包含一个表格(路径、来源 URL、作者、许可证):public/images/ 中的每张图片占一行,包含其 media.vibefather.ai URL,作者为 'VibeFather',许可证为 'Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template';为三个 Fontsource 包(OFL-1.1,https://fontsource.org)和 lucide-react(Lucide contributors,ISC,https://lucide.dev)各写一行;并写一行说明 logo、favicon、抽象画廊艺术和 UI 模型是为本项目用代码绘制的。
## 禁止事项
- 不得包含任何形式的后端:不得有服务器代码、API 路由、数据库、认证、邮件服务、支付提供商、图像生成 API、分析工具或第三方 API。Generate 按钮只重放脚本化的演示;CTA 表单调用 preventDefault,仅改变本地 UI 状态;不提交或发送任何内容。
- 不得从 fonts.googleapis.com、fonts.gstatic.com、Adobe Fonts 或任何 CDN 加载字体。仅通过三个 Fontsource 包自托管。不得使用商业字体或自定义字体。
- 不得使用 CDN 的 `<script>`、`<link>` 或 import maps。每个脚本、样式、字体、图标和图像都安装或下载到项目中,并打包进 dist/。运行时绝不热链 media.vibefather.ai 的 URL;必须先下载。
- 生产构建中不得包含 source maps(build.sourcemap false),且 src/ 不得复制进 dist/。
- 资源路径使用相对路径(Vite base './',图像为 ./images/<file>)。内部链接为哈希锚点(#how、#features、#gallery、#pricing、#faq、#cta、#top)或 ./index.html,绝不使用裸目录或前导斜杠。
- 文案、标签、示例数据、alt 文本或代码注释中,任何位置都不得出现真实 AI 图像产品、模型系列或 AI 公司的名称、徽标、UI 外观、字标或模型名。产品是虚构的 [BRAND];以通用方式指代引擎('our image model')。
- 不得使用点名在世艺术家、工作室或摄影师的提示词('in the style of ...')、真实人物、名人,或受版权保护的角色、吉祥物及游戏或动漫 IP。用通用术语描述外观(film still、matte painting、clay、3D render)。
- 不得使用从 AI 图像社区或展示流中抓取的图像,不得使用 Unsplash、Pexels、Pixabay 或其他受限图库,不得使用带水印的图像,不得使用占位图服务。仅使用列出的六个文件和代码绘制的图形。
- 不得使用真实的使用量数据、用户数、模型基准、融资、客户徽标或推荐语。统计数据是为虚构品牌编造的产品事实。
- 不得将 Aceternity UI、Tailwind Plus / Tailwind UI 或任何购买模板中的代码或组件用于对比滑块、聚光灯、发光边框、瀑布流或任何其他效果。所有内容均按此处描述重新实现。
- 定价卡片上不得出现真实支付处理商名称、徽标、卡片图标或结账流程;套餐按钮仅滚动到 #cta。
- 不得使用 three.js 或其他 3D/WebGL 库:hero 变形是 Stack setup 中描述的小型手写 WebGL1 着色器,并带有 `<img>` 交叉淡入淡出回退。
- 仅对 HTML 元素上的 transform、opacity、clip-path 和 CSS 变量做动画;绝不直接对 width、height、top 或 left 做动画(FAQ 中的 Motion 自动高度是唯一例外)。当 hero 循环及其渲染循环离开屏幕或处于隐藏标签页时暂停。
- 尊重 prefers-reduced-motion:不得有打字、着色器缩放、微光、光标辉光、提示扫过、布局动画或拼贴漂移;hero 显示完整提示词,并带手动 'Next prompt' 按钮。
- 必须在 1440x900 和 390x844 下正常工作,零控制台错误且无水平滚动;移动端首屏必须显示图像面板。
- 除可选的 [CREDIT] 页脚链接外,站点中任何位置都不得提及 VibeFather。
---
— Prompt by VibeFather · https://vibefather.ai/t/ai-image-generator-landing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "AI Image Generator Landing Page"
colors:
void: "#0B0B10"
panel: "#12121A"
raised: "#1A1A25"
lifted: "#15141F"
line: "#FFFFFF14"
line_strong: "#FFFFFF26"
text: "#F2F0EC"
muted: "#A3A1AD"
faint: "#6B6977"
violet: "#8E6CFF"
orchid: "#C86BD8"
coral: "#FF7A59"
mint: "#5BD6A0"
accent_gradient: "linear-gradient(100deg, #8E6CFF 0%, #C86BD8 50%, #FF7A59 100%)"
typography:
display_h1_clamp_40px_5_4vw_76px_line_height_1_02_letter_spacing_0_035em_weight_650_h2_clamp_34px_4vw_54px_line_height_1_06_letter_spacing_0_03em_weight_600_card_titles_22px_weight_600_big_numbers: { family: "Bricolage Grotesque Variable", weights: [500, 600, 650, 700] }
text_body_16px_1_6_subheads_17_18px_nav_14px_buttons_14_15px_weight_600: { family: "DM Sans Variable", weights: [400, 500, 600] }
mono_prompt_text_seeds_section_labels_12px_letter_spacing_0_14em_uppercase_credit_numbers_chips: { family: "JetBrains Mono Variable", weights: [400, 500, 600] }
spacing: "8px base. Container max-width 1200px with 24px side padding (20px below 640px). Sections 112px vertical padding on desktop, 80px on mobile. 12-column grid with 20-48px gaps. Section header blocks have 56px space below them. Cards pad 24-32px."
radius: "Bento tiles, image panel, slider frame and plan cards 24px; step cards and FAQ card 20px; prompt box 20px; gallery tiles 16px; small thumbnails 10px; inputs inside panels 14px; every button, chip, tab and toggle is a full pill (999px)."
---
# AI Image Generator Landing Page — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **void** `#0B0B10` — Page background, text on gradient buttons
- **panel** `#12121A` — Cards, tiles, prompt box base, chips
- **raised** `#1A1A25` — Inputs, hover fills, checkerboard dark squares
- **lifted** `#15141F` — Highlighted Creator plan background
- **line** `#FFFFFF14` — Hairline borders and dividers (white at 8%)
- **line-strong** `#FFFFFF26` — Glass panel borders, image frames, ghost buttons (white at 15%)
- **text** `#F2F0EC` — Primary text, light buttons, handle line
- **muted** `#A3A1AD` — Body copy, nav links, labels
- **faint** `#6B6977` — Captions, footnotes, mono labels
- **violet** `#8E6CFF` — Gradient start, glows, cursor light
- **orchid** `#C86BD8` — Gradient midpoint
- **coral** `#FF7A59` — Gradient end, section labels, errors, 'Rendering' state
- **mint** `#5BD6A0` — Success states and paid-plan check icons only
- **accent gradient** `linear-gradient(100deg, #8E6CFF 0%, #C86BD8 50%, #FF7A59 100%)` — Used sparingly: primary buttons, focus rings, caret, highlighted plan border, gradient text in H1/H2 phrases and key numbers
## Typography
- **Display: H1 clamp(40px, 5.4vw, 76px) line-height 1.02 letter-spacing -0.035em weight 650; H2 clamp(34px, 4vw, 54px) line-height 1.06 letter-spacing -0.03em weight 600; card titles 22px weight 600; big numbers** — Bricolage Grotesque Variable (OFL), weights 500/600/650/700. Self-host the font files.
- **Text: body 16px/1.6, subheads 17-18px, nav 14px, buttons 14-15px weight 600** — DM Sans Variable (OFL), weights 400/500/600. Self-host the font files.
- **Mono: prompt text, seeds, section labels (12px, letter-spacing 0.14em, uppercase), credit numbers, chips** — JetBrains Mono Variable (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: 8px base. Container max-width 1200px with 24px side padding (20px below 640px). Sections 112px vertical padding on desktop, 80px on mobile. 12-column grid with 20-48px gaps. Section header blocks have 56px space below them. Cards pad 24-32px.
- Radius: Bento tiles, image panel, slider frame and plan cards 24px; step cards and FAQ card 20px; prompt box 20px; gallery tiles 16px; small thumbnails 10px; inputs inside panels 14px; every button, chip, tab and toggle is a full pill (999px).
## Motion
- Hero loop: type 30ms/char, hold 450ms, generate 1400ms progress with shimmer, WebGL noise-dissolve morph 1200ms easeInOutCubic, show 2600ms with 1.00 -> 1.04 zoom, erase 12ms/char; pauses off screen and in hidden tabs.
- Blinking gradient caret (1s steps) in the prompt box.
- Cursor-following violet glow and gradient border ring on the prompt box; soft white pointer spotlight on bento tiles (hover devices only).
- Scroll reveals: fade up 24px, 0.6s, ease [0.22, 1, 0.36, 1], once, stagger 0.05-0.1s.
- Gallery: tiles lift 4px and zoom image to 1.04 on hover, prompt overlay fades in; filter changes reflow with Motion layout springs.
- Before/after: one-time hint sweep of the handle when first in view; drag with pointer or keyboard.
- Pricing numbers slide on billing toggle; FAQ answers animate height; CTA collage drifts slowly.
- prefers-reduced-motion: no typing, shader zoom, shimmer, glow, hint sweep, layout animation or drift; hero shows full prompts with a manual 'Next prompt' button and instant image swaps.
## Imagery
Six generated images in one consistent look: cinematic digital renders with photographic realism, dusk light with deep violet shadows and warm coral highlights, soft haze and glowing practical lights, no people and no text. They appear as hero morph targets, step and bento visuals, the before/after subject, gallery tiles and the blurred CTA collage. Four extra gallery tiles are abstract art drawn in canvas with the same violet/orchid/coral palette. All UI mocks (prompt fields, chips, toggles, export panel, batch table) are built in HTML/CSS. No stock photos, no faces, no logos.
## Tone
Calm, confident and concrete. Short sentences, plain verbs, real numbers (render times, pixel sizes, credit costs). No hype words like 'revolutionary', 'unleash' or 'magic'; let the images and the live prompt do the selling.
---
— Prompt by VibeFather · https://vibefather.ai/t/ai-image-generator-landing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 面向团队的 AI 头像应用:把 PRODUCT 设为头像生成,围绕上传照片重写「工作原理」步骤,并把画廊卡片换成肖像结果。
- 面向游戏工作室的概念艺术工具:把 AUDIENCE 设为艺术总监和插画师,把风格标签改成环境和角色标签,并围绕概念草稿重写定价。
- 面向摄影师的照片放大服务:把 CREDIT_NAME 设为 upscales,把前后对比滑块的模式换成你的收尾预设,并围绕文件大小重写 FAQ。
- 独立创始人发布产品图生成器:把 BRAND 设为你的工具,为电商卖家重写首屏副标题,并把注册引导区的邮箱字段指向你的邮件列表。
AI 图像生成器落地页:常见问题
AI 图像生成器落地页的首屏会发生什么?
首屏展示一个玻璃质感的提示词框逐字打出一段示例提示词,同时 Generate 按钮填满进度条。旁边的大图通过一个手写的小型 WebGL 着色器溶解成匹配的画面。五组提示词与图像循环播放,缩略图条让访客在它们之间跳转。该效果使用 React、Tailwind CSS 和 Motion 构建。
如何在这个模板中修改定价和点数名称?
把 CREDIT_NAME 变量设置成用户每次生成所消耗的复数单位词,例如 credits、sparks 或 tokens。提示词中已写明定价计算,包括每张草稿、标准图和 HD 图的成本,因此换用自己的数字很快。高亮的 Creator 套餐使用抬升的背景色和强调渐变。
怎么用 AI 做一个AI 图像生成器落地页?
复制本页的提示词,或者运行 npx vibefather add ai-image-generator-landing-page,把 [BRAND]、[PRODUCT]、[AUDIENCE]、[CREDIT_NAME] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。