---
name: soft-3d-avatar-style-imagegen
description: Generate or edit individual images and cohesive sets of soft 3D assistant avatars from natural-language descriptions while preserving a recognizable toy-like visual system with glossy black oval eyes and a short, thin, gently upturned closed-mouth line placed close beneath the nose. Use when users ask for 3D avatar、小助手、人物形象、角色头像、职业头像、团队头像、同风格系列角色，or want keywords, a portrait, or an existing avatar translated into this style. Produce 1254×1254 px product-ready PNG sources with pure-white backgrounds by default that remain correctly composed after automatic circular cropping, including four-option candidate batches. Keep the shared style fixed while allowing each character's presentation, apparent age, skin tone, face silhouette, hair, clothing, and accessories to vary.
---

# Soft 3D Avatar Style Imagegen

Turn short or detailed user descriptions into one avatar or a consistent avatar family. Lock the visual language, not the identity of either reference character.

## Load the Style System

- Inspect all six square anchors before the first generation in a task: `assets/style-anchor-female-blonde.png`, `assets/style-anchor-female-curly.png`, `assets/style-anchor-male-bearded.png`, `assets/style-anchor-male-navy.png`, `assets/style-anchor-animal-shiba.png`, and `assets/style-anchor-animal-owl.png`.
- Read and apply `references/official-guardrail.md` before every generation or edit.
- Read `references/style-system.md` before generating or editing.
- Read `references/prompt-recipes.md` when composing the image-generation prompt.
- Read `references/examples.md` for ambiguous keyword-only requests or multi-character sets.
- Treat the human and animal anchors as equal style references for the shared rendering system. Never copy an anchor's face, species, hair, outfit, skin tone, glasses, facial hair, or accessories unless the user requests those traits.

## Separate Style From Identity

Always lock:

- One 1254×1254 px square PNG master for both mobile and web; product surfaces may downscale it proportionally but must not upscale it.
- Front-facing, centered single-character bust portrait with a calm, approachable presence.
- One short, thin, softly recessed closed-mouth line: centered and placed close beneath the nose, nearly horizontal, gently upturned at the ends, warm and only slightly darker than the surrounding skin. The empty skin gap from nose bottom to mouth-line top is about 35–50% of visible nose height and never more than one nose height.
- Simple glossy black oval eyes, short sculpted eyebrows, a small rounded nose, visible ears, and simplified facial geometry.
- Soft premium 3D toy/clay rendering, broad sculpted shapes, restrained tactile texture, soft studio light, and clean silhouette.
- Uniform pure-white (`#FFFFFF`) background by default. Change it only when the user explicitly requests another minimal backdrop.

Allow the user to define:

- Gender presentation, apparent adult age, skin tone, face width, and overall character identity.
- Hairstyle, hair texture/color, facial hair, clothing, occupation cues, glasses, jewelry, headwear, and other accessories.
- Background color and restrained role-related props.

Do not silently force the female or male anchor's identity onto a new character. Keep the approved mouth line visible with facial hair, but do not carve a large hairless mouth window into a beard or moustache.

## Workflow

1. Classify the request as a four-option candidate batch, portrait-to-avatar translation, edit, or multi-character set. In the product flow, one description normally means four alternative interpretations of the same requested character.
2. Parse the user's words into identity, hair, clothing, accessories, expression, background, and requested output count. Preserve explicit details; fill missing fields with neutral defaults instead of inventing a backstory. Translate emotional phrases such as “warm smile” into a slightly warmer version of the approved closed-mouth line plus brows, eye highlights, head posture, color, and lighting.
3. For a supplied portrait, use it as the identity reference and the bundled square anchors as style references. Transfer only visible, non-sensitive appearance cues needed for the avatar; do not identify the person or infer sensitive traits.
4. Build the prompt from `references/prompt-recipes.md`. Put the mouth-line rule and the distinction between style references and identity references near the start.
5. Use the image-generation tool directly. Include the bundled style-anchor paths whenever local reference paths can be supplied. For an edit, include the target image and the relevant style anchors together when the tool supports local paths. Explicitly override the anchors' portrait aspect ratio with the square product composition.
6. Generate candidate batches as four separate square images, never as a 2×2 collage. Keep every explicit user attribute fixed and introduce only controlled secondary variation described in `references/prompt-recipes.md`.
7. For a multi-character set, define one shared series specification, then generate each character separately with the identical style block, camera, crop, lighting, and background policy. Vary only the requested character attributes. Create a combined overview only if the user asks for one.
8. Inspect both the square result and its imagined centered circular crop against the quality gate. If a hard constraint fails, regenerate with a narrower prompt rather than accepting drift.

## Defaults

When the user supplies only a few words, default to:

- One adult character with neutral gender presentation when presentation is unspecified.
- One 1254×1254 px PNG source; front-facing upper-body portrait; head and hairstyle fully visible inside the circular safe area. Keep the top of the hairstyle or ears approximately 11% below the canvas top: target about 139 px, acceptable range 125–150 px, equivalent to about 8 px when rendered in a 72×72 px circular avatar. Arms stay relaxed and mostly outside the crop.
- Uniform pure-white (`#FFFFFF`) background, balanced soft key light, subtle rim separation on the character, no background shadow, and no scene props.
- Four separate candidate images for the product flow. Outside the product flow, honor an explicit requested count.

## Quality Gate

Reject and regenerate when any of these occur:

- The approved mouth line is missing, off-center, too far below the nose, too long, too thick, too dark, strongly curved, doubled into upper/lower lips, or becomes an open mouth. Reject when the nose-to-mouth gap exceeds one visible nose height.
- Teeth, tongue, realistic lip anatomy, lipstick, a black emoji smile, a deep cut, dimples, or a large beard/moustache gap appears.
- Eyes gain white sclera, colored irises, pupils, eyelashes, or realistic anatomy.
- The result becomes photorealistic, anime, flat illustration, glossy plastic, or hyper-detailed.
- The requested hairstyle, clothing, accessory, skin tone, or role cue is missing or materially wrong.
- The head is cropped, the view is not frontal, the default background is not uniform pure white, the background contains a gradient/vignette/horizon/texture/shadow, or extra people/body parts appear.
- Circular cropping would cut the top or sides of the hairstyle, ears, glasses, earrings, face, or other identity-critical detail.
- The source is not a 1254×1254 px square PNG master, or four candidates are combined into one contact sheet instead of delivered separately.
- A series changes camera, proportions, material, lighting, eye design, or mouth-line language between characters.

## Delivery

Return four separate 1254×1254 px PNG candidates in product mode and a compact one-line summary of the interpreted character specification. Provide the expanded generation prompt only when the user asks for it.
