Township UI: profile management, regenerate/upload refs, env parity
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:
Claude Opus 4.8 <noreply@anthropic.com>
Showing
This diff is collapsed.
codai/api/loras.py
0 → 100644
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment