跳到主要内容

LumenX 安装部署

环境要求

  • Python 3.11+
  • Node.js 18+
  • FFmpeg

一键启动

# 克隆
git clone https://github.com/alibaba/lumenx.git
cd lumenx

# 配置 API Key
cp .env.example .env
# 编辑 .env,填入 DASHSCOPE_API_KEY(必填)

# 启动(后端 17177 + 前端 3008,自动开浏览器)
npm run dev

分别启动

# 后端
pip install -r requirements.txt
./start_backend.sh # http://localhost:17177

# 前端
cd frontend && npm install && npm run dev # http://localhost:3008

Docker 部署

docker-compose up -d

访问

界面地址
Studiohttp://localhost:3008
Playgroundhttp://localhost:3008/#/playground
API 文档http://localhost:17177/docs