Commit Graph

944 Commits

Author SHA1 Message Date
let5sne
f1690cda77 📑 添加 API 文档导航索引
新增:
- API_DOCS_INDEX.md - 完整的文档导航指南

功能:
 文档总览表格
 按场景推荐文档
 详细的文档说明
 新手/开发者/决策者路径
 问题排查指引
 相关资源链接

帮助用户快速找到需要的文档!

🔧 Generated with Claude Code
2025-11-28 17:54:56 +00:00
let5sne
3949676ba7 📚 添加完整的 RESTful API 文档
新增文档:
1. RESTFUL_API_DOCUMENTATION.md (1000+ 行)
   - OpenAI 风格的完整 API 文档
   - 详细的认证说明
   - 所有端点的完整说明
   - 多语言示例代码(Python/JS/PHP/Go/cURL)
   - 错误处理和最佳实践
   - 性能优化建议
   - 安全建议和代码示例

2. openapi.yaml (700+ 行)
   - OpenAPI 3.0.3 规范文件
   - 完整的 API 定义
   - 可被 Swagger UI/Redoc 自动渲染
   - 包含所有请求/响应示例
   - 详细的错误代码说明
   - 限流规则定义
   - 多语言代码示例

3. IOPaint_API.postman_collection.json
   - Postman Collection V2.1
   - 包含所有 API 端点
   - 预配置的测试脚本
   - 示例请求和响应
   - 环境变量配置
   - 一键导入即可测试

特点:
 符合 OpenAPI 标准
 专业的文档格式
 丰富的代码示例
 完整的错误处理说明
 最佳实践指导
 可直接用于生产环境

使用方式:
- Markdown 文档:直接阅读
- OpenAPI YAML:导入 Swagger UI 或 Redoc
- Postman Collection:导入 Postman 进行测试

🔧 Generated with Claude Code
2025-11-28 17:53:23 +00:00
let5sne
81b3625fdf 添加去水印API服务 - MVP版本
新增功能:
- 精简的API服务实现(api_service_mvp.py)
  - 专注单一功能:去水印
  - 使用LaMa模型
  - API Key认证
  - 完整的错误处理和日志

- 完整的部署方案
  - Docker配置(APIDockerfile)
  - Docker Compose配置(docker-compose.mvp.yml)
  - Nginx反向代理配置

- 详尽的文档
  - API_SERVICE_GUIDE.md - MVP到商业化完整方案
  - API_SERVICE_README.md - 快速开始指南
  - API_CLIENT_EXAMPLES.md - 多语言客户端示例(Python/JS/cURL/PHP/Java/Go)

架构特点:
- 遵循MVP和KISS原则
- 提供从单机到Kubernetes的扩展路径
- 包含成本分析��收益模型
- 完整的监控和告警方案

🎯 适用场景:
- 个人/小团队快速验证产品(月成本¥300-500)
- 中小型商业化部署(月成本¥1000-3000)
- 大规模生产环境(月成本¥5000+)

🔧 Generated with Claude Code
2025-11-28 17:46:23 +00:00
let5sne
0363f84028 🐳 更新 Docker 配置到最新项目状态
- 更新 build_docker.sh 到新仓库地址
  - 仓库: Sanster/lama-cleaner → let5sne/IOPaint
  - 镜像标签: cwq1913/lama-cleaner → let5sne/iopaint
  - 项目名称: lama-cleaner → IOPaint

- 重构 Dockerfile (CPU & GPU)
  - 从源码构建替代 PyPI 安装
  - 更新基础镜像到最新版本
  - CPU: python:3.11-slim-bookworm
  - GPU: nvidia/cuda:12.1.0-runtime-ubuntu22.04
  - 使用最新的 PyTorch 和依赖版本
  - 添加自动启动命令

- 更新 scripts/pack.sh
  - 构建目录: lama-cleaner → iopaint
  - 修复拼写错误 (Ensuer → Ensure)

- 新增 docker/README.md
  - 完整的 Docker 部署指南
  - 包含 CPU 和 GPU 两种模式
  - Docker Compose 配置示例
  - 故障排查和安全建议

主要改进:
-  与当前项目完全同步
- 📦 支持从源码构建
- 🔧 更灵活的运行配置
- 📝 完整的使用文档
- 🚀 更新的依赖版本

🤖 Generated with Claude Code
2025-11-28 17:34:53 +00:00
let5sne
a26f04f7c2 Merge master into main - 完整项目更新
-  更新所有依赖到最新版本
- 📝 添加完整的项目文档(CLAUDE.md, UPGRADE_NOTES.md)
- 🔧 配置 VSCode 预览功能
- 🐛 修复 PyTorch API 兼容性问题
- 📦 更新 requirements.txt 依赖版本
- 📖 完善 README.md 模型推荐

主要依赖更新:
- diffusers: 0.27.2 → 0.35.2
- gradio: 4.21.0 → 5.46.0
- peft: 0.7.1 → 0.18.0
- Pillow: 9.5.0 → 11.3.0
- fastapi: 0.108.0 → 0.116.2
2025-11-28 17:26:25 +00:00
let5sne
1b87a98261 🎨 完整的 IOPaint 项目更新
## 主要更新
-  更新所有依赖到最新稳定版本
- 📝 添加详细的项目文档和模型推荐
- 🔧 配置 VSCode Cloud Studio 预览功能
- 🐛 修复 PyTorch API 弃用警告

## 依赖更新
- diffusers: 0.27.2 → 0.35.2
- gradio: 4.21.0 → 5.46.0
- peft: 0.7.1 → 0.18.0
- Pillow: 9.5.0 → 11.3.0
- fastapi: 0.108.0 → 0.116.2

## 新增文件
- CLAUDE.md - 项目架构和开发指南
- UPGRADE_NOTES.md - 详细的升级说明
- .vscode/preview.yml - 预览配置
- .vscode/LAUNCH_GUIDE.md - 启动指南
- .gitignore - 更新的忽略规则

## 代码修复
- 修复 iopaint/model/ldm.py 中的 torch.cuda.amp.autocast() 弃用警告

## 文档更新
- README.md - 添加模型推荐和使用指南
- 完整的项目源码(iopaint/)
- Web 前端源码(web_app/)

🤖 Generated with Claude Code
2025-11-28 17:10:24 +00:00
Qing
61a759fb3f Merge pull request #638 from emmanuel-ferdman/main
Display class name in model error message
2025-04-29 10:13:17 +08:00
Emmanuel Ferdman
0d34b3df6d Display class name in model error message
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-04-25 09:52:25 -07:00
Qing
676af4c4f0 Disable GitHub workflows to reduce notifications. 2025-04-22 16:52:06 +08:00
Qing
7ca4552241 1.6.0 2025-03-18 09:53:10 +08:00
Qing
11f7d3cb79 fix onnxruntime version
fix onnxruntime bug on windows: DLL load failed while importing onnxruntime_pybind11_state
2025-03-18 09:49:45 +08:00
Qing
99c5d6a889 set default quality 100 2025-03-18 09:30:45 +08:00
Qing
c61b3b1149 fix https://github.com/Sanster/IOPaint/issues/617 2025-03-17 16:49:36 +08:00
Qing
96d944a40c update 2025-03-17 16:13:00 +08:00
Qing
fddae35479 print plugin check_dep error 2025-03-17 16:07:59 +08:00
Qing
1ca6bd8e81 add test 2025-03-17 15:59:54 +08:00
Qing
73a4bf4456 fix sdxl brushnet load sdxl single file 2025-03-17 15:57:05 +08:00
Qing
212dd3ed69 Merge pull request #622 from sun11/main
support brushnet sdxl model
2025-03-17 15:56:16 +08:00
Starsky Wong
4b5f8b8995 support brushnet sdxl model 2025-02-12 14:21:11 +08:00
Qing
65b37727b5 1.5.4 2024-11-23 22:49:42 +08:00
Qing
a89d6e04e5 copy briarmbg2 to iopaint, remove kornia dependency 2024-11-23 22:49:25 +08:00
Qing
098eda73e8 1.5.3 2024-11-23 20:14:36 +08:00
Qing
683298dd5f huggingface_hub deprecate resume_download 2024-11-23 20:14:31 +08:00
Qing
341f610159 make typescript happy 2024-11-23 20:13:34 +08:00
Qing
e9264fadb7 torch._C._jit_set_profiling_mode(False) 2024-11-23 19:17:48 +08:00
Qing
074fa5513a fix pydantic deprecate warning 2024-11-23 19:13:48 +08:00
Qing
b58c333a73 huggingface_hub deprecate resume_download 2024-11-23 19:01:48 +08:00
Qing
36e65f0097 fix deprecate warning 2024-11-23 18:58:34 +08:00
Qing
4cec8ded64 better error handle 2024-11-23 18:49:22 +08:00
Qing
b7699a0f26 add remove_bg_device 2024-11-23 16:12:49 +08:00
Qing
d29fe6ecb5 add github actions 2024-11-23 15:30:41 +08:00
Qing
aad5ee8114 fix https://github.com/Sanster/IOPaint/issues/597
bug is intruduced in https://github.com/Sanster/IOPaint/pull/586
2024-11-23 15:05:40 +08:00
Qing
175c597df8 add briaai/RMBG-2.0
https://github.com/Sanster/IOPaint/issues/598
2024-11-23 14:56:25 +08:00
Qing
ecbb73aaae add favicon.ico 2024-11-23 14:28:56 +08:00
Qing
cfad51634b if input image file is not configured, return code 200 2024-11-23 11:03:22 +08:00
Qing
24764bd8bb smaller brushsize 2024-11-23 10:53:27 +08:00
Qing
dcb77120fb rembg remove onnxruntime dep in: https://github.com/danielgatis/rembg/pull/691 2024-11-23 10:41:54 +08:00
Qing
31d1bd6e14 1.5.2 2024-11-14 17:56:54 +08:00
Qing
14b334ad76 fix: https://github.com/Sanster/iopaint-docs/issues/47 2024-11-14 17:56:28 +08:00
Qing
668733c178 1.5.1 2024-11-04 09:32:37 +08:00
Qing
91e6556610 remove iopath
fix: https://github.com/Sanster/IOPaint/issues/593
2024-11-04 09:31:13 +08:00
Qing
32e7dc2584 1.5.0 2024-11-02 15:57:27 +08:00
Qing
ec08ce3063 add sam2.1 2024-11-02 13:25:31 +08:00
Qing
2098d687d1 RemoveBg plugin add birefnet models, require rembg>=2.0.59 2024-11-02 13:25:31 +08:00
Qing
b4b49bb88e add anime-lama 2024-11-02 13:25:31 +08:00
Qing
d7089497cc Merge pull request #586 from caeroltheplasmoid/cve-fix
Critical: 585 fix file overwrite
2024-10-22 09:22:27 +08:00
Caerol
0e4067b3bc 585 fix file overwrite 2024-10-22 02:50:53 +03:00
Qing
32f29d6112 1.4.4 2024-10-19 11:27:17 +08:00
Qing
dab4caeeeb fix huggingface_hub version
- fix: https://github.com/Sanster/IOPaint/issues/581
- fix: https://github.com/Sanster/IOPaint/issues/582
2024-10-19 11:12:07 +08:00
Qing
3b5e1ce221 1.4.3: fix https://github.com/Sanster/IOPaint/issues/554\#issuecomment-2323211720 2024-09-05 22:41:23 +08:00