- app.py: add subprocess import; add _ensure_mcp_repo() to clone/pull danbooru-mcp from https://git.liveaodh.com/aodhan/danbooru-mcp into tools/danbooru-mcp/ at startup; add ensure_mcp_server_running() which calls _ensure_mcp_repo() then starts the Docker container if not running; add GET /api/status/comfyui and GET /api/status/mcp health endpoints; fix call_llm() to retry up to 3 times on unexpected response format (KeyError/IndexError), logging the raw response and prompting the LLM to respond with valid JSON before each retry - templates/layout.html: add ComfyUI and MCP status dot indicators to navbar; add polling JS that checks both endpoints on load and every 30s - static/style.css: add .service-status, .status-dot, .status-ok, .status-error, .status-checking styles and status-pulse keyframe animation - .gitignore: add tools/ to exclude the cloned danbooru-mcp repo
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"action_id": "selfie_illustriousxl_lora_nochekaiser",
|
|
"action_name": "Selfie Illustriousxl Lora Nochekaiser",
|
|
"action": {
|
|
"full_body": "taking a selfie, upper body frame, slight angle from above or level",
|
|
"head": "facing viewer, chin slightly tucked or tilted, engaging expression",
|
|
"eyes": "looking at viewer, focused on lens",
|
|
"arms": "one arm extended forward holding device, other arm relaxed or touching face",
|
|
"hands": "holding smartphone, fingers wrapped around phone, maybe making a peace sign with free hand",
|
|
"torso": "visible upper body, turned slightly towards the extended arm",
|
|
"pelvis": "usually out of frame",
|
|
"legs": "out of frame",
|
|
"feet": "out of frame",
|
|
"additional": "holding phone, smartphone visible in foreground or implied, perspective distortion"
|
|
},
|
|
"participants": {
|
|
"solo_focus": "true",
|
|
"orientation": "MF"
|
|
},
|
|
"lora": {
|
|
"lora_name": "Illustrious/Poses/selfie-illustriousxl-lora-nochekaiser.safetensors",
|
|
"lora_weight": 1.0,
|
|
"lora_triggers": "selfie-illustriousxl-lora-nochekaiser",
|
|
"lora_weight_min": 1.0,
|
|
"lora_weight_max": 1.0
|
|
},
|
|
"tags": [
|
|
"selfie",
|
|
"holding phone",
|
|
"smartphone",
|
|
"looking at viewer",
|
|
"arm extended",
|
|
"close-up",
|
|
"point of view",
|
|
"social media style"
|
|
]
|
|
}
|