mcpField
F
flyer-design-generation

flyer-design-generation

github.com/eachlabs设计与 UI44495 次安装今天更新
代码仓库

关于 flyer-design-generation

这是一项使用 each::sense 生成传单的技能,适用于活动组织者和企业,涵盖印刷与数字格式,并支持迭代设计和生成多个版本。

主要功能

  1. 01活动与促销传单设计
  2. 02房地产、餐饮和健身传单
  3. 03印刷与数字格式指导
  4. 04使用 session_id 迭代设计
  5. 05批量生成多个版本

适用场景

  1. 01制作活动或演出公告
  2. 02推广产品、服务或促销
  3. 03制作房地产房源传单
  4. 04生成不同传单方案

安装

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

$npx skills add https://github.com/eachlabs/skills --skill flyer-design-generation

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

附带文件references/SSE-EVENTS.md

详细介绍

传单设计生成

使用 each::sense 生成专业的传单和宣传单。此技能可为活动、促销、房地产、餐饮、健身等场景创作视觉效果出众的设计,并针对印刷和数字分发进行优化。

功能

  • 活动传单:派对邀请函、音乐会公告、节日推广
  • 商业促销:公司服务、产品发布、品牌宣传
  • 房地产房源:房产展示、开放日公告
  • 餐厅与美食:菜单亮点、特别优惠、盛大开业
  • 健身与健身房:会员招募、课程安排、蜕变挑战
  • 促销与折扣:季节性促销、清仓活动、限时优惠
  • 招聘:招聘会、招聘活动、职业机会
  • 社区活动:筹款活动、本地聚会、慈善活动

快速开始

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 flyer for a summer music festival featuring EDM and house music, vibrant neon colors, date August 15-17, include space for artist lineup"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

常见传单尺寸

格式尺寸用途
Letter8.5x11 in(2550x3300 px)美国标准传单、宣传材料
A4210x297 mm(2480x3508 px)国际标准传单
A5148x210 mm(1748x2480 px)半页传单、插页
正方形1080x1080 px社交媒体、数字广告
4x64x6 in(1200x1800 px)明信片、小型宣传材料
11x1711x17 in(3300x5100 px)海报、大幅面印刷

使用场景示例

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 nightclub party flyer for a New Years Eve celebration. Dark background with gold and silver confetti, champagne glasses, disco ball. Bold typography space for event name at top, date December 31st, include areas for DJ names and venue details at bottom. Luxurious and exciting vibe."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
2. 商业促销传单
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 professional business flyer for a digital marketing agency. Clean modern design with blue and white color scheme. Include sections for services offered (SEO, Social Media, PPC), company logo placeholder at top, contact information area at bottom. Corporate but approachable style."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
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 real estate listing flyer for a luxury home. Feature a beautiful modern house exterior with manicured lawn. Include prominent OPEN HOUSE banner, space for price, 4 bed 3 bath icons, square footage area, agent photo placeholder and contact details. Elegant and trustworthy design with navy and gold accents."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
4. 餐厅/美食传单
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 restaurant flyer for an Italian pizzeria. Show a delicious wood-fired pizza with melted cheese and fresh basil. Warm rustic background with Italian flag colors subtly incorporated. Space for restaurant name, special offer (Buy 1 Get 1 Free), menu highlights, and location/phone number. Appetizing and authentic feel."}],
    "model": "eachsense/beta",
    "stream": true,
    "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 gym membership flyer with high energy design. Show athletic person working out with weights, dynamic pose. Bold red and black color scheme. Large JOIN NOW text, space for membership pricing tiers, list of amenities (24/7 access, personal training, group classes), QR code placeholder for sign-up. Motivational and powerful 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 retail sale flyer for a Black Friday event. Dramatic black background with explosive gold and red accents. Giant UP TO 70% OFF text, countdown urgency elements, shopping bags and gift boxes imagery. Space for store name, sale dates November 24-27, and store hours. Eye-catching and urgent design that demands attention."}],
    "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 job fair flyer for a tech industry hiring event. Modern professional design with diverse group of business people silhouettes. Tech-inspired background with circuit patterns. WE ARE HIRING headline, list space for participating companies, event date and venue, registration QR code area. Professional blue and green gradient color scheme."}],
    "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 community charity fundraiser flyer for a local food bank. Warm and welcoming design with volunteers helping distribute food. Soft orange and green earth tones. HELP US FEED FAMILIES headline, donation goal thermometer graphic, event details section, sponsor logo placeholders at bottom. Compassionate and community-focused design."}],
    "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 grand opening flyer for a new coffee shop. Celebratory design with ribbon cutting imagery, coffee beans and steam. GRAND OPENING with date prominently displayed. Include first 100 customers get free coffee offer, store address, opening hours, and social media handles area. Warm brown and cream color palette with pops of festive gold."}],
    "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 Christmas holiday sale flyer for a retail store. Festive winter wonderland design with snowflakes, Christmas trees, and wrapped presents. Red and green traditional colors with elegant gold accents. HOLIDAY SALE UP TO 50% OFF headline, space for featured products, store location and extended holiday hours. Magical and joyful atmosphere."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

最佳实践

视觉层次
  • 标题:字号要大、加粗,并确保一眼就能读清
  • 关键信息:日期、时间和地点应易于查找
  • 行动号召:明确下一步操作(立即致电、访问我们、注册)
  • 联系方式:电话、网站、地址、社交媒体
设计原则
  • 对比度:确保文字在背景上清晰易读
  • 留白:不要排得过满,让设计保持通透
  • 品牌一致性:使用统一的颜色和字体
  • 图像质量:印刷时要求提供高分辨率输出
印刷与数字用途
  • 印刷:要求更高分辨率(相当于 300 DPI),并包含出血区域
  • 数字用途:针对屏幕显示进行优化,并考虑文件大小
  • 两者兼顾:设计时考虑多用途适配

传单设计提示词建议

创建传单时,请在提示词中包含以下细节:

  1. 目的:传单要推广什么?
  2. 受众:谁会看到这张传单?
  3. 核心信息:主要标题或优惠内容是什么?
  4. 视觉元素:需要哪些图像、图标或图形?
  5. 配色方案:品牌颜色或符合氛围的配色
  6. 文字区域:为特定文字内容预留空间
  7. 格式:印刷尺寸或数字尺寸
  8. 风格:专业、有趣、优雅、紧迫等
提示词结构示例
"Create a [purpose] flyer for [business/event].
[Visual description] with [color scheme].
Include [headline text], space for [content areas].
Target audience: [demographic].
Style: [mood/aesthetic]."

模式选择

生成前先询问用户:

“您想要速度快、成本低,还是追求高质量?”

模式适用场景速度质量
max可直接用于印刷的最终传单、客户交付物较慢最高
eco快速草稿、概念探索、多个变体较快良好

多轮创意迭代

使用 session_id 迭代传单设计:

# Initial design
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 summer beach party flyer with tropical vibes"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "beach-party-flyer-001"
  }'

# Request modifications
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 the colors more vibrant and add palm tree silhouettes on the sides"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "beach-party-flyer-001"
  }'

# Generate variations
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 - one with sunset colors and one with neon night theme"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "beach-party-flyer-001"
  }'

用于 A/B 测试的批量生成

生成多个设计变体:

# Version A - Bold and 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 yoga studio flyer - bold colorful design with energetic sunrise theme"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Version B - Minimalist and calm
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 yoga studio flyer - minimalist zen design with soft neutral colors"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Version C - Nature focused
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 yoga studio flyer - outdoor nature theme with forest and mountains"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

错误处理

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

相关技能

  • each-sense - 核心 API 文档
  • meta-ad-creative-generation - 社交媒体广告创意
  • product-photo-generation - 电商产品照片
  • poster-design-generation - 大幅海报设计

评论

支持 Markdown