用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
这个音乐应用落地页把核心产品预览做成了访客真正能听到的内容。近乎黑色的舞台衬托着大块洋红、青色和柠檬绿的全息图形,而不透明的应用面板让提示词和播放控件保持清晰可读。整体效果既有音乐工具的视觉冲击力,又不依赖预先录制的视频或与声音无关的装饰性波形。
随附的演示曲目是构建过程中由代码生成的原创合成作品,以本地 WAV 文件形式提供。用户主动开始播放后,真实的 Web Audio 分析器会驱动波形和频率显示,音量、跳转、暂停和切换曲目都连接到同一个播放器。流派和情绪标签用于选择有文档说明的演示变体,界面也明确说明本页是在试听随附示例,而不是调用 AI 生成服务。下载按钮可保存选中的原创演示文件。
播放器下方,曲目画廊介绍了四种不同的音乐创意,附有时长、速度和实用场景说明。一个紧凑的流程区块说明了创作者如何从需求简报走到候选清单。基于积分的定价包含本地套餐对比和访客无需订阅即可查看的算术计算。FAQ 回答区分了虚构的产品概念和静态演示,并避免做出没有依据的授权或商用承诺。
所有文字和曲目元数据都放在一个可编辑模块中。备选示例将受众从视频创作者改为游戏团队,包括曲目标题、简报、用例和定价。两种情况下音频都保持本地和原创。响应式控件、清晰的空状态、键盘操作和减少动态效果显示,使这个模板成为音乐工具、音效库和创意软件发布的实用起点。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# AI Music Generator Landing Page Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build [BRAND], a fictional AI music concept described as [PRODUCT] for [AUDIENCE]. It has a functional static audio audition demo, not a live generation backend. - Audience: [AUDIENCE] who want to explore a musical direction before editing. - Goal: Hear four original bundled tracks, change genre/mood, inspect a genuine analyzer and compare credit plans without claiming cloud AI work occurred. - Tone: Musically literate and precise; label every demo boundary close to its control. ## Stack - Framework: Vite + React + TypeScript - Styling: Vanilla CSS - Libraries: vite (MIT), react (MIT), react-dom (MIT), typescript (Apache-2.0), @fontsource/space-grotesk (OFL-1.1), @fontsource/inter (OFL-1.1) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Set Vite base to ./ and build.sourcemap to false. Use a single src/content.ts for all editable content and fully rewrite its data for variable changes. - Implement responsive components and CSS tokens in src/styles.css. Bundle fonts through the listed Fontsource packages; import only the weights actually used. - Provide semantic native controls and keyboard/touch alternatives; implement focus-managed dialogs and local-only validated form feedback. - Implement scripts/make-demo-audio.mjs using only Node built-in fs: synthesize original PCM16 mono WAV files at 22050Hz, four 16-second seamless loops, below 3MB combined. npm run build must run node scripts/make-demo-audio.mjs && vite build. No downloads, packages, samples, copyrighted melodies or external music. - Audio generation specification: deterministic seeded noise, sine/triangle oscillators, kick with exponential 95→42Hz pitch sweep and decaying envelope, high-pass-like noise hats, soft clipped bass, original 8-note arpeggio patterns. 120 BPM/eight 4-beat bars per 16s loop; each track uses a distinct scale, drum pattern and patch. Apply 10ms boundary fades and normalize peak <=.75, avoid clipping. Save public/audio/prism-pulse.wav, soft-current.wav, paper-steps.wav and low-orbit.wav. Write source composition/ownership notes in ASSETS.md. - Create one HTMLAudioElement, one AudioContext and one MediaElementAudioSourceNode per mounted player. Connect source→AnalyserNode→GainNode→destination once; fftSize=1024, smoothingTimeConstant=.8. Only resume/play after user gesture; catch errors visibly. Use time-domain and frequency data from this node, not random animation. Pause requestAnimationFrame when paused/hidden, clean up on unmount. ## Variables - [BRAND] — Brand (default: "Prismtone"). Rewrite every related headline, item, label, alt and confirmation for this value. - [AUDIENCE] — Audience (default: "independent video makers"). Rewrite every related headline, item, label, alt and confirmation for this value. - [PRODUCT] — Product (default: "a music sketchpad"). Rewrite every related headline, item, label, alt and confirmation for this value. - [STARTER_PRICE] — Starter Price (default: "12"). Rewrite every related headline, item, label, alt and confirmation for this value. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/ai-music-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.
Pro 模板
解锁完整提示词和源码
- 完整提示词:设计、版块、动效、素材
- 每个在线演示的源码
- 商用授权
在线演示和 DESIGN.md 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "AI Music Generator Landing Page"
colors:
magenta: "#FF2EC4"
cyan: "#00F0FF"
lime: "#C5FF47"
near_black: "#070811"
panel: "#17192C"
white: "#F8FAFF"
typography:
display: { family: "Space Grotesk", weights: [700] }
body: { family: "Inter", weights: [400, 700] }
spacing: "1200px max, 48px desktop/20px mobile gutters; 8px unit, 96px/60px section spacing. Hero display 88px/52px; product panel 620px wide; normal text 16–18px."
radius: "28px player stage, 16px cards, 12px inputs, pill chips; thin cyan separators with opaque dark surfaces under text."
---
# AI Music 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
- **Magenta** `#FF2EC4` — Large first-screen holographic left disc. WCAG relative-luminance calculations: #070811 text on #FF2EC4: 6.12:1; #070811 text on #00F0FF: 14.17:1; #070811 text on #C5FF47: 16.89:1; #F8FAFF text on #070811: 19.12:1; #F8FAFF text on #17192C: 16.59:1. Use these pairs for every normal-size label/body/button. Decorative overlaps/gradients carry no text; readable text gets a solid backing.
- **Cyan** `#00F0FF` — Large first-screen holographic right ribbon.
- **Lime** `#C5FF47` — Third gradient stop, buttons and sound accents.
- **Near black** `#070811` — Main stage, readable dark labels on bright chips.
- **Panel** `#17192C` — Opaque application reading surface.
- **White** `#F8FAFF` — Body and headings on dark surfaces.
## Typography
- **Display** — Space Grotesk (OFL), weights 700. Self-host the font files.
- **Body** — Inter (OFL), weights 400/700. Self-host the font files.
## Spacing & shape
- Spacing: 1200px max, 48px desktop/20px mobile gutters; 8px unit, 96px/60px section spacing. Hero display 88px/52px; product panel 620px wide; normal text 16–18px.
- Radius: 28px player stage, 16px cards, 12px inputs, pill chips; thin cyan separators with opaque dark surfaces under text.
## Motion
- Holographic art moves max 12px across 8s with an explicit Pause visuals toggle; no changing full-screen brightness.
- Waveform and 48 spectrum bars display real analyzer values capped at 30fps, with a slow .12 interpolation. No sound means flat line/zero bars. Reduced motion changes to a still waveform plus a numeric playback time and a single stable level meter refreshed at 2Hz.
## Imagery
No raster photos. Draw large original magenta→cyan→lime ribbons/discs in SVG/CSS over near-black; holographic gradients occupy at least 40% first screen behind/around an opaque music application preview. Each track has original code-drawn waveform/geometry artwork using the same palette. Album artwork has no real artist, logo or copied cover. UI itself is a high-craft hero anchor with actual prompt chips, timeline and controls.
## Tone
Musically literate and precise; label every demo boundary close to its control.
---
— Prompt by VibeFather · https://vibefather.ai/t/ai-music-generator-landing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 一家游戏工作室发布配乐工具:将 AUDIENCE 设为游戏团队,把四段曲目重新命名为关卡、菜单和 Boss 主题,并围绕游戏节奏重写使用说明。
- 面向播客主播的音效库:保留播放器,将流派和情绪标签换成口语内容分类,并将曲目画廊改为带时长和情绪的采样包。
- 一位独立作曲人销售草图创作服务:将 BRAND 设为你的工作室名称,将 STARTER_PRICE 设为你的服务费率,并围绕从简报 to 候选清单的工作流程重写流程区块。
- 一家创意软件初创公司:将 PRODUCT 设为你的编辑器,保留全息舞台,并重写套餐对比以匹配你自己的积分层级。
AI 音乐生成器落地页:常见问题
AI 音乐生成器落地页上的音频播放器实际上是如何工作的?
AI 音乐生成器落地页随附四段原创 WAV 循环,可在浏览器本地播放。Web Audio 分析器读取真实信号来驱动波形和频率显示,因此视觉效果会随声音变化。只有访客按下播放后才会开始播放,音量、跳转、暂停和切换曲目都控制同一个播放器。
AI 音乐生成器落地页上的演示曲目是真正的 AI 生成歌曲吗?
不是。AI 音乐生成器落地页上的四段演示曲目是由构建脚本生成的原创合成作品,保存为本地 WAV 文件。页面明确标注了这一点:它试听的是随附示例,而不是调用生成服务。产品本身是一个虚构概念,界面在播放器控件附近也说明了这一点。