关于 emoji-sticker-generation
emoji-sticker-generation 是通过 each::sense 制作自定义表情和贴纸包的技能,支持照片角色化、表情套组、动画,以及面向消息和协作平台的尺寸优化。
主要功能
- 01将照片转换为卡通表情
- 02制作表情与反应套组
- 03生成动画贴纸
- 04适配消息平台素材规格
- 05保持套组角色风格一致
适用场景
- 01将人物或宠物照片制作成表情
- 02创建品牌团队反应表情组
- 03制作适用于 WhatsApp 或 Telegram 的贴纸
- 04设计动画消息贴纸
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ eachlabs/ skills --skill emoji-sticker-generation安装后在 Claude Code 中输入/emoji-sticker-generation确认已加载。
附带文件references/SSE-EVENTS.md
详细介绍
Emoji 和贴纸生成
使用 each::sense 生成自定义 Emoji 和贴纸包。此技能可根据照片创建个性化 Emoji、动画贴纸、表情包,以及针对消息应用和团队协作工具优化的 Emoji 集。
功能
- 照片转 Emoji:将照片转换为卡通风格的 Emoji
- 表情包:根据单个参考图生成一组情绪表情
- 动画贴纸:创建动态 Emoji 和 GIF 贴纸
- 平台优化:针对 Slack、Discord、WhatsApp、Telegram 调整尺寸
- 品牌吉祥物:设计风格统一的吉祥物 Emoji 集
- 宠物 Emoji:将宠物照片变成可爱的贴纸
- Bitmoji 风格:创建角色一致的头像 Emoji
- 反应表情集:以自定义风格制作常见反应 Emoji
快速开始
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 cute cartoon emoji from this photo, suitable for Slack"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
平台尺寸和格式
| 平台 | 尺寸 | 格式 | 备注 |
|---|---|---|---|
| Slack | 128x128 | PNG, GIF | 正方形,透明背景 |
| Discord | 128x128 | PNG, GIF | 动画文件最大 256KB |
| 512x512 | WebP | 贴纸包,透明背景 | |
| Telegram | 512x512 | WebP, TGS | 静态或动画 |
| iMessage | 300x300 | PNG, GIF | 支持多种尺寸 |
| Teams | 128x128 | PNG | 正方形格式 |
使用场景示例
1. 根据照片制作自定义 Emoji
根据人像照片创建个性化 Emoji。
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": "Transform this photo into a cute cartoon emoji. Make it expressive with big eyes and a friendly smile. Style should be like modern emoji with clean lines and vibrant colors. Output at 512x512 with transparent background."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/portrait.jpg"]
}'
2. Emoji 表情包
根据一张参考图生成完整的表情集。
# Initial emoji creation
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 cartoon character emoji from this photo. I want to use this as a base for an expression pack."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "emoji-pack-001",
"image_urls": ["https://example.com/face.jpg"]
}'
# Generate expression 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": "Now create 6 expression variations of this character: happy, sad, laughing, surprised, angry, and thinking. Keep the same style and character design consistent across all expressions."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "emoji-pack-001"
}'
3. 动画 Emoji/贴纸
创建带有简单动画的动态贴纸。
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 animated emoji sticker of a cute waving hand. Make it loop smoothly with a friendly wave motion. Cartoon style with bold outlines, bright skin tone. Output as a short looping animation suitable for messaging apps."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
4. Slack/Discord Emoji 集
为团队工作区生成自定义 Emoji 集。
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 set of 5 custom Slack emoji for a tech startup: 1) Ship it rocket, 2) LGTM thumbs up, 3) Coffee break mug, 4) Bug squash, 5) Celebration party. Modern flat design style with bold colors. 128x128 pixels each with transparent backgrounds."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "slack-emoji-set"
}'
# Add more to the set
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": "Add 3 more emoji to the set in the same style: 1) Thinking face with code brackets, 2) PR approved checkmark, 3) Deploy success. Keep the same flat design aesthetic."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "slack-emoji-set"
}'
5. WhatsApp 贴纸包
创建针对 WhatsApp 优化的贴纸包。
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 WhatsApp sticker pack with a cute cat character. Generate 8 stickers showing: greeting, thank you, love, laughing, sleeping, eating, confused, and celebrating. Kawaii anime style with pastel colors. 512x512 pixels with transparent background for each sticker."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
6. Bitmoji 风格头像 Emoji
创建 Bitmoji 风格的个性化头像 Emoji 集。
# Create avatar base
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 Bitmoji-style avatar from this photo. Cartoon character with recognizable features but stylized. Clean vector-like art style similar to Bitmoji/Snapchat avatars."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "my-avatar-emoji",
"image_urls": ["https://example.com/my-selfie.jpg"]
}'
# Generate situational stickers
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 5 stickers of my avatar in different situations: 1) Working on laptop, 2) Drinking coffee, 3) High-fiving, 4) Mind blown gesture, 5) Dancing celebration. Same Bitmoji art style, keep my avatar consistent."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "my-avatar-emoji"
}'
7. 品牌吉祥物 Emoji 包
为品牌传播生成风格统一的吉祥物 Emoji 集。
# Define mascot
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 brand mascot emoji: a friendly robot character with rounded features, blue and white color scheme, expressive LED eyes. This will be used for our tech company Slack and social media. Start with a neutral happy expression."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "brand-mascot-emoji"
}'
# Generate mascot pack
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 complete emoji pack with this robot mascot showing: thumbs up, thinking, celebrating, waving hello, error/oops face, loading/processing, success checkmark pose, and question mark confused. Maintain exact same character design and brand colors."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "brand-mascot-emoji"
}'
8. 反应 Emoji 集
为团队或社群创建自定义反应 Emoji。
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 set of 10 reaction emoji in a consistent playful illustrated style: 1) Fire/lit, 2) 100 percent, 3) Eyes looking, 4) Chef kiss, 5) Mind blown explosion, 6) Facepalm, 7) Clapping hands, 8) Raising hands celebration, 9) Laughing crying, 10) Heart eyes. Bold colors, clean outlines, 128x128 transparent PNG style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
9. 根据照片制作宠物 Emoji
将宠物照片转换为可爱的 Emoji 贴纸。
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": "Turn this photo of my dog into a cute cartoon emoji sticker. Capture the personality and distinctive features. Kawaii style with big sparkly eyes and adorable expression. Create it as a 512x512 sticker with transparent background."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-dog.jpg"]
}'
# Create pet expression pack
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 6 emoji variations of this dog: happy with tongue out, sleepy, begging for treats, playful with ball, confused head tilt, and excited jumping. Keep the same cartoon style consistent."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "pet-emoji-pack",
"image_urls": ["https://example.com/my-dog.jpg"]
}'
10. 文本 Emoji 设计
创建基于自定义文本和排版的 Emoji。
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 custom text emoji stickers for common team reactions: 1) NICE in rainbow gradient bubble letters, 2) SHIP IT with rocket trail effect, 3) WFH in cozy style with house icon, 4) BRB with clock elements, 5) TY in heart shape, 6) GG in gaming style. Each should be readable at 128x128 with transparent background, bold fun typography."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
最佳实践
Emoji 设计
- 简洁:保持设计简单,确保缩小后仍清晰易读
- 粗描边:使用粗描边以提高清晰度
- 颜色有限:每个 Emoji 使用 3-5 种颜色
- 表情:夸张面部表情以增强效果
- 一致性:保持整套 Emoji 的风格统一
平台优化
- 透明背景:始终使用透明背景,以获得最佳兼容性
- 正方形格式:大多数平台要求 1:1 宽高比
- 文件大小:动画 Emoji 控制在 256KB 以下
- 缩小测试:预览 32x32 尺寸,确保清晰易读
动画技巧
- 无缝循环:确保动画循环流畅
- 保持简短:1-3 秒为宜
- 动作简单:单一动作比复杂动作更容易辨认
- 帧率:Emoji 使用 10-15 FPS 效果良好
Emoji 提示词技巧
创建 Emoji 时,请包含以下细节:
- 风格:卡通、可爱风、扁平设计、3D 等
- 表情/情绪:需要传达什么感受?
- 尺寸:指定输出尺寸
- 背景:要求使用透明背景
- 平台:注明目标平台以便优化
- 一致性:生成整套 Emoji 时,参考之前的生成结果
提示词结构示例
"Create a [style] emoji of [subject/expression].
[Visual details and characteristics].
Output at [size] with transparent background.
Target platform: [Slack/Discord/WhatsApp/etc.]"
模式选择
生成前询问用户:
“你想要速度快、成本低,还是质量高?”
| 模式 | 最适合 | 速度 | 质量 |
|---|---|---|---|
max | 最终贴纸包、品牌 Emoji | 较慢 | 最高 |
eco | 快速构思、测试创意、草稿 | 较快 | 良好 |
多轮创建 Emoji 包
使用 session_id 创建风格统一的 Emoji 包:
# Start with character 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": "Design a cute mascot character for my emoji pack - a happy cloud with a face"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "cloud-emoji-project"
}'
# Add expressions
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 this cloud with a rainy sad expression"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "cloud-emoji-project"
}'
# Continue building the pack
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 make a sunny happy version with rainbow"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "cloud-emoji-project"
}'
批量生成 Emoji 包
高效生成完整的 Emoji 包:
# Generate full expression set in one request
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 complete emoji pack of 8 food emoji: pizza slice, hamburger, sushi, taco, ice cream cone, donut, coffee cup, and avocado. All in the same cute kawaii style with happy faces, consistent line weight and color palette. 128x128 each with transparent backgrounds."}],
"model": "eachsense/beta",
"stream": true,
"mode": "eco"
}'
错误处理
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 在 eachlabs.ai 充值 |
| 内容政策违规 | 内容被禁止 | 调整提示词,使其符合指南 |
| 超时 | 生成过程复杂 | 将客户端超时设置为至少 10 分钟 |
| 风格不一致 | 新会话 | 使用相同的 session_id,确保整组内容风格一致 |
相关技能
each-sense- 核心 API 文档product-photo-generation- 产品图片meta-ad-creative-generation- 社交媒体创意内容
评论
支持 Markdown