{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a0a97d2e-1a79-42e8-b720-8dc068ae5fed",
    "slug": "picflow-on-the-fly-image-processing",
    "name": "PicFlow: On-the-fly Image Processing",
    "description": "High-performance, streaming image optimization built with Sharp+Bun.",
    "url": "https://railway.com/deploy/picflow-on-the-fly-image-processing",
    "upstream": {
      "repo_url": "https://github.com/dane-stevens/image-optimization"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "PicFlow Image Server",
      "source": {
        "repo": "https://github.com/dane-stevens/image-optimization"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "S3_BUCKET",
      "service": "PicFlow Image Server",
      "description": "Provide a value for S3_BUCKET.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "PicFlow Image Server",
      "description": "Provide a value for S3_ENDPOINT.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "PicFlow Image Server",
      "description": "Provide a value for S3_ACCESS_KEY_ID.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "PicFlow Image Server",
      "description": "Provide a value for S3_SECRET_ACCESS_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "picflow-on-the-fly-image-processing"
      }
    },
    "cli": "railway deploy --template picflow-on-the-fly-image-processing",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a0a97d2e-1a79-42e8-b720-8dc068ae5fed",
            "serializedConfig": {
              "services": {
                "49fb6b23-0545-446a-873c-1fe6c1aa5705": {
                  "icon": "https://raw.githubusercontent.com/dane-stevens/image-optimization/main/public/picflow-favicon.png",
                  "name": "PicFlow Image Server",
                  "source": {
                    "repo": "dane-stevens/image-optimization",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "S3_BUCKET": {
                      "description": "",
                      "defaultValue": "{{S3_BUCKET}}"
                    },
                    "S3_ENDPOINT": {
                      "description": "",
                      "defaultValue": "{{S3_ENDPOINT}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "description": "",
                      "defaultValue": "{{S3_ACCESS_KEY_ID}}"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "description": "",
                      "defaultValue": "{{S3_SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0"
}
