---
title: "Deploy DramaClaw"
description: "Self-hosted AIGC video engine: script to finished film in one pipeline"
category: "AI/ML"
url: https://railway.com/deploy/dramaclaw
---

# Deploy DramaClaw

Self-hosted AIGC video engine: script to finished film in one pipeline

**[Deploy DramaClaw on Railway](https://railway.com/template/dramaclaw)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/dramaclaw/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### dramaclaw-web https://raw.githubusercontent.com/dramaclaw/dramaclaw/v2.1.3/frontend/public/brand/logo-d.png

- **Source:** https://github.com/aalfath/dramaclaw-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

### dramaclaw-api https://raw.githubusercontent.com/dramaclaw/dramaclaw/v2.1.3/frontend/public/brand/logo-d.png

- **Source:** https://github.com/aalfath/dramaclaw-railway-template
- **Health check:** /api/v1/config

### dramaclaw-gateway https://raw.githubusercontent.com/dramaclaw/dramaclaw/v2.1.3/frontend/public/brand/logo-d.png

- **Source:** https://github.com/aalfath/dramaclaw-railway-template
- **Health check:** /api/status

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

## Documentation

# Deploy and Host DramaClaw on Railway

DramaClaw is an open-source AIGC video engine that takes a script to a finished film in one pipeline: story breakdown, characters and scenes, keyframes, video shots, voice and final edit. It is used for short dramas, ads, product videos and otome games. This template runs DramaClaw Community Edition 2.1.3.

## About Hosting DramaClaw

DramaClaw CE runs as three containers: an nginx web front end, a Python API that stores projects, settings and generated media under `/data`, and a bundled OpenAI-compatible model gateway. This template builds all three from pinned official images, keeps `/data` on a Railway volume and stores the gateway's data in Railway Postgres. CE has no user accounts, so the web service asks for a username and a generated password on every page; the password is in the `dramaclaw-web` service's Variables tab. The models themselves run outside Railway: after deploy you add an official DramaClaw (RelayClaw) key or your own provider keys in Settings.

## Common Use Cases

* Turning a short-drama or novel script into storyboards, keyframes and video shots
* Producing ads and product videos from a written brief
* Running a private, self-hosted AIGC video studio with your own model provider keys

## Dependencies for DramaClaw Hosting

* An API key for the models: an official DramaClaw (RelayClaw) key, or your own OpenAI-compatible or other provider keys
* Railway Postgres (included) for the bundled model gateway

### Deployment Dependencies

* DramaClaw source and docs: https://github.com/dramaclaw/dramaclaw
* Template source (wrapper Dockerfiles, changelog): https://github.com/aalfath/dramaclaw-railway-template
* Licence: Elastic License 2.0 (source available). Self-hosting is allowed; offering DramaClaw to third parties as a hosted or managed service is not. This template is not affiliated with the DramaClaw project.

### Implementation Details

* `dramaclaw-web` is the only public service. Log in with `DRAMACLAW_USERNAME` (default `admin`) and `DRAMACLAW_PASSWORD` (generated). `/healthz` stays open for Railway's health check.
* `dramaclaw-api` and `dramaclaw-gateway` are reachable only on the private network. In Settings → Models, choose **Official** and paste a DramaClaw key, or choose **Custom** and initialise the bundled gateway, then add your provider keys.
* Upstream recommends at least 2 vCPU and 4 GB of RAM. Generated media is stored on the API's volume, so size it for your projects.
* Updates: every service builds from the template repo. When it moves to a new DramaClaw release, Railway offers you the update; read the repo's CHANGELOG.md before applying it.

## Why Deploy DramaClaw on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying DramaClaw on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/dramaclaw
