# lllyasviel/style2paints

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/lllyasviel-style2paints).**

18,214 stars · 2,088 forks · JavaScript · apache-2.0

## Links

- GitHub: https://github.com/lllyasviel/style2paints
- awesome-repositories: https://awesome-repositories.com/repository/lllyasviel-style2paints.md

## Description

Style2paints is a deep learning image processor designed for the automated colorization of grayscale line art. It functions as a generative style transfer engine that maps artistic color palettes and textures onto monochrome sketches, allowing users to transform black and white drawings into finished illustrations through neural network inference.

The system distinguishes itself by incorporating user-provided color guidance and style references to influence the final output. It utilizes coordinate-mapped color points and hint-driven optimization to ensure that specific colors are applied precisely to intended regions, while multi-stage refinement processes improve edge alignment and color blending across the canvas.

To support ongoing creative workflows, the application includes text-based state serialization. This capability allows users to export and import their colorization hints and project progress as compact strings, enabling the preservation and sharing of specific coloring configurations between sessions.

## Tags

### Graphics & Multimedia

- [Line Art Colorization Tools](https://awesome-repositories.com/f/graphics-multimedia/line-art-colorization-tools.md) — Automates the colorization of grayscale line art using neural networks and user-provided style references. ([source](https://style2paints.github.io/README_zh))
- [Coordinate-Mapped Color Guidance](https://awesome-repositories.com/f/graphics-multimedia/coordinate-mapped-color-guidance.md) — Provides spatial indexing to map user-defined color points to specific regions of an image for precise colorization.
- [Colors](https://awesome-repositories.com/f/graphics-multimedia/graphics-and-media/colors.md) — Provides mechanisms to export and import user-defined color hints for preserving work on specific line art projects. ([source](https://style2paints.github.io/))

### Artificial Intelligence & ML

- [Colorization Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/face-swapping/face-frame-converters/colorization-tools.md) — Provides a neural network application that automates the colorization of grayscale drawings using style references and color hints.
- [Neural Style Transfer](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-style-transfer.md) — Maps artistic color palettes and textures onto monochrome sketches using deep convolutional neural networks.
- [Deep Learning Image Processors](https://awesome-repositories.com/f/artificial-intelligence-ml/deep-learning-image-processors.md) — Interprets line art structures using deep learning to automate the process of digital illustration and shading.
- [AI Assistants](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-assistants.md) — Integrates AI-driven assistance to automate the colorization of grayscale line art based on artistic style references.
- [Hint-Driven Global Optimization](https://awesome-repositories.com/f/artificial-intelligence-ml/hint-driven-global-optimization.md) — Implements mathematical optimization to balance user-provided color hints with local image features during the colorization process.

### User Interface & Experience

- [Color Schemes](https://awesome-repositories.com/f/user-interface-experience/color-schemes.md) — Applies professional color schemes to black and white sketches using intelligent models and user-provided guidance.

### Software Engineering & Architecture

- [State Serialization](https://awesome-repositories.com/f/software-engineering-architecture/architectural-design-patterns/state-management/persistence-and-serialization/state-serialization.md) — Encodes colorization hints and project progress into compact strings to enable session restoration and data sharing.
- [Workflow Persistence](https://awesome-repositories.com/f/software-engineering-architecture/workflow-persistence.md) — Captures and restores the state of complex colorization workflows through text-based data exports.
- [Creative Workflow Persistence](https://awesome-repositories.com/f/software-engineering-architecture/project-management-governance/project-management/creative-workflow-persistence.md) — Allows users to save and resume their colorization progress by exporting and importing project state data. ([source](https://style2paints.github.io/README_zh))
