{
  "manifest_version": "1.0.0",
  "template": {
    "id": "15d94a4b-050d-4f70-bf3c-3c4d49cc9468",
    "slug": "faster-whisper",
    "name": "Faster Whisper",
    "description": "Private Speech-to-Text STT & Text-to-Speech TTS, OpenAI & 52 voices",
    "url": "https://railway.com/deploy/faster-whisper",
    "upstream": {
      "repo_url": "https://github.com/ACT900/faster-whisper-railway"
    }
  },
  "services": [
    {
      "name": "Faster Whisper",
      "source": {
        "repo": "https://github.com/ACT900/faster-whisper-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/ubuntu/.cache/huggingface/hub",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Faster Whisper",
      "description": "Server port. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "API_KEY",
      "service": "Faster Whisper",
      "description": "Auto-generated API key. Find in Variables tab after deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_UI",
      "service": "Faster Whisper",
      "description": "Custom frontend enabled. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Faster Whisper",
      "description": "Logging verbosity: debug, info, warning, error.",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "ALLOW_ORIGINS",
      "service": "Faster Whisper",
      "description": "CORS allowed origins. Change to your domain for production.",
      "secret": false,
      "strategy": "default",
      "default": "[\"*\"]"
    },
    {
      "key": "STT_MODEL_TTL",
      "service": "Faster Whisper",
      "description": "Seconds before unloading model from memory. -1 = never unload.",
      "secret": false,
      "strategy": "default",
      "default": "-1"
    },
    {
      "key": "PRELOAD_MODELS",
      "service": "Faster Whisper",
      "description": "AI models downloaded at startup. Includes STT (base) and TTS (Kokoro). See README for model options.",
      "secret": false,
      "strategy": "default",
      "default": "[\"Systran/faster-whisper-base\",\"speaches-ai/Kokoro-82M-v1.0-ONNX\"]"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Faster Whisper",
      "description": "Required for volume write permissions. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "WHISPER__COMPUTE_TYPE",
      "service": "Faster Whisper",
      "description": "Quantization type for CPU inference. INT8 recommended.",
      "secret": false,
      "strategy": "default",
      "default": "int8"
    },
    {
      "key": "WHISPER__INFERENCE_DEVICE",
      "service": "Faster Whisper",
      "description": "Inference device. CPU only on Railway.",
      "secret": false,
      "strategy": "default",
      "default": "cpu"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "faster-whisper"
      }
    },
    "cli": "railway deploy --template faster-whisper",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "15d94a4b-050d-4f70-bf3c-3c4d49cc9468",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5bb39947-7277-4b3e-b5cb-bb4551f0ed18": {
                  "icon": "https://raw.githubusercontent.com/ACT900/faster-whisper-railway/master/icon.png",
                  "name": "Faster Whisper",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/docs",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "ACT900/faster-whisper-railway",
                    "branch": "master",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Server port. Do not change.",
                      "defaultValue": "8000"
                    },
                    "API_KEY": {
                      "isOptional": false,
                      "description": "Auto-generated API key. Find in Variables tab after deploy.",
                      "defaultValue": "{{API_KEY}}"
                    },
                    "ENABLE_UI": {
                      "isOptional": false,
                      "description": "Custom frontend enabled. Do not change.",
                      "defaultValue": "false"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Logging verbosity: debug, info, warning, error.",
                      "defaultValue": "info"
                    },
                    "ALLOW_ORIGINS": {
                      "isOptional": false,
                      "description": "CORS allowed origins. Change to your domain for production.",
                      "defaultValue": "[\"*\"]"
                    },
                    "STT_MODEL_TTL": {
                      "isOptional": false,
                      "description": "Seconds before unloading model from memory. -1 = never unload.",
                      "defaultValue": "-1"
                    },
                    "PRELOAD_MODELS": {
                      "isOptional": false,
                      "description": "AI models downloaded at startup. Includes STT (base) and TTS (Kokoro). See README for model options.",
                      "defaultValue": "[\"Systran/faster-whisper-base\",\"speaches-ai/Kokoro-82M-v1.0-ONNX\"]"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Required for volume write permissions. Do not change.",
                      "defaultValue": "0"
                    },
                    "WHISPER__COMPUTE_TYPE": {
                      "isOptional": false,
                      "description": "Quantization type for CPU inference. INT8 recommended.",
                      "defaultValue": "int8"
                    },
                    "WHISPER__INFERENCE_DEVICE": {
                      "isOptional": false,
                      "description": "Inference device. CPU only on Railway.",
                      "defaultValue": "cpu"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "5bb39947-7277-4b3e-b5cb-bb4551f0ed18": {
                      "mountPath": "/home/ubuntu/.cache/huggingface/hub"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Faster Whisper",
      "method": "GET",
      "path": "/docs",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T20:09:49.299Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f251b2992e73405b9619",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 172,
    "typical_build_seconds": 72,
    "typical_start_seconds": 40,
    "slowest_service": "Faster Whisper"
  }
}
