[PR #7639] [MERGED] fix(avatars): 2D avatars get clean faces from sprite generation instead of cutting out existing sprites #7853

Closed
opened 2026-10-24 04:08:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7639
Author: @SpicyMarinara
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/avatar-sprites-from-pipeline


📝 Commits (4)

  • d2c7c04 fix(avatars): 2D avatars get clean faces from sprite generation instead of cutting out existing sprites
  • dacf9f4 fix(avatars): offer Make faces from the avatar only when the owner has an avatar
  • 87eb50e fix(avatars): save a kept blink or talk picture exactly as it was drawn
  • f9e362d Merge branch 'staging' into fix/avatar-sprites-from-pipeline

📊 Changes

18 files changed (+483 additions, -493 deletions)

View changed files

📝 docs/agents/avatars.md (+8 -6)
📝 e2e/avatar-2d.e2e.ts (+0 -5)
📝 e2e/avatar-generation.e2e.ts (+8 -8)
📝 e2e/avatar-setup.e2e.ts (+149 -8)
📝 packages/client/src/features/avatars/generation/AvatarGenerationPanel.tsx (+97 -3)
📝 packages/client/src/features/avatars/stage/avatar-stage-logic.ts (+2 -14)
📝 packages/client/src/localization/locales/en.json (+3 -0)
📝 packages/server/src/routes/avatar-models.routes.ts (+0 -28)
📝 packages/server/src/services/avatars/cutouts.ts (+12 -157)
📝 packages/server/src/services/avatars/formats/pngtuber.ts (+17 -29)
📝 packages/server/src/services/avatars/generation/generation-context.ts (+6 -8)
📝 packages/server/src/services/avatars/generation/mesh-rig.ts (+4 -8)
📝 packages/server/src/services/avatars/generation/pngtuber-variants.ts (+12 -35)
📝 scripts/regressions/avatar-2d-importers.regression.ts (+1 -5)
📝 scripts/regressions/avatar-2d-renderers.regression.ts (+3 -3)
📝 scripts/regressions/avatar-backgrounds.regression.ts (+155 -167)
📝 scripts/regressions/avatar-generation-cancel.regression.ts (+1 -4)
📝 scripts/regressions/avatar-stage-logic.regression.ts (+5 -5)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

No linked issue: requested by the maintainer on 2026-10-14. Follow-up to #7623.

Why this change

  • The automatic background removal of existing sprites didn't work. #7623 made every PNGTuber face, blink and talk picture, mesh avatar and PNGTuber Plus import a cut-out of the owner's existing pictures. On real sprites (for example a framed portrait), the 2D Avatars preview showed a jagged dark halo and a half-removed frame background.
  • The maintainer reversed that decision: existing pictures are never background-removed for 2D avatars. Faces without a background should be drawn new from the avatar on a plain green or pink background and cleaned there, by the same pipeline that already makes sprites for characters and personas, not by a second copy of it.

What changed

What works differently for users:

  • Sprites and imports show as they are. A PNGTuber face is the sprite itself again. Blink and talk pictures are drawn from the sprite as it is and kept as drawn; a picture drawn from a sprite with a transparent background still gets exactly that sprite's outline. Mesh avatars are built from the sprite as it is, and PNGTuber Plus costumes are imported as they are. Nothing is stored as a cut-out any more.
  • New "Make faces from the avatar" action at the top of the 2D Avatars page's "Make an avatar from a sprite" panel. It opens the existing sprite generator (the same window as Generate Sprite in the character and persona editors) for the chosen character or persona: expressions mode, the owner's avatar checked as the reference, the appearance the editors use (the Image Appearance Override when it is on), and Transparent sprite background on. The faces are drawn on a chroma matte, the matte is removed, and they are saved as the owner's sprites. The panel's sprite list refreshes right away. It is offered when the owner has no sprites yet too, and not when image processing is unavailable. An owner without an avatar sees the button turned off and "Add an avatar to this character or persona first."

How:

  • AvatarGenerationPanel.tsx lazy-loads SpriteGenerationModal (its own 54 kB chunk) and mounts it with the owner's id, initialSpriteType="expressions", the owner's avatar URL and appearance from the loaded card (readImageAppearanceOverride, as the editors seed it), the owner's portrait sprites, and onSpritesGenerated invalidating spriteKeys.list(owner). The button waits for the card to load, so the avatar is the checked reference from the start, and needs an avatar. The modal has no new props, and there is no new route or cleanup code.
  • Removed GET /api/avatar-models/:ownerType/:ownerId/sprite-cutouts/:label and, in services/avatars/cutouts.ts, everything only it, the variants, the mesh builder and the PNGTuber Plus import used (avatarSpriteDisplayFile, avatarSpriteCutout, avatarCutoutSet, spriteCutoutPath and their caches). avatarCutout stays because generation/tripo-vrm.ts uses it for the picture sent to Tripo; tripo-vrm.ts and sprite-background.service.ts are unchanged.
  • pngtuber-variants.ts and mesh-rig.ts read the sprite as it is. pngtuber-variants.ts still applies applyAvatarSourceOutline only to a transparent source. The now unused shown field of the image edit request is removed. formats/pngtuber.ts stores flattened costumes as they are (its code before #7623). The Cancel work from #7623 is kept.
  • Client resolveAvatarImage returns the sprite's own URL again (its code before #7623).
  • Docs: docs/agents/avatars.md replaces "No backgrounds" and the other cut-out mentions, and adds a "Faces from the avatar" section. Translations: #7638.
  • Three new English UI strings (avatars.generation.facesFromAvatar, avatars.generation.facesFromAvatarHelp, avatars.generation.facesNeedAvatar).

Tests changed to pin the new decision (they pinned #7623's cut-outs):

  • avatar-backgrounds.regression.ts now pins the new rule. There is no cut-out route (404). Drawing stores nothing, not even a cut-out. A blink or talk picture from a sprite with a background keeps the drawn picture, background and all, and saving stores the sprite itself as their base. A picture from a transparent sprite still takes its outline and its own edge pixels, whether the model fills the background or leaves it see-through. A PNGTuber Plus costume on a background is imported as it is. A mesh avatar keeps the sprite's background. No cutout- file is ever stored, and the sprites are never changed. Still-valid parts are kept: the avatarCutout engine checks (AI remover configured, failing or missing) and saved files never rewritten.
  • avatar-generation-cancel.regression.ts: after Cancel the avatar folder is empty (it allowed cutout- files before).
  • avatar-stage-logic and avatar-2d-renderers regressions: expected URLs are the sprite URLs again. avatar-2d-importers goes back to its solid test body.
  • e2e/avatar-generation.e2e.ts: the blink picture and the saved mesh avatar keep the sprite's white background (they asserted it was gone). The sprite-cutouts route mocks are removed from e2e/avatar-2d.e2e.ts and e2e/avatar-setup.e2e.ts.
  • New e2e in e2e/avatar-setup.e2e.ts. For a character without sprites, the action opens Generate Sprites with the avatar checked and shown as the reference, the Image Appearance Override as the appearance and Transparent sprite background on. Generate Sheet sends referenceImages: [avatar] and noBackground: true (the sheet response is mocked). Save stores the faces as the character's sprites, and the panel lists them at once. For a persona with sprites, it opens with the persona's avatar and appearance. For a persona without an avatar, the button is turned off and says to add one.

Saved avatars: nothing is rewritten. Cut-out files that #7623 stored (pngtuber/cutout-1-….png) are no longer read. They are deleted with the PNGTuber avatar's next import or removal. A face whose blink or talk pictures were saved from a cut-out base gets the sprite as its base the next time pictures are saved for it, which drops that face's older pictures (as for any changed base).

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Commands run by the agent (results as reported, not a substitute for the boxes above):

  • pnpm check (on dacf9f40d): passed. pnpm lint shows one warning in HomeProfessorMariChat.tsx, which this PR doesn't touch.
  • pnpm localization:check: passed (part of pnpm check).
  • node scripts/run-regressions.mjs --filter avatar: 17/17 passed (on dacf9f40d). --filter sprite: 2/2 passed (on d2c7c0433; the review fix touches only the client panel, the English strings and the docs).
  • Fail-before: the reworked avatar-backgrounds regression against staging's server code fails on there is no sprite cut-out route (200, expected 404). With that check skipped, it fails on a eyes-closed picture: the background at 2,2 stays (alpha 0: the cut-out).
  • Playwright, --project=mobile-chromium --project=desktop-chromium, on d2c7c0433: avatar-setup, avatar-generation, avatar-2d, avatar-preview and avatar-vrm-generation, 44/44 passed (including the new faces test on both projects). On dacf9f40d: avatar-setup and avatar-generation, 12/12 passed.
  • Local CodeRabbit (coderabbit review --agent --committed), 2 findings:
    • Fixed: "Make faces from the avatar" opened without a reference for an owner with no avatar. It now needs an avatar and says to add one (dacf9f40d, with an e2e check).
    • Not changed: "preserve existing variants when the saved base is a #7623 cut-out". savePngtuberVariants keeps a face's older blink and talk pictures only when they were drawn for the same base (sameBase). Pictures saved under #7623 have the cut-out's outline, and the base is now the sprite with its background. Keeping them would take the background away on every blink or talk, the flicker the outline rule exists to prevent. Dropping them follows the rule for any changed base, and the PR body says so under "Saved avatars". Only avatars saved in the hours #7623 was on staging are affected.

Manual verification notes

  • Manually verify in a browser: Agents → 2D Avatars, choose a character with an avatar and a framed or opaque sprite. The preview and PNGTuber faces show the sprite as it is (frame included), with no halo or half-removed background.
  • Manually verify: select Make faces from the avatar. Generate Sprites opens in Expressions mode with the character's avatar checked as the reference, the appearance filled in (the Image Appearance Override when it's on), and Transparent sprite background on. Generate with a real image connection: the faces come back without a background, and Save adds them to the character's sprites. The panel's sprite pickers and the preview show them without reloading.
  • Manually verify: a character or persona with no sprites shows the action above "Add sprites in the character or persona editor first.", and it works the same.
  • Manually verify: a persona works the same (its avatar and appearance).
  • Manually verify: for a character or persona without an avatar, the button is turned off and the text says "Add an avatar to this character or persona first."
  • Manually verify: saving a face with the name of an existing sprite replaces that sprite, and renaming it in the last step keeps the old one.
  • Manually verify: on a server without image processing (some Termux installs), the panel shows only the "Image processing isn't available" text, with no action.
  • Manually verify: making blink/talk pictures from a sprite with a background keeps the picture as drawn; from a sprite with a transparent background they keep its outline.
  • Manually verify: Tripo (3D Avatars) still removes the sprite's background before sending it (unchanged).
  • Manually verify: light and dark mode, and a phone-sized viewport, for the new button and help text.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Docs: docs/agents/avatars.md updated in this PR. Translation follow-up: #7638. No CHANGELOG entry (release notes are compiled at release).

UI evidence (if applicable)

The new e2e saves screenshots of the action (avatar-faces-action.png) and the opened generator (avatar-faces-generator.png) in its test output.

Summary by CodeRabbit

  • New Features
    • Generate expression and face sprites from an existing character or persona avatar, then save them as sprites. This option is unavailable when no avatar is set or image processing is unavailable.
  • Changes
    • 2D avatars, PNGTuber Plus costumes, generated expressions, and mesh avatars now retain their source sprite backgrounds instead of removing them. Existing sprite files remain unchanged.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7639 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/avatar-sprites-from-pipeline` --- ### 📝 Commits (4) - [`d2c7c04`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d2c7c0433c49d7236ef5b87a823c5d0a5a53b221) fix(avatars): 2D avatars get clean faces from sprite generation instead of cutting out existing sprites - [`dacf9f4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dacf9f40d0f88ddf1a6d43cd8edd3ae3f0704f92) fix(avatars): offer Make faces from the avatar only when the owner has an avatar - [`87eb50e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/87eb50efbfb71c876a7b122aa801b589a5a52376) fix(avatars): save a kept blink or talk picture exactly as it was drawn - [`f9e362d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f9e362d2c21f47bf603ab61b013351c879aeee5d) Merge branch 'staging' into fix/avatar-sprites-from-pipeline ### 📊 Changes **18 files changed** (+483 additions, -493 deletions) <details> <summary>View changed files</summary> 📝 `docs/agents/avatars.md` (+8 -6) 📝 `e2e/avatar-2d.e2e.ts` (+0 -5) 📝 `e2e/avatar-generation.e2e.ts` (+8 -8) 📝 `e2e/avatar-setup.e2e.ts` (+149 -8) 📝 `packages/client/src/features/avatars/generation/AvatarGenerationPanel.tsx` (+97 -3) 📝 `packages/client/src/features/avatars/stage/avatar-stage-logic.ts` (+2 -14) 📝 `packages/client/src/localization/locales/en.json` (+3 -0) 📝 `packages/server/src/routes/avatar-models.routes.ts` (+0 -28) 📝 `packages/server/src/services/avatars/cutouts.ts` (+12 -157) 📝 `packages/server/src/services/avatars/formats/pngtuber.ts` (+17 -29) 📝 `packages/server/src/services/avatars/generation/generation-context.ts` (+6 -8) 📝 `packages/server/src/services/avatars/generation/mesh-rig.ts` (+4 -8) 📝 `packages/server/src/services/avatars/generation/pngtuber-variants.ts` (+12 -35) 📝 `scripts/regressions/avatar-2d-importers.regression.ts` (+1 -5) 📝 `scripts/regressions/avatar-2d-renderers.regression.ts` (+3 -3) 📝 `scripts/regressions/avatar-backgrounds.regression.ts` (+155 -167) 📝 `scripts/regressions/avatar-generation-cancel.regression.ts` (+1 -4) 📝 `scripts/regressions/avatar-stage-logic.regression.ts` (+5 -5) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue No linked issue: requested by the maintainer on 2026-10-14. Follow-up to #7623. ## Why this change - **The automatic background removal of existing sprites didn't work.** #7623 made every PNGTuber face, blink and talk picture, mesh avatar and PNGTuber Plus import a cut-out of the owner's existing pictures. On real sprites (for example a framed portrait), the 2D Avatars preview showed a jagged dark halo and a half-removed frame background. - **The maintainer reversed that decision:** existing pictures are never background-removed for 2D avatars. Faces without a background should be drawn new from the avatar on a plain green or pink background and cleaned there, by the same pipeline that already makes sprites for characters and personas, not by a second copy of it. ## What changed What works differently for users: - **Sprites and imports show as they are.** A PNGTuber face is the sprite itself again. Blink and talk pictures are drawn from the sprite as it is and kept as drawn; a picture drawn from a sprite with a transparent background still gets exactly that sprite's outline. Mesh avatars are built from the sprite as it is, and PNGTuber Plus costumes are imported as they are. Nothing is stored as a cut-out any more. - **New "Make faces from the avatar" action** at the top of the 2D Avatars page's "Make an avatar from a sprite" panel. It opens the existing sprite generator (the same window as **Generate Sprite** in the character and persona editors) for the chosen character or persona: expressions mode, the owner's avatar checked as the reference, the appearance the editors use (the Image Appearance Override when it is on), and **Transparent sprite background** on. The faces are drawn on a chroma matte, the matte is removed, and they are saved as the owner's sprites. The panel's sprite list refreshes right away. It is offered when the owner has no sprites yet too, and not when image processing is unavailable. An owner without an avatar sees the button turned off and "Add an avatar to this character or persona first." How: - `AvatarGenerationPanel.tsx` lazy-loads `SpriteGenerationModal` (its own 54 kB chunk) and mounts it with the owner's id, `initialSpriteType="expressions"`, the owner's avatar URL and appearance from the loaded card (`readImageAppearanceOverride`, as the editors seed it), the owner's portrait sprites, and `onSpritesGenerated` invalidating `spriteKeys.list(owner)`. The button waits for the card to load, so the avatar is the checked reference from the start, and needs an avatar. The modal has no new props, and there is no new route or cleanup code. - Removed `GET /api/avatar-models/:ownerType/:ownerId/sprite-cutouts/:label` and, in `services/avatars/cutouts.ts`, everything only it, the variants, the mesh builder and the PNGTuber Plus import used (`avatarSpriteDisplayFile`, `avatarSpriteCutout`, `avatarCutoutSet`, `spriteCutoutPath` and their caches). `avatarCutout` stays because `generation/tripo-vrm.ts` uses it for the picture sent to Tripo; `tripo-vrm.ts` and `sprite-background.service.ts` are unchanged. - `pngtuber-variants.ts` and `mesh-rig.ts` read the sprite as it is. `pngtuber-variants.ts` still applies `applyAvatarSourceOutline` only to a transparent source. The now unused `shown` field of the image edit request is removed. `formats/pngtuber.ts` stores flattened costumes as they are (its code before #7623). The Cancel work from #7623 is kept. - Client `resolveAvatarImage` returns the sprite's own URL again (its code before #7623). - Docs: `docs/agents/avatars.md` replaces "No backgrounds" and the other cut-out mentions, and adds a "Faces from the avatar" section. Translations: #7638. - Three new English UI strings (`avatars.generation.facesFromAvatar`, `avatars.generation.facesFromAvatarHelp`, `avatars.generation.facesNeedAvatar`). **Tests changed to pin the new decision** (they pinned #7623's cut-outs): - `avatar-backgrounds.regression.ts` now pins the new rule. There is no cut-out route (404). Drawing stores nothing, not even a cut-out. A blink or talk picture from a sprite with a background keeps the drawn picture, background and all, and saving stores the sprite itself as their base. A picture from a transparent sprite still takes its outline and its own edge pixels, whether the model fills the background or leaves it see-through. A PNGTuber Plus costume on a background is imported as it is. A mesh avatar keeps the sprite's background. No `cutout-` file is ever stored, and the sprites are never changed. Still-valid parts are kept: the `avatarCutout` engine checks (AI remover configured, failing or missing) and saved files never rewritten. - `avatar-generation-cancel.regression.ts`: after Cancel the avatar folder is empty (it allowed `cutout-` files before). - `avatar-stage-logic` and `avatar-2d-renderers` regressions: expected URLs are the sprite URLs again. `avatar-2d-importers` goes back to its solid test body. - `e2e/avatar-generation.e2e.ts`: the blink picture and the saved mesh avatar keep the sprite's white background (they asserted it was gone). The `sprite-cutouts` route mocks are removed from `e2e/avatar-2d.e2e.ts` and `e2e/avatar-setup.e2e.ts`. - New e2e in `e2e/avatar-setup.e2e.ts`. For a character without sprites, the action opens **Generate Sprites** with the avatar checked and shown as the reference, the Image Appearance Override as the appearance and **Transparent sprite background** on. **Generate Sheet** sends `referenceImages: [avatar]` and `noBackground: true` (the sheet response is mocked). **Save** stores the faces as the character's sprites, and the panel lists them at once. For a persona with sprites, it opens with the persona's avatar and appearance. For a persona without an avatar, the button is turned off and says to add one. Saved avatars: nothing is rewritten. Cut-out files that #7623 stored (`pngtuber/cutout-1-….png`) are no longer read. They are deleted with the PNGTuber avatar's next import or removal. A face whose blink or talk pictures were saved from a cut-out base gets the sprite as its base the next time pictures are saved for it, which drops that face's older pictures (as for any changed base). ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Commands run by the agent (results as reported, not a substitute for the boxes above): - `pnpm check` (on dacf9f40d): passed. `pnpm lint` shows one warning in `HomeProfessorMariChat.tsx`, which this PR doesn't touch. - `pnpm localization:check`: passed (part of `pnpm check`). - `node scripts/run-regressions.mjs --filter avatar`: 17/17 passed (on dacf9f40d). `--filter sprite`: 2/2 passed (on d2c7c0433; the review fix touches only the client panel, the English strings and the docs). - Fail-before: the reworked `avatar-backgrounds` regression against staging's server code fails on `there is no sprite cut-out route` (200, expected 404). With that check skipped, it fails on `a eyes-closed picture: the background at 2,2 stays` (alpha 0: the cut-out). - Playwright, `--project=mobile-chromium --project=desktop-chromium`, on d2c7c0433: `avatar-setup`, `avatar-generation`, `avatar-2d`, `avatar-preview` and `avatar-vrm-generation`, 44/44 passed (including the new faces test on both projects). On dacf9f40d: `avatar-setup` and `avatar-generation`, 12/12 passed. - Local CodeRabbit (`coderabbit review --agent --committed`), 2 findings: - Fixed: "Make faces from the avatar" opened without a reference for an owner with no avatar. It now needs an avatar and says to add one (dacf9f40d, with an e2e check). - Not changed: "preserve existing variants when the saved base is a #7623 cut-out". `savePngtuberVariants` keeps a face's older blink and talk pictures only when they were drawn for the same base (`sameBase`). Pictures saved under #7623 have the cut-out's outline, and the base is now the sprite with its background. Keeping them would take the background away on every blink or talk, the flicker the outline rule exists to prevent. Dropping them follows the rule for any changed base, and the PR body says so under "Saved avatars". Only avatars saved in the hours #7623 was on staging are affected. ### Manual verification notes - Manually verify in a browser: Agents → 2D Avatars, choose a character with an avatar and a framed or opaque sprite. The preview and PNGTuber faces show the sprite as it is (frame included), with no halo or half-removed background. - Manually verify: select **Make faces from the avatar**. **Generate Sprites** opens in Expressions mode with the character's avatar checked as the reference, the appearance filled in (the Image Appearance Override when it's on), and **Transparent sprite background** on. Generate with a real image connection: the faces come back without a background, and **Save** adds them to the character's sprites. The panel's sprite pickers and the preview show them without reloading. - Manually verify: a character or persona with no sprites shows the action above "Add sprites in the character or persona editor first.", and it works the same. - Manually verify: a persona works the same (its avatar and appearance). - Manually verify: for a character or persona without an avatar, the button is turned off and the text says "Add an avatar to this character or persona first." - Manually verify: saving a face with the name of an existing sprite replaces that sprite, and renaming it in the last step keeps the old one. - Manually verify: on a server without image processing (some Termux installs), the panel shows only the "Image processing isn't available" text, with no action. - Manually verify: making blink/talk pictures from a sprite with a background keeps the picture as drawn; from a sprite with a transparent background they keep its outline. - Manually verify: Tripo (3D Avatars) still removes the sprite's background before sending it (unchanged). - Manually verify: light and dark mode, and a phone-sized viewport, for the new button and help text. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Docs: `docs/agents/avatars.md` updated in this PR. Translation follow-up: #7638. No CHANGELOG entry (release notes are compiled at release). ## UI evidence (if applicable) The new e2e saves screenshots of the action (`avatar-faces-action.png`) and the opened generator (`avatar-faces-generator.png`) in its test output. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Generate expression and face sprites from an existing character or persona avatar, then save them as sprites. This option is unavailable when no avatar is set or image processing is unavailable. * **Changes** * 2D avatars, PNGTuber Plus costumes, generated expressions, and mesh avatars now retain their source sprite backgrounds instead of removing them. Existing sprite files remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:08:09 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7853
No description provided.