Communitygithub.com

Asymmetric-al/Compass

通过 CLI 创建 AI 营销视频,适用于广告、促销、产品发布和品牌内容。支持 Veo、Seedance、Wan、FLUX 等视觉模型和 Kokoro 语音合成。

Compass 是什么?

该技能通过 [inference.sh](https://inference.sh) CLI 帮助用户创建专业的 AI 营销视频,涵盖广告、促销、产品发布和品牌宣传。它支持多种顶尖视频生成模型(如 Veo、Seedance、Wan、FLUX)和语音合成模型(Kokoro),能够生成产品演示、客户评价、说明性视频、社交媒体广告等类型。技能提供了即用模板,包括 30 秒产品广告、15 秒 Instagram/TikTok 广告和 60 秒说明视频的完整工作流,并针对不同平台(如 Facebook、YouTube、LinkedIn、TikTok)优化了视频格式和最佳实践。用户只需运行 `infsh app run` 命令,输入提示词即可生成视频片段,并可通过 `infsh/media-merger` 合并片段、添加旁白和背景音乐,最终完成 A/B 测试变体。该技能极大地简化了营销视频制作流程,让开发者和营销人员无需专业视频编辑技能即可快速产出高质量广告内容。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Asymmetric-al/Compass/tree/HEAD/.agents/skills/ai-marketing-videos

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

预览

来自技能 README

AI 营销视频

文档

AI 营销视频

通过 inference.sh CLI 创建专业营销视频。

AI 营销视频

快速开始

curl -fsSL https://cli.inference.sh | sh && infsh login

# 生成产品推广视频
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Sleek product reveal video, smartphone emerging from light particles, premium tech aesthetic, commercial quality"
}'

安装说明: 安装脚本 会自动检测您的操作系统和架构,从 dist.inference.sh 下载匹配的二进制文件,并验证其 SHA-256 校验和。无需提升权限或后台进程。可进行手动安装和验证。

视频广告类型

类型时长平台
导视广告6 秒YouTube
短片广告15 秒Instagram, Facebook
标准广告30 秒YouTube, 电视
说明视频60-90 秒网站, YouTube
产品演示30-60 秒所有平台

营销视频模板

产品发布

# 戏剧性的产品展示
infsh app run google/veo-3 --input '{
  "prompt": "Cinematic product launch video, premium tech device floating in space, dramatic lighting, particles and light effects, Apple-style reveal, commercial quality"
}'

品牌故事

# 感人的品牌叙事
infsh app run google/veo-3-1 --input '{
  "prompt": "Brand story video showing diverse people connecting through technology, warm color grading, lifestyle montage, emotional and inspiring, commercial"
}'

功能亮点

# 聚焦特定功能
infsh app run bytedance/seedance-1-5-pro --input '{
  "prompt": "Close-up product feature demonstration, hands interacting with device, clean background, informative, tech commercial style"
}'

评价风格

# 口播评价
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Customer testimonial style video, person speaking to camera, neutral office background, professional lighting, authentic feel"
}'

前后对比

# 转变展示
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Before and after transformation video, split screen transition, dramatic reveal, satisfying comparison, commercial style"
}'

完整广告工作流

30 秒产品广告

# 1. 开场钩子 (0-3秒)
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Attention-grabbing opening, product silhouette in dramatic lighting, building anticipation"
}' > hook.json

# 2. 问题陈述 (3-8秒)
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Frustrated person dealing with common problem, relatable everyday situation, documentary style"
}' > problem.json

# 3. 解决方案展示 (8-15秒)
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Product reveal with features highlighted, clean demonstration, solving the problem shown before"
}' > solution.json

# 4. 优势展示 (15-25秒)
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Happy customer using product, lifestyle integration, multiple quick cuts showing benefits"
}' > benefits.json

# 5. 行动号召 (25-30秒)
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Product hero shot with space for text overlay, professional lighting, commercial ending"
}' > cta.json

# 6. 生成旁白
infsh app run infsh/kokoro-tts --input '{
  "text": "Tired of [problem]? Introducing [Product]. [Key benefit 1]. [Key benefit 2]. [Key benefit 3]. Get yours today.",
  "voice": "af_nicole"
}' > voiceover.json

# 7. 合并所有片段并加入旁白
infsh app run infsh/media-merger --input '{
  "videos": ["<hook>", "<problem>", "<solution>", "<benefits>", "<cta>"],
  "audio_url": "<voiceover>",
  "transition": "crossfade"
}'

Instagram/TikTok 广告 (15秒)

# 竖版格式,快节奏
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Fast-paced product showcase, vertical 9:16, quick cuts, trending style, hook in first 2 seconds, satisfying visually, Gen-Z aesthetic"
}'

# 添加热门音乐
infsh app run infsh/media-merger --input '{
  "video_url": "<video>",
  "audio_url": "https://trending-music.mp3"
}'

说明视频

# 1. 编写脚本
infsh app run openrouter/claude-sonnet-45 --input '{
  "prompt": "Write a 60-second explainer video script for a SaaS product. Include: hook, problem, solution, 3 key features, social proof, CTA. Make it conversational."
}' > script.json

# 2. 为每个部分生成视觉
SECTIONS=("hook" "problem" "solution" "feature1" "feature2" "feature3" "social_proof" "cta")

for section in "${SECTIONS[@]}"; do
  infsh app run google/veo-3-1-fast --input "{
    \"prompt\": \"Explainer video scene for $section, motion graphics style, clean modern aesthetic, SaaS product\"
  }" > "$section.json"
done

# 3. 生成专业旁白
infsh app run infsh/kokoro-tts --input '{
  "text": "<full-script>",
  "voice": "am_michael"
}' > voiceover.json

# 4. 组装最终视频
infsh app run infsh/media-merger --input '{
  "videos": ["<hook>", "<problem>", "<solution>", ...],
  "audio_url": "<voiceover>",
  "transition": "fade"
}'

特定平台格式

Facebook/Instagram 动态

infsh app run google/veo-3-1-fast --input '{
  "prompt": "Square format product video 1:1, eye-catching visuals, works without sound, text-friendly, scroll-stopping"
}'

YouTube 前贴片

infsh app run google/veo-3-1-fast --input '{
  "prompt": "YouTube ad style, skip button awareness (hook in 5 seconds), 16:9, professional commercial quality"
}'

LinkedIn

infsh app run google/veo-3-1-fast --input '{
  "prompt": "Professional B2B product video, corporate style, clean and modern, business audience, subtle motion"
}'

TikTok/Reels

infsh app run google/veo-3-1-fast --input '{
  "prompt": "TikTok native style ad, vertical 9:16, raw authentic feel, not overly polished, trendy, user-generated content aesthetic"
}'

广告创意最佳实践

钩子公式(前三秒)

infsh app run google/veo-3-1-fast --input '{
  "prompt": "Opening hook: [choose one]
  - Surprising visual transformation
  - Bold statement text animation
  - Relatable problem scenario
  - Curiosity gap visual
  - Satisfying action"
}'

视觉层级

  1. 产品主角 - 清晰突出
  2. 优势 - 通过画面展示,而非仅用文字
  3. 社会证明 - 可见的评价/数据
  4. 行动号召 - 为文字叠加预留空间

声音设计

# 添加合适的音乐
infsh app run infsh/ai-music --input '{
  "prompt": "Upbeat commercial background music, modern, energetic, 30 seconds"
}' > music.json

infsh app run infsh/media-merger --input '{
  "video_url": "<ad-video>",
  "audio_url": "<music>",
  "audio_volume": 0.5
}'

A/B 测试变体

# 生成多个创意变体
HOOKS=(
  "Problem-focused opening"
  "Product reveal opening"
  "Testimonial opening"
  "Statistic opening"
)

for hook in "${HOOKS[@]}"; do
  infsh app run google/veo-3-1-fast --input "{
    \"prompt\": \"Marketing video with $hook, professional commercial quality\"
  }" > "variant_${hook// /_}.json"
done

视频广告检查清单

  • 前三秒内设置钩子
  • 无声音可观看(字幕/文字)
  • 产品清晰可见
  • 以优势为中心的文案
  • 单一明确的行动号召
  • 符合平台的比例
  • 品牌一致性
  • 针对移动端优化

相关技能

# 视频生成
npx skills add inference-sh/skills@ai-video-generation

# 缩略图图像生成
npx skills add inference-sh/skills@ai-image-generation

# 旁白文本转语音
npx skills add inference-sh/skills@text-to-speech

# 社交媒体内容
npx skills add inference-sh/skills@ai-social-media-content

# 完整平台技能
npx skills add inference-sh/skills@inference-sh

浏览所有应用:infsh app list

相关技能