Skip to content

seventhocean/FriendPS_Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rainbow 相册

模板仓库 + 智能生图平台。481 个 GPT-Image2 模板,支持纯 prompt 生图或上传参考图。

Web 展示页: https://waitsummer.online

架构

waitsummer.online
        │
   Nginx (80/443)
    ├── /          → Next.js    (模板展示)
    ├── /api/*     → FastAPI    (后端 API)
    ├── /admin     → FastAPI    (管理后台)
    └── /images/*  → 静态文件    (模板封面图)

一键部署(Docker Compose)

git clone https://github.com/seventhocean/FriendPS_Tools.git
cd FriendPS_Tools

# 配置环境变量
cp .env.example .env
# 编辑 .env 填入 APIMART_API_KEY / JWT_SECRET / ADMIN_TOKEN

# 准备封面图
./scripts/sync_images.sh

# 启动
docker compose up -d

需要开放端口:80 / 443 (TCP)

Docker 容器

容器 端口 功能
nginx 80, 443 反代 + SSL + 静态图片
nextjs 3000 (内网) 模板展示页
fastapi 8000 (内网) API + 管理后台

后端 API

端点 功能
/api/auth/register 注册
/api/auth/login 登录
/api/modes 模板列表(481 个)
/api/modes/{id} 模板详情 + prompt
/api/generate 生图(纯 prompt 或可选参考图)
/api/redeem VIP 兑换
/api/admin/* 管理后台 API

APP 客户端

React Native (Expo) — app/src/

npm install
npx expo start

CLI 生图

python3 generate_image.py "prompt" --size 16:9 --resolution 2k

About

Flower — 模板仓库 + AI 生图平台。收录 481 个 GPT-Image2 创意提示词模板,支持 Web 浏览、一键复制 Prompt、纯文本/参考图生图.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors