v1/controlnet/detect
POST/v1/controlnet/detect
controlnet-detect
Request
- application/json
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
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
result object
result resource.
id string
url string
expiredIn int64
meta object
image object
format string
width int32
height int32
{
"result": {
"id": "string",
"url": "string",
"expiredIn": "string",
"meta": {
"image": {
"format": "string",
"width": 0,
"height": 0
}
}
}
}
Not Found: img not found
- application/json
- Schema
Schema
- any
Default
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...