{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1f70dc95-090f-4670-9e5b-53fc2e7436c2",
    "slug": "whisper-asr-webservice",
    "name": "Whisper ASR Webservice",
    "description": "Self-hosted Whisper speech-to-text API with subtitles, behind a password",
    "url": "https://railway.com/deploy/whisper-asr-webservice",
    "upstream": {
      "image": "ghcr.io/youssefsiam38/whisper-asr-railway:1.0.1"
    }
  },
  "services": [
    {
      "name": "whisper",
      "source": {
        "image": "ghcr.io/youssefsiam38/whisper-asr-railway:1.0.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/root/.cache",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "whisper",
      "description": "Timezone used for timestamps.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "whisper",
      "description": "Port the front door listens on. Railway probes its healthcheck here, so keep it equal to the domain's target port.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "ASR_MODEL",
      "service": "whisper",
      "description": "Whisper model. tiny, base and small are the practical choices on a CPU plan; the large family is slow without a GPU.",
      "secret": false,
      "strategy": "default",
      "default": "base"
    },
    {
      "key": "WHISPER_AUTH_PASSWORD",
      "service": "whisper",
      "description": "Password for that prompt. Whisper ASR Webservice has no login of its own, so this is what stops strangers transcribing on your instance.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "WHISPER_AUTH_USERNAME",
      "service": "whisper",
      "description": "Username for the password prompt that protects this instance.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "WHISPER_MAX_UPLOAD_MB",
      "service": "whisper",
      "description": "Largest accepted upload, in megabytes.",
      "secret": false,
      "strategy": "default",
      "default": "512"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "whisper",
      "description": "How long Railway waits for the health route to turn green. The first start downloads the Whisper model, so the platform default of 300 seconds is not always enough.",
      "secret": false,
      "strategy": "default",
      "default": "900"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "whisper-asr-webservice"
      }
    },
    "cli": "railway deploy --template whisper-asr-webservice",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1f70dc95-090f-4670-9e5b-53fc2e7436c2",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "35750ed9-d51f-4db2-b31f-d85ab6c0442b": {
                  "icon": null,
                  "name": "whisper",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/whisper-asr-railway:1.0.1"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Timezone used for timestamps.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the front door listens on. Railway probes its healthcheck here, so keep it equal to the domain's target port.",
                      "defaultValue": "8000"
                    },
                    "ASR_MODEL": {
                      "isOptional": false,
                      "description": "Whisper model. tiny, base and small are the practical choices on a CPU plan; the large family is slow without a GPU.",
                      "defaultValue": "base"
                    },
                    "WHISPER_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for that prompt. Whisper ASR Webservice has no login of its own, so this is what stops strangers transcribing on your instance.",
                      "defaultValue": "{{WHISPER_AUTH_PASSWORD}}"
                    },
                    "WHISPER_AUTH_USERNAME": {
                      "isOptional": false,
                      "description": "Username for the password prompt that protects this instance.",
                      "defaultValue": "admin"
                    },
                    "WHISPER_MAX_UPLOAD_MB": {
                      "isOptional": false,
                      "description": "Largest accepted upload, in megabytes.",
                      "defaultValue": "512"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "How long Railway waits for the health route to turn green. The first start downloads the Whisper model, so the platform default of 300 seconds is not always enough.",
                      "defaultValue": "900"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "35750ed9-d51f-4db2-b31f-d85ab6c0442b": {
                      "mountPath": "/root/.cache"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "whisper",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-12T16:14:42.609Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-12T14:26:22.847Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_367af5effb6145869661",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 139,
    "typical_build_seconds": 0,
    "typical_start_seconds": 121,
    "slowest_service": "whisper"
  }
}
