{
  "manifest_version": "1.0.0",
  "template": {
    "id": "353f997e-e1cc-4ad3-a903-17597129d15a",
    "slug": "i-give-up",
    "name": "I Give Up",
    "description": "AI video generator for Reels/TikTok/Shorts using Google Gemini & Veo",
    "url": "https://railway.com/deploy/i-give-up",
    "upstream": {
      "image": "supra126/igiveup"
    }
  },
  "services": [
    {
      "name": "main",
      "source": {
        "image": "supra126/igiveup"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GEMINI_TEXT_MODEL",
      "service": "main",
      "description": "Text analysis model (default: gemini-2.5-flash)",
      "secret": false,
      "strategy": "default",
      "default": "gemini-2.5-flash"
    },
    {
      "key": "GEMINI_IMAGE_MODEL",
      "service": "main",
      "description": "Image generation model (default: gemini-3-pro-image-preview)",
      "secret": false,
      "strategy": "default",
      "default": "gemini-3-pro-image-preview"
    },
    {
      "key": "RATE_LIMIT_ENABLED",
      "service": "main",
      "description": "Enable rate limiting (default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RATE_LIMIT_WINDOW_MS",
      "service": "main",
      "description": "Rate limit time window in ms (default: 60000)",
      "secret": false,
      "strategy": "default",
      "default": "60000"
    },
    {
      "key": "GEMINI_THINKING_BUDGET",
      "service": "main",
      "description": "Model thinking depth 0-24000 (default: 2048)",
      "secret": false,
      "strategy": "default",
      "default": "2048"
    },
    {
      "key": "RATE_LIMIT_MAX_REQUESTS",
      "service": "main",
      "description": "Max requests per time window (default: 2, Gemini free tier limit)",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "GEMINI_MAX_OUTPUT_TOKENS",
      "service": "main",
      "description": "Max output tokens 1024-65536 (default: 16384)",
      "secret": true,
      "strategy": "default",
      "default": "16384"
    },
    {
      "key": "SERVER_ACTIONS_BODY_SIZE_LIMIT",
      "service": "main",
      "description": "Server Actions body size limit (default: 20mb)",
      "secret": false,
      "strategy": "default",
      "default": "20mb"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "i-give-up"
      }
    },
    "cli": "railway deploy --template i-give-up",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "353f997e-e1cc-4ad3-a903-17597129d15a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "953526f5-57b2-4331-8c36-d3b87ab43eff": {
                  "icon": "https://raw.githubusercontent.com/supra126/IGiveUpOnLife/refs/heads/main/public/images/logo.svg",
                  "name": "main",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "supra126/igiveup",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 1,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 2,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 3,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 4,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 5,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 6,
                          "endHour": 6,
                          "startHour": 2
                        }
                      ]
                    }
                  },
                  "variables": {
                    "CF_ACCESS_AUD": {
                      "isOptional": true,
                      "description": "Cloudflare Access application AUD tag (optional)",
                      "defaultValue": ""
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "Gemini API Key (optional - if set, users get free access)",
                      "defaultValue": ""
                    },
                    "GEMINI_TEXT_MODEL": {
                      "isOptional": true,
                      "description": "Text analysis model (default: gemini-2.5-flash)",
                      "defaultValue": "gemini-2.5-flash"
                    },
                    "GEMINI_IMAGE_MODEL": {
                      "isOptional": true,
                      "description": "Image generation model (default: gemini-3-pro-image-preview)",
                      "defaultValue": "gemini-3-pro-image-preview"
                    },
                    "RATE_LIMIT_ENABLED": {
                      "isOptional": true,
                      "description": "Enable rate limiting (default: true)",
                      "defaultValue": "true"
                    },
                    "CF_ACCESS_TEAM_NAME": {
                      "isOptional": true,
                      "description": "Cloudflare Zero Trust team name (optional)",
                      "defaultValue": ""
                    },
                    "NEXT_PUBLIC_SITE_URL": {
                      "isOptional": true,
                      "description": "Site URL for SEO (default: https://igiveup.simoko.com)",
                      "defaultValue": ""
                    },
                    "RATE_LIMIT_WINDOW_MS": {
                      "isOptional": true,
                      "description": "Rate limit time window in ms (default: 60000)",
                      "defaultValue": "60000"
                    },
                    "GEMINI_THINKING_BUDGET": {
                      "isOptional": true,
                      "description": "Model thinking depth 0-24000 (default: 2048)",
                      "defaultValue": "2048"
                    },
                    "RATE_LIMIT_MAX_REQUESTS": {
                      "isOptional": true,
                      "description": "Max requests per time window (default: 2, Gemini free tier limit)",
                      "defaultValue": "2"
                    },
                    "GEMINI_MAX_OUTPUT_TOKENS": {
                      "isOptional": true,
                      "description": "Max output tokens 1024-65536 (default: 16384)",
                      "defaultValue": "16384"
                    },
                    "SERVER_ACTIONS_BODY_SIZE_LIMIT": {
                      "isOptional": true,
                      "description": "Server Actions body size limit (default: 20mb)",
                      "defaultValue": "20mb"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "main",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T17:06:16.463Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6169194b155b445d8a97",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 76,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "main"
  }
}
