/generate/detect

Advanced precision in image generation by transforming visual data from input images into mode maps.

Query Params
string

If set to true, returns the original asset without transformation

string
Body Params
string
required

The image to be used to detect. Must reference an existing AssetId or be a data URL.

string
enum
required
Defaults to canny

Modality to detect

number

Low threshold for Canny detector

boolean
Defaults to true

Remove background for Grayscale detector

number

Minimum threshold for Grayscale conversion

number

Maximum threshold for Grayscale conversion

number

Contrast factor for Grayscale detector

number

High threshold for Canny detector

number
0 to 1

How polished is the surface? 0 is like a rough surface, 1 is like a mirror

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json