meta-ad-creative-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMeta Ad Creative Generation
Meta广告创意生成
Generate high-converting Meta (Facebook & Instagram) ad creatives using each::sense. This skill creates images and videos optimized for Meta's ad placements, formats, and best practices.
借助each::sense生成高转化率的Meta(Facebook和Instagram)广告创意。该技能可生成符合Meta广告投放位置、格式及最佳实践的图片和视频。
Features
功能特性
- Feed Ads: Static images and videos for Facebook/Instagram feed
- Stories & Reels: Vertical 9:16 content for immersive placements
- Carousel Ads: Multiple images for product showcases
- Video Ads: Short-form video content for engagement
- Product Ads: E-commerce focused creatives with lifestyle context
- Brand Awareness: Eye-catching visuals for reach campaigns
- Lead Generation: Compelling visuals with clear CTAs
- 信息流广告:适用于Facebook/Instagram信息流的静态图片和视频
- 快拍与Reels:适用于沉浸式投放场景的9:16竖版内容
- 轮播广告:用于产品展示的多张图片
- 视频广告:提升互动性的短视频内容
- 产品广告:结合生活场景的电商专属创意
- 品牌认知:吸引眼球的视觉内容,提升曝光量
- 线索生成:带有清晰CTA的极具吸引力的视觉内容
Quick Start
快速开始
bash
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"
}'bash
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 Ad Formats & Sizes
Meta广告格式与尺寸
| Placement | Aspect Ratio | Recommended Size | Use Case |
|---|---|---|---|
| Feed (Image) | 1:1 | 1080x1080 | Product ads, brand awareness |
| Feed (Image) | 4:5 | 1080x1350 | More vertical space, higher engagement |
| Feed (Video) | 1:1 or 4:5 | 1080x1080 or 1080x1350 | Product demos, testimonials |
| Stories/Reels | 9:16 | 1080x1920 | Full-screen immersive ads |
| Carousel | 1:1 | 1080x1080 | Product catalogs, features |
| Right Column | 1.91:1 | 1200x628 | Desktop sidebar ads |
| 投放位置 | 宽高比 | 推荐尺寸 | 适用场景 |
|---|---|---|---|
| 信息流(图片) | 1:1 | 1080x1080 | 产品广告、品牌认知 |
| 信息流(图片) | 4:5 | 1080x1350 | 更多竖版空间,更高互动率 |
| 信息流(视频) | 1:1 或 4:5 | 1080x1080 或 1080x1350 | 产品演示、客户证言 |
| 快拍/Reels | 9:16 | 1080x1920 | 全屏沉浸式广告 |
| 轮播广告 | 1:1 | 1080x1080 | 产品目录、功能展示 |
| 右侧栏 | 1.91:1 | 1200x628 | 桌面侧边栏广告 |
Use Case Examples
应用场景示例
1. Product Ad (E-commerce)
1. 电商产品广告
bash
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"
}'bash
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 Stories Ad
2. Instagram快拍广告
bash
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"
}'bash
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 Video Ad
3. Facebook视频广告
bash
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"
}'bash
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. Carousel Ad (Multiple Products)
4. 多产品轮播广告
bash
undefinedbash
undefinedFirst image
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" }'
-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" }'
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" }'
-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)
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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined5. Reels Ad (Vertical Video)
5. Instagram Reels竖版视频广告
bash
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"
}'bash
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. App Install Ad
6. 应用安装广告
bash
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"
}'bash
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. Restaurant/Food Ad
7. 餐饮广告
bash
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"
}'bash
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. Lead Generation Ad (B2B)
8. B2B线索生成广告
bash
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"
}'bash
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-Style Ad
9. UGC风格广告
bash
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"
}'bash
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. Retargeting Ad (with Product Image)
10. 重定向广告(含产品图)
bash
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"]
}'bash
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"]
}'Best Practices
最佳实践
Image Ads
图片广告
- Text Overlay: Keep text minimal - Meta recommends less than 20% text coverage
- Safe Zones: Leave 14% margin at top/bottom for Stories/Reels UI elements
- Focal Point: Place key visual elements in the center
- Contrast: Use contrasting colors to stand out in feed
- Brand Colors: Maintain consistent brand identity across ads
- 文字叠加:尽量减少文字内容——Meta建议文字覆盖率低于20%
- 安全区域:为快拍/Reels的UI元素预留顶部和底部14%的边距
- 视觉焦点:将核心视觉元素放置在中心位置
- 对比度:使用对比色确保在信息流中脱颖而出
- 品牌色彩:在所有广告中保持一致的品牌调性
Video Ads
视频广告
- Hook in 3 seconds: Capture attention immediately
- Design for sound-off: Use captions, visual storytelling
- Loop-friendly: Create seamless loops for short videos
- Mobile-first: Design for vertical/square on mobile
- 3秒抓眼球:立即吸引用户注意力
- 适配静音播放:添加字幕,采用视觉叙事方式
- 循环友好:为短视频创建无缝循环效果
- 移动端优先:针对移动端的竖版/方形尺寸进行设计
Carousel Ads
轮播广告
- Visual consistency: Maintain same style across all cards
- Story arc: Create a narrative flow between images
- First image hook: Make the first card most compelling
- 视觉一致性:所有卡片保持相同风格
- 叙事逻辑:在图片之间构建连贯的叙事流程
- 首张卡片吸睛:让第一张卡片最具吸引力
Prompt Tips for Meta Ads
Meta广告提示词技巧
When creating Meta ad creatives, include these details in your prompt:
- Format: Specify aspect ratio (1:1, 4:5, 9:16)
- Placement: Mention if it's for feed, stories, or reels
- Product/Service: Clearly describe what you're advertising
- Target Audience: Who is this ad for?
- Mood/Style: Energetic, calm, luxurious, playful, etc.
- Text Space: Request space for headlines/CTAs if needed
- Brand Guidelines: Mention colors, style preferences
创建Meta广告创意时,在提示词中包含以下细节:
- 格式:指定宽高比(1:1、4:5、9:16)
- 投放位置:说明是用于信息流、快拍还是Reels
- 产品/服务:清晰描述广告推广的内容
- 目标受众:广告面向的人群
- 风格/氛围:活力、平静、奢华、趣味等
- 文字空间:如有需要,预留标题/CTA的位置
- 品牌规范:提及色彩、风格偏好
Example Prompt Structure
提示词结构示例
"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.]""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.]"Mode Selection
模式选择
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final ad creatives, A/B testing winners | Slower | Highest |
| Quick drafts, concept exploration, bulk testing | Faster | Good |
生成前询问用户:
"您需要快速低成本的版本,还是高质量版本?"
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
| 最终广告创意、A/B测试获胜版本 | 较慢 | 最高 |
| 快速草稿、概念探索、批量测试 | 较快 | 良好 |
Multi-Turn Creative Iteration
多轮创意迭代
Use to iterate on ad creatives:
session_idbash
undefined使用对广告创意进行迭代:
session_idbash
undefinedInitial creative
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefinedA/B Testing Batch Generation
A/B测试批量生成
Generate multiple variations for testing:
bash
undefined生成多个变体用于测试:
bash
undefinedVariation A - Lifestyle focus
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
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" }'
-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
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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefinedError Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Adjust prompt to comply with Meta ad policies |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 在eachlabs.ai进行充值 |
| 内容政策违规 | 包含违禁内容 | 修改提示词以符合Meta广告政策 |
| 超时 | 生成任务复杂 | 将客户端超时设置为至少10分钟 |
Related Skills
相关技能
- - Core API documentation
each-sense - - Google Ads creatives
google-ad-creative-generation - - TikTok ad creatives
tiktok-ad-creative-generation - - E-commerce product shots
product-photo-generation
- - 核心API文档
each-sense - - Google Ads创意生成
google-ad-creative-generation - - TikTok广告创意生成
tiktok-ad-creative-generation - - 电商产品图生成
product-photo-generation