{
  "manifest_version": "1.0.0",
  "template": {
    "id": "fd26d6b7-5738-49bc-bf85-38c61590b878",
    "slug": "toonflow-v2-ai-short-drama-and-video-stu",
    "name": "Toonflow v2 AI Short Drama and Video Studio",
    "description": "Write scripts, storyboard and generate images and video on one canvas.",
    "url": "https://railway.com/deploy/toonflow-v2-ai-short-drama-and-video-stu",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/toonflow-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Toonflow",
      "source": {
        "repo": "https://github.com/baranberkay96/toonflow-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": false
    },
    {
      "name": "Web",
      "source": {
        "repo": "https://github.com/baranberkay96/toonflow-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Toonflow",
      "description": "Toonflow listen port (also set as TOONFLOW_SERVER_PORT); Railway health-checks / on it.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "TOONFLOW_DATA_DIR",
      "service": "Toonflow",
      "description": "Settings, provider keys, plugins and projects. Must stay the volume mount path.",
      "secret": false,
      "strategy": "default",
      "default": "/app/data"
    },
    {
      "key": "PORT",
      "service": "Web",
      "description": "Caddy port (public domain target); only /healthz answers without the login.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TOONFLOW_BACKEND",
      "service": "Web",
      "description": "Private host:port of the Toonflow service that all requests are forwarded to.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "BASIC_AUTH_PASSWORD",
      "service": "Web",
      "description": "Login password for the Toonflow UI and API. Generated; read it here.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "BASIC_AUTH_USERNAME",
      "service": "Web",
      "description": "Login name for the Toonflow UI and API (letters, digits, . _ @ -).",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "toonflow-v2-ai-short-drama-and-video-stu"
      }
    },
    "cli": "railway deploy --template toonflow-v2-ai-short-drama-and-video-stu",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "fd26d6b7-5738-49bc-bf85-38c61590b878",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a5364ada-7230-5b05-afeb-46a67eef2691": {
                  "icon": "https://cdn.jsdelivr.net/gh/HBAI-Ltd/Toonflow-app@af6e884c3d8cda353acaf8ef13aea8ea754a4afd/packages/assets/logo.iconset/icon_512x512.png",
                  "name": "Toonflow",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 300
                  },
                  "source": {
                    "repo": "baranberkay96/toonflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/toonflow"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Toonflow listen port (also set as TOONFLOW_SERVER_PORT); Railway health-checks / on it.",
                      "defaultValue": "3000"
                    },
                    "TOONFLOW_DATA_DIR": {
                      "isOptional": true,
                      "description": "Settings, provider keys, plugins and projects. Must stay the volume mount path.",
                      "defaultValue": "/app/data"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "34ad469b-d9af-5294-8bd6-497ba2e593d7": {
                      "mountPath": "/app/data"
                    }
                  }
                },
                "d5439cca-979e-584d-a837-d7fe71f84ba5": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "Web",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 120
                  },
                  "source": {
                    "repo": "baranberkay96/toonflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/web"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Caddy port (public domain target); only /healthz answers without the login.",
                      "defaultValue": "8080"
                    },
                    "TOONFLOW_BACKEND": {
                      "isOptional": true,
                      "description": "Private host:port of the Toonflow service that all requests are forwarded to.",
                      "defaultValue": "${{Toonflow.RAILWAY_PRIVATE_DOMAIN}}:${{Toonflow.PORT}}"
                    },
                    "BASIC_AUTH_PASSWORD": {
                      "isOptional": true,
                      "description": "Login password for the Toonflow UI and API. Generated; read it here.",
                      "defaultValue": "{{BASIC_AUTH_PASSWORD}}"
                    },
                    "BASIC_AUTH_USERNAME": {
                      "isOptional": true,
                      "description": "Login name for the Toonflow UI and API (letters, digits, . _ @ -).",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Web",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-30T16:14:57.468Z",
  "generator_version": "0.1.0"
}
