feat: AI套图分层方案 + Gemini集成 - 4种图案类型处理 + 正片叠底 + 宽高比 + 模型选择

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-07 16:59:56 +08:00
parent 12395d8eca
commit dae906aba7
277 changed files with 15009 additions and 19922 deletions

32
PltService/Dockerfile Normal file
View File

@@ -0,0 +1,32 @@
# PLT 处理微服务 Dockerfile
# 用于部署到阿里云 SAE
FROM python:3.10-slim
# 设置工作目录
WORKDIR /app
# 安装系统依赖OpenCV 需要)
RUN apt-get update && apt-get install -y \
libgl1-mesa-glx \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender-dev \
&& rm -rf /var/lib/apt/lists/*
# 复制依赖文件
COPY requirements.txt .
# 安装 Python 依赖
RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
# 复制代码
COPY pltreader.py .
COPY main.py .
# 暴露端口SAE 默认使用 8080
EXPOSE 8080
# 启动命令
CMD ["python", "main.py"]