{
  "manifest_version": "1.0.0",
  "template": {
    "id": "85de956d-3306-414a-bfd7-f53f99f7296b",
    "slug": "voicestudio-voice-cloning-and-text-to-sp",
    "name": "VoiceStudio - Voice Cloning & Text-to-Speech",
    "description": "VoiceStudio web: voice cloning, TTS & transcription on CPU. voice studio",
    "url": "https://railway.com/deploy/voicestudio-voice-cloning-and-text-to-sp",
    "upstream": {
      "image": "ghcr.io/debpalash/voicestudio:0.5.6"
    }
  },
  "services": [
    {
      "name": "VoiceStudio",
      "source": {
        "image": "ghcr.io/debpalash/voicestudio:0.5.6"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/omnivoice_data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "VoiceStudio",
      "description": "HTTP port used by VoiceStudio and Railway public networking. Keep 3900.",
      "secret": false,
      "strategy": "default",
      "default": "3900"
    },
    {
      "key": "HF_HOME",
      "service": "VoiceStudio",
      "description": "Persistent Hugging Face model cache on the Railway volume.",
      "secret": false,
      "strategy": "default",
      "default": "/app/omnivoice_data/huggingface"
    },
    {
      "key": "MKL_NUM_THREADS",
      "service": "VoiceStudio",
      "description": "Maximum MKL CPU threads used for inference. Default: 8.",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "OMP_NUM_THREADS",
      "service": "VoiceStudio",
      "description": "Maximum OpenMP CPU threads used for inference. Default: 8.",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "OMNIVOICE_DEVICE",
      "service": "VoiceStudio",
      "description": "CPU inference for Railway services, which do not provide GPUs.",
      "secret": false,
      "strategy": "default",
      "default": "cpu"
    },
    {
      "key": "PYTHONUNBUFFERED",
      "service": "VoiceStudio",
      "description": "Flush Python logs immediately so startup and model progress appear in Railway logs.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "OMNIVOICE_API_KEY",
      "service": "VoiceStudio",
      "description": "Automatically generates a unique administrator key. After deployment, copy it from Railway Variables to sign in to the web UI.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OMNIVOICE_DATA_DIR",
      "service": "VoiceStudio",
      "description": "Persistent directory for projects, voice profiles, generated audio and settings. Matches the attached Railway volume.",
      "secret": false,
      "strategy": "default",
      "default": "/app/omnivoice_data"
    },
    {
      "key": "OMNIVOICE_SERVER_MODE",
      "service": "VoiceStudio",
      "description": "Enable the supported Docker server mode and authenticated browser administration. Keep 1.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "OMNIVOICE_ALLOWED_HOSTS",
      "service": "VoiceStudio",
      "description": "Automatically allow this deployment’s Railway public domain. Add a custom hostname here when using a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OMNIVOICE_ALLOWED_ORIGINS",
      "service": "VoiceStudio",
      "description": "Exact HTTPS browser origin for this deployment. Add your custom domain origin when using a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OMNIVOICE_ANALYTICS_DISABLED",
      "service": "VoiceStudio",
      "description": "Disable optional usage analytics for the hosted instance. Default: 1.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "voicestudio-voice-cloning-and-text-to-sp"
      }
    },
    "cli": "railway deploy --template voicestudio-voice-cloning-and-text-to-sp",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "85de956d-3306-414a-bfd7-f53f99f7296b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a158ea2e-7235-49f0-8585-0cf547b2a7e8": {
                  "icon": "https://raw.githubusercontent.com/debpalash/VoiceStudio/v0.5.6/docs/logo.svg",
                  "name": "VoiceStudio",
                  "deploy": {
                    "startCommand": "python3 -m uvicorn backend.main:app --host 0.0.0.0 --port 3900 --proxy-headers --forwarded-allow-ips '*'",
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "ghcr.io/debpalash/voicestudio:0.5.6"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port used by VoiceStudio and Railway public networking. Keep 3900.",
                      "defaultValue": "3900"
                    },
                    "HF_HOME": {
                      "isOptional": false,
                      "description": "Persistent Hugging Face model cache on the Railway volume.",
                      "defaultValue": "/app/omnivoice_data/huggingface"
                    },
                    "MKL_NUM_THREADS": {
                      "isOptional": false,
                      "description": "Maximum MKL CPU threads used for inference. Default: 8.",
                      "defaultValue": "8"
                    },
                    "OMP_NUM_THREADS": {
                      "isOptional": false,
                      "description": "Maximum OpenMP CPU threads used for inference. Default: 8.",
                      "defaultValue": "8"
                    },
                    "OMNIVOICE_DEVICE": {
                      "isOptional": false,
                      "description": "CPU inference for Railway services, which do not provide GPUs.",
                      "defaultValue": "cpu"
                    },
                    "PYTHONUNBUFFERED": {
                      "isOptional": false,
                      "description": "Flush Python logs immediately so startup and model progress appear in Railway logs.",
                      "defaultValue": "1"
                    },
                    "OMNIVOICE_API_KEY": {
                      "isOptional": false,
                      "description": "Automatically generates a unique administrator key. After deployment, copy it from Railway Variables to sign in to the web UI.",
                      "defaultValue": "{{OMNIVOICE_API_KEY}}"
                    },
                    "OMNIVOICE_DATA_DIR": {
                      "isOptional": false,
                      "description": "Persistent directory for projects, voice profiles, generated audio and settings. Matches the attached Railway volume.",
                      "defaultValue": "/app/omnivoice_data"
                    },
                    "OMNIVOICE_SERVER_MODE": {
                      "isOptional": false,
                      "description": "Enable the supported Docker server mode and authenticated browser administration. Keep 1.",
                      "defaultValue": "1"
                    },
                    "OMNIVOICE_ALLOWED_HOSTS": {
                      "isOptional": false,
                      "description": "Automatically allow this deployment’s Railway public domain. Add a custom hostname here when using a custom domain.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OMNIVOICE_ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "Exact HTTPS browser origin for this deployment. Add your custom domain origin when using a custom domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OMNIVOICE_ANALYTICS_DISABLED": {
                      "isOptional": false,
                      "description": "Disable optional usage analytics for the hosted instance. Default: 1.",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3900": {
                        "port": 3900
                      }
                    }
                  },
                  "volumeMounts": {
                    "a158ea2e-7235-49f0-8585-0cf547b2a7e8": {
                      "mountPath": "/app/omnivoice_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "VoiceStudio",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-03T22:15:11.821Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-20T02:04:18.305Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_12404759987f4bb790f4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 266,
    "typical_build_seconds": 0,
    "typical_start_seconds": 194,
    "slowest_service": "VoiceStudio"
  }
}
