{% extends "layout.html" %} {% block content %}

Edit Profile: {{ character.name }}

Cancel
Basic Information
LoRA Settings

When Min ≠ Max, weight is randomised between them each generation.

{% if character.data.identity %}
Identity
{% for key, value in character.data.identity.items() %}
{% endfor %}
{% endif %} {% if character.data.defaults %}
Defaults
{% for key, value in character.data.defaults.items() %}
{% endfor %}
{% endif %}
Wardrobe
{% set wardrobe_data = character.data.wardrobe %} {% set outfits = character.get_available_outfits() %} {% if wardrobe_data.default is defined and wardrobe_data.default is mapping %} {# New nested format - show tabs for each outfit #}
{% for outfit in outfits %} {% set outfit_id = outfit.outfit_id %}
{% if outfit_id != 'default' %}
{% endif %}
{% if outfit.source == 'embedded' and outfit_id in wardrobe_data %} {% for key, value in wardrobe_data[outfit_id].items() %}
{% endfor %} {% else %}
This is an assigned external outfit. It cannot be edited directly from the character profile.
{% endif %}
{% endfor %}
{% else %} {# Legacy flat format #} {% for key, value in wardrobe_data.items() %}
{% endfor %} {% endif %}
{% if character.data.styles %}
Styles
{% for key, value in character.data.styles.items() %}
{% endfor %}
{% endif %}
Notice

Saving changes here will overwrite the original JSON file in the characters/ folder.

Character ID ({{ character.character_id }}) cannot be changed via the GUI to maintain file and URL consistency.


Outfits: Add multiple outfits using the "Add Outfit" button in the Wardrobe section. Switch between them on the character detail page.

{% endblock %}