{% extends "layout.html" %} {% block content %} {% macro selection_checkbox(section, key, label, value) %} {% endmacro %}
{% if scene.image_path %} {{ scene.name }} {% else %}
No Image Attached
{% endif %}

{# Character Selector #}
0%
Selected Preview
Preview

{{ scene.name }}

Edit Scene |
Back to Library
Scene Definition

{{ scene.data.description or "No description provided." }}


{% set sdata = scene.data.get('scene', {}) %}
{{ selection_checkbox('defaults', 'scene', 'Scene Tags', True) }} Combined Scene Tags
{% set tags = [] %} {% for key, val in sdata.items() %} {% if val %} {% if val is string %} {% set _ = tags.append(val) %} {% else %} {% for v in val %}{% set _ = tags.append(v) %}{% endfor %} {% endif %} {% endif %} {% endfor %} {{ tags|join(', ') }}
{# Character Identity/Wardrobe context when character is selected #}
When a character is selected, their identity and active wardrobe fields will be automatically included.
{# LoRA section #} {% set lora = scene.data.get('lora', {}) %}
LoRA Integration
LoRA Name
{{ lora.get('lora_name') if lora.get('lora_name') else '--' }}
Weight
{{ lora.get('lora_weight', 1.0) }}
Triggers
{{ lora.get('lora_triggers') if lora.get('lora_triggers') else '--' }}
{{ existing_previews|length }} preview(s)
{% set sg_entity = scene %} {% set sg_category = 'scenes' %} {% set sg_has_lora = scene.data.get('lora', {}).get('lora_name', '') != '' %} {% include 'partials/strengths_gallery.html' %} {% endblock %} {% block scripts %} {% endblock %}