MCPcopy
hub / github.com/lllyasviel/style2paints

github.com/lllyasviel/style2paints @main sqlite

repository ↗ · DeepWiki ↗
4,164 symbols 7,353 edges 123 files 263 documented · 6%
README

News

See also the Preview of Style2Paints V5.

Note that below are previous versions of style2paints. If you come from an introduction of V5 and are interested in V5, you do not need to download the V4 or V4.5. Note that V5 is still in preview and we have not released it yet.

Download Style2Paints V4.5

You can directly download the software (windows x64) at:

Again, this is style2paints V4.5, NOT style2paints V5!

Google Drive:

https://drive.google.com/open?id=1gmg2wwNIp4qMzxqP12SbcmVAHsLt1iRE

Baidu Drive (百度网盘):

https://pan.baidu.com/s/15xCm1jRVeHipHkiB3n1vzA

You do NOT need to install any complex things like CUDA and python. You can directly download it and then double click it, as if you were playing a normal video game.

Never hesitate to let me know if you have any suggestions or ideas. You may directly send emails to my private address [lvminzhang@acm.org] or [lvminzhang@siggraph.org].

Welcome to style2paints V4!

logo

Style2paints V4 is an AI driven lineart colorization tool.

Different from previous end-to-end image-to-image translation methods, style2paints V4 is the first system to colorize a lineart in real-life human workflow, and the outputs are layered.

Inputs:

● Linearts
● (with or without) Human hints
● (with or without) Color style reference images
● (with or without) Light location and color

Outputs:

● Automatic color flattening without lines (solid/flat/inherent/固有色/底色 color layer)
● Automatic color flattening with black lines
● Automatic colorization without lines
● Automatic colorization with black lines
● Automatic colorization with colored lines
● Automatic rendering (separated layer)
● Automatic rendered colorization

Style2paints V4 gives you results of the current highest quality. You are able to get separated layers from our system. These layers can be directly used in your painting workflow. Different from all previous AI driven colorization tools, our results are not single 'JPG/PNG' images, and in fact, our results are 'PSD' layers.

User Instruction: https://style2paints.github.io/

And we also have an official Twitter account.

Help human in their standard coloring workflow!

Most human artists are familiar with this workflow:

sketching -> color filling/flattening -> gradients/details adding -> shading

And the corresponding layers are:

lineart layers + flat color layers + gradient layers + shading layers

Style2paints V4 is designed for this standard coloring workflow! In style2paints V4, you can automatically get separated results from each step!

Examples

logo

Here we present some results in this ABCD format. Users only need to upload their sketch, select a style, and put a light source.

When the result is achieved immediately without any human color correction, we regard this result as fully automatic result. When the result needs some color correction, human can easily put some color hints on the canvas to guide the AI coloring process. In this case, we regard these results as semi-automatic results. If a result is semi-automatic, but the quantity of human color hint points is smaller than 10, we regard these results as almost automatic result. In this section, about half of the presented results are fully automatic result, and the others are all almost automatic result. Do notice that all the below results can be achieved with less than 15 clicks!

logo

logo

Real-life results

logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo logo ![logo](https://github.com/lllya

Extension points exported contracts — how you extend this code

IAnimateble (Interface)
* @language zh_CN * 播放动画组件接口。 (Armature 和 WordClock 都实现了该接口) * 任何实现了此接口的实例都可以加到 WorldClock 时钟中,由时钟统一控制动画的播放。 [2 implementers]
V4/s2p_v4_client/creator.d.ts
IAnimateble (Interface)
* @language zh_CN * 播放动画组件接口。 (Armature 和 WordClock 都实现了该接口) * 任何实现了此接口的实例都可以加到 WorldClock 时钟中,由时钟统一控制动画的播放。 [2 implementers]
V1/under_construction/creator.d.ts
IAnimateble (Interface)
* @language zh_CN * 播放动画组件接口。 (Armature 和 WordClock 都实现了该接口) * 任何实现了此接口的实例都可以加到 WorldClock 时钟中,由时钟统一控制动画的播放。 [2 implementers]
V1/web_code/creator.d.ts
IAnimateble (Interface)
* @language zh_CN * 播放动画组件接口。 (Armature 和 WordClock 都实现了该接口) * 任何实现了此接口的实例都可以加到 WorldClock 时钟中,由时钟统一控制动画的播放。 [2 implementers]
V4.5/s2p_v45_client/creator.d.ts
IAnimateble (Interface)
* @language zh_CN * 播放动画组件接口。 (Armature 和 WordClock 都实现了该接口) * 任何实现了此接口的实例都可以加到 WorldClock 时钟中,由时钟统一控制动画的播放。 [2 implementers]
V2/client/creator.d.ts
IAnimateble (Interface)
* @language zh_CN * 播放动画组件接口。 (Armature 和 WordClock 都实现了该接口) * 任何实现了此接口的实例都可以加到 WorldClock 时钟中,由时钟统一控制动画的播放。 [2 implementers]
V3/client/creator.d.ts
Map (Interface)
* @private
V4/s2p_v4_client/creator.d.ts
Map (Interface)
* @private
V1/under_construction/creator.d.ts

Core symbols most depended-on inside this repo

call
called by 2160
V4/s2p_v4_server/InstanceNorm.py
t
called by 857
V4.5/s2p_v45_server/game/cocos2d-js-min.js
t
called by 852
V4/s2p_v4_server/game/cocos2d-js-min.js
t
called by 849
V3/server/game/cocos2d-js-min.js
t
called by 808
V2/server/game/cocos2d-js-min.js
t
called by 800
V1/server/game/cocos2d-js-min.js
n
called by 325
V4/s2p_v4_server/game/cocos2d-js-min.js
n
called by 325
V4.5/s2p_v45_server/game/cocos2d-js-min.js

Shape

Class 2,594
Function 1,116
Enum 356
Method 58
Interface 24
Route 16

Languages

TypeScript93%
Python7%

Modules by API surface

V3/client/creator.d.ts504 symbols
V2/client/creator.d.ts504 symbols
V1/under_construction/creator.d.ts504 symbols
V4/s2p_v4_client/creator.d.ts499 symbols
V4.5/s2p_v45_client/creator.d.ts499 symbols
V1/web_code/creator.d.ts496 symbols
V1/server/game/cocos2d-js-min.js157 symbols
V4/s2p_v4_server/game/cocos2d-js-min.js145 symbols
V4.5/s2p_v45_server/game/cocos2d-js-min.js145 symbols
V3/server/game/cocos2d-js-min.js145 symbols
V2/server/game/cocos2d-js-min.js145 symbols
V4.5/s2p_v45_server/Style2PaintsV45_source.py52 symbols

Dependencies from manifests, versioned

bottle0.12.10 · 1×
keras2.2.5 · 1×
llvmlite0.36.0 · 1×
numba0.53.1 · 1×
opencv-contrib-python4.1.0.25 · 1×
scikit-image0.14.5 · 1×
scikit-learn0.23.1 · 1×
tensorflow_gpu1.14.0 · 1×

For agents

$ claude mcp add style2paints \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact