Available now

Lineart Preprocessor: line art extraction

Lineart Preprocessor traces the outlines of an image and returns them as a line drawing.

Model ID

Input

Fields marked * are required. Review the price before generating.

The image to process

Uploading a file needs an account. Create account

JPEG, PNG, WebP · up to 25 MB

Additional settings

Whether to use the coarse model

Price$0.60 / run

You sign up first. Your settings are kept.

About this model

Overview

Upload an image and get back its edges and contours as lines on a plain background. Turn on the coarse model for bolder, simpler lines. The drawing is often used as a guide image for a ControlNet model, or as a base for coloring.

What you can build

  • Line guides that keep a layout in a ControlNet run
  • Coloring pages from photos
  • Outline references for illustration and tracing

Prompting tips

  • Photos with clear shapes and good contrast give cleaner lines.
  • Use the coarse model when the default picks up too much texture.

What to check

Inspect small features, broken contours and excessive background lines. A line map needs review before it becomes a design asset.

Inputs

  • Image (required): URL of the image to process.
  • Coarse (optional): Whether to use the coarse model.

Output and limits

  • Small or dense text in the image can come out misspelled.
  • Hands, crowds and complex poses can show artifacts; generate a few variations and pick the best.
  • Some prompts or outputs can be refused by safety checks.

Price guide

  • up to: $0.60 / run