Files
gen2d/README.md
T
wonder e63165f898 docs: 完善 README,精简 CLAUDE.md
- 重写 README:补充技术栈徽标、快速开始、项目结构、线上体验链接
- 简化 CLAUDE.md:目录结构和架构说明改为引用 docs/architecture.md
- 移除不存在的 lint/test 命令
- 删除无内容的 README.en.md
2026-05-23 18:05:53 +08:00

1.8 KiB

gen2d

AI 驱动的 2D 游戏素材生成工具。通过文本提示词或可视化参数,快速生成风格一致、管线友好的 Sprite、背景、UI 元素与动画帧。支持 Unity / Godot 一键集成。

Go Gin React TypeScript Vite

在线体验 http://47.121.181.112:10000

架构采用多智能体协作管线(PromptBuilder → AssetGenerator → QualitySupervisor → FormatAdapter),详见 docs/architecture.md。

快速开始

后端

cd backend
go mod tidy
go run cmd/main.go

服务默认运行在 http://localhost:8080。

前端

cd frontend
npm install
npm run dev

开发服务器默认运行在 http://localhost:5173,通过 Vite proxy 转发 API 请求到后端。

项目结构

gen2d/
├── backend/          # Go + Gin API 服务
├── frontend/         # Vite + React 前端
└── docs/             # 项目文档
    ├── architecture.md  # 架构设计
    └── api.md           # API 文档

详细架构说明见 docs/architecture.md。

API

接口统一前缀 /api/v1/,详见 docs/api.md。

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request