mcpField
I
instagram-content-generation

instagram-content-generation

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

关于 instagram-content-generation

面向社交媒体创作者和营销人员的 Instagram 内容生成技能,通过 each::sense 按平台版式生成图像和视频,并支持连续迭代以保持视觉一致性。

主要功能

  1. 01生成动态墙帖子与快拍内容
  2. 02制作轮播图和 Reels 封面
  3. 03生成产品展示与引言图
  4. 04按 Instagram 版式规划内容
  5. 05通过会话迭代并保持风格一致

适用场景

  1. 01制作 Instagram 动态墙素材
  2. 02生成快拍和 Reels 封面
  3. 03批量规划品牌内容日历

安装

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

$npx skills add https://github.com/eachlabs/skills --skill instagram-content-generation

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

附带文件references/SSE-EVENTS.md

详细介绍

Instagram 内容创作

使用 each::sense 生成吸引人的 Instagram 内容。此技能可创建针对 Instagram 各种版位、格式和视觉最佳实践进行优化的图像和视频。

功能

  • 信息流帖子:方形 1:1 图像,兼容性最佳
  • 快拍和 Reels:竖屏 9:16 内容,带来沉浸式全屏体验
  • 轮播帖子:多张风格统一的图像,用于讲述故事
  • 引言图片:以排版为重点的内容,提升互动
  • 产品展示:电商和产品主题视觉内容
  • 幕后花絮:真实、自然随性的风格
  • 公告图片:活动和新品发布宣传内容
  • 生活方式平铺图:精心布置的产品组合
  • 品牌风格网格:让各个帖子呈现统一的视觉形象

快速开始

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 1:1 Instagram feed post for a coffee brand showing a latte with beautiful latte art, morning light, cozy cafe vibes"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Instagram 格式和尺寸

版位宽高比建议尺寸用途
信息流帖子1:11080x1080标准信息流帖子,兼容性最佳
信息流帖子4:51080x1350竖版信息流帖子,占用更多屏幕空间
快拍9:161080x1920全屏临时内容
Reels9:161080x1920全屏视频内容
Reel 封面9:161080x1920Reels 的缩略图
轮播1:11080x1080可滑动浏览的多图帖子

使用场景示例

1. 信息流帖子(1:1 方形)

经典方形格式,适用于 Instagram 信息流,兼容各种版位。

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 1:1 square Instagram feed post for a sustainable fashion brand. Show a model in casual earth-toned clothing against a natural outdoor background. Warm, authentic aesthetic with soft natural lighting. Clean composition suitable for a curated Instagram grid."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
2. 快拍(9:16 竖版)

针对 Instagram 快拍优化的全屏竖版内容。

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 9:16 Instagram Story for a yoga studio. Show a serene meditation scene with a person in lotus position, soft morning light streaming through windows, calming pastel colors. Leave safe zones at top and bottom for Instagram UI elements and swipe-up area."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
3. Reel 封面图

醒目的缩略图,展现 Reel 内容并吸引用户点击。

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 9:16 Reel cover image for a cooking tutorial. Show an appetizing finished dish (pasta with fresh basil) from above, vibrant colors, food photography style. The image should be eye-catching and make viewers want to watch the full Reel. Leave space at bottom for the Reel title overlay."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
4. 轮播帖子(多张图像)

创建风格统一的多图帖子,用于讲述故事或展示多款产品。

# First carousel image - Cover slide
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 1:1 carousel image 1 of 5 for a skincare brand. This is the cover slide showing all 5 products arranged beautifully with soft pink and white aesthetic, clean minimal background, soft shadows. Premium feel."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "skincare-carousel-001",
    "mode": "max"
  }'

# Second carousel image - Product detail
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 carousel image 2 of 5. Show the cleanser product close-up with water droplets and fresh ingredients like cucumber slices. Same aesthetic and lighting as the first image."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "skincare-carousel-001",
    "mode": "max"
  }'

# Third carousel image - Another product
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 carousel image 3 of 5. Show the moisturizer with a soft texture swatch, dewy fresh feel. Maintain visual consistency with previous images."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "skincare-carousel-001",
    "mode": "max"
  }'
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 a 1:1 Instagram quote graphic with the text: \"Success is not final, failure is not fatal: it is the courage to continue that counts.\" Use a minimalist design with elegant serif typography on a soft gradient background (light beige to warm cream). Add subtle decorative elements like thin lines or small botanical illustrations. Suitable for a motivational or business coaching account."}],

    "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 4:5 Instagram product showcase for wireless headphones. Show the headphones being worn by a stylish person in an urban setting, walking through a modern city. Lifestyle photography style with natural lighting, premium aspirational feel. The product should be clearly visible but feel natural in the scene."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
7. 幕后花絮内容

真实、自然随性的内容,拉近与受众的距离。

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 1:1 behind-the-scenes Instagram post for a bakery. Show a baker in the kitchen early morning, hands covered in flour, kneading dough. Warm golden lighting, authentic and candid feel - not overly polished. Capture the passion and craft of artisan baking. Documentary photography style."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
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 1:1 Instagram announcement graphic for a summer sale. Bold, eye-catching design with tropical vibes - palm leaves, bright colors (coral, turquoise, sunny yellow). Leave clear space for text overlay that will say \"SUMMER SALE - UP TO 50% OFF\". Modern, fresh, energetic aesthetic suitable for a fashion brand."}],

    "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 1:1 Instagram flat lay for a travel brand. Overhead shot of travel essentials arranged aesthetically: passport, sunglasses, straw hat, camera, map, coffee cup, and small succulent. Marble or light wood surface background. Clean, organized, Pinterest-worthy composition with soft natural lighting. Wanderlust aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
10. 品牌风格网格

创建风格统一的视觉内容,打造协调一致的 Instagram 网格美感。

# First grid image
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 1:1 Instagram post for a minimalist home decor brand. Show a clean, modern living room corner with a simple plant, neutral tones (white, beige, light gray), lots of negative space. This is part of a cohesive grid aesthetic - keep colors muted and style consistent. Scandinavian interior design influence."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "home-decor-grid",
    "mode": "max"
  }'

# Second grid image - maintaining 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 another 1:1 post for the same minimalist home decor brand. Show a bedroom detail - perhaps a textured throw on a bed with a small nightstand. Same color palette and aesthetic as the previous image to maintain grid cohesion."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "home-decor-grid",
    "mode": "max"
  }'

# Third grid image
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 third 1:1 post continuing the grid aesthetic. Show a close-up of a ceramic vase with dried pampas grass. Same minimalist, neutral, Scandinavian-inspired style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "home-decor-grid",
    "mode": "max"
  }'

最佳实践

信息流帖子
  • 网格规划:考虑单个帖子在个人主页网格中的整体呈现效果
  • 统一编辑风格:让各个帖子的调色和风格保持一致
  • 1:1 与 4:5:使用 1:1 获得最佳兼容性,使用 4:5 增强视觉效果
  • 视觉焦点:将关键元素放在中央,避免缩略图裁切
快拍
  • 安全区域:重要内容应避开顶部 15% 和底部 20% 的界面元素区域
  • 竖版思维:专门针对竖版设计,而不是将横版内容裁切成竖版
  • 互动区域:留出空间放置投票、问题和贴纸
  • 醒目清晰:确保内容便于快速阅读
轮播
  • 开篇吸引人:让首张图足够吸引人,鼓励用户滑动浏览
  • 视觉连贯:设计出有叙事性或逻辑连贯的内容
  • 风格统一:让所有内容使用相同的滤镜、字体和美学风格
  • 以行动号召结尾:在最后一张幻灯片中加入行动号召或总结
Reels 封面
  • 缩略图吸引力:针对 Reels 标签页中的小尺寸预览进行设计
  • 主体清晰:避免使用杂乱的背景,以免缩小后主体不清晰
  • 文字易读:如果使用文字,确保其在缩略图尺寸下清晰可读

Instagram 内容提示词技巧

创建 Instagram 内容时,请在提示词中包含以下详情:

  1. 格式:指定宽高比(1:1、4:5、9:16)
  2. 内容类型:信息流帖子、快拍、Reel 封面、轮播图页码
  3. 品牌/细分领域:这是为哪类账号创作的?
  4. 美学风格:极简、醒目、复古、现代等
  5. 配色方案:具体颜色或整体氛围(暖色调、冷色调、中性色)
  6. 构图:平铺、肖像、生活方式、特写等
  7. 文字空间:如果需要为说明文字或叠加文字留出空间
提示词结构示例
"Create a [aspect ratio] Instagram [content type] for a [brand/niche].
Show [visual description] with [aesthetic/mood].
[Color and style preferences].
[Additional requirements like text space, grid consistency, etc.]"

模式选择

生成前请先询问用户:

“你想要快速且低成本,还是高品质?”

模式适用场景速度品质
max最终内容、作品集帖子、重要营销活动较慢最高
eco快速草稿、内容规划、A/B 测试概念较快良好

多轮内容迭代

使用 session_id 迭代内容并保持视觉一致性:

# Initial concept
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 1:1 Instagram post for a jewelry brand, elegant and minimal"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "jewelry-content"
  }'

# Iterate based on feedback
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": "Make it more luxurious, add soft bokeh background with golden tones"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "jewelry-content"
  }'

# Request Story version
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": "Now create a 9:16 Story version of this same visual style"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "jewelry-content"
  }'

批量生成内容日历

生成多条内容以供规划:

# Monday motivation
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 1:1 motivational Monday post for a fitness brand - energetic gym scene, morning workout vibes"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Wednesday product feature
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 1:1 product showcase for the same fitness brand - protein shake in a gym bag flat lay"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Friday lifestyle
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 1:1 lifestyle post for the same fitness brand - friends laughing after a workout, feel-good Friday vibes"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

错误处理

错误原因解决方案
Failed to create prediction: HTTP 422余额不足在 eachlabs.ai 充值
内容政策违规内容被禁止调整提示词,使其符合内容政策
超时生成内容较复杂将客户端超时设置为至少 10 分钟

相关技能

  • each-sense - 核心 API 文档
  • meta-ad-creative-generation - Meta(Facebook 和 Instagram)广告创意
  • product-photo-generation - 电商产品图片
  • tiktok-ad-creative-generation - TikTok 内容创作

评论

支持 Markdown