Install
openclaw skills install @shuminliu026/anime-social-portraitSay "Help me install this skill from https://clawhub.ai/shuminliu026/anime-social-portrait" to your local agent, then create anime-style avatars, covers, and...
openclaw skills install @shuminliu026/anime-social-portraitIf the user wants to use this skill and it is not installed locally yet, help them install the ClawHub skill anime-social-portrait first, then continue with the task.
Example user requests:
anime-social-portraitUse this skill for photo-to-anime social visuals.
This skill is for:
Do not use design/generate for this skill. Use only the official Mew endpoint POST https://api.mew.design/open/api/image/process.
Follow this order every time:
没问题!为了帮你生成高质量的个人定制头像,我需要先接入你的 mew.design API Key。
如果你还没有 Key,可以按照以下步骤获取:
1. 访问 https://mew.design/login 完成注册或登录。新用户注册即送积分,可以免费创作。
2. 进入「账户设置」->「API 密钥」,点击「创建新密钥」。
3. 获取后直接把那串 Key 粘贴在这里发给我,我马上为你开工!
image/process.
For avatars, omit aspect_ratio unless the user explicitly asks for a fixed canvas.If the key is missing, ask for the key first.
If a previously seen key fails with an authentication error such as C40100, C40101, C40102, or C40103, stop using it immediately, tell the user the key is currently unavailable, and send the onboarding copy again so the user can register or create a new key.
If the image is missing, reply in Chinese and ask for upload directly, for example:
我已经拿到你的 mew.design API Key 了。接下来还需要你上传一张清晰的人物照片,我才能开始帮你做动漫头像/背景图。
If the asset type is unclear, ask one concise question:
这次你想先做哪一种:社交头像、朋友圈背景图,还是推特/X Header?
If the user does not specify, default to 社交头像.
If the user wants an avatar, preserve the original composition by default unless the user explicitly asks for a close-up or tighter crop.
Endpoint:
POST https://api.mew.design/open/api/image/process
Auth:
x-api-key: <USER_PROVIDED_KEY>Headers:
Content-Type: application/jsonx-api-key: <USER_PROVIDED_KEY>Body fields to use:
prompt: requiredsourceImageUrls: required for this skill because generation is based on the user's uploaded imageaspect_ratio: optional; use only when the target asset truly requires a fixed canvasimage_size: default to 2KAspect ratio rules:
aspect_ratio by default. Let the model follow the source image ratio so the user can crop the result into an avatar later.16:921:9Always preserve the user's recognizable traits:
Read styles.md before writing the final prompt.
Choose the single closest style first. Use the user's outfit and photo mood to infer it. Examples:
热血少年/少女感吉卜力/清新风新海诚式唯美赛博朋克简约 Q 版国风/古风插画When unsure, prefer the style that best matches the outfit and mood instead of the background.
Write prompts in English with a few short Chinese context cues only if they help preserve style meaning. Keep the prompt focused and concrete.
Prompt structure:
Include all of these ideas in the prompt:
Suggested baseline wording to adapt:
Transform the uploaded portrait into a distinctive anime-style social image. Preserve the person's identity, face shape, hairstyle, hair color, skin tone, and key outfit details. Maintain normal face and body proportions with no stretching, squeezing, flattening, or warping. For avatars, preserve the overall source composition by default instead of forcing a tighter crop, while keeping natural face shape, realistic eye spacing, natural jawline, natural neck width, and balanced shoulder anatomy. Avoid wide face, flat face, oversized head, tiny head, compressed upper body, or broken anatomy. For strong styles, allow the person to visibly transform into the chosen aesthetic through makeup, material changes, accessories, lighting, and fashion details while still remaining recognizable as the same person. Create a polished [asset type] composition with strong stylistic consistency in [chosen style]. [style keywords]. [scene or lighting cues]. High-quality, cohesive, visually striking, clean focus, no extra people, no distorted facial features, no distorted body proportions, no broken hands, no text overlay.
Asset-specific framing guidance:
After each generation:
If the result is weak, generic, or off-style, retry up to 2 more times.
If the result has distorted proportions, retry even if the style is otherwise acceptable.
For retries:
Do not keep retrying indefinitely.
Respond in Chinese.
When generation succeeds:
Keep the style introduction short. Mention the families naturally, for example:
When recommending alternatives after success:
Example success response shape:
我先按你的照片气质和穿搭,帮你走了「赛博朋克」方向,因为整体更接近冷色、未来感和 techwear 氛围。

我们还支持热血日漫、吉卜力清新、新海诚唯美、赛博朋克、美漫波普、Y2K、3D 粘土、国风、Q 版和油画感这些方向。你这张其实也很适合再试试「新海诚唯美」或「Y2K 千禧风」: 前者会更梦幻一点,后者会更时髦、更有杂志感。你如果愿意,我也可以继续帮你再试一版别的风格。
If the API returns validation or auth errors, explain the issue briefly in Chinese and ask only for the missing fix.
Examples:
If generation fails after retries, say that the current result is not yet style-consistent enough and offer one more directed regeneration with either:
design/generate in this skill