跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

短视频信息流应用是一个原创的、完全在客户端运行的运动故事体验,面向希望以更专注的方式展示短视频作品的创作者、工作室和出版方。它不使用真实视频文件或媒体后端,而是将六张本地托管的照片变成电影感场景,配有缓慢平移、定时字幕和可选的浏览器生成音效。最终结果可以快速作为静态站点发布,同时仍显得生动且沉浸。

界面以一个竖屏信息流为中心,通过滑动、滚轮或方向键进行有意的单条故事导航。紧凑的操作栏支持点赞、评论、收藏和分享;计数和新增评论会保存在本地。滑入式对话抽屉、旋转的声音控件和动画反馈让原型感觉完整,而不会假装连接实时服务。关注视图和创作者个人资料复用同一内容模型,个人资料网格可将访客带回任意选中的故事。

暖炭色、羊皮纸色文字和藏红花色点缀赋予该应用不同于常见社交平台的独特身份。Manrope 让控件保持清晰,而 Instrument Serif 为故事字幕增添编辑感。桌面端呈现带边框的竖屏舞台,周围有充裕的深色留白;移动端则将同一舞台变成全出血、适合拇指操作的的信息流。

更改品牌、编辑主题、受众和点缀色,即可将其适配为创客日志、旅行团体、美食出版物或创意社区。所有文案和示例数据都放在一个内容文件中。该模板特别适用于作品集实验、编辑概念和交互式产品原型,在这些场景中,动效、键盘可访问性、减少动态效果行为和响应式构图比后端集成更重要。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# Short Video Feed App

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build [BRAND], an original short-form motion-story web app for [AUDIENCE], organized around the editorial theme [FEED_THEME]. Six portrait photographs become video-like scenes through slow pans, timed captions and optional generative sound. Include a snapping feed, local social actions, a comment drawer, a following view and a creator profile with a media grid; do not use real video files or any backend.

- Audience: [AUDIENCE]. The experience should feel immediately usable by casual mobile viewers and sufficiently polished for designers evaluating an interactive product concept.
- Goal: Let visitors consume exactly one visual story at a time using touch, wheel or keyboard, then like, comment, save, share, follow and revisit stories through persistent browser-only state. Every visible control must have a real local behavior.
- Tone: Warm, observant, cinematic and quietly playful. Use concise editorial language rather than social-media clichés, growth claims or exaggerated urgency.

## Stack
- Framework: Vite 6 + React 19 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: motion (MIT), lucide-react (ISC), @fontsource-variable/manrope (OFL-1.1), @fontsource/instrument-serif (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; emit only static files into dist/ with index.html as the sole HTML entry.
  - Configure Tailwind CSS 4 through @tailwindcss/vite; define the color tokens, font families, feed keyframes and reusable utilities in src/index.css.
  - Import Manrope and Instrument Serif from the listed Fontsource packages so all font files ship locally.
  - Create src/content.ts as the single source for variables, navigation, six stories, seed comments, creator profile, image paths and every UI label; derive the profile handle by lowercasing BRAND and removing spaces and punctuation.
  - Implement #/, #/following and #/profile with a small hash router; also accept ./index.html?story=<story-id> and open the matching story, defaulting to the first story when the parameter is absent or invalid.
  - Use React hooks for active-story, navigation, drawer, toast, follow and tab state; persist likes, saves, follows and added comments in localStorage under one versioned key derived from BRAND, with safe JSON parsing and graceful fallback.
  - Use Motion only for interface transitions and CSS keyframes only for scene pans and the sound disc; keep the active story and animation state synchronized.
  - Create quiet ambient sound with the Web Audio API after an explicit sound-button press, using a different two-note oscillator pattern per story; suspend the AudioContext when sound is off or the document is hidden.
  - Implement sharing with navigator.clipboard and a textarea-based fallback, then show a local confirmation toast; never send content to a server.

## Variables
- [BRAND] — Invented publication or app brand (default: "Hearthline"). Use it in the wordmark, profile name, document title and derived handle.
- [FEED_THEME] — Editorial theme of the story collection (default: "Small rituals, beautifully observed"). Rewrite captions, bios and empty states to fit this theme while preserving their length and structure.
- [AUDIENCE] — Primary audience (default: "curious people who collect craft, food and slow-travel stories"). Keep the voice specific to this audience without adding marketing claims.
- [ACCENT] — Primary interface accent as a hex color (default: "#E9B44C"). Apply to active states, progress, focused controls and the Follow button; retain accessible contrast.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/short-video-feed-app 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 仍然免费。

$9/月起 · 年付和终身正在上线特惠

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "Short Video Feed App"
colors:
  canvas: "#0C0B0F"
  raised: "#17151B"
  ink: "#F7F3EB"
  muted: "#AAA3AF"
  saffron: "#E9B44C"
  hairline: "#343039"
typography:
  interface_metadata_and_action_labels: { family: "Manrope Variable", weights: [400, 500, 600, 700, 800] }
  story_captions_and_profile_editorial_statement: { family: "Instrument Serif", weights: [400] }
spacing: "Use a 4px base unit. Desktop header is 72px with 32px horizontal padding; desktop story stage has 24px vertical breathing room. Caption blocks use 16px internal gaps, action buttons are 52px with 12px gaps, and drawer rows use 20px. Mobile header is 56px, bottom navigation is 64px plus safe-area inset, captions sit 16px from the left and actions 12px from the right."
radius: "Desktop portrait stage 28px; desktop drawer 24px 0 0 24px; mobile drawer 28px 28px 0 0; inputs and small thumbnail cards 12px; action buttons, tabs, pills and sound disc fully round. Mobile feed stage has no radius."
---

# Short Video Feed App — 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
- **Canvas** `#0C0B0F` — App background, mobile edge-to-edge surround and deep image scrims.
- **Raised** `#17151B` — Header, drawer, input and desktop control surfaces.
- **Ink** `#F7F3EB` — Primary captions, counts, navigation and high-contrast icons.
- **Muted** `#AAA3AF` — Metadata, inactive navigation, timestamps and secondary actions.
- **Saffron** `#E9B44C` — Default value of [ACCENT]; replace everywhere when the variable changes.
- **Hairline** `#343039` — One-pixel borders, tab rules and progress-track divisions.

## Typography
- **Interface, metadata and action labels** — Manrope Variable (OFL), weights 400/500/600/700/800. Self-host the font files.
- **Story captions and profile editorial statement** — Instrument Serif (OFL), weights 400. Self-host the font files.

## Spacing & shape
- Spacing: Use a 4px base unit. Desktop header is 72px with 32px horizontal padding; desktop story stage has 24px vertical breathing room. Caption blocks use 16px internal gaps, action buttons are 52px with 12px gaps, and drawer rows use 20px. Mobile header is 56px, bottom navigation is 64px plus safe-area inset, captions sit 16px from the left and actions 12px from the right.
- Radius: Desktop portrait stage 28px; desktop drawer 24px 0 0 24px; mobile drawer 28px 28px 0 0; inputs and small thumbnail cards 12px; action buttons, tabs, pills and sound disc fully round. Mobile feed stage has no radius.

## Motion
- Advance or reverse exactly one story per completed wheel or swipe gesture. Use a 24px wheel threshold, 48px touch threshold and 720ms input lock; ArrowDown and ArrowUp mirror navigation, while Home and End jump to the boundaries. Prevent the page behind the feed from scrolling.
- Move between stories with a 520ms cubic-bezier(0.22,1,0.36,1) transform and opacity transition; retain native vertical scroll-snap with scroll-snap-stop: always as the touch fallback.
- Animate only the active photograph for 14s per loop, alternating between scale 1.04 translate3d(-1%,0,0) and scale 1.12 translate3d(1.5%,-1.5%,0). Pause inactive cards and when the document is hidden.
- Reveal the active kicker, caption and creator row with 320ms upward fades staggered by 60ms. Animate count changes with a 180ms vertical roll and the like button with a single 220ms scale pulse.
- Open the comment drawer over 360ms with the same ease and fade its scrim over 200ms. Toasts enter for 220ms, remain for 1800ms and exit without covering the action rail.
- Rotate the sound disc once every 8s only while sound is enabled. Never autoplay sound, and avoid continuous motion elsewhere.
- Under prefers-reduced-motion, remove pans, rotation, smooth scrolling, staggering and count pulses; use immediate state changes and a simple 100ms opacity change for the drawer.

## Imagery
Use the six supplied vertical cinematic photographs as full-bleed story artwork, all with warm amber highlights, deep charcoal shadows, muted sage accents and fine 35mm grain. Apply a bottom-to-top #08070B scrim for readable captions and a subtle blurred duplicate behind the desktop portrait stage. Crop with object-fit: cover and preserve each image's stated focal point. People may appear only as the supplied fictional, unidentifiable figures, hands or distant silhouettes; never add real creator likenesses, logos, lettering or watermarks.

## Tone
Warm, observant, cinematic and quietly playful. Use concise editorial language rather than social-media clichés, growth claims or exaggerated urgency.

---
— Prompt by VibeFather · https://vibefather.ai/t/short-video-feed-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 旅行团体:将 [BRAND] 设为你的团体名称,将 [FEED_THEME] 设为旅行快讯,并把六张照片和字幕换成你路线上的实地笔记。
  • 美食出版物:使用 [BRAND] 作为刊头,将 [FEED_THEME] 设为季节性厨房故事,并为你的编辑重写个人资料简介和空状态。
  • 创客日志:将 [AUDIENCE] 指向业余木工,将 [ACCENT] 改为工坊色调,并用你的成品替换创作者个人资料网格。
  • 创意社区原型:保留信息流结构,将 [FEED_THEME] 设为成员聚焦,并将个人资料网格链接到每位贡献者选中的故事。

短视频信息流应用:常见问题

如果我没有实际视频文件,如何用 AI 制作短视频信息流网站?

短视频信息流应用模板通过缓慢平移、定时字幕和可选的浏览器生成音效,将六张本地托管的竖屏照片变成电影感场景,因此不需要视频文件或媒体后端。让你的 AI 编程代理根据已发布的提示词进行构建,然后在单一内容文件中替换六张图片路径和字幕。最终构建为静态文件,可托管在任何地方。

在短视频信息流应用模板中,我可以更改哪些内容来匹配我的品牌?

短视频信息流应用模板提供四个变量:BRAND 设置文字标识、个人资料名称、文档标题和派生句柄;FEED_THEME 设置编辑主题并重写字幕、简介和空状态;AUDIENCE 设置语气;ACCENT 是一个十六进制颜色,应用于激活状态、进度、聚焦控件和关注按钮。所有文案和示例数据都放在一个内容文件中。