Img Open English
  1. image tool
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
    • Training result query
  • 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. image tool

instantID

POST
/AIGCImgOpenServ/saas/tool/instantID
The user inputs a picture and generates pictures of different styles. The anti-parameter is the asynchronous interface response~

Request

Header Params

Body Params application/json

Example
{
  "businessTaskId": "10086111",
  "image": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/dalle_face.png",
  "prompt": "Cute ceramic doll",
  "height": 960,
  "width": 960,
  "negativePrompt": "1",
  "steps": 1,
  "guidanceScale": 1.0,
  "seed": 1
}

Request Code 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/tool/instantID' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "businessTaskId": "10086111",
  "image": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/dalle_face.png",
  "prompt": "Cute ceramic doll",
  "height": 960,
  "width": 960,
  "negativePrompt": "1",
  "steps": 1,
  "guidanceScale": 1.0,
  "seed": 1
}'

Responses

🟒200成功
application/json
Body

Example
{
    "code": "200",
    "data": {
        "businessTaskId": "555299995",
        "outputImageUrl": "https://aigcoss.zhiqiteai.cn/Output-Img2/tool/roopV2/pro1707112101440360871154.png",
        "status": 2,
        "taskId": "pro1707112101440360871154"
    },
    "msg": "success"
}
Modified atΒ 2024-08-30 03:42:56
Previous
Single Face Swap V2.0
Next
Face restoration
Built with