mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-15 16:02:32 +08:00
- Add .runpod/hub.json with serverless configuration - Add .runpod/tests.json with comprehensive test cases - Add storage access test to Dockerfile build process - Add RunPod badge to README.md - Include model download script for build-time optimization - Test storage accessibility during Docker build phase
66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"title": "ComfyUI - AI Image Generation",
|
|
"description": "ComfyUI serverless deployment with network storage support for models. Generate high-quality images using Stable Diffusion XL with custom workflows.",
|
|
"type": "serverless",
|
|
"category": "image",
|
|
"iconUrl": "https://raw.githubusercontent.com/comfyanonymous/ComfyUI/master/web/favicon.ico",
|
|
"config": {
|
|
"runsOn": "GPU",
|
|
"containerDiskInGb": 20,
|
|
"presets": [
|
|
{
|
|
"name": "SDXL Base",
|
|
"defaults": {
|
|
"MODEL_NAME": "sd_xl_base_1.0.safetensors",
|
|
"STEPS": "25",
|
|
"CFG": "8.0"
|
|
}
|
|
},
|
|
{
|
|
"name": "High Quality",
|
|
"defaults": {
|
|
"MODEL_NAME": "sd_xl_base_1.0.safetensors",
|
|
"STEPS": "50",
|
|
"CFG": "7.0"
|
|
}
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"key": "HF_HUB_DISABLE_TELEMETRY",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"key": "DO_NOT_TRACK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"key": "MODEL_NAME",
|
|
"input": {
|
|
"name": "Model Name",
|
|
"type": "string",
|
|
"description": "Checkpoint model file name to use",
|
|
"default": "sd_xl_base_1.0.safetensors"
|
|
}
|
|
},
|
|
{
|
|
"key": "STEPS",
|
|
"input": {
|
|
"name": "Generation Steps",
|
|
"type": "string",
|
|
"description": "Number of denoising steps",
|
|
"default": "25"
|
|
}
|
|
},
|
|
{
|
|
"key": "CFG",
|
|
"input": {
|
|
"name": "CFG Scale",
|
|
"type": "string",
|
|
"description": "Classifier-free guidance scale",
|
|
"default": "8.0"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |