Sign in with Google · Subscribe · Generate in your private studio workspace.
Epic Agent Studio by Epic Tech AI is a multimodal AI creative platform. One prompt powers text (Groq), images (Pixio), audio (Hugging Face), and video generation — with templates, history, and per-user workspaces backed by PostgreSQL.
Merged from epic-os-platform (auth, billing, admin) and agent-platform (multimodal studio UI).
| Text | Groq LLM creative direction |
| Image | Pixio / Hugging Face image backends |
| Audio | Hugging Face text-to-audio |
| Video | Pixio / HF video concepts |
| Templates | Curated prompts in /public/templates.json |
| History | Generations logged to Postgres |
| Google OAuth | Auth.js / NextAuth v5 |
| Stripe billing | Weekly · monthly · yearly |
| Admin | Users, generations, feature flags at /admin |
Landing (/) → Google sign-in → /auth/continue
│ │
│ ┌──────────┴──────────┐
│ ▼ ▼
│ Has plan? No plan
│ │ │
│ ▼ ▼
│ /studio /pricing
│ generate + history │
│ ▲ │
└─────────────────────────┴──── Stripe checkout ─┘
/studio?welcome=1
cd epic-agent-studio
cp .env.example .envFill .env with DATABASE_URL, AUTH_SECRET, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and AI keys (GROQ_API_KEY, PIXIO_API_KEY, HF_TOKEN).
npm install
npm run db:push
npm run db:seed
npm run dev| Variable | Required | Description |
|---|---|---|
DATABASE_URL |
Yes | PostgreSQL connection string |
AUTH_SECRET |
Yes | Auth.js session secret |
AUTH_URL / NEXT_PUBLIC_SITE_URL |
Yes | Public app URL |
GOOGLE_CLIENT_ID / SECRET |
Yes | Google OAuth |
STRIPE_* |
Billing | Stripe keys and price IDs |
GROQ_API_KEY |
Text | Groq API for text generation |
PIXIO_API_KEY |
Image/Video | Pixio image/video API |
HF_TOKEN |
Audio | Hugging Face inference token |
PLATFORM_ADMIN_EMAILS |
Admin | Comma-separated admin emails |
| Step | Action |
|---|---|
| 1 | Add Postgres plugin |
| 2 | Set DATABASE_URL=${{Postgres.DATABASE_URL}} |
| 3 | Set vars from .env.example |
| 4 | Deploy via Docker (Dockerfile + railway.toml) |
Health: GET /api/health → {"ok":true,"database":"connected","platform":"epic-agent-studio"}
epic-agent-studio/
├── src/
│ ├── app/
│ │ ├── page.tsx # Marketing landing
│ │ ├── studio/ # Protected studio UI
│ │ └── api/
│ │ ├── studio/generate/ # Multimodal generation
│ │ ├── health/ # Railway healthcheck
│ │ └── admin/generations/
│ ├── components/studio/AgentStudio.tsx
│ └── lib/ # Auth, Stripe, tenant
├── prisma/schema.prisma # User, Workspace, Generation
├── public/templates.json
├── Dockerfile
└── railway.toml
| Command | Description |
|---|---|
npm run dev |
Local dev server |
npm run build |
Prisma generate + production build |
npm run start:prod |
Railway entry — fast start + background DB seed |
npm run db:seed |
Upsert studio modality feature flags |
| Plan | Price |
|---|---|
| Weekly | $9.99/week |
| Monthly | $29.99/month |
| Yearly | $299/year |
Set PLATFORM_ADMIN_EMAILS to your Google email. First sign-in grants PLATFORM_ADMIN.
/admin— users, generations, feature flags/api/admin/generations— recent generation log (platform admin)
Private repository · proprietary — all rights reserved. Owned by Epic Tech AI.
Epic Tech AI · Epic Agent Studio · Engineered with Grok