关于 meta-ad-creative-generation
meta-ad-creative-generation 是基于 each::sense 的技能,用于制作适配 Facebook 和 Instagram 广告版位的图片与视频素材。它涵盖信息流、Stories、Reels、轮播及产品广告,并提供迭代修改和生成多种版本的指导。
主要功能
- 01制作信息流、Stories 和 Reels 素材
- 02制作轮播广告和产品广告
- 03生成静态图片与视频
- 04提供版位比例和尺寸指导
- 05迭代修改并生成测试版本
适用场景
- 01为网店制作产品广告
- 02制作竖版 Stories 或 Reels 宣传素材
- 03生成多个创意版本进行 A/B 测试
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ eachlabs/ skills --skill meta-ad-creative-generation安装后在 Claude Code 中输入/meta-ad-creative-generation确认已加载。
附带文件references/SSE-EVENTS.md
详细介绍
Meta 广告创意生成
使用 each::sense 生成高转化率的 Meta(Facebook 和 Instagram)广告创意。此技能可创建针对 Meta 广告版位、格式和最佳实践优化的图片和视频。
功能
- 信息流广告:用于 Facebook/Instagram 信息流的静态图片和视频
- 快拍和 Reels:用于沉浸式版位的竖版 9:16 内容
- 轮播广告:用于产品展示的多张图片
- 视频广告:用于提升互动的短视频内容
- 产品广告:结合生活场景的电商创意
- 品牌认知度:用于覆盖面营销活动的吸睛视觉内容
- 潜在客户开发:带有明确行动号召(CTA)的吸引人视觉内容
快速开始
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 Facebook feed ad for a fitness app showing someone working out with energetic vibes, include space for headline text"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
Meta 广告格式和尺寸
| 版位 | 宽高比 | 推荐尺寸 | 用途 |
|---|---|---|---|
| 信息流(图片) | 1:1 | 1080x1080 | 产品广告、品牌认知度 |
| 信息流(图片) | 4:5 | 1080x1350 | 更多垂直空间、更高互动率 |
| 信息流(视频) | 1:1 或 4:5 | 1080x1080 或 1080x1350 | 产品演示、用户评价 |
| 快拍/Reels | 9:16 | 1080x1920 | 全屏沉浸式广告 |
| 轮播 | 1:1 | 1080x1080 | 产品目录、产品特性 |
| 右侧栏 | 1.91:1 | 1200x628 | 桌面端侧边栏广告 |
用例示例
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 1:1 Facebook product ad for wireless earbuds. Show the earbuds on a clean minimal background with lifestyle context - someone at a gym or running. Modern, premium feel. Leave space at top for headline."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
2. 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 Stories ad for a skincare brand. Show a woman with glowing skin, soft natural lighting, minimalist aesthetic. Leave safe zones at top and bottom for UI elements."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
3. Facebook 视频广告
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 second 1:1 video ad for a coffee subscription service. Show steaming coffee being poured, cozy morning vibes, warm color grading. Eye-catching for autoplay without sound."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
4. 轮播广告(多款产品)
# First 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 carousel ad image 1 of 4 for a furniture store. Show a modern sofa in a stylish living room. Clean, aspirational lifestyle photography style."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "carousel-furniture-001"
}'
# Second image (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 carousel image 2 of 4. Show a dining table set in the same style as the previous image. Maintain consistent lighting and aesthetic."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "carousel-furniture-001"
}'
5. Reels 广告(竖版视频)
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 vertical video ad for Instagram Reels. Fashion brand summer collection - show a model walking on a beach in a flowing dress, cinematic slow motion, golden hour lighting. 5 seconds."}],
"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 Facebook ad for a meditation app. Show a peaceful person meditating in nature, soft morning light, calming colors (blues and greens). Include visual space for app store badges and CTA button."}],
"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 Facebook ad for an Italian restaurant. Show a delicious pasta dish with steam rising, rustic table setting, warm inviting atmosphere. Food photography style, make it look appetizing."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
8. 潜在客户开发广告(B2B)
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 Facebook lead gen ad for a B2B SaaS product. Show a professional working on a laptop with data visualizations, modern office environment, confident and productive mood. Corporate but not boring."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
9. UGC 风格广告
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 UGC-style 9:16 video ad for a teeth whitening product. Show a young woman doing a selfie-style testimonial, authentic iPhone footage look, bathroom mirror setting, before/after reveal moment. 10 seconds."}],
"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 a 1:1 retargeting ad for sneakers. Show white sneakers prominently with a lifestyle background (urban street scene). Add visual urgency - style that says limited time offer. Clean product focus."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/product-sneakers.jpg"]
}'
最佳实践
图片广告
- 文字叠加:尽量减少文字——Meta 建议文字覆盖面积低于 20%
- 安全区域:为快拍/Reels 界面元素,在顶部和底部留出 14% 的边距
- 视觉焦点:将关键视觉元素放在中央
- 对比度:使用对比鲜明的颜色,让广告在信息流中脱颖而出
- 品牌颜色:确保广告中的品牌形象保持一致
视频广告
- 3 秒内抓住注意力:立即吸引观众
- 针对关闭声音的场景设计:使用字幕和视觉叙事
- 适合循环播放:为短视频制作无缝循环效果
- 移动端优先:针对移动端竖屏/方形格式进行设计
轮播广告
- 视觉一致性:所有卡片保持相同的风格
- 故事线:让图片之间形成连贯的叙事流程
- 首图吸引注意力:让第一张卡片最具吸引力
Meta 广告提示词技巧
创建 Meta 广告创意时,请在提示词中加入以下细节:
- 格式:指定宽高比(1:1、4:5、9:16)
- 版位:说明广告用于信息流、快拍还是 Reels
- 产品/服务:清楚描述广告推广的内容
- 目标受众:这则广告面向哪些人?
- 情绪/风格:活力十足、平静、奢华、俏皮等
- 文字空间:如有需要,请预留标题/CTA 的空间
- 品牌指南:说明颜色和风格偏好
提示词结构示例
"Create a [aspect ratio] [placement] ad for [product/service].
Show [visual description] with [mood/style].
Target audience: [demographic].
[Additional requirements like text space, brand colors, etc.]"
模式选择
生成前询问用户:
“您想要快速低成本,还是高质量?”
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
max | 最终广告创意、A/B 测试优胜方案 | 较慢 | 最高 |
eco | 快速草稿、概念探索、批量测试 | 较快 | 良好 |
多轮创意迭代
使用 session_id 迭代广告创意:
# Initial creative
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 Facebook ad for a watch brand, luxury feel"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "watch-ad-project"
}'
# 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 dramatic with darker background, add some bokeh lights"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "watch-ad-project"
}'
# Request variation
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 2 more variations of this ad with different angles"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "watch-ad-project"
}'
A/B 测试批量生成
生成多个变体用于测试:
# Variation A - Lifestyle focus
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 ad for protein powder - lifestyle shot with athlete in gym"}],
"model": "eachsense/beta",
"stream": true,
"mode": "eco"
}'
# Variation B - Product focus
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 ad for protein powder - clean product shot with ingredients"}],
"model": "eachsense/beta",
"stream": true,
"mode": "eco"
}'
# Variation C - Benefit focus
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 ad for protein powder - before/after transformation style"}],
"model": "eachsense/beta",
"stream": true,
"mode": "eco"
}'
错误处理
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 在 eachlabs.ai 充值 |
| 内容政策违规 | 内容被禁止 | 调整提示词,使其符合 Meta 广告政策 |
| 超时 | 生成内容过于复杂 | 将客户端超时设置为至少 10 分钟 |
Related Skills
each-sense- Core API documentationgoogle-ad-creative-generation- Google Ads creativestiktok-ad-creative-generation- TikTok ad creativesproduct-photo-generation- E-commerce product shots
评论
支持 Markdown