{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6318ec16-7d3f-425b-8b4c-920bf2bf9d06",
    "slug": "8d2Rdz",
    "name": "Upload APIs",
    "description": "Effortlessly upload and save images as WebP with API key security.",
    "url": "https://railway.com/deploy/8d2Rdz",
    "upstream": {
      "repo_url": "https://github.com/devabdullah-lab/image-labs"
    }
  },
  "services": [
    {
      "name": "Upload Image API",
      "source": {
        "repo": "https://github.com/devabdullah-lab/image-labs"
      },
      "needs_volume": true,
      "volume_mount_path": "/files",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Upload Image API",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5885"
    },
    {
      "key": "API_KEY",
      "service": "Upload Image API",
      "description": "The API Key is a unique identifier used to authenticate and authorize requests to the API, ensuring that only authorized users can upload Images.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CDN_LINK",
      "service": "Upload Image API",
      "description": "Paste here service public link ",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "8d2Rdz"
      }
    },
    "cli": "railway deploy --template 8d2Rdz",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6318ec16-7d3f-425b-8b4c-920bf2bf9d06",
            "serializedConfig": {
              "services": {
                "c2ee6a1b-2f09-4419-847c-c9c96f958585": {
                  "icon": "https://devicons.railway.app/node",
                  "name": "Upload Image API",
                  "source": {
                    "repo": "devabdullah-lab/image-labs",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "5885"
                    },
                    "API_KEY": {
                      "isOptional": false,
                      "description": "The API Key is a unique identifier used to authenticate and authorize requests to the API, ensuring that only authorized users can upload Images.",
                      "defaultValue": "{{API_KEY}}"
                    },
                    "CDN_LINK": {
                      "isOptional": false,
                      "description": "Paste here service public link ",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "c2ee6a1b-2f09-4419-847c-c9c96f958585": {
                      "mountPath": "/files"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T08:59:21.357Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c0859e0019f54e1dbed1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 106,
    "typical_build_seconds": 32,
    "typical_start_seconds": 10,
    "slowest_service": "Upload Image API"
  }
}
