Skip to content

user/char avatar placeholders & select fields for model and workflow - #14

Open
MeFuMo wants to merge 3 commits into
Spadic21:mainfrom
MeFuMo:main
Open

user/char avatar placeholders & select fields for model and workflow#14
MeFuMo wants to merge 3 commits into
Spadic21:mainfrom
MeFuMo:main

Conversation

@MeFuMo

@MeFuMo MeFuMo commented Jun 28, 2026

Copy link
Copy Markdown

user/char avatar placeholders & select fields for model and workflow

cubic and others added 3 commits June 28, 2026 20:11
- Import getCharacterAvatar, formatCharacterAvatar, getUserAvatar,
  user_avatar from script.js and getBase64Async from utils.js
- Add getCharacterAvatarUrl() with group/character fallback
- Add getUserAvatarUrl() using active user avatar
- Add fetchAvatarAsBase64() to convert avatar URLs to base64 data
- Add fetchCharacterAvatar() and fetchUserAvatar() helpers
- Extend generateImage() to fetch avatars in parallel and pass
  them as CHAR_AVATAR and USER_AVATAR to fillWorkflow()
- Add comfyinject_avatar.json (img2img with ETN_LoadImageBase64)
- Add comfyinject_avatar_facedetail.json (img2img + FaceDetailer)
- Change checkpoint input + dropdown to a <select> populated from
  ComfyUI's /object_info/CheckpointLoaderSimple API
- Change workflow text input to a <select> populated from
  workflows/index.json
- Add scripts/generate-workflow-index.cjs to auto-generate
  workflows/index.json from the actual directory contents
- Update ui.js: replace refreshCheckpointList() and validateWorkflow()
  with populateCheckpoints() and populateWorkflows()
- Update wireEvents() for <select> change events
Added details about modifications including new placeholders and model selection method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant