Available now

PiDi Edge Preprocessor: edge detection

PiDi Edge Preprocessor draws the outlines of a photo as a clean line map for edge-guided image generation.

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 safe version of the Pidi detector

Whether to use the scribble version of the Pidi detector

Whether to apply the filter to the image.

Price$0.60 / run

You sign up first. Your settings are kept.

About this model

Overview

Upload one image and get back its contours as a black and white map. Three switches shape the result: a safe version with fewer stray lines, a scribble version with bolder strokes, and an extra filter pass over the map.

What you can build

  • Control images for ControlNet edge or scribble guidance
  • Outline sketches of products and interiors
  • Line references for restyling a photo

Prompting tips

  • Turn on the safe version when the map picks up texture you do not want copied.
  • Try the scribble version for looser results where the next model fills in the detail.

What to check

Check weak contours, background texture and small subject details. Compare the map with the original at the same size.

Inputs

  • Image (required): URL of the image to process.
  • Safe (optional): Whether to use the safe version of the Pidi detector.
  • Scribble (optional): Whether to use the scribble version of the Pidi detector.
  • Apply Filter (optional): Whether to apply the filter to the image.

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