vual/lobe-chat-pro
基于lobe-chat,增加了无限画布功能,支持doubao、google、openai、kling、midjourney等画图和视频模型,还有额外的独立的绘图、音乐、视频等创作面板,支持用户注册登录,充值消费,模型及价格管理,聊天、绘图、音乐、视频创作记录管理,通知公告等
Lobe Chat Pro – What it is
Lobe Chat Pro is an open‑source web application built on top of the original lobe‑chat project. It adds a full‑featured back‑office for running a commercial‑grade AI chat service:
- User & group management – sign‑up, login, assign users to groups with different usage limits and referral rewards.
- Model & pricing administration – register multiple model providers (OpenAI, Google, Midjourney, etc.), set per‑token or per‑call prices, store API keys.
- Integrated payment & billing – WeChat, Stripe, and other Chinese payment gateways; automatic recharge, consumption tracking, refunds.
- Content‑type panels – dedicated UI for text chat, image generation, music generation (Suno), and video generation (OpenAI, Google, Runway, etc.).
- “Infinite canvas” – a multimodal workspace where you can generate images, edit them, upscale, remove backgrounds, then turn the sequence into video, all within the same conversation.
- Self‑hosted “gateway‑only” mode – a lightweight front‑end that talks to any compatible LLM/API gateway (one‑api, new‑api, shell‑api) without the back‑office, useful for low‑resource deployments.
- Customization hooks – change app name/logo, add custom sidebar buttons, publish user‑created media to a public gallery.
Key Features (as listed in the README)
| Area | Highlights |
|---|---|
| User & Billing | Registration, group‑based quotas, referral rewards, multi‑payment (WeChat, Stripe, etc.), recharge/consume/refund flow, order history. |
| Model Management | Store providers, set token‑ or call‑based pricing, manage API keys for many services (OpenAI, Google, Midjourney, Kling, Doubao, etc.). |
| Infinite Canvas | Image generation, upscale, background removal, layer extraction, local image upload, network search for up‑to‑date info, video generation from image sequences, mobile‑friendly UI. |
| Dedicated Panels | • Drawing – Midjourney, Kling, OpenAI, Doubao with fine‑grained parameters and local repaint. |
| • Music – Suno model with custom parameters. | |
| • Video – Doubao, Google, OpenAI, Kling, Luma, Runway with extra settings. | |
| Gateway‑Only Mode | Front‑end only, connects to a user‑provided API gateway, supports login via the gateway, automatic API‑key fetching, optional no‑login version. |
| Admin UI | Manage users, models, payments, orders, notifications, and view all chat/media logs. |
| Public Gallery | Users can publish generated images, music, or videos for community browsing. |
How to Run it
The project supplies Docker images for three deployment flavors:
- Full version with back‑office –
registry.cn‑hangzhou.aliyuncs.com/ann-chat/lobe-chat-pro:latest(or specific tags). After starting, the user portal runs on port 3210 and the admin portal on 8888 (default credentialsadmin/123456). - Gateway‑only (login‑enabled) version –
…/lobe-chat-pro:client. Requires environment variables such asAUTHORIZE_CODE,APP_URL,BACKEND_BASE_URL, and a JSONAPP_CONFIGthat tells the front‑end how to talk to your chosen API gateway. - Gateway‑only (no‑login) version – same image with the
nologintag; only the front‑end is exposed, and API keys must be entered manually.
Typical Docker run (full version):
docker run -d -p 3210:3210 \
-e AUTHORIZE_CODE='your‑code' \
-e APP_URL='https://client.example.com' \
-e BACKEND_BASE_URL='https://api.example.com' \
registry.cn-hangzhou.aliyuncs.com/ann-chat/lobe-chat-pro:latest
The README also links to detailed deployment docs for database setup, Nginx reverse‑proxy configuration, and WeChat/Stripe payment integration.
Who Might Use It?
- Start‑ups or SaaS providers that want to offer a branded AI chat service with built‑in billing and user management.
- Enterprises needing a private, self‑hosted LLM portal that can integrate multiple model vendors and enforce usage quotas.
- Developers who want a ready‑made front‑end for multimodal generation (text, images, music, video) and prefer to plug in their own API gateway.
- Educators / Communities that want to let members generate and share AI‑created media in a controlled environment.
Limitations / What the README Doesn’t Cover
- The back‑office requires a paid authorization code (contact via WeChat) – the core code is open, but full commercial features are gated.
- Payment integration is China‑centric (WeChat, “易支付”, “虎皮椒支付”) with Stripe as an additional option; adapting to other payment providers will need extra work.
- The project assumes familiarity with Chinese cloud services (Aliyun Docker registry, MinIO for storage, etc.).
- No explicit mention of GPU requirements; image/video generation relies on external model APIs, so the host machine can be modest.
Quick Takeaway
Lobe Chat Pro is a self‑hostable, multi‑modal AI chat platform that extends the open‑source Lobe‑Chat UI with a complete admin console, payment handling, and a “infinite canvas” for chaining text, image, and video generation. It is aimed at teams that need a turnkey, brandable AI service with fine‑grained control over users, pricing, and model providers.
Related
- Project
- Project
- Project
- Project