mcpField
S
social-carousel-generation

social-carousel-generation

github.com/eachlabs营销与增长44298 次安装今天更新
代码仓库

关于 social-carousel-generation

social-carousel-generation 是使用 each::sense 制作社交媒体轮播图内容的技能,适用于营销人员和内容创作者。它涵盖教程、产品展示和故事叙述等形式,并可用 session_id 维持多页风格一致。

主要功能

  1. 01生成教育、教程和列表轮播图
  2. 02制作产品展示与前后对比
  3. 03构建故事叙述和评价轮播图
  4. 04按平台与宽高比规划页面
  5. 05通过 session_id 保持页面风格

适用场景

  1. 01制作 Instagram 教育类轮播帖子
  2. 02展示产品功能或改造前后效果
  3. 03创建分步教程或品牌故事
  4. 04生成作品集或客户评价页面

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/eachlabs/skills --skill social-carousel-generation

安装后在 Claude Code 中输入/social-carousel-generation确认已加载。

附带文件references/SSE-EVENTS.md

详细介绍

社交媒体轮播内容生成

使用 each::sense 生成吸引人的社交媒体轮播内容。此技能可创建多页视觉内容,专为 Instagram、LinkedIn、Facebook、Twitter/X 和其他平台上的轮播帖子优化。

功能

  • 教育类轮播:技巧、操作指南和信息类内容
  • 产品展示:多角度产品展示和功能亮点
  • 前后对比:转变和对比视觉内容
  • 故事叙述:跨多页的连续故事
  • 教程:分步指导内容
  • 客户评价:客户引言和社会认同
  • 对比内容:并排展示产品或概念
  • 清单与排名:十大榜单、排名和精选清单
  • 作品集展示:作品展示和案例研究

快速开始

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 5-slide Instagram carousel about morning routine tips. Clean minimalist design with soft colors."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

平台规格

平台宽高比推荐尺寸最大页数备注
Instagram1:11080x108010最常见的格式
Instagram4:51080x135010纵向空间更大
LinkedIn1:11080x108010专业内容
LinkedIn4:51080x135010文档风格的帖子
Facebook1:11080x108010相册或轮播广告
Twitter/X16:91200x6754横向格式

用例示例

1. 教育类轮播(技巧/操作指南)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 6-slide Instagram carousel (1:1) teaching 5 productivity tips for remote workers. Slide 1: Eye-catching title slide with hook. Slides 2-6: One tip per slide with clean icons and brief text space. Use a modern gradient background (purple to blue), white text, minimalist style."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
2. 产品展示轮播
# Slide 1 - Hero shot
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 1 of 5 for a product showcase carousel (1:1 square). Premium wireless headphones hero shot - dramatic lighting, floating product, dark gradient background with subtle light rays. Space for brand logo at top."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "headphones-carousel-001"
  }'

# Slide 2 - Detail shot (same session for consistency)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 2 of 5. Close-up detail shot showing the premium materials and craftsmanship. Same visual style and lighting as slide 1."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "headphones-carousel-001"
  }'

# Slide 3 - Lifestyle shot
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 3 of 5. Lifestyle shot showing someone wearing the headphones in an urban setting. Maintain the premium dark aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "headphones-carousel-001"
  }'
3. 前后对比轮播
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 4-slide before/after carousel for a home renovation service. Slide 1: Title slide with \"Transformation Tuesday\" hook. Slide 2: Before image - outdated kitchen with old cabinets. Slide 3: After image - modern renovated kitchen, same angle. Slide 4: Call-to-action slide with space for contact info. Use 4:5 aspect ratio, consistent framing between before/after."}],

    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
4. 故事叙述轮播
# Create a story across multiple slides
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 1 of 6 for a brand story carousel. Opening scene: A founder working late at night in a small garage, surrounded by prototypes and sketches. Warm lamp light, aspirational startup vibes. Cinematic style, 1:1 format. Leave space at bottom for caption overlay."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "brand-story-001"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 2 of 6. The journey continues - early team meeting in a coffee shop, 3-4 people huddled around a laptop, excited expressions. Same cinematic warmth and style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "brand-story-001"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 3 of 6. Growth moment - first office space, small but professional, team of about 8 people celebrating. Maintain visual continuity."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "brand-story-001"
  }'
5. 功能亮点轮播
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an 8-slide feature highlight carousel for a mobile app (1:1). Slide 1: App icon with tagline hook. Slides 2-7: Each featuring one key feature with a phone mockup showing the UI and an icon representing the feature. Slide 8: Download CTA with app store badges. Use a clean white background with brand accent color (teal), modern tech aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
6. 客户评价轮播
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 5-slide testimonial carousel (1:1). Slide 1: Title \"What Our Customers Say\" with 5-star rating visual. Slides 2-4: Each slide shows a professional headshot placeholder (diverse representation), quote marks, space for testimonial text, and name/title area. Elegant cream background, gold accents, serif typography style. Slide 5: CTA with \"Join 10,000+ Happy Customers\"."}],

    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
7. 分步教程轮播
# Create each step with consistent styling
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 1 of 7 for a recipe tutorial carousel (4:5). Title slide: \"Perfect Homemade Pizza in 6 Steps\" with appetizing hero image of finished pizza. Rustic kitchen aesthetic, warm tones, food photography style."}],

    "model": "eachsense/beta",
    "stream": true,
    "session_id": "pizza-tutorial-001"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 2 of 7. Step 1: Ingredients laid out on wooden cutting board - flour, yeast, tomatoes, mozzarella, basil. Overhead shot, same warm aesthetic. Include step number badge."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "pizza-tutorial-001"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 3 of 7. Step 2: Hands kneading pizza dough on floured surface. Action shot showing the technique. Consistent lighting and style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "pizza-tutorial-001"
  }'
8. 对比轮播
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 5-slide comparison carousel (1:1) for a SaaS product vs competitors. Slide 1: Title \"Why Choose Us?\" with versus graphic. Slides 2-4: Split-screen comparisons showing our product (green checkmarks, clean UI) vs competitors (red X marks, cluttered UI) for features like pricing, support, and ease of use. Slide 5: Summary table with winner badges. Modern tech style, dark mode aesthetic."}],

    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
9. 清单/排名轮播
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 7-slide ranking carousel (1:1) for \"Top 5 Travel Destinations 2024\". Slide 1: Eye-catching title with globe graphic and countdown teaser. Slides 2-6: Each destination with ranking number (5 to 1), stunning landscape image, and space for location name. Build anticipation toward #1. Slide 7: Reveal the winner with celebratory design. Use vibrant travel photography style, bold number overlays."}],

    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
10. 作品集轮播
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 1 of 6 for a design portfolio carousel (4:5). Cover slide: \"Recent Work\" title with abstract geometric shapes, modern sans-serif typography, black background with accent colors (coral, teal). Professional agency aesthetic."}],

    "model": "eachsense/beta",
    "stream": true,
    "session_id": "portfolio-carousel-001"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 2 of 6. Project showcase - mockup of a mobile app UI design displayed on a floating phone. Clean presentation, subtle shadow, same dark background with coral accent. Space for project name and brief description."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "portfolio-carousel-001"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 3 of 6. Brand identity project - logo mockups on business cards and stationery, arranged in an elegant flat lay. Consistent portfolio style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "portfolio-carousel-001"
  }'

最佳实践

视觉一致性
  • 配色方案:所有页面使用相同的颜色
  • 排版:使用一致的字体和文本层级
  • 布局:让文本和图形的位置保持可预测
  • 间距:保持边距和内边距统一
内容流程
  • 开篇吸睛:第 1 页必须立即吸引注意力
  • 清晰递进:每页都应自然衔接下一页
  • 每页提供价值:每页都应传递价值或推动故事发展
  • 有力的 CTA:以明确的行动号召结尾
平台优化
  • 安全区域:重要内容应远离边缘(留出 10% 的边距)
  • 文本易读性:确保文本在手机尺寸下清晰易读
  • 滑动提示:使用视觉提示鼓励用户滑动
  • 独立价值:单独查看时,每页也应能独立发挥作用

轮播提示词技巧

创建轮播内容时,请包含以下细节:

  1. 页数:指定总页数
  2. 格式:注明宽高比(1:1、4:5、16:9)
  3. 平台:Instagram、LinkedIn、Facebook 等
  4. 风格:现代、极简、大胆、优雅等
  5. 配色方案:指定颜色或氛围
  6. 内容结构:说明每页应包含的内容
  7. 文本占位位置:说明文本应出现的位置
提示词结构示例
"Create a [number]-slide [platform] carousel ([aspect ratio]).
Slide 1: [content description]
Slides 2-N: [content pattern]
Final slide: [CTA description]
Style: [visual style], [color scheme]."

模式选择

生成前询问用户:

“你想要快速且经济的结果,还是高品质的结果?”

模式适用场景速度质量
max最终轮播帖子、客户交付内容较慢最高
eco快速草稿、概念探索、测试想法较快良好

多轮轮播创作

使用 session_id 在各页之间保持一致性:

# Start the carousel
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 1 of 5 for a fitness tips carousel. Bold title slide with energetic colors."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "fitness-carousel-project"
  }'

# Continue with same session
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create slide 2 - first fitness tip about morning stretches. Same style as slide 1."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "fitness-carousel-project"
  }'

# Request adjustments
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "The colors are too bright. Regenerate slide 1 with more muted, earth tones."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "fitness-carousel-project"
  }'

批量生成

生成多个轮播版本:

# Version A - Minimalist
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 5-slide marketing tips carousel. Style: Clean minimalist, white background, black text, simple icons."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Version B - Bold & Colorful
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 5-slide marketing tips carousel. Style: Bold gradients, vibrant colors (pink, orange, purple), dynamic shapes."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Version C - Dark Mode
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 5-slide marketing tips carousel. Style: Dark mode, black background, neon accents, modern tech aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

错误处理

错误原因解决方案
Failed to create prediction: HTTP 422余额不足在 eachlabs.ai 充值
内容违反政策内容违规调整提示词,使其符合平台指南
超时生成内容较复杂将客户端超时时间设为至少 10 分钟
风格不一致新会话所有轮播幻灯片都使用相同的 session_id

相关技能

  • each-sense - 核心 API 文档
  • meta-ad-creative-generation - Meta 广告创意
  • product-photo-generation - 电商产品图片
  • social-media-content - 通用社交媒体内容

评论

支持 Markdown