{
  "manifest_version": "1.0.0",
  "template": {
    "id": "eb12f519-3eab-4c33-bc84-7ee7466f5dbf",
    "slug": "genuine-appreciation",
    "name": "qwen3-embedding-4b",
    "description": "Deploy Qwen3-Embedding(or other models) use llama.cpp",
    "url": "https://railway.com/deploy/genuine-appreciation",
    "upstream": {
      "repo_url": "https://github.com/xkos/qwen3-embedding-railway"
    }
  },
  "services": [
    {
      "name": "qwen3-embedding-railway",
      "source": {
        "repo": "https://github.com/xkos/qwen3-embedding-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/models",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "qwen3-embedding-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "API_KEY",
      "service": "qwen3-embedding-railway",
      "description": "Provide a value for API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MODEL_NAME",
      "service": "qwen3-embedding-railway",
      "description": "Provide a value for MODEL_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "Qwen/Qwen3-Embedding-4B-GGUF"
    },
    {
      "key": "CONTEXT_SIZE",
      "service": "qwen3-embedding-railway",
      "description": "Provide a value for CONTEXT_SIZE.",
      "secret": false,
      "strategy": "default",
      "default": "40960"
    },
    {
      "key": "MODEL_FILENAME",
      "service": "qwen3-embedding-railway",
      "description": "Provide a value for MODEL_FILENAME.",
      "secret": false,
      "strategy": "default",
      "default": "Qwen3-Embedding-4B-Q4_K_M.gguf"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "genuine-appreciation"
      }
    },
    "cli": "railway deploy --template genuine-appreciation",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "eb12f519-3eab-4c33-bc84-7ee7466f5dbf",
            "serializedConfig": {
              "services": {
                "512c128c-cb07-4758-94c2-0e585240636c": {
                  "name": "qwen3-embedding-railway",
                  "source": {
                    "repo": "xkos/qwen3-embedding-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "API_KEY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{API_KEY}}"
                    },
                    "MODEL_NAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Qwen/Qwen3-Embedding-4B-GGUF"
                    },
                    "CONTEXT_SIZE": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "40960"
                    },
                    "MODEL_FILENAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Qwen3-Embedding-4B-Q4_K_M.gguf"
                    }
                  },
                  "volumeMounts": {
                    "512c128c-cb07-4758-94c2-0e585240636c": {
                      "mountPath": "/models"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T19:01:31.855Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_062b2264cdc541ffa222",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 281,
    "typical_build_seconds": 153,
    "typical_start_seconds": 71,
    "slowest_service": "qwen3-embedding-railway"
  }
}
