{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9c3e08c0-303d-492c-a0cb-65b32d00ca98",
    "slug": "chatgpt-web-midjourney-proxy",
    "name": "ChatGPT Web Midjourney Proxy",
    "description": "A web UI supporting AI chat, art, music, video, dance, and live voice.",
    "url": "https://railway.com/deploy/chatgpt-web-midjourney-proxy",
    "upstream": {
      "image": "ydlhero/chatgpt-web-midjourney-proxy:latest"
    }
  },
  "services": [
    {
      "name": "chatgpt-web-midjourney-proxy",
      "source": {
        "image": "ydlhero/chatgpt-web-midjourney-proxy:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "chatgpt-web-midjourney-proxy",
      "description": "Provide a value for HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PORT",
      "service": "chatgpt-web-midjourney-proxy",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3002"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "chatgpt-web-midjourney-proxy",
      "description": "Provide a value for OPENAI_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENAI_API_BASE_URL",
      "service": "chatgpt-web-midjourney-proxy",
      "description": "Provide a value for OPENAI_API_BASE_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://api.openai.com"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "chatgpt-web-midjourney-proxy"
      }
    },
    "cli": "railway deploy --template chatgpt-web-midjourney-proxy",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9c3e08c0-303d-492c-a0cb-65b32d00ca98",
            "serializedConfig": {
              "services": {
                "5dca5806-78c6-4b71-b3f6-014cfa3dbbbd": {
                  "name": "chatgpt-web-midjourney-proxy",
                  "source": {
                    "image": "ydlhero/chatgpt-web-midjourney-proxy:latest"
                  },
                  "variables": {
                    "HOST": {
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "defaultValue": "3002"
                    },
                    "OPENAI_API_KEY": {
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    },
                    "OPENAI_API_BASE_URL": {
                      "defaultValue": "https://api.openai.com"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3002": {
                        "port": 3002
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-05T00:23:58.916Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_13c1cff8b0b24e6e8f99",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 52,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "chatgpt-web-midjourney-proxy"
  }
}
