Mindket

Sketch2lineart

Newversion 1 · updated

Overview

Turns a rough sketch into clean line art with an SDXL-based model and a custom line art LoRA, in a Gradio demo. It suits illustrators, comic makers and anime artists.

Sketch2lineart is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • The Python packages in requirements.txt
Runs in
  • A web browser: the Space runs on Hugging Face with nothing to install
  • Windows, macOS or Linux with Python, from a local copy
Start with
pip install -U huggingface_hub
hf download tori29umai/sketch2lineart --repo-type space --local-dir sketch2lineart
cd sketch2lineart

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

Sketch2lineart is a Gradio demo that turns a rough sketch into line art. The Space names the animagine-xl-3.1 image model, a lineart model from tori29umai, a LoRA collection, an SDXL VAE fix and the wd-vit-tagger-v3 image tagger. It runs on ZeroGPU at Hugging Face.

Who it suits

Illustrators, comic makers and anime artists who want a clean outline from a rough drawing. It also suits hobbyists who want to try AI-assisted inking.

Who cleans up sketches with AI
IndustryWho uses itHow they use itExample
IllustrationIllustratorsTurn a rough sketch into a clean outlineInk a character sketch
ComicsComic and manga makersPrepare line art for colouringClean up a page layout drawing
AnimationAnimation artistsGet quick line art from a key poseOutline a pose sketch
HobbyDrawing fansTry AI-assisted inkingUpload a doodle and compare the result

If you need to colour or render a finished picture, you can skip it, since the source describes line art only.

Where to use it

  • A web browser: the Space runs on Hugging Face with nothing to install
  • Windows, macOS or Linux with Python, from a local copy
Use caseWhoWhat they get back
Clean up a rough sketchIllustratorsA line art version of the sketch
Prepare line art for colouringComic makersAn outline you can colour in your own tools
Try AI-assisted inkingHobbyistsA quick result from one upload

How to set it up

Using the Space online needs nothing. A local copy needs Python and the packages the repository lists. The Space runs on ZeroGPU at Hugging Face, so a local copy may need a capable GPU.

  • Python with pip
  • The Python packages in requirements.txt
  1. Install the Hugging Face hub package and download the Space into a folder.
  2. Move into that folder.
  3. Install Gradio 4.29.0, then the packages from requirements.txt.
  4. Start the app with Python.
pip install -U huggingface_hub
hf download tori29umai/sketch2lineart --repo-type space --local-dir sketch2lineart
cd sketch2lineart
pip install gradio==4.29.0
pip install -r requirements.txt
python app.py

How to use it

Open the Space in your browser, or start the local copy with the command below and open the page Gradio serves. Upload a sketch and read the line art it returns. The source lists no further steps.

python app.py

Example

You upload a pencil sketch of a character. The app returns a cleaner line drawing of the same figure that you can save and colour elsewhere.

For newcomers and experts

If you are new to this, open the Space and upload a simple sketch with clear strokes. Compare the result with your original.

If you know the field, the Space combines an SDXL anime base model, animagine-xl-3.1, with a lineart model and a LoRA set, and it names a VAE fix for half precision. A tagger model, wd-vit-tagger-v3, is also listed. The config file and a utils folder hold the rest. Beyond those names, the source does not describe how they combine.

  1. You upload a rough sketch
  2. The models process the image
  3. A clean line drawing is produced
  4. You save the result

Good to know

  • Hardware: the Space runs on zero-a10g at Hugging Face
  • Focus: line art from sketches, not coloured pictures
  • License: mit
  • Cost to run: none named

README and files

README

Sketch2lineart

Turns a rough sketch into clean line art with an SDXL-based model and a custom line art LoRA, in a Gradio demo. It suits illustrators, comic makers and anime artists.

Made by tori29umai on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: Sketch2lineart is a Gradio demo that turns a rough sketch into line art. The Space names the animagine-xl-3.1 image model, a lineart model from tori29umai, a LoRA collection, an SDXL VAE fix and the wd-vit-tagger-v3 image tagger. It runs on ZeroGPU at Hugging Face.

Who it suits: Illustrators, comic makers and anime artists who want a clean outline from a rough drawing. It also suits hobbyists who want to try AI-assisted inking.

Title: Who cleans up sketches with AI
Industry | Who uses it | How they use it | Example
Illustration | Illustrators | Turn a rough sketch into a clean outline | Ink a character sketch
Comics | Comic and manga makers | Prepare line art for colouring | Clean up a page layout drawing
Animation | Animation artists | Get quick line art from a key pose | Outline a pose sketch
Hobby | Drawing fans | Try AI-assisted inking | Upload a doodle and compare the result

If you need to colour or render a finished picture, you can skip it, since the source describes line art only.

Where to use it:

  • A web browser: the Space runs on Hugging Face with nothing to install
  • Windows, macOS or Linux with Python, from a local copy
Use case | Who | What they get back
Clean up a rough sketch | Illustrators | A line art version of the sketch
Prepare line art for colouring | Comic makers | An outline you can colour in your own tools
Try AI-assisted inking | Hobbyists | A quick result from one upload

How to set it up: Using the Space online needs nothing. A local copy needs Python and the packages the repository lists. The Space runs on ZeroGPU at Hugging Face, so a local copy may need a capable GPU.

  • Python with pip
  • The Python packages in requirements.txt
  1. Install the Hugging Face hub package and download the Space into a folder.
  2. Move into that folder.
  3. Install Gradio 4.29.0, then the packages from requirements.txt.
  4. Start the app with Python.
pip install -U huggingface_hub
hf download tori29umai/sketch2lineart --repo-type space --local-dir sketch2lineart
cd sketch2lineart
pip install gradio==4.29.0
pip install -r requirements.txt
python app.py

How to use it: Open the Space in your browser, or start the local copy with the command below and open the page Gradio serves. Upload a sketch and read the line art it returns. The source lists no further steps.

python app.py

Example: You upload a pencil sketch of a character. The app returns a cleaner line drawing of the same figure that you can save and colour elsewhere.

For newcomers and experts: If you are new to this, open the Space and upload a simple sketch with clear strokes. Compare the result with your original.

If you know the field, the Space combines an SDXL anime base model, animagine-xl-3.1, with a lineart model and a LoRA set, and it names a VAE fix for half precision. A tagger model, wd-vit-tagger-v3, is also listed. The config file and a utils folder hold the rest. Beyond those names, the source does not describe how they combine.

You upload a rough sketch
The models process the image
A clean line drawing is produced
You save the result

Good to know:

  • Hardware: the Space runs on zero-a10g at Hugging Face
  • Focus: line art from sketches, not coloured pictures
  • License: mit
  • Cost to run: none named

On Hugging Face, 13 November 2026

  • Likes: 315
  • Built with: gradio
  • License: mit

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
Sketch2lineart This page315gradiomit
MusicGenShares gradio5,116gradiocc-by-nc-4.0
Kokoro TTSShares gradio3,556gradioapache-2.0
Background RemovalShares gradio2,988gradiomit
Omni Image EditorShares gradio2,922gradiomit
Diffusers Image OutpaintShares gradio2,565gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Bonsai-27B-GGUF

lmstudio-community · Kit

A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

New

Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…

New

MusicGen Small

facebook · Kit

Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…

New

Similar in Productivity

See all in Productivity

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k