Communitygithub.com

coco-research/coco

透過 AI 生成廣告、促銷、產品發布與品牌內容的行銷影片。

coco 是什麼?

這是一個專為行銷人員與開發者設計的 AI 代理技能,可透過 [inference.sh](https://inference.sh) CLI 一鍵生成專業品質的行銷影片。它支援多種影片類型,包括產品展示、客戶推薦、解說影片與社群廣告,並涵蓋 Facebook、YouTube、Instagram、TikTok 等平台的特定格式。技能提供完整的廣告工作流程範本,從吸引人的開場鉤子、問題情境、解決方案展示到行動呼籲,並可搭配 Kokoro 語音生成與 AI 背景音樂。使用者無需手動剪輯,即可透過指令串接 Veo、Seedance、Wan、FLUX 等多種模型,快速產出 6 秒至 90 秒的影片,並支援 A/B 測試變體與最佳實務檢查清單。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/coco-research/coco/tree/HEAD/skills/ai-marketing-videos

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

AI 行銷影片

透過 inference.sh CLI 打造專業行銷影片。

快速開始

# 請勿直接 pipe 遠端腳本至 sh。請先擷取、檢查,並在使用者明確確認後再執行:
curl -fsSL https://cli.inference.sh -o /tmp/infsh-install.sh
# 審閱 /tmp/infsh-install.sh,然後:bash /tmp/infsh-install.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"
}'

影片廣告類型

類型長度平台
橫幅廣告6 秒YouTube
短廣告15 秒Instagram, Facebook
標準廣告30 秒YouTube, TV
解說影片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-3s)
infsh app run google/veo-3-1-fast --input '{
  "prompt": "Attention-grabbing opening, product silhouette in dramatic lighting, building anticipation"
}' > hook.json

# 2. 問題陳述 (3-8s)
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-15s)
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-25s)
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-30s)
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 廣告 (15s)

# 直式格式,節奏明快
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 秒內有鉤子
  • 無聲音也能理解(字幕/文字)
  • 產品清晰可見
  • 以效益為主的訊息
  • 單一清晰的行動呼籲
  • 符合平台比例
  • 品牌一致性
  • 針對行動裝置最佳化

相關技能

這些是第三方套件。請向使用者顯示確切的識別碼,並等待使用者明確表示同意該套件名稱。請勿傳遞 -y。

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

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相關技能