{
  "id": "stable-diffusion-webui",
  "name": "Stable Diffusion WebUI",
  "slogan": "A browser interface for generating and editing images with Stable Diffusion checkpoints.",
  "category": "AI",
  "categorySlug": "ai",
  "tags": [
    "gpu",
    "single-container"
  ],
  "license": {
    "spdx": "AGPL-3.0",
    "class": "network-copyleft"
  },
  "memoryMiB": 8192,
  "architectures": {
    "amd64": "published",
    "arm64": "absent"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install stable-diffusion-webui --name my-stable-diffusion-webui",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/stable-diffusion-webui/",
  "docsUrl": "https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki",
  "sourceRepo": "https://github.com/AUTOMATIC1111/stable-diffusion-webui",
  "markdownUrl": "https://levelrail.com/templates/stable-diffusion-webui.md",
  "jsonUrl": "https://levelrail.com/templates/stable-diffusion-webui.json",
  "indexable": true,
  "description": "A browser interface for generating and editing images with Stable Diffusion checkpoints. Runs as a single container from the stable-diffusion-webui image, listening on port 7860; data is kept in named volumes.",
  "pinnedTag": "latest-cuda",
  "licenseUrl": "https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/LICENSE.txt",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": true,
  "firstRun": [],
  "services": [
    {
      "name": "sd-webui",
      "image": "ghcr.io/ai-dock/stable-diffusion-webui",
      "tag": "latest-cuda",
      "ports": [
        7860
      ],
      "volumes": [
        "sd_webui_workspace -> /workspace"
      ]
    }
  ],
  "env": [
    {
      "service": "sd-webui",
      "name": "WEB_ENABLE_AUTH",
      "kind": "preset"
    },
    {
      "service": "sd-webui",
      "name": "WEB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "sd-webui",
      "name": "WEB_USER",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy stable-diffusion-webui --name my-stable-diffusion-webui",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/stable-diffusion-webui/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy stable-diffusion-webui --name my-stable-diffusion-webui"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/stable-diffusion-webui/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
