refactor: reorganize directory structure and remove hardcoded paths
Move comfyui and vllm out of models/ directory to top level for better organization. Replace all hardcoded /workspace paths with relative paths to make the configuration portable across different environments. Changes: - Move models/comfyui/ → comfyui/ - Move models/vllm/ → vllm/ - Remove models/ directory (empty) - Update arty.yml: replace /workspace with environment variables - Update supervisord.conf: use relative paths from /workspace/ai - Update all script references to use new paths - Maintain TQDM_DISABLE=1 to fix BrokenPipeError 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
222
comfyui/workflows/upscaling/face-upscale-production-v1.json
Normal file
222
comfyui/workflows/upscaling/face-upscale-production-v1.json
Normal file
@@ -0,0 +1,222 @@
|
||||
{
|
||||
"last_node_id": 10,
|
||||
"nodes": [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"input_portrait.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Input Portrait",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "CheckpointLoaderSimple",
|
||||
"pos": [
|
||||
50,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"diffusers/stable-diffusion-xl-base-1.0"
|
||||
],
|
||||
"title": "SDXL Checkpoint Loader",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CheckpointLoaderSimple"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "FaceDetailer",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"bbox/face_yolov8m.pt",
|
||||
512,
|
||||
0.5,
|
||||
20,
|
||||
8.0,
|
||||
0.35,
|
||||
10
|
||||
],
|
||||
"title": "Face Detailer",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "FaceDetailer"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "UpscaleModelLoader",
|
||||
"pos": [
|
||||
50,
|
||||
650
|
||||
],
|
||||
"widgets_values": [
|
||||
"RealESRGAN_x2.pth"
|
||||
],
|
||||
"title": "Face Upscale Model",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "UpscaleModelLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "ImageUpscaleWithModel",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"title": "Upscale Face Regions",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ImageUpscaleWithModel"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "PreviewImage",
|
||||
"pos": [
|
||||
1150,
|
||||
100
|
||||
],
|
||||
"title": "Preview Enhanced",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
1150,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"face_upscale_output"
|
||||
],
|
||||
"title": "API Image Output",
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"workflow_info": {
|
||||
"name": "Face Upscale Production",
|
||||
"version": "1.0.0",
|
||||
"description": "Portrait-focused upscaling with FaceDetailer from Impact-Pack. Detects and enhances faces with special attention to facial details.",
|
||||
"category": "upscaling",
|
||||
"tags": [
|
||||
"face-upscale",
|
||||
"portrait",
|
||||
"facedetailer",
|
||||
"impact-pack",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"stable-diffusion-xl-base-1.0",
|
||||
"face_yolov8m",
|
||||
"RealESRGAN"
|
||||
],
|
||||
"custom_nodes": [
|
||||
"ComfyUI-Impact-Pack"
|
||||
],
|
||||
"vram_min": "14GB"
|
||||
},
|
||||
"parameters": {
|
||||
"input_image": {
|
||||
"node_id": 1,
|
||||
"type": "image",
|
||||
"required": true
|
||||
},
|
||||
"detection_threshold": {
|
||||
"node_id": 3,
|
||||
"type": "float",
|
||||
"default": 0.5,
|
||||
"description": "Face detection confidence"
|
||||
},
|
||||
"detail_steps": {
|
||||
"node_id": 3,
|
||||
"type": "integer",
|
||||
"default": 20
|
||||
},
|
||||
"denoise": {
|
||||
"node_id": 3,
|
||||
"type": "float",
|
||||
"default": 0.35
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"avg_generation_time": "30-50 seconds",
|
||||
"vram_usage": "~12-16GB"
|
||||
},
|
||||
"use_cases": [
|
||||
"Portrait enhancement",
|
||||
"Professional headshots",
|
||||
"Face restoration",
|
||||
"ID photo upscaling"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0.4,
|
||||
"links": [],
|
||||
"last_link_id": 0
|
||||
}
|
||||
182
comfyui/workflows/upscaling/simple-upscale-production-v1.json
Normal file
182
comfyui/workflows/upscaling/simple-upscale-production-v1.json
Normal file
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"last_node_id": 6,
|
||||
"nodes": [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"input_image.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Input Image",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "UpscaleModelLoader",
|
||||
"pos": [
|
||||
50,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"RealESRGAN_x4.pth"
|
||||
],
|
||||
"title": "Upscale Model Loader",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "UpscaleModelLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "ImageUpscaleWithModel",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"title": "Upscale with Model (4x)",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ImageUpscaleWithModel"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "ImageScale",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"lanczos",
|
||||
2
|
||||
],
|
||||
"title": "Optional Downscale to 2x",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ImageScale"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "PreviewImage",
|
||||
"pos": [
|
||||
1150,
|
||||
100
|
||||
],
|
||||
"title": "Preview Output",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
1150,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"simple_upscale_output"
|
||||
],
|
||||
"title": "API Image Output",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"workflow_info": {
|
||||
"name": "Simple Upscale Production",
|
||||
"version": "1.0.0",
|
||||
"description": "Fast, straightforward upscaling using RealESRGAN. No diffusion refinement, optimized for speed.",
|
||||
"category": "upscaling",
|
||||
"tags": [
|
||||
"simple-upscale",
|
||||
"fast",
|
||||
"realesrgan",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"RealESRGAN"
|
||||
],
|
||||
"custom_nodes": [],
|
||||
"vram_min": "8GB"
|
||||
},
|
||||
"parameters": {
|
||||
"input_image": {
|
||||
"node_id": 1,
|
||||
"type": "image",
|
||||
"required": true
|
||||
},
|
||||
"model": {
|
||||
"node_id": 2,
|
||||
"type": "string",
|
||||
"default": "RealESRGAN_x4.pth",
|
||||
"options": [
|
||||
"RealESRGAN_x2.pth",
|
||||
"RealESRGAN_x4.pth"
|
||||
]
|
||||
},
|
||||
"final_scale": {
|
||||
"node_id": 4,
|
||||
"type": "integer",
|
||||
"default": 2
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"avg_generation_time": "5-15 seconds",
|
||||
"vram_usage": "~6-8GB"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0.4,
|
||||
"links": [],
|
||||
"last_link_id": 0
|
||||
}
|
||||
@@ -0,0 +1,264 @@
|
||||
{
|
||||
"last_node_id": 12,
|
||||
"nodes": [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"input_image.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Input Image",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "CheckpointLoaderSimple",
|
||||
"pos": [
|
||||
50,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"diffusers/stable-diffusion-xl-base-1.0"
|
||||
],
|
||||
"title": "SDXL Checkpoint Loader",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CheckpointLoaderSimple"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "UpscaleModelLoader",
|
||||
"pos": [
|
||||
50,
|
||||
600
|
||||
],
|
||||
"widgets_values": [
|
||||
"RealESRGAN_x2.pth"
|
||||
],
|
||||
"title": "Upscale Model Loader",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "UpscaleModelLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"high quality, detailed, sharp"
|
||||
],
|
||||
"title": "API Positive Prompt",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"widgets_values": [
|
||||
"blurry, low quality"
|
||||
],
|
||||
"title": "API Negative Prompt",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "UltimateSDUpscale",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
2,
|
||||
42,
|
||||
20,
|
||||
8.0,
|
||||
"dpmpp_2m",
|
||||
"karras",
|
||||
0.3,
|
||||
"Linear",
|
||||
512,
|
||||
64
|
||||
],
|
||||
"title": "Ultimate SD Upscale (2x)",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "UltimateSDUpscale"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
1150,
|
||||
100
|
||||
],
|
||||
"title": "VAE Decode",
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEDecode"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "PreviewImage",
|
||||
"pos": [
|
||||
1450,
|
||||
100
|
||||
],
|
||||
"title": "Preview Output",
|
||||
"flags": {},
|
||||
"order": 7,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
1450,
|
||||
550
|
||||
],
|
||||
"widgets_values": [
|
||||
"ultimate_upscale_output"
|
||||
],
|
||||
"title": "API Image Output",
|
||||
"flags": {},
|
||||
"order": 8,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"workflow_info": {
|
||||
"name": "Ultimate SD Upscale Production",
|
||||
"version": "1.0.0",
|
||||
"description": "Professional upscaling with Ultimate SD Upscale. Combines AI upscaling with diffusion refinement for superior detail and quality.",
|
||||
"category": "upscaling",
|
||||
"tags": [
|
||||
"ultimate-sd-upscale",
|
||||
"upscaling",
|
||||
"enhancement",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"stable-diffusion-xl-base-1.0",
|
||||
"RealESRGAN"
|
||||
],
|
||||
"custom_nodes": [],
|
||||
"vram_min": "18GB"
|
||||
},
|
||||
"parameters": {
|
||||
"input_image": {
|
||||
"node_id": 1,
|
||||
"type": "image",
|
||||
"required": true
|
||||
},
|
||||
"scale": {
|
||||
"node_id": 6,
|
||||
"type": "integer",
|
||||
"default": 2,
|
||||
"options": [
|
||||
2,
|
||||
4
|
||||
]
|
||||
},
|
||||
"tile_size": {
|
||||
"node_id": 6,
|
||||
"type": "integer",
|
||||
"default": 512,
|
||||
"description": "Processing tile size"
|
||||
},
|
||||
"denoise": {
|
||||
"node_id": 6,
|
||||
"type": "float",
|
||||
"default": 0.3,
|
||||
"description": "Refinement strength"
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"avg_generation_time": "60-120 seconds (depending on input size)",
|
||||
"vram_usage": "~16-20GB"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0.4,
|
||||
"links": [],
|
||||
"last_link_id": 0
|
||||
}
|
||||
Reference in New Issue
Block a user