• Stefy Lanza (nextime / spora )'s avatar
    Township UI: profile management, regenerate/upload refs, env parity · 278fab3e
    Stefy Lanza (nextime / spora ) authored
    Web UI (tools/gen_township_fighters.py):
    - Characters and Environments management pages: edit every meta field
      (data-driven form, not a fixed set), remove a profile, delete individual
      reference images — synced to CoderAI (DELETE/PATCH).
    - Regenerate references: background job generates N new images guided by the
      kept references (IP-Adapter) and APPENDS them, preserving non-deleted ones.
    - Upload your own reference image files (magic-byte validated, appended).
    - Clear run banner + status-pill label indicating which run/step is executing.
    - Config: -s/--save and -c/--config; web Save button writes server-side and,
      when launched with -c, defaults to that same config path.
    
    Environment parity / consistency:
    - Per-environment identity LoRAs (loras.py: environment field, env image
      resolver, "place" instance prompt; script stage_env_loras, env_loras.json,
      applied to keyframes + video alongside fighter LoRAs).
    - Environment IP-Adapter: environment_profiles on the image request
      (imagerequest.py) resolved into the IP-Adapter reference set (images.py),
      so environment regeneration can match kept references.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    278fab3e
images.py 91.4 KB