Img Open English
  1. AI image generation
Img Open English
  • AI image generation
    • sd text2image
      POST
    • sd Image to Image
      POST
    • sd controlnet
      POST
    • QueryModelList
      POST
    • QueryLoralList
      POST
    • QueryVaeList
      POST
    • queryEmbeddingList
      POST
  • task query
    • queryTaskInfoV1.0
      POST
    • queryTaskInfoV2.0
      POST
    • queryImageToolTaskInfo
      POST
  • train model
    • Submit training task
      POST
    • Training result query
      POST
  • image tool
    • Flux text2image
      POST
    • Single Face Swap V1.0
      POST
    • Single Face Swap V2.0
      POST
    • instantID
      POST
    • Face restoration
      POST
    • Super Resolution
      POST
    • image description
      POST
    • Multiple Face Swap
      POST
    • Face Detection
      POST
    • Prompt expansion
      POST
    • Hairstyle changer
      POST
    • Object Removal
      POST
    • Style recognition
      POST
    • Outpainting
      POST
    • CNT preview
      POST
    • background remove
      POST
    • image enlarge
      POST
    • image watermark
      POST
  1. AI image generation

QueryModelList

POST
/AIGCImgOpenServ/saas/sd/v2/queryModelList
img
Quer sdModelCheckpoint

Request

Header Params
X-Request-req-accessKeyId
string 
required
X-Request-req-accessKeySecret
string 
required
Body Params application/json
sdModelCheckpoint
string 
model code
optional
sdModelName
string 
Model name
optional
pageSize
integer 
Quantity per page
required
pageNum
integer 
page number
required
Example
{
    "pageSize": 10,
    "pageNum": 1
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/sd/v2/queryModelList' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pageSize": 10,
    "pageNum": 1
}'

Responses

🟢200OK
application/json
Body
code
string 
Return status code
required
200 success 400 failure
msg
string 
Return status information
required
data
object 
required
rows
array [object {12}] 
required
total
integer 
required
pageSize
integer 
required
pageNum
integer 
required
Example
{
    "code": "200",
    "msg": "success",
    "data": {
        "rows": [
            {
                "id": 39,
                "sdModelCheckpoint": "photon_v1_84728.safetensors",
                "sdModelName": "Photon",
                "modelBaseModel": "SD 1.5",
                "modelHash": "EC41BD2A8271ACDE4AE81CAC004D9F3300E7FB0870EAE8CBFE0BBC4EF8E27F91",
                "modelType": "Checkpoint",
                "modelVersion": "v1",
                "modelStatus": 1,
                "modelUploadStatus": 2,
                "modelImgUrl2": "https://aigcoss.dobestai.com/api-model-file/model-img-file/99f2494c430a9d7f4e6ff7b5a997e678.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=IPu5Ccgcdg3NUrxwvkuslm95l6M%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/f1b19749cc3d30114e2d3c2364ad3f9c.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=xl7UruU1AMIkydI8vUtTp0CGcd8%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/d310bd74853457b34bded1697b87335b.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=D9EUkBkI6w2dKMWGU%2FLCmxqmv0M%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/4d15e6a34b75b370e08ff16bf99b04ea.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=%2F2XmLAu7NaSZXYqkgRL4C1ACcew%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/7ca486fc2d3a642592fa5b7c389addec.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=IM6QqJy8FasfdNfYPKtcxq33ksw%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/89884131b1ee16ba8defe366f221a9a7.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=W5kqCRzQZ9gXtwNLhVmr8alvG2I%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/9f641342b558bd5aec76df63cfaf4285.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=X74uG5tsZOMIC1ZsVXFzgLIScOI%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/4bd2344fb43deb0c9cac616cede01fea.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=rrkLVOOexZ7ipsVc3pINVHUf%2FW8%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/4772c709dc0072c589bc0def26d6e111.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=X3HwVrH6t4qWABFkF%2FT97nHqUmc%3D,https://aigcoss.dobestai.com/api-model-file/model-img-file/7dad89f2f972514dea4842330c94d8f4.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=7CK5N4dpuryESePoAz%2B%2F%2F7iBQ84%3D",
                "modelCoverImgUrl2": "https://aigcoss.dobestai.com/api-model-file/model-img-file/99f2494c430a9d7f4e6ff7b5a997e678.jpeg?Expires=2006764200&OSSAccessKeyId=LTAI5tCXMqhLRTWa7XyRPT11&Signature=IPu5Ccgcdg3NUrxwvkuslm95l6M%3D",
                "isAdult": 0
            }
        ],
        "total": 1,
        "pageSize": 10,
        "pageNum": 1
    }
}
Modified at 2024-08-08 11:30:32
Previous
sd controlnet
Next
QueryLoralList
Built with