{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0d85c2ee-230d-4180-891f-d4e177e7eb33",
    "slug": "kokoro-tts-lite",
    "name": "Kokoro TTS Lite | OpenAI-Compatible Voice API, Runs on the Free Plan",
    "description": "OpenAI-compatible TTS on ONNX. Fits 512MB, runs on the Free plan.",
    "url": "https://railway.com/deploy/kokoro-tts-lite",
    "upstream": {
      "repo_url": "https://github.com/bon5co/kokoro-lite-railway"
    }
  },
  "services": [
    {
      "name": "Kokoro TTS Lite",
      "source": {
        "repo": "https://github.com/bon5co/kokoro-lite-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Kokoro TTS Lite",
      "description": "Listen port",
      "secret": false,
      "strategy": "default",
      "default": "8880"
    },
    {
      "key": "DEFAULT_VOICE",
      "service": "Kokoro TTS Lite",
      "description": "Voice used when a request does not name one",
      "secret": false,
      "strategy": "default",
      "default": "af_heart"
    },
    {
      "key": "MODEL_PRECISION",
      "service": "Kokoro TTS Lite",
      "description": "int8 fits the 0.5GB Free plan; fp32 is ~4x faster and needs ~610MB (Trial or above)",
      "secret": false,
      "strategy": "default",
      "default": "int8"
    },
    {
      "key": "OMP_NUM_THREADS",
      "service": "Kokoro TTS Lite",
      "description": "ONNX thread cap. Raise to match your plan's vCPU count",
      "secret": false,
      "strategy": "default",
      "default": "2"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kokoro-tts-lite"
      }
    },
    "cli": "railway deploy --template kokoro-tts-lite",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0d85c2ee-230d-4180-891f-d4e177e7eb33",
            "serializedConfig": {
              "services": {
                "d1f2a3b4-0000-4000-8000-000000000001": {
                  "name": "Kokoro TTS Lite",
                  "deploy": {
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "bon5co/kokoro-lite-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Listen port",
                      "defaultValue": "8880"
                    },
                    "API_KEY": {
                      "isOptional": true,
                      "description": "Optional. When set, /v1/* requires Authorization: Bearer <key>",
                      "defaultValue": ""
                    },
                    "DEFAULT_VOICE": {
                      "isOptional": true,
                      "description": "Voice used when a request does not name one",
                      "defaultValue": "af_heart"
                    },
                    "MODEL_PRECISION": {
                      "isOptional": false,
                      "description": "int8 fits the 0.5GB Free plan; fp32 is ~4x faster and needs ~610MB (Trial or above)",
                      "defaultValue": "int8"
                    },
                    "OMP_NUM_THREADS": {
                      "isOptional": true,
                      "description": "ONNX thread cap. Raise to match your plan's vCPU count",
                      "defaultValue": "2"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8880": {
                        "port": 8880
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Kokoro TTS Lite",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T18:54:21.382Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_68bba8db038e4f58a3cb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 152,
    "typical_build_seconds": 71,
    "typical_start_seconds": 10,
    "slowest_service": "Kokoro TTS Lite"
  }
}
