No description
| static | ||
| templates | ||
| .DS_Store | ||
| .gitattributes | ||
| .gitignore | ||
| app.py | ||
| README.md | ||
| requirements.txt | ||
| run_app.command | ||
aPix Image Workspace
Tiếng Việt
Giới thiệu
aPix Image Workspace là một ứng dụng Flask đơn giản giúp bạn tạo hình ảnh dựa trên prompt, cho phép upload tài liệu tham khảo và chọn tỷ lệ khung hình, độ phân giải.
Cài đặt
- Tạo môi trường ảo (ví dụ
python -m venv .venv) và kích hoạt nó. - Cài đặt dependency:
pip install -r requirements.txt
Sử dụng
- Đặt biến môi trường
GOOGLE_API_KEYvới API key của Google GenAI hoặc nhập trực tiếp trong giao diện. - Chạy Flask:
python app.py - Mở trình duyệt tới
http://127.0.0.1:8888, nhập prompt, chọn tùy chọn và nhấn Generate. - Hình ảnh:
static/generatedlưu nội dung mới nhất, còn/gallerytrả về URL cho phần lịch sử.
English
Overview
aPix Image Workspace is a lightweight Flask frontend to Google GenAI image generation. You can submit a prompt, optional reference files, and pick aspect ratio/resolution.
Setup
- Create & activate a virtual environment (e.g.,
python -m venv .venv). - Install dependencies:
pip install -r requirements.txt
Basic usage
- Supply a
GOOGLE_API_KEYvia environment variable or the UI form. - Launch the app:
python app.py - Visit
http://127.0.0.1:8888, fill in the prompt and optional settings, then click Generate. - Generated assets appear in
static/generated/, and/galleryexposes the list of saved images.