{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a44feeac-6063-4e87-bf55-158b6a2f522f",
    "slug": "comfyui",
    "name": "Comfy UI (Updated)",
    "description": "Modular node-based AI image generation workspace for Stable Diffusion.",
    "url": "https://railway.com/deploy/comfyui",
    "upstream": {
      "repo_url": "https://github.com/arloodots/comfyui"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "comfyui",
      "source": {
        "repo": "https://github.com/arloodots/comfyui"
      },
      "needs_volume": true,
      "volume_mount_path": "/root/ComfyUI/",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "CLI_ARGS",
      "service": "comfyui",
      "description": "Provide a value for CLI_ARGS.",
      "secret": false,
      "strategy": "default",
      "default": "--listen 0.0.0.0 --cpu"
    },
    {
      "key": "HF_TOKEN",
      "service": "comfyui",
      "description": "Access huggingface generation models",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "comfyui"
      }
    },
    "cli": "railway deploy --template comfyui",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a44feeac-6063-4e87-bf55-158b6a2f522f",
            "serializedConfig": {
              "services": {
                "1002e0d4-ee23-4061-8ea0-5a4fc5ab7b73": {
                  "name": "comfyui",
                  "source": {
                    "repo": "arloodots/comfyui",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "CLI_ARGS": {
                      "defaultValue": "--listen 0.0.0.0 --cpu"
                    },
                    "HF_TOKEN": {
                      "description": "Access huggingface generation models",
                      "defaultValue": "{{HF_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "1002e0d4-ee23-4061-8ea0-5a4fc5ab7b73": {
                      "mountPath": "/root/ComfyUI/"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T11:54:27.954Z",
  "generator_version": "0.1.0"
}
