登录页面设计
通过 inference.sh CLI 使用 AI 生成视觉元素,设计高转化率的登录页面。
快速开始
curl -fsSL https://cli.inference.sh | sh && infsh login
infsh app run falai/flux-dev-lora --input '{
"prompt": "professional person smiling while using a laptop showing a clean dashboard interface, bright modern office, natural lighting, warm and productive atmosphere, lifestyle marketing photography",
"width": 1248,
"height": 832
}'
infsh app run tavily/search-assistant --input '{
"query": "best SaaS landing page examples 2024 conversion rate"
}'
安装说明: 安装脚本 只会检测您的操作系统/架构,从 dist.inference.sh 下载匹配的二进制文件,并验证其 SHA-256 校验和。无需提升权限或后台进程。也提供 手动安装与验证。
首屏公式
在滚动之前可见的所有内容,必须在5秒内传达出价值。
┌─────────────────────────────────────────────────┐
│ [Logo] [Nav] [CTA Button] │
│ │
│ Headline (6-12 words) │
│ ───────────────────────── │
│ Subheadline (15-25 words) [Hero Image] │
│ showing the │
│ [Primary CTA Button] OUTCOME, not │
│ "Start Free Trial" the product │
│ │
│ Social proof: "Trusted by 10,000+ teams" │
│ [logo] [logo] [logo] [logo] [logo] │
└─────────────────────────────────────────────────┘
5个关键元素
| 元素 | 规则 | 示例 |
|---|
| 标题 (Headline) | 6-12个单词,陈述结果 | "Ship docs in minutes, not days" |
| 副标题 (Subheadline) | 15-25个单词,扩展说明如何实现 | "AI-powered documentation that writes itself from your codebase. No templates needed." |
| 首屏图片 (Hero image) | 展示结果,而非产品 | 人物看到结果后满意的表情,而不是您UI的截图 |
| 主要CTA (Primary CTA) | 动作动词 + 价值 | "Start Free Trial" 而不是 "Submit" 或 "Learn More" |
| 社交证明 (Social proof) | 标识、数量或微型用户评价 | "Trusted by 10,000+ teams at [logos]" |
标题
高转化率的标题公式
| 公式 | 示例 |
|---|
| [结果] 无需 [痛点] | "Beautiful docs without the design skills" |
| 在 [时间] 内获得 [结果] | "Launch your site in 5 minutes" |
| 完成 [常见任务] 的 [更好方式] | "The faster way to build APIs" |
| 停止 [痛点]. 开始 [结果]. | "Stop guessing. Start knowing." |
| [数量] 个 [事物] 助你 [结果] | "One tool to manage all your data" |
失败标题的特征
❌ "Welcome to Our Platform" (未说明价值)
❌ "The World's Most Advanced AI-Powered Solution" (空泛的流行词,无具体内容)
❌ "We Help Businesses Grow" (模糊、通用)
❌ "Next-Generation Enterprise Software" (它是做什么的?)
✅ "Turn customer feedback into product features, automatically"
✅ "The spreadsheet that thinks like a database"
✅ "Find and fix bugs before your users do"
首屏图片
展示结果,而非产品
❌ 您的仪表盘截图 (无聊,一眼难以解析)
❌ 抽象的几何背景 (无信息量)
❌ 握手的库存照片 (老套)
✅ 人物在屏幕上看到清晰结果后满足的表情
✅ 使用前后对比图
✅ 使用您产品后的最终效果
infsh app run falai/flux-dev-lora --input '{
"prompt": "happy professional team celebrating around a laptop showing positive growth charts, bright modern office, natural sunlight, authentic candid moment, marketing photography style, warm tones",
"width": 1248,
"height": 832
}'
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "clean modern laptop on a minimalist desk showing a beautiful analytics dashboard, floating UI elements emerging from the screen, soft gradient background, product marketing style, professional",
"size": "2K"
}'
CTA按钮
按钮文案
| 好的CTA | 差的CTA |
|---|
| "Start Free Trial" | "Submit" |
| "Get Started Free" | "Click Here" |
| "See It in Action" | "Learn More" (低承诺度) |
| "Create Your First Report" | "Sign Up" (模糊) |
| "Try Free for 14 Days" | "Register" |
公式: 动作动词 + 价值/结果 + (可选:降低风险)
按钮设计
| 元素 | 规则 |
|---|
| 颜色 | 与背景高对比度——必须是页面上最显眼的元素 |
| 尺寸 | 最小高度44px(触控目标),宽度需足以容纳文本和内边距 |
| 位置 | 位于首屏,在每个主要部分之后重复 |
| 留白 | 按钮周围留出充足内边距,不要拥挤 |
| 次要CTA | 如需要,使用下方文本链接("or watch a demo") |
模块顺序
登录页面的经过验证的序列:
| 模块 | 目的 | 关键元素 |
|---|
| 1. 首屏 (Hero) | 核心价值,主要CTA | 标题 + 图片 + CTA |
| 2. 社交证明 (Social Proof) | 建立信任 | 标识、数字、徽章 |
| 3. 问题 (Problem) | 引发共鸣 | 他们能识别的痛点 |
| 4. 解决方案/功能 (Solution/Features) | 展示如何解决 | 3个主要功能及视觉展示 |
| 5. 工作原理 (How It Works) | 降低复杂性 | 3个步骤:注册、配置、获益 |
| 6. 用户评价 (Testimonials) | 证明其有效 | 2-3个具体客户评价 |
| 7. 定价 (Pricing) | 促成决策 | 清晰的层级,突出推荐方案 |
| 8. 常见问题 (FAQ) | 处理异议 | 5-7个常见问题 |
| 9. 最终CTA (Final CTA) | 捕获剩余流量 | 重复主要CTA并加入紧迫感 |
社交证明类型
| 类型 | 影响 | 放置位置 |
|---|
| 公司标识 | 处理最快,信任度高 | 首屏下方 |
| 用户数量 | 规模信号 | 首屏或社交证明栏 |
| 星级评分 | 产品质量信号 | 靠近CTA |
| 用户评价 | 详细可信度 | 专属模块 |
| 案例研究数据 | 具体证明 | 功能模块 |
| 信任徽章 | 安全/合规信号 | 表单、定价、页脚附近 |
infsh app run exa/answer --input '{
"question": "What is the average conversion rate for SaaS landing pages with social proof vs without?"
}'
表单设计
| 规则 | 影响 |
|---|
| 每增加一个字段,转化率约降低11% | 减少字段数量 |
| 姓名 + 邮箱 = 注册时最大可接受范围 | 不要询问电话、公司、职位 |
| 单列布局 | 不要使用多列表单 |
| 内联验证 | 立即显示错误,而非提交时才显示 |
| 清晰的错误提示 | 使用 "Email is required" 而不是 "Error in field 3" |
| 提交按钮文案 = 动作 | 使用 "Create Account" 而不是 "Submit" |
移动端优化
| 规则 | 原因 |
|---|
| CTA按钮全宽 | 方便用拇指点击 |
| 随滚动粘性CTA | 始终可访问 |
| 无水平滚动 | 会破坏移动端布局 |
| 字体最小16px | iOS系统会对小于16px的输入框进行缩放 |
| 触控目标最小48x48px | 符合Apple HIG和Google Material设计规范 |
| 图片响应式 | 不要溢出视口 |
| 优先展示标题和CTA | 简化首屏内容 |
用于分享的OG图片
infsh app run falai/flux-dev-lora --input '{
"prompt": "clean professional social sharing card, product name and tagline on modern gradient background, minimal design, corporate tech aesthetic, 1200x630 aspect ratio equivalent",
"width": 1200,
"height": 630
}'
infsh app run infsh/html-to-image --input '{
"html": "<div style=\"width:1200px;height:630px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-family:sans-serif;color:white\"><div style=\"text-align:center\"><h1 style=\"font-size:48px;margin:0\">DataFlow</h1><p style=\"font-size:24px;opacity:0.9\">Ship docs in minutes, not days</p></div></div>"
}'
页面速度
| 规则 | 目标 | 原因 |
|---|
| 首屏图片 | < 200 KB | 首先加载的内容 |
| 页面总大小 | < 2 MB | 考虑移动端数据和用户耐心 |
| 懒加载首屏以下内容 | 始终开启 | 仅加载可见内容 |
| 最小化JavaScript | < 200 KB | 会阻塞渲染 |
| LCP (最大内容绘制) | < 2.5s | Google Core Web Vitals 指标 |
常见错误
| 错误 | 问题 | 修复方法 |
|---|
| 无清晰标题 | 访客不知道您是做什么的 | 6-12个单词,以结果为导向 |
| CTA文案为 "Learn More" | 承诺度太低 | 动作动词 + 具体价值 |
| 首屏图片是产品截图 | 难以解析,无聊 | 展示结果,使用生活化图片 |
| 多个竞争性CTA | 决策瘫痪 | 最多一个主要CTA,一个次要CTA |
| 无社交证明 | 无信任信号 | 添加标识、数量或用户评价 |
| 表单字段过多 | 每增加一个字段转化率约降低11% | 最多姓名 + 邮箱 |
| 仅桌面端设计 | 60%+流量来自移动端 | 优先进行移动端设计 |
| 最终CTA无紧迫感 | 访客离开并忘记 | 使用 "Start your free 14-day trial" |
相关技能
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@web-search
npx skills add inference-sh/skills@prompt-engineering
浏览所有应用:infsh app list