No description
Find a file
2025-12-30 20:35:55 +07:00
__pycache__ feat: Add Whisk integration and Docker support 2025-12-30 19:09:21 +07:00
Image_editor_example update beta4 2025-11-29 22:08:42 +07:00
static fix: Make Gemini API Key optional for Whisk model 2025-12-30 20:35:55 +07:00
templates fix: Unhide Whisk Cookies input to allow user configuration 2025-12-30 20:33:18 +07:00
.DS_Store feat: Add Whisk integration and Docker support 2025-12-30 19:09:21 +07:00
.gitattributes beta 2025-11-21 13:53:37 +07:00
.gitignore Update .gitignore 2025-11-29 14:51:54 +07:00
app.py fix: Resolve NameError by moving config initialization to top of file 2025-12-30 19:43:49 +07:00
docker-compose.nas.yml fix: Simplify NAS deployment with auto-initialized config folder 2025-12-30 19:38:32 +07:00
docker-compose.yml feat: Add Whisk integration and Docker support 2025-12-30 19:09:21 +07:00
Dockerfile feat: Add Whisk integration and Docker support 2025-12-30 19:09:21 +07:00
gallery_favorites.json update 2025-12-30 16:20:57 +07:00
preview.jpeg update preview 2025-11-28 14:28:10 +07:00
prompts.json template update 2025-11-23 22:08:56 +07:00
push_registry.sh feat: Add Docker Registry push script and NAS compose file 2025-12-30 19:15:14 +07:00
README.md 1128 2025-11-28 12:43:39 +07:00
requirements.txt update 2025-12-30 16:20:57 +07:00
run_app.bat update run 2025-11-25 05:27:26 +07:00
run_app.command update run 2025-11-25 05:27:26 +07:00
run_app.sh update run 2025-11-25 05:27:26 +07:00
whisk_client.py feat: Add Whisk integration and Docker support 2025-12-30 19:09:21 +07:00

aPix Image Workspace

Tiếng Việt

Giới thiệu

aPix Image Workspace là một giao diện Flask nhẹ giúp bạn tạo hình ảnh bằng API Model Gemini Image 3 Pro (Nano Banana Pro). Bạn có thể gửi prompt, upload tài liệu tham khảo và điều chỉnh tỷ lệ khung hình/độ phân giải.

Preview

Người tạo

Khởi chạy nhanh bằng run_app

  1. Nháy đúp vào run_app.command trên macOS, run_app.sh trên Linux, hoặc run_app.bat trên Windows để tự động tìm Python, tạo .venv, cài requirements.txt và khởi động app.py.
  2. Mở http://127.0.0.1:8888, nhập prompt/tùy chọn rồi nhấn Generate.
  3. Hình ảnh mới nằm trong static/generated/; /gallery thể hiện lịch sử.

Sử dụng

  1. Đặt biến môi trường GOOGLE_API_KEY với API key của Google GenAI hoặc nhập trực tiếp trong giao diện.
  2. 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.
  3. Hình ảnh: static/generated lưu nội dung mới nhất, còn /gallery trả về URL cho phần lịch sử.

Cú pháp đặc biệt

Ứng dụng hỗ trợ cú pháp placeholder để tạo nhiều biến thể ảnh hoặc thay thế nội dung linh hoạt:

  • Placeholder: Sử dụng {text} hoặc [text] trong prompt. Ví dụ: A photo of a {animal} in the style of {style}.
  • Trường Note: Nội dung trong trường Note sẽ thay thế cho placeholder:
    • Thay thế đơn: Nếu Note là cat, prompt sẽ thành A photo of a cat....
    • Hàng đợi (Queue): Nếu Note chứa ký tự | (ví dụ: cat|dog|bird), ứng dụng sẽ tự động tạo 3 ảnh lần lượt với cat, dog, và bird.
    • Nhiều dòng: Nếu Note có nhiều dòng, mỗi dòng sẽ ứng với một lần tạo ảnh.
    • Mặc định: Nếu Note để trống, placeholder sẽ giữ nguyên hoặc dùng giá trị mặc định nếu có (ví dụ {cat|dog} sẽ tạo 2 ảnh nếu Note trống).