{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f225f87b-d285-4292-b40a-0a43f2b49c33",
    "slug": "invokeai-stable-diffusion-studio",
    "name": "InvokeAI — Self-Hosted Stable Diffusion Studio",
    "description": "Self-host InvokeAI — canvas, node workflows & custom SD models",
    "url": "https://railway.com/deploy/invokeai-stable-diffusion-studio",
    "upstream": {
      "image": "ghcr.io/invoke-ai/invokeai"
    }
  },
  "services": [
    {
      "name": "invokeai",
      "source": {
        "image": "ghcr.io/invoke-ai/invokeai"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "invokeai-stable-diffusion-studio"
      }
    },
    "cli": "railway deploy --template invokeai-stable-diffusion-studio",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f225f87b-d285-4292-b40a-0a43f2b49c33",
            "serializedConfig": {
              "services": {
                "be1cbd39-156d-4b66-b561-f994dd278c00": {
                  "icon": "https://cdn-avatars.huggingface.co/v1/production/uploads/63e004bdf0c75dfb87690d5c/AtX_SwdU0j5UkJdDEkNsS.png",
                  "name": "invokeai",
                  "source": {
                    "image": "ghcr.io/invoke-ai/invokeai"
                  },
                  "volumeMounts": {
                    "be1cbd39-156d-4b66-b561-f994dd278c00": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-05T07:58:02.434Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0df3ce44af4c4c6eaddf",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 228,
    "typical_build_seconds": 0,
    "typical_start_seconds": 181,
    "slowest_service": "invokeai"
  }
}
