Alternate Fields & Avatars¶
Sometimes you want a character to behave differently depending on the context — a different personality for a comedy scenario, a different description after a time skip, or a different avatar for a costume change. Alternate fields and avatars let you create these variants without duplicating the entire character.
Alternate Fields¶
Alternate fields let you create multiple versions of a character's description, personality, and scenario fields. You can then select which version to use on a per-chat basis.
Creating Alternate Fields¶
- Open the character editor
- Click on the field you want to create a variant for (description, personality, or scenario)
- Click Add Variant
- Give the variant a label (e.g., "Post-Timeskip," "Comedy Mode," "Dark Timeline")
- Write the alternate content
- Save the character
You can create as many variants as you want for each field.
Using Alternate Fields in Chat¶
- Open a chat with the character
- Click the Alternate Fields button in the input area action bar
- Select which variant to use for each field
- Your selection applies to this chat only — other chats with the same character keep their own selections
When an alternate field is active, it replaces the character's base field content during prompt assembly. The macros {{description}}, {{personality}}, and {{scenario}} resolve to the selected variant instead of the default.
Alternate Avatars¶
Give your character multiple avatar options — different outfits, different art styles, or different phases of the story.
Adding Alternate Avatars¶
- Open the character editor
- Go to the avatar section
- Click the + button to upload an image, or Add from Gallery to choose an image already in this character's gallery
- Crop the image for the avatar and confirm
- Click the avatar's label to rename it. Images added from the gallery start with their gallery caption as the label, when available
- Repeat for as many variants as you want
The full image is preserved for portrait views. Adding an avatar from the gallery keeps the image in the gallery.
Switching Avatars in Chat¶
- In an active chat, click the character's portrait or the avatar switcher
- Choose from the available avatars
- The avatar changes for this chat only
The selected avatar is stored per-chat, so different conversations can show different looks for the same character.
Linking Avatars to Character State¶
An avatar can optionally remember a description, personality, scenario, and greeting selection:
- Open the character editor and go to the avatar section
- Use the link button on an avatar
- Choose a variant for each field you want the avatar to control
- Leave a field on Keep current when switching the avatar should not change it
Selecting a linked avatar applies all of its configured fields together. Selecting a field or greeting that is uniquely linked to an avatar also switches to that avatar. Unlinked selections leave the current avatar unchanged.
How It Works Behind the Scenes¶
- Alternate fields are stored in the character's extensions data — no extra database tables needed
- Per-chat selections are stored in the chat's metadata
- Avatar bindings are stored in the character's extensions and reference stable avatar and field variant IDs
- During prompt assembly, selected variants override the base fields before macros are resolved
- When exporting as CHARX, all alternate fields and avatars are included in the
lumiverse_modules.jsonbundle