Communitygithub.com

coco-research/coco

使用 AI 为广告、推广、产品发布和品牌内容创建营销视频。支持 Veo、Seedance、Wan、FLUX 视频生成模型,Kokoro 配音。

coco 是什么?

该技能(coco-research/coco)通过 inference.sh CLI 让开发者能够利用 AI 模型快速创建专业级营销视频。它支持多种视频生成模型,如 Veo、Seedance、Wan、FLUX,以及 Kokoro 文本转语音模型,涵盖了产品演示、推荐、解说、社交媒体广告等视频类型。该技能提供了从 6 秒到 90 秒的多种模板,包括产品发布、品牌叙事、功能展示等,并内置了完整的广告制作流程、平台特定格式(如 Instagram、YouTube、TikTok)的最佳实践。此外,它还支持 A/B 测试创意变体,并提供了视频制作检查清单,帮助用户确保广告的有效性。用户可以通过命令行轻松安装、生成视频并合并剪辑,适合用于 Facebook、YouTube、Instagram 等平台的广告投放和品牌推广。

兼容平台✓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 创建专业营销视频。

快速开始

# 不要直接通过管道执行远程脚本。先获取、检查,然后在用户明确确认后再运行:
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.

相关技能