Communitygithub.com

Asymmetric-al/Compass

使用AI快速製作專業行銷影片,適用於廣告、產品發表、品牌內容與社群媒體。支援 Veo、Seedance、Wan、FLUX 等視覺模型及 Kokoro 語音旁白。

Compass 是什麼?

這個技能讓開發者與行銷人員能透過 [inference.sh](https://inference.sh) CLI 工具,從命令列直接生成專業品質的 AI 行銷影片。它支援多種頂尖模型(如 Google Veo、ByteDance Seedance、Wan、FLUX)來產生視覺畫面,並整合 Kokoro TTS 進行語音旁白。技能涵蓋完整的影片廣告工作流程,包括 6 秒內吸引人的開場鉤子(hook)、問題描述、解決方案展示、效益說明與行動呼籲(CTA)等階段。同時提供針對 Facebook、Instagram、YouTube、TikTok、LinkedIn 等平台的特定格式(如 1:1 方形、9:16 直立、16:9),並內建 A/B 測試變體生成、聲音設計(背景音樂與語音)以及媒體合併功能。開發者可以透過 Bash 腳本(如迴圈處理多個場景)或一行指令快速產出多種廣告類型,包括產品展示、品牌故事、見證影片、說明影片與前後對比轉變影片。

相容平台✓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 校驗碼。不需要提升權限或背景程序。可參考手動安裝與驗證。

影片廣告類型

類型長度平台
片頭廣告 (Bumper Ad)6 秒YouTube
短廣告 (Short Ad)15 秒Instagram, Facebook
標準廣告 (Standard Ad)30 秒YouTube, TV
說明影片 (Explainer)60-90 秒網站, YouTube
產品展示 (Product Demo)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"
}'

廣告創意最佳實踐

鉤子公式(前 3 秒)

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

影片廣告檢查清單

  • 前 3 秒內有鉤子
  • 無聲音也能觀看(字幕/文字)
  • 產品清晰可見
  • 以效益為核心的訊息
  • 單一明確的行動呼籲
  • 符合平台的正確長寬比
  • 品牌一致性
  • 行動裝置最佳化

相關技能

# 影片生成
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

相關技能