video-ad-specs by inferen-sh/skills
npx skills add https://github.com/inferen-sh/skills --skill video-ad-specs通过 inference.sh CLI 创建针对特定平台的视频广告。
需要 inference.sh CLI (
infsh)。安装说明
infsh login
# 生成竖版视频广告场景
infsh app run bytedance/seedance-1-5-pro --input '{
"prompt": "vertical video, person excitedly unboxing a product, clean modern room, bright natural lighting, social media ad style, authentic feeling, 9:16 format"
}'
| 规格 | 数值 |
|---|---|
| 宽高比 | 9:16 (竖版) |
| 分辨率 | 1080 x 1920 像素 |
| 时长 | 5-60 秒 (推荐 15-30 秒) |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 文件大小 | 最大 500 MB |
| 格式 | MP4, MOV |
| 声音 | 默认开启 (设计时需考虑声音) |
| 文字安全区 | 距离所有边缘 150 像素 |
| 吸引窗口 | 1 秒 — 第一帧必须抓住注意力 |
| 规格 | 数值 |
|---|---|
| 宽高比 | 9:16 (竖版) |
| 分辨率 | 1080 x 1920 像素 |
| 时长 | 最长 90 秒 (广告推荐 15-30 秒) |
| 封面图片 | 单独上传,在网格中显示 |
| 声音 | 默认开启 |
| 字幕区域 | 底部 20% 保留用于文字叠加 |
| 规格 | 数值 |
|---|---|
| 宽高比 | 9:16 |
| 分辨率 | 1080 x 1920 像素 |
| 时长 | 每个片段最长 15 秒 |
| 上滑/链接 | 广告可用 |
| 顶部/底部 | 顶部 14% 和底部 20% = 关键内容不安全区域 |
| 格式 | 宽高比 | 时长 | 跳过 |
|---|---|---|---|
| Bumper | 16:9 | 6 秒 精确 | 不可跳过 |
| Non-skippable | 16:9 | 15 秒 | 不可跳过 |
| Skippable (TrueView) | 16:9 | 任意长度 | 5 秒 后可跳过 |
| Shorts | 9:16 | 最长 60 秒 | 不适用 |
分辨率:1920 x 1080 (16:9) 或 1080 x 1920 (Shorts)
| 规格 | 数值 |
|---|---|
| 宽高比 | 1:1 (方形) 或 4:5 (推荐用于移动端) |
| 分辨率 | 1080 x 1080 或 1080 x 1350 |
| 时长 | 最长 240 分钟 (推荐 15-30 秒) |
| 自动播放 | 静音 — 字幕至关重要 |
| 声音 | 85% 的 Facebook 视频是在 无声 状态下观看的 |
| 规格 | 数值 |
|---|---|
| 宽高比 | 1:1 或 16:9 |
| 分辨率 | 1080 x 1080 或 1920 x 1080 |
| 时长 | 3 秒到 10 分钟 (广告推荐 15-30 秒) |
| 基调 | 专业 |
| 自动播放 | 信息流中静音 |
| 阶段 | 时间 | 目标 | 技巧 |
|---|---|---|---|
| 注意 | 0-3 秒 | 停止滚动 | 模式中断、大胆的视觉、提问 |
| 兴趣 | 3-10 秒 | 保持观看 | 陈述问题、展示相关性 |
| 欲望 | 10-20 秒 | 想要解决方案 | 展示产品/结果、社会认同 |
| 行动 | 最后 3-5 秒 | 点击/购买/注册 | 清晰的行动号召、紧迫感、优惠 |
| 技巧 | 示例 |
|---|---|
| 大胆陈述 | "这个工具取代了我的整个营销团队" |
| 提问 | "你为什么还在手动做这个?" |
| 惊喜视觉 | 意想不到的转变、前后对比展示 |
| 模式中断 | 从动作中间开始、不寻常的角度、鲜艳的颜色 |
| 社会认同 | "200 万人已经改用这个了" |
| 痛点 | "如果你讨厌 [常见烦恼],请看这个" |
# 吸引场景 (0-3 秒)
infsh app run google/veo-3-1-fast --input '{
"prompt": "vertical 9:16 video, close-up of hands struggling with tangled cables and messy desk, frustrated energy, shaky handheld camera, authentic social media style, bright lighting"
}'
# 解决方案展示 (3-15 秒)
infsh app run bytedance/seedance-1-5-pro --input '{
"prompt": "vertical video, smooth product reveal, clean wireless charging station on minimalist desk, satisfying organization transformation, bright modern room, social media ad aesthetic"
}'
# 添加画外音
infsh app run falai/dia-tts --input '{
"prompt": "[S1] Stop wasting time with this mess. This one product changed my entire setup. Everything charges. Everything is organized. Link in bio."
}'
# 合并视频 + 音频
infsh app run infsh/video-audio-merger --input '{
"video": "solution-reveal.mp4",
"audio": "voiceover.mp3"
}'
# 添加字幕 (对静音自动播放至关重要)
infsh app run infsh/caption-videos --input '{
"video": "ad-with-audio.mp4",
"caption_file": "captions.srt"
}'
infsh app run google/veo-3-1-fast --input '{
"prompt": "square 1:1 video, professional person at desk discovering a new software tool, laptop screen showing clean dashboard, natural office lighting, corporate commercial style, satisfied expression"
}'
# 6 秒 bumper:一个信息、一个视觉、一个行动号召
infsh app run google/veo-3-1-fast --input '{
"prompt": "6 second product ad, quick montage of a sleek app being used on phone, fast cuts, modern, energetic, brand logo reveal at end, punchy and dynamic, wide 16:9"
}'
# 保持紧凑
infsh app run falai/dia-tts --input '{
"prompt": "[S1] Your reports. Automated. Try DataFlow free."
}'
85% 的 Facebook 视频和超过 40% 的 Instagram 视频是在静音状态下观看的。
| 规则 | 原因 |
|---|---|
| 始终添加字幕 | 在大多数平台上,静音观看是默认状态 |
| 大号、易读字体 | 小文字在移动设备上看不见 |
| 高对比度 | 白色文字配深色描边/背景 |
| 居中或底部三分之一 | 标准观看位置 |
| 每次最多 2 行 | 文字太多 = 阅读速度跟不上 |
| 关键词加粗/变色 | 吸引眼球关注重要词语 |
# 从音频生成字幕
# (从你的脚本创建 SRT 文件,然后烧录进去)
infsh app run infsh/caption-videos --input '{
"video": "ad-video.mp4",
"caption_file": "ad-captions.srt"
}'
| 时间 | 内容 |
|---|---|
| 0-3 秒 | 客户陈述他们遇到的问题 |
| 3-15 秒 | 他们如何发现并尝试该产品 |
| 15-25 秒 | 他们取得的具体成果 |
| 25-30 秒 | 产品名称 + 行动号召 |
| 时间 | 内容 |
|---|---|
| 0-3 秒 | 问题 (文字或视觉) |
| 3-20 秒 | 展示解决方案的产品演示 |
| 20-25 秒 | 关键结果/好处 |
| 25-30 秒 | 行动号召 + 优惠 |
| 时间 | 内容 |
|---|---|
| 0-3 秒 | "之前" 状态 (混乱、缓慢、令人沮丧) |
| 3-5 秒 | 过渡 / 产品介绍 |
| 5-12 秒 | "之后" 状态 (干净、快速、令人满意) |
| 12-15 秒 | 行动号召 |
| 错误 | 问题 | 解决方法 |
|---|---|---|
| 前 1-3 秒没有吸引点 | 观众划走 | 以模式中断开场 |
| 在 TikTok/Reels 上使用横版视频 | 有黑边,看起来很业余 | 为竖版平台使用 9:16 |
| 没有字幕 | 大多数观众静音观看 | 始终添加字幕 |
| 行动号召太晚 | 观众已经离开 | 在最后 5 秒内给出清晰的行动号召 |
| 对于平台来说太长 | 被迫跳过或退出 | 匹配平台时长规范 |
| 所有平台使用相同的广告 | 规格错误,基调错误 | 创建针对特定平台的版本 |
| 前 3 秒出现 Logo | 感觉像商业广告,被跳过 | 将品牌展示留到最后 |
| 文字在不安全区域 | 被平台 UI 遮挡 | 检查每个平台的安全区 |
npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@video-prompting-guide
npx skills add inference-sh/skills@text-to-speech
npx skills add inference-sh/skills@prompt-engineering
浏览所有应用:infsh app list
每周安装量
7.2K
代码仓库
GitHub 星标数
202
首次出现
14 天前
安全审计
安装于
claude-code5.8K
gemini-cli5.1K
codex5.1K
opencode5.1K
amp5.1K
kimi-cli5.1K
Create platform-specific video ads via inference.sh CLI.
Requires inference.sh CLI (
infsh). Install instructions
infsh login
# Generate a vertical video ad scene
infsh app run bytedance/seedance-1-5-pro --input '{
"prompt": "vertical video, person excitedly unboxing a product, clean modern room, bright natural lighting, social media ad style, authentic feeling, 9:16 format"
}'
| Spec | Value |
|---|---|
| Aspect ratio | 9:16 (vertical) |
| Resolution | 1080 x 1920 px |
| Duration | 5-60 seconds (15-30s recommended) |
| File size | Max 500 MB |
| Format | MP4, MOV |
| Sound | On by default (design with sound) |
| Text safe zone | 150px from all edges |
| Hook window | 1 second — first frame must grab attention |
| Spec | Value |
|---|---|
| Aspect ratio | 9:16 (vertical) |
| Resolution | 1080 x 1920 px |
| Duration | Up to 90 seconds (15-30s for ads) |
| Cover image | Separate upload, shows in grid |
| Sound | On by default |
| Caption area | Bottom 20% reserved for text overlay |
| Spec | Value |
|---|---|
| Aspect ratio | 9:16 |
| Resolution | 1080 x 1920 px |
| Duration | Up to 15 seconds per segment |
| Swipe-up/Link | Available for ads |
| Top/bottom | 14% top and 20% bottom = unsafe for key content |
| Format | Aspect | Duration | Skip |
|---|---|---|---|
| Bumper | 16:9 | 6 seconds exactly | Non-skippable |
| Non-skippable | 16:9 | 15 seconds | Non-skippable |
| Skippable (TrueView) | 16:9 | Any length | Skip after 5 seconds |
| Shorts | 9:16 | Up to 60 seconds | N/A |
Resolution: 1920 x 1080 (16:9) or 1080 x 1920 (Shorts)
| Spec | Value |
|---|---|
| Aspect ratio | 1:1 (square) or 4:5 (recommended for mobile) |
| Resolution | 1080 x 1080 or 1080 x 1350 |
| Duration | Up to 240 min (15-30s recommended) |
| Autoplay | Silent — captions are essential |
| Sound | 85% of Facebook video is watched without sound |
| Spec | Value |
|---|---|
| Aspect ratio | 1:1 or 16:9 |
| Resolution | 1080 x 1080 or 1920 x 1080 |
| Duration | 3 seconds to 10 minutes (15-30s for ads) |
| Tone | Professional |
| Autoplay | Silent in feed |
| Phase | Time | Goal | Technique |
|---|---|---|---|
| Attention | 0-3s | Stop the scroll | Pattern interrupt, bold visual, question |
| Interest | 3-10s | Keep watching | State the problem, show relevance |
| Desire | 10-20s | Want the solution | Show the product/outcome, social proof |
| Action | Final 3-5s | Click/buy/sign up | Clear CTA, urgency, offer |
| Technique | Example |
|---|---|
| Bold statement | "This tool replaced my entire marketing team" |
| Question | "Why are you still doing this manually?" |
| Surprising visual | Unexpected transformation, before/after reveal |
| Pattern interrupt | Start mid-action, unusual angle, bright color |
| Social proof | "2 million people switched to this" |
| Pain point | "If you hate [common frustration], watch this" |
# Hook scene (0-3s)
infsh app run google/veo-3-1-fast --input '{
"prompt": "vertical 9:16 video, close-up of hands struggling with tangled cables and messy desk, frustrated energy, shaky handheld camera, authentic social media style, bright lighting"
}'
# Solution reveal (3-15s)
infsh app run bytedance/seedance-1-5-pro --input '{
"prompt": "vertical video, smooth product reveal, clean wireless charging station on minimalist desk, satisfying organization transformation, bright modern room, social media ad aesthetic"
}'
# Add voiceover
infsh app run falai/dia-tts --input '{
"prompt": "[S1] Stop wasting time with this mess. This one product changed my entire setup. Everything charges. Everything is organized. Link in bio."
}'
# Merge video + audio
infsh app run infsh/video-audio-merger --input '{
"video": "solution-reveal.mp4",
"audio": "voiceover.mp3"
}'
# Add captions (critical for silent autoplay)
infsh app run infsh/caption-videos --input '{
"video": "ad-with-audio.mp4",
"caption_file": "captions.srt"
}'
infsh app run google/veo-3-1-fast --input '{
"prompt": "square 1:1 video, professional person at desk discovering a new software tool, laptop screen showing clean dashboard, natural office lighting, corporate commercial style, satisfied expression"
}'
# 6-second bumper: one message, one visual, one CTA
infsh app run google/veo-3-1-fast --input '{
"prompt": "6 second product ad, quick montage of a sleek app being used on phone, fast cuts, modern, energetic, brand logo reveal at end, punchy and dynamic, wide 16:9"
}'
# Keep it tight
infsh app run falai/dia-tts --input '{
"prompt": "[S1] Your reports. Automated. Try DataFlow free."
}'
85% of Facebook and 40%+ of Instagram video is watched on mute.
| Rule | Reason |
|---|---|
| Always add captions | Silent viewing is the default on most platforms |
| Large, readable font | Small text is invisible on mobile |
| High contrast | White text with dark outline/background |
| Centered or bottom-third | Standard viewing position |
| Max 2 lines at a time | More text = can't be read fast enough |
| Key words in bold/color | Draws eye to important words |
# Generate captions from audio
# (create SRT file from your script, then burn in)
infsh app run infsh/caption-videos --input '{
"video": "ad-video.mp4",
"caption_file": "ad-captions.srt"
}'
| Time | Content |
|---|---|
| 0-3s | Customer states the problem they had |
| 3-15s | How they discovered and tried the product |
| 15-25s | The specific result they achieved |
| 25-30s | Product name + CTA |
| Time | Content |
|---|---|
| 0-3s | The problem (text or visual) |
| 3-20s | Product demo showing the solution |
| 20-25s | Key result/benefit |
| 25-30s | CTA + offer |
| Time | Content |
|---|---|
| 0-3s | "Before" state (messy, slow, frustrating) |
| 3-5s | Transition / product introduction |
| 5-12s | "After" state (clean, fast, satisfying) |
| 12-15s | CTA |
| Mistake | Problem | Fix |
|---|---|---|
| No hook in first 1-3s | Viewer scrolls past | Open with pattern interrupt |
| Landscape video on TikTok/Reels | Letterboxed, looks amateur | Use 9:16 for vertical platforms |
| No captions | Most viewers watch silent | Always add captions |
| CTA too late | Viewers already left | Clear CTA within last 5 seconds |
| Too long for platform | Forced skip or dropout | Match platform duration norms |
| Same ad for all platforms | Wrong specs, wrong tone | Create platform-specific versions |
| Logo in first 3s | Feels like a commercial, gets skipped | Save branding for the end |
| Text in unsafe zones | Cut off by platform UI | Check safe zone per platform |
npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@video-prompting-guide
npx skills add inference-sh/skills@text-to-speech
npx skills add inference-sh/skills@prompt-engineering
Browse all apps: infsh app list
Weekly Installs
7.2K
Repository
GitHub Stars
202
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketWarnSnykPass
Installed on
claude-code5.8K
gemini-cli5.1K
codex5.1K
opencode5.1K
amp5.1K
kimi-cli5.1K
专业SEO审计工具:全面网站诊断、技术SEO优化与页面分析指南
56,300 周安装