Back to Documentation

Configuration Guide

How to configure pricing, credits, AI models, and admin access in VideoArt.

Admin Access Setup

Setting Up Admin User

Add your email to .env.local:

ADMIN_EMAIL="[email protected]"

After logging in with that email, the system automatically grants admin permissions.

Admin Dashboard

Access the admin dashboard at:

  • English: /en/admin or /admin
  • 中文: /zh/admin

Pricing & Credits

Configuration is centralized in src/config/pricing-user.ts and related config files. Modify that file to change credit packages, subscription plans, and AI model pricing.

Environment Variables

Key variables are documented in the project README.md and docs/VERCEL_DEPLOYMENT.md.