memi-agent 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,43 @@
1
+ # memi-client
2
+
3
+ Memi 的 React + Vite 前端项目,用于调用后端图片生成流水线。
4
+
5
+ ## 页面
6
+
7
+ - Studio:图片创作工作台,包含新手引导、提示词输入、生成进度和结果详情。
8
+ - Gallery:本地生成历史,展示最近作品、分数和最终提示词。
9
+ - Settings:三段式 API 配置,保存到浏览器 `localStorage`。
10
+
11
+ ## 安装
12
+
13
+ ```bash
14
+ npm install
15
+ ```
16
+
17
+ ## 启动
18
+
19
+ ```bash
20
+ npm run dev
21
+ ```
22
+
23
+ 默认访问地址:
24
+
25
+ ```text
26
+ http://localhost:5173
27
+ ```
28
+
29
+ ## API 代理
30
+
31
+ Vite 已将 `/api` 代理到:
32
+
33
+ ```text
34
+ http://localhost:3001
35
+ ```
36
+
37
+ 前端会调用:
38
+
39
+ ```text
40
+ POST /api/pipeline/image
41
+ ```
42
+
43
+ 配置面板中的 API1、API2、API3 会保存到浏览器 `localStorage`。