关于 anime-avatar-generation
此 skill 使用 each::sense 生成动漫风格头像与角色图,也可将照片转换为动漫艺术。适合需要社交头像、完整角色设计或多角度设定图的创作者,并支持多种风格及会话迭代。
主要功能
- 01将照片转换为动漫风格
- 02生成吉卜力、漫画和赛博朋克风格
- 03制作 Q 版头像与社交头像
- 04设计全身角色与服装
- 05生成多角度角色设定图
- 06通过会话迭代角色设计
适用场景
- 01将个人照片制作成动漫头像
- 02为社交媒体制作头像图
- 03设计原创角色及其服装
- 04制作供角色保持一致的参考图
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ eachlabs/ skills --skill anime-avatar-generation安装后在 Claude Code 中输入/anime-avatar-generation确认已加载。
附带文件references/SSE-EVENTS.md
详细介绍
Anime 头像生成
使用 each::sense 生成惊艳的 Anime 风格头像和角色。这项技能可以将照片转换为 Anime 艺术风格、创作原创 Anime 角色,并生成从吉卜力到赛博朋克等多种 Anime 风格作品。
功能
- 照片转 Anime:将真实照片转换为 Anime 风格作品
- 吉卜力风格:受吉卜力工作室启发的柔和、梦幻角色
- Manga 风格:黑白或带色调的 Manga 角色艺术
- 赛博朋克 Anime:霓虹灯光下的未来主义 Anime 美学
- Chibi 头像:可爱的超变形角色风格
- 社交头像:针对社交媒体优化的 Anime 头像
- 全身角色:包含服装的完整角色设计
- 角色设定表:提供多个角度,作为一致的角色参考
快速开始
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 anime avatar of a young woman with long blue hair and golden eyes, soft lighting, studio quality"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
Anime 风格参考
| 风格 | 描述 | 最适合 |
|---|---|---|
| 吉卜力 | 柔和的色彩、梦幻感、手绘质感 | 温暖怀旧的肖像 |
| Manga | 黑白风格、动感线条、表情丰富 | 漫画风格角色 |
| 赛博朋克 | 霓虹色彩、未来主义风格、科技元素 | 个性鲜明的社交头像 |
| Chibi | 超变形、可爱、大头小身 | 吉祥物、表情包 |
| 少年漫 | 大胆、注重动作、富有戏剧性 | 男性角色、英雄 |
| 少女漫 | 柔和、浪漫、闪耀效果 | 女性角色、偶像 |
| 青年漫 | 写实比例、成熟风格 | 专业头像 |
使用场景示例
1. 照片转 Anime
将真实照片转换为 Anime 风格作品。
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": "Convert this photo to anime style. Keep the facial features recognizable but transform it into a beautiful anime portrait with vibrant colors and soft shading."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
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 Studio Ghibli style portrait of a young girl with short brown hair, wearing a simple blue dress. Soft watercolor aesthetic, gentle expression, surrounded by nature with small forest spirits in the background. Hayao Miyazaki inspired art style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
3. Manga 风格角色
生成黑白 Manga 风格角色。
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 manga-style character portrait in black and white. A confident male protagonist with spiky black hair, sharp eyes, wearing a school uniform. Dynamic pose, dramatic shading with screentones, shonen manga aesthetic."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
4. 赛博朋克 Anime 风格
创建霓虹灯光下的未来主义 Anime 角色。
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 cyberpunk anime character. A hacker girl with short neon pink hair with cyan highlights, cybernetic eye implants, wearing a leather jacket with glowing circuit patterns. Dark urban background with neon signs, rain, and holographic advertisements. Ghost in the Shell meets Akira aesthetic."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
5. Chibi 风格头像
生成可爱的超变形角色。
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 chibi anime avatar. A cute girl with big sparkly purple eyes, long wavy pink hair with star clips, wearing a magical girl outfit with ribbons and bows. Super deformed proportions with big head and small body, kawaii expression, pastel color palette, simple clean background."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
6. Anime 社交头像
创建适用于社交媒体个人资料的优化头像。
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 anime profile picture. A mysterious character with silver hair covering one eye, heterochromia (one blue eye, one red eye), wearing a high-collar black coat. Dramatic lighting from the side, dark elegant background. The composition should work well as a small avatar icon."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
7. Anime 全身角色
设计包含服装和姿势的完整角色。
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 full body anime character design. A female warrior with long red hair in a ponytail, green eyes, wearing ornate silver armor with a flowing cape. She holds a glowing magical sword. Dynamic standing pose, fantasy setting with castle in the background. High detail anime illustration style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
8. Anime 情侣/群像
在同一场景中生成多个角色。
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 anime illustration of a couple. A tall guy with messy black hair and glasses wearing a casual hoodie, and a shorter girl with twin-tail blonde hair wearing a sundress. They are standing together at a summer festival, holding hands, with fireworks in the night sky behind them. Romantic shojo anime style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
9. 指定发色/瞳色的 Anime 角色
按照精确的颜色要求创建角色。
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 anime character with very specific colors: gradient hair that transitions from deep purple at the roots to lavender at the tips, bright amber eyes with a subtle golden glow, pale skin with a slight blush. The character should have an elegant hairstyle with braids and loose strands. Portrait shot, soft dreamy lighting, flower petals floating around."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
10. Anime 角色设定表(多个角度)
生成包含多个视图的参考表,确保角色一致性。
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 anime character reference sheet with multiple angles. The character is a young male mage with medium-length teal hair and bright orange eyes, wearing a wizard robe with gold trim. Show front view, side view (profile), 3/4 view, and back view on a clean white background. Include close-up details of the face and any accessories. Professional character design sheet format."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max"
}'
模式选择
生成前请询问用户:
“您想要快速且经济,还是高质量?”
| 模式 | 最适合 | 速度 | 质量 |
|---|---|---|---|
max | 最终头像、社交头像、角色设计 | 较慢 | 最高 |
eco | 快速草稿、探索风格、迭代 | 较快 | 良好 |
多轮角色调整
使用 session_id 迭代完善角色设计:
# Initial character 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 an anime character - a mysterious ninja with dark clothing"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "ninja-character-design"
}'
# Refine 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": "I like it but make the character female, add a red scarf, and give her white hair"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "ninja-character-design"
}'
# Request style 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": "Now create the same character but in chibi style"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "ninja-character-design"
}'
多个角色之间的风格一致性
以一致的艺术风格创建多个角色:
# First character
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 anime hero character - a young man with spiky orange hair and determined expression, wearing a battle-worn jacket"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "anime-team-project"
}'
# Second character (same session for style 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": "Now create his rival - a calm, cool character with slicked-back blue hair, wearing a formal coat. Keep the same art style as the previous character."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "anime-team-project"
}'
最佳实践
角色描述技巧
- 头发:指定颜色、长度和发型(刺发、卷发、直发、双马尾、马尾)
- 眼睛:描述颜色、形状和神态(锐利、柔和、闪亮)
- 服装:详细说明服装风格、颜色和配饰
- 表情:定义情绪(快乐、神秘、强势、温柔)
- 姿势:描述身体姿势和动作
风格说明
- 参考特定 Anime/Manga,说明风格方向
- 提及灯光偏好(柔和、戏剧性、逆光)
- 指定背景复杂度(简单、详细、渐变)
- 说明偏好的调色板(柔和色彩、鲜艳色彩、暗色)
技术注意事项
- 对于社交头像,请指定 1:1 宽高比
- 对于角色设定表,请指定横向构图
- 对于全身角色,请确保构图包含从头到脚的完整人物
- 对于面部细节,请指定特写肖像构图
动漫头像提示词技巧
创建动漫角色时,请包含以下详细信息:
- 角色性别/年龄:年轻女孩、成年男性、少年等。
- 头发细节:颜色、长度、发型、配饰(丝带、发夹)
- 眼睛细节:颜色、形状、表情、任何特殊特征
- 服装:服装类型、风格、颜色、配饰
- 姿势/构图:肖像、全身、动作姿势等。
- 艺术风格:吉卜力、漫画、赛博朋克、Q 版等。
- 情绪/氛围:欢快、神秘、戏剧性、浪漫
- 背景:简洁、细致、特定场景
提示词结构示例
"Create a [style] anime [character type] with [hair details] and [eye details].
They are wearing [outfit description].
[Pose/composition]. [Background/setting].
[Mood/atmosphere] feeling. [Additional details]."
错误处理
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 在 eachlabs.ai 充值 |
| 内容政策违规 | 禁止的内容 | 调整提示词,使其符合内容政策 |
| 超时 | 生成内容复杂 | 将客户端超时设置为至少 10 分钟 |
| 角色不一致 | 未维持会话 | 对相关请求使用相同的 session_id |
相关技能
each-sense- 核心 API 文档photo-to-illustration- 通用插画风格character-design- 非动漫角色创建profile-picture-generation- 通用头像创建
评论
支持 Markdown