Quay lại Trending
RepositoryPythonKRHàn Quốc
jhj0517

jhj0517/stable-diffusion-webui-Layer-Divider

Layer-Divider, an extension for stable-diffusion-webui using the segment-anything model (SAM)

184sao
14fork
5issue
1lượt xem

🧩 Tách lớp ảnh thông minh với Segment-Anything Model trong SD WebUI

Extension Layer-Divider mang mô hình Segment-Anything (SAM) vào stable-diffusion-webui, tự động tách các vùng ảnh thành các lớp riêng biệt và xuất file PSD.

Layer-Divider là một extension cho stable-diffusion-webui sử dụng mô hình Segment-Anything Model (SAM) của Facebook Research. Dự án giúp người dùng dễ dàng tách các thành phần trong ảnh thành các lớp (layers) riêng biệt, từ đó có thể chỉnh sửa từng phần một cách chi tiết. Kết quả được lưu dưới định dạng PSD - định dạng được phần mềm thiết kế đồ họa hỗ trợ mạnh mẽ như Photoshop, GIMP.

✨ Điểm nổi bật

  • Tích hợp SAM vào SD WebUI: Áp dụng mô hình Segment-Anything để phân tách đối tượng trong ảnh.
  • Tự động tạo lớp ảnh: Chia tách ảnh thành nhiều lớp dựa trên phân tích phân đoạn.
  • Xuất file PSD: Lưu kết quả dưới định dạng PSD, hỗ trợ chỉnh sửa lớp trên phần mềm thiết kế.
  • Hỗ trợ cấu hình tham số: Điều chỉnh points_per_side, pred_iou_thresh, stability_score_thresh, crops_n_layers...
  • Giao diện đồ họa với Gradio: Dễ dàng sử dụng ngay trong giao diện web của SD WebUI.
  • Hỗ trợ xử lý ảnh phứ tạp: Tùy chọn cắt ảnh (crops) và lọc vùng nhỏ bằng opencv.

💡 Vì sao đáng chú ý

Layer-Divider khác biệt so với các công cụ tách nền thông thường bằng cách không chỉ tách đối tượng chính mà còn phân tách toàn bộ ảnh thành nhiều lớp có thể chỉnh sửa độc lập. Điều này rất hữu ích cho thiết kế đồ họa, chỉnh sửa ảnh chi tiết và tạo nội dung số phong phú. Extension nhỏ gọn nhưng mạnh mẽ, mang trải nghiệm AI phân tích ảnh sâu vào workflow sáng tạo cá nhân.


#AI #StableDiffusion #SegmentAnything #PSD #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

148.3k
Nov 23, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.1k
Nov 21, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

161.7k
Nov 22, 2026
RepositoryPython
unclecode/crawl4ai

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

87.6k
Nov 20, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
RepositoryPython
AUTOMATIC1111/stable-diffusion-webui

Stable Diffusion web UI

165.4k
Mar 2, 2026
RepositoryPython
langchain-ai/langchain

The agent engineering platform.

150.0k
Nov 22, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

145.2k
Nov 23, 2026
RepositoryTypeScript
firecrawl/firecrawl

Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

207.6k
Nov 23, 2026