跳到主要内容

v1/controlnet/detect

POST 

https://{endpoint}/v1/controlnet/detect

controlnet-detect

Request

Body

required
    controlnetModule stringrequired

    the name of the controlnet preprocessor to use for detection. eg: openpose

    resourceId stringrequired

    resource id of the image to detect in the controlnet.

Responses

OK

Schema
    result object

    result resource.

    id string
    url string
    expiredIn int64
    meta object
    image object
    format string
    width int32
    height int32
curl -L -g -X POST 'https://{endpoint}/v1/controlnet/detect' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"controlnetModule": "string",
"resourceId": "string"
}'
Request Collapse all
Base URL
https://{endpoint}
Body required
{
  "controlnetModule": "string",
  "resourceId": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!